User:OsvátA/monobook.js

From Wikiquote
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
document.write('<script type="text/javascript" src="'
+ 'http://hu.wikipedia.org/w/index.php?title=User:Bdamokos/strings-hu.js' 
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&oldid=132696960'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// edit section 0 (text until the first section title)
function addEditSection0(){
if(!document.getElementById) return;
var edit = document.getElementById('ca-edit');
if(!edit) return;
var link = ((edit.children) ? edit.children : edit.childNodes)[0].href + '&section=0';
var edit0 = mw.util.addPortletLink('p-cactions', link, '0', 'ca-edit-0', 
'Bevezető szerkesztése', '0', edit.nextSibling);
if(/selected/.test(edit.className) && /section=0$/.test(window.location.href)) 
edit0.className = 'selected';
if(/istalk/.test(edit.className)) 
edit0.className += (edit0.className.length ? ' istalk' : 'istalk');
}