User:Psl631/LiveRCparam.js

From Brickipedia, the LEGO Wiki

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.
 1 //<source lang="javascript">//<pre>//<nowiki>
 2 
 3 // LiveRC personal configuration
 4 
 5 /* ** Variables ** */
 6 
 7 window.LiveRC_getUserCustom = function(){
 8   lrcDisplayDebug('getUserCustom');
 9 
10 
11   // -- LiveRC params --
12 
13   try{
14     addCustomParam("SandboxPage", 'Brickipedia:Sandbox');
15   }catch(e){ }
16 
17 
18   // -- Icons used by LiveRC --
19 
20   try{
21     addCustomIcon("NewUserIcon", { 'type' : 0 , 'src' : '' , 'width' : 16 , 'height' : 16 });
22   }catch(e){ }
23 
24 }
25 
26 
27 /* ** Extensions ** */
28 
29   LiveRC_Config['UsedLiveRCExtensions'] = [
30     'ProposeTranslationExtension',           // Add a form to propose a translation of the interface text.
31     'InstallAndConfigLiveRCExtension',       // Provide an interface for the global LiveRC configuration
32     'UserWarningsExtension',                 // Add an icon to user that have received a warning. Optionnal: show if the user talk page exists.
33     'MostModifiedPagesExtension',            // Add an icon to pages recently modified by several users or with several reverts.
34     'LinkOnIconExtension',                   // Link AfD, FA, GA and copyvio icons to the corresponding talk page.
35     'LinkOnLanglinkCountExtension',          // Link langlinks count to the wikidata item (when existing).
36     'ToolbarExtension',                      // Add a customizable toolbar during a page edit.
37     'HotCatsMulti',                          // Permit to add/modify/remove one or several categories while previewing a page.
38     'CategoryRC',                            // Permit to watch only pages that belong to one or more categories.
39     'PreviewAllLinksExtension',              // Permit to preview all links in the preview window
40     'PreviewThisPageExtension',              // Permit to preview any page you want.
41     'DiffExtension',                         // Provide LiveRC automatic functions in "normal" diff pages.
42     'AskForRevisionDeleteFromHistExtension'  // [no sysop] Add checkboxes and button in history for revision deletion request
43   ];
44 
45 
46 //END PARAMS
47 //</nowiki></pre></source>
48 
49 // {{Catégorisation JS}}