Diskusia k MediaWiki:Common.js

message: Vrátil som späť Helixovu verziu, ale stále to nejde ako má, myslím tie navigačné lišty, vie niekto, kde môže byť problém? --Wizzard 10:23, 5. máj 2007 (UTC)

message: Could someone please change the "WikiMiniAtlas" section from:
if (wgServer == "https://secure.wikimedia.org") {
  var metaBase = "https://secure.wikimedia.org/wikipedia/meta";
} else {
  var metaBase = "http://meta.wikimedia.org";
}
to:
 if (wgServer == "https://sk.wikipedia.org" || "https://secure.wikimedia.org") {
  var metaBase = "https://meta.wikimedia.org";
} else {
  var metaBase = "http://meta.wikimedia.org";
}
Now you can use https://sk.wikipedia.org/ and https://meta.wikimedia.org, so let's make sure the site works properly for both people. We can even just replace "https://secure.wikimedia.org" with "https://sk.wikipedia.org" if we want to, since most people will probably use https://sk.wikipedia.org.
Thanks! Cbrown1023 diskusia 20:21, 5. apríl 2012 (UTC)
replies: text: OK? –Bubamara ♠ 20:45, 5. apríl 2012 (UTC)
thread_title:  Fix secure Meta link 

message: Myslím, že by bolo vhodné zmeniť funkciu addCommonsUpload tak aby odkazovala nie na Special:Upload?uselang=sk ale na Special:UploadWizard?uselang=sk. UploadWizard je pre začiatočníkov vhodnejší lebo sám navrhuje vhodné licencie (tiež ho používam, keďže si nepamätám šablóny pre každú licenciu na Commons). --KuboF (diskusia) 11:03, 8. júl 2013 (UTC)
replies: text: –Bubamara ♠ 11:23, 8. júl 2013 (UTC)
thread_title:  Nahrať na Commons 

message: Hello, I propose to enable the tool created by Magnus Manske (creator of MediaWiki) to provide results from other languages and Commons (via Wikidata) when a page doesn't exist here: links are added to Special:Search and noarticletext. This helps to encourage translation and to make readers use your wiki more, because they can be sure to find something even if it's not local (rather than searching directly on the biggest wiki). The Italian and Polish Wikipedias, among others already enabled it by default.
Examples:   . More information: Magnus blog.
How to: just add the following line at the end of Common.js.
// Results from Wikidata
// 
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Search' ||  ( mw.config.get( 'wgArticleId' ) === 0 && mw.config.get( 'wgCanonicalSpecialPageName' ) === false ) ) {
	importScriptURI("//en.wikipedia.org/w/index.php?title=MediaWiki:Wdsearch.js&action=raw&ctype=text/javascript");
}
--Nemo 10:53, 14. december 2013 (UTC) (comments, translations and last instructions)
replies: text: –Bubamaradisk. 10:13, 12. december 2013 (UTC)
replies: text: :Great! And sorry for the unclosed pre above. --Nemo bis (diskusia) 10:53, 14. december 2013 (UTC)</pre>
thread_title:  Give search results even when page doesn't exist 

message: Hi! I want to let you know that in near future badges will be deployed on Wikidata and the Wikipedias. They help us with displaying the good and featured article icons next to the sitelinks and will replace the javascript hack which is used at the moment together with the Link GA and Link FA templates. To avoid an overlap where the current system and the new feature conflict, I will add a minor fix to your Common.js which adds the class names to the interwiki links. This is part of my task as a global edit interface editor for the Wikidata team. Thanks, Bene* (diskusia) 20:30, 18. august 2014 (UTC)
thread_title:  Announced JavaScript change for badges implementation 

message: Hello, I propose to remove the entire block with the wikimediafoundation.org links and banners. Those donation notices are superseded. In fact, they make Wikipedia slower for unregistered users, so they cost more money than they bring, because the WMF has to spend millions on mw:Site performance. The WMF already runs banners for all the money they need, such permanent banners are inefficient. --Nemo bis (diskusia) 12:15, 13. február 2015 (UTC)
replies: text: OK? → - Anon tips and donation banner. --–Bubamaradisk. 13:53, 13. február 2015 (UTC)
thread_title:  Donations 

message: Please make changes like the following,
https://ca.wikipedia.org/wiki/Especial:ComparePages?page1=MediaWiki%3ACommon.js&rev1=24309161&page2=Usuari%3AArlolra%2Fsandbox%2FMediaWiki%3ACommon.js&rev2=31054319&action=&unhide=
https://ca.wikipedia.org/wiki/Especial:ComparePages?page1=MediaWiki%3ACommon.js&rev1=31055727&page2=Usuari%3AArlolra%2Fsandbox%2FMediaWiki%3ACommon.js&rev2=31058458&action=&unhide=
For more information, see mw:Parsoid/Parser_Unification/Media_structure/FAQ
Thanks, Arlolra (diskusia) 20:44, 31. január 2023 (UTC)
replies: text: Done in Special:Diff/7540770 ABreault (WMF) (diskusia) 21:42, 23. február 2023 (UTC)
thread_title:  Prepare for T314318