Jump to content

User:Yair rand/links.js

From Wiktionary, the free dictionary

Note: You may have to bypass your browser’s cache to see the changes. In addition, after saving a sitewide CSS file such as MediaWiki:Common.css, it will take 5-10 minutes before the changes take effect, even if you clear your cache.

  • Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
  • Konqueror and Chrome: click Reload or press F5;
  • Opera: clear the cache in Tools → Preferences;
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.


mw.loader.using( 'ext.gadget.LegacyScripts', function () { $( function () {
  var t=document.getElementById('pt-newmessages');
  t.parentNode.insertBefore(
    newNode('li',
      '(',
      newNode('a','m',{'href':'//meta.wikimedia.org/wiki/Special:Watchlist'}),
      '|',
      newNode('a','inc',{'href':'//incubator.wikimedia.org/wiki/Special:Watchlist'}),
      '|',
      newNode('a','w',{'href':'//en.wikipedia.org/wiki/Special:Watchlist'}),
      '|',
      newNode('a','b',{'href':'//en.wikibooks.org/wiki/Special:Watchlist'}),
      '|',
      newNode('a','c',{'href':'//commons.wikimedia.org/wiki/Special:Watchlist'}),
      '|',
      newNode('a','n',{'href':'//en.wikinews.org/wiki/Special:Watchlist'}),
      '|',
      newNode('a','mw',{'href':'//www.mediawiki.org/wiki/Special:Watchlist'}),
      '|',
      newNode('a','d',{'href':'//www.wikidata.org/wiki/Special:Watchlist'}),
      ')'
  ),t);
  t.parentNode.insertBefore(
    newNode('li',
      newNode('a','Log in',{'href':'//en.wiktionary.org/wiki/Special:UserLogin','accesskey':'o'})
  ),t.nextSibling.nextSibling.nextSibling);
  t.parentNode.insertBefore(
    newNode('li',
      newNode('a','Sandbox',{'href':'//en.wiktionary.org/wiki/User:Yair_rand/sandbox?action=edit'})
  ),t.nextSibling.nextSibling);
}); });