MediaWiki talk:Common.js/Archive 21: Difference between revisions

Content deleted Content added
m Archiving 2 discussion(s) from MediaWiki talk:Common.js) (bot
m Archiving 2 discussion(s) from MediaWiki talk:Common.js) (bot
Line 416:
:::Basically... yes, we are OK with mirroring. But we cannot possibly and reliably ban bad mirrors this way. In fact, the Wikivoyage code has already been defeated and the mirror now redirects to ''another'' mirror, ''not'' the real Wikivoyage page as directed by this script. This is basically a whack-a-mole solution that needs constant monitoring. So no... I see no benifit for adding this code. <code style="font-size:small;white-space:nowrap">-- [[[[User:Edokter|<span style="color:#006">User:Edokter</span>]]]] {&#123;[[User talk:Edokter|<span style="color:#060">talk</span>]]&#125;}</code> 13:20, 27 September 2015 (UTC)
::::Although I personally don't like that people earn money leveraging for free on the WMF server, but I'm fine if the en:w community are OK with that. By the way, that site has not by-passed this patch, they have stop to access on Wikivoyage, redirecting each link to the English Wikipedia, that's why I've written here. However thank [[User:Edokter|you]] for the answer; I don't like to have pending conversation ;-) --[[User:Andyrom75|<span style="color:#BB0000; font-family:Papyrus; font-size:12px">'''Andyrom75'''</span>]] ([[User talk:Andyrom75|talk]]) 16:36, 28 September 2015 (UTC)
 
== withModule ==
 
Any objections to me adding ?withModule support as in [[mw:Snippets/Load JS and CSS by URL]]? [[User:Legoktm|Legoktm]] ([[User talk:Legoktm|talk]]) 17:38, 13 October 2015 (UTC)
:Modules can only be invoked by templates. How would this even work? <code style="font-size:small;white-space:nowrap">-- [[[[User:Edokter|<span style="color:#006">User:Edokter</span>]]]] {&#123;[[User talk:Edokter|<span style="color:#060">talk</span>]]&#125;}</code> 19:18, 13 October 2015 (UTC)
::I'm thinking of the wrong modules... But I think the little use it will have does not quite warrant inclusion. Do you have a use case? And why is it limited to gadgets? <code style="font-size:small;white-space:nowrap">-- [[[[User:Edokter|<span style="color:#006">User:Edokter</span>]]]] {&#123;[[User talk:Edokter|<span style="color:#060">talk</span>]]&#125;}</code> 19:25, 13 October 2015 (UTC)
:::Mainly so I can give people a link to demonstrate how a gadget works without requiring them to go into their preferences to enable it, save their preferences, etc. I suspect it'll have similar usage levels to the current withCSS/withJS parameters, which I suspect isn't very much. I'm not sure why it's limited to just gadgets TBH. [[User:Legoktm|Legoktm]] ([[User talk:Legoktm|talk]]) 21:29, 13 October 2015 (UTC)
 
== Protected edit request on 9 December 2015 ==
 
{{edit fully-protected|MediaWiki:Common.js|answered=yes}}
Remove: function addAnonToolbarLinks() and all of it's associated code & comments, as this has now been added to MediaWiki core. <span style="font-family:Comic Sans MS; font-variant:caps;">[[User:Kharkiv07|<span style="color:black">Kharkiv07</span>]] ([[User talk:Kharkiv07|<span style="color: black">T</span>]])</span> 19:51, 9 December 2015 (UTC)
:It is set to deploy tomorrow (december 10). I already made the code conditional. <code style="font-size:small;white-space:nowrap">-- [[[[User:Edokter|<span style="color:#006">User:Edokter</span>]]]] {&#123;[[User talk:Edokter|<span style="color:#060">talk</span>]]&#125;}</code> 22:36, 9 December 2015 (UTC)