Discussioni MediaWiki:Gadget-LiveRC 1x.js

message: Hello,
because I adapted InserisciTemplate extension to fr-wiki, I'd want to add it in the extension list (see here the future edit). To prevent it to appear in your own extension list, you may do the modification above (line 5), to be sure to delete the fr installation of this extension (other way your own version will no be installed).
Before
        // Estensioni
        LiveRC_DeleteExtension("UserWarningsExtension");
        LiveRC_DeleteExtension("LinkOnIconExtension");
        LiveRC_DeleteExtension("BandeauPortail");
 
        var MyExtension = new Object();
        MyExtension["name"] = "InserisciTemplate";
        MyExtension["url"] = "//it.wikipedia.org/w/index.php?title=MediaWiki:Gadget-LiveRC_1x.js/InserisciTemplate.js";
        MyExtension["desc"] = "Inserisce un template di avviso in cima alla voce";
        LiveRC_AddNewExtension(MyExtension);
After
        // Estensioni
        LiveRC_DeleteExtension("UserWarningsExtension");
        LiveRC_DeleteExtension("LinkOnIconExtension");
        LiveRC_DeleteExtension("BandeauPortail");
        LiveRC_DeleteExtension("InserisciTemplate");
 
        var MyExtension = new Object();
        MyExtension["name"] = "InserisciTemplate";
        MyExtension["url"] = "//it.wikipedia.org/w/index.php?title=MediaWiki:Gadget-LiveRC_1x.js/InserisciTemplate.js";
        MyExtension["desc"] = "Inserisce un template di avviso in cima alla voce";
        LiveRC_AddNewExtension(MyExtension);
Please warn me when it is done, and I'll proceed. Thank you.
Note : In the way LiveRC is installed here, with LiveRC code only active at Wikipedia:LiveRC, DiffExtension is useless. You may delete it too.
Ping : 
Dr Brains (msg) 22:36, 2 ago 2014 (CEST)
replies: text: Done. I'll let Jalo take care of DiffExtension. --Supernino 06:21, 3 ago 2014 (CEST)
replies: text: Deleted. Thanks Jalo 09:12, 4 ago 2014 (CEST)
thread_title:  InserisciTemplate extension : integration to LiveRC 

message: Hello,
I just added a new item for lrcExtension ( ).
Your local config must be updated (line 5) :
BEFORE
        var MyExtension = new Object();
        MyExtension["name"] = "InserisciTemplate";
        MyExtension["url"] = "//it.wikipedia.org/w/index.php?title=MediaWiki:Gadget-LiveRC_1x.js/InserisciTemplate.js";
        MyExtension["desc"] = "Inserisce un template di avviso in cima alla voce";
        LiveRC_AddNewExtension(MyExtension);
AFTER
        var MyExtension = new Object();
        MyExtension["name"] = "InserisciTemplate";
        MyExtension["url"] = "//it.wikipedia.org/w/index.php?title=MediaWiki:Gadget-LiveRC_1x.js/InserisciTemplate.js";
        MyExtension["desc"] = "Inserisce un template di avviso in cima alla voce";
        MyExtension["neededright"] = "";
        LiveRC_AddNewExtension(MyExtension);
This new neededright item is used to prevent the extension to be shown on the list if the user don't have the corresponding right (of if he does have it in the case where the neededright value if prefixed with ! ).
Dr Brains (msg) 20:07, 26 set 2014 (CEST)
replies: text: . Thanks Jalo 09:25, 29 set 2014 (CEST)
thread_title:  Extensions appears according to userrights 

message: Hello,
1.)
Since this edit, LiveRC handle commenttests[X].regex and categoriestests[X].regex as Regexp, not Strings. Config panel code has been updated to manage this.
A dedicated code has been added in LiveRC_getSpecialCustom() to do the conversion, but it would be better you update these params.
2.)
Has you may have seen, there is a new extension, InstallAndConfigLiveRCExtension. Its purpose is to help managing the LiveRC installation (means : auto edit of the installation page, here MediaWiki:Gadget-LiveRC 1x.js, with a config panel like the one in LiveRC but with some more configs). But as here LiveRC is only active in its launching page, you may want to delete it from the list.
3.)
Some fr-wikipedia specific extensions have been moved from the main code to the fr-wikipedia configuration page. You may have no need to delete them anymore.
4.)
You can now set some site-custom CSS using MediaWiki:Gadget-LiveRC-local.css (you can change the page name by setting LiveRC_Config["CSSPage"] before you load LiveRC main code).
Dr Brains (msg) 20:55, 9 ott 2014 (CEST)
replies: text: Done. Thank you again Jalo 09:13, 10 ott 2014 (CEST)
thread_title:  RegExp 

message: Deprecato, usare mw.config.get('wgPageName') al suo posto. Grazie in anticipo, --Ricordisamoa 18:29, 22 mar 2016 (CET)
replies: text: Fatto da Supernino, annullato da Amarvudol --Ricordisamoa 17:30, 23 mar 2016 (CET)
replies: text:   Fatto --Supernino 18:59, 23 mar 2016 (CET)
thread_title:  wgPageName