משתמש:Ye co/monobook.js

מתוך ויקיפדיה, האנציקלופדיה החופשית

הערה: לאחר הפרסום, ייתכן שיהיה צורך לנקות את זיכרון המטמון (cache) של הדפדפן כדי להבחין בשינויים.

  • פיירפוקס / ספארי: להחזיק את המקש Shift בעת לחיצה על טעינה מחדש (Reload) או ללחוץ על צירוף המקשים Ctrl-F5 או Ctrl-R (במחשב מק: ⌘-R).
  • גוגל כרום: ללחוץ על צירוף המקשים Ctrl-Shift-R (במחשב מק: ⌘-Shift-R).
  • אינטרנט אקספלורר / אדג': להחזיק את המקש Ctrl בעת לחיצה על רענן (Refresh) או ללחוץ על צירוף המקשים Ctrl-F5.
  • אופרה: ללחוץ על Ctrl-F5.
importUserScript(13);

importUserScript(1);

importUserScript(4);

importUserScript(23);

importUserScript(10);

importUserScript(11);

importUserScript(18);

importUserScript(16);

importUserScript(7);

//<syntaxhighlight lang="javascript">

// This function is used to include scripts from other Wikipedia pages in mine.  I got it from [[:en:User:Omegatron/monobook.js]] who got it from [[:en:User:Quarl/monobook.js]].
function winc(s) {
    s = s.replace(/^\[\[/, '').replace(/\]\]$/, '');
    document.write('<scr' + 'ipt type="text/javascript" src="' 
             + 'http://he.wikipedia.org/w/index.php?title=' + s
             + '&action=raw&ctype=text/javascript"></scr' 
             + 'ipt>');
}

//winc('[[משתמש:yonidebest/monobook.js/showNoOfArticles.js]]'/;  /* Adds the number of pages in each category in cat pages. *

//winc('[[משתמש:yonidebest/monobook.js/highlightAnon.js]]'/;   /* Adds a colored background to anonymous edits in RC page. */

//winc('[[משתמש:yonidebest/monobook.js/move.js]]'/;            /* Adds a link for moving sections from one page to another.

//winc('[[משתמש:yonidebest/monobook.js/search.js]]'/;          /* Allows the use of shortcuts in the wiki search. */

//winc('[[משתמש:yonidebest/monobook.js/checkpercentage.js]]'/; /* Allow to check who's winning in vote pages. */

//winc('[[משתמש:Ye co/monobook.js/talka.js]]'/;      /* Adds extra warning template to anonymous talk pages */

//winc('[[משתמש:yonidebest/monobook.js/edittop.js]]'/;      /* Adds a link to edit the top (intro) section of an article */

//winc('[[משתמש:yonidebest/monobook.js/usercontrib.js]]'/;  /* Adds user contribution tab to user pages and talk user pages .

//</syntaxhighlight>