Pogovor o MediaWiki:Common.js

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
// [[File:Wdsearch_script_screenshot.png]]
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 13:10, 13. februar 2015 (CET) (comments, translations and last instructions)
thread_title:  Give search results even when page doesn't exist 

message: Hello, I propose to remove the entire block after "IE 6 Z-index bug workaround for anonnotice". Those donation notices are superseded and English-only banners in non-English wikis are both useless and harmful for Wikimedia and its finances. 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 (pogovor) 13:10, 13. februar 2015 (CET)
thread_title:  Donations 

message: Hi,
The MediaWiki:Gumbi.js script, which is loaded by Common.js here, is broken. It throws a JavaScript error: "ReferenceError: mwCustomEditButtons is not defined". This causes other JavaScripts components not to work.
Since it doesn't work anyway, it must be removed from MediaWiki:Common.js until it's fixed.
Tagging people who may be able to help: User:Smihael, User:Janezdrilc, User:Dbc334.
Thank you! --Amir E. Aharoni (pogovor) 13:58, 26. junij 2017 (CEST)
replies: text: I see that User:Pinky sl did something both here and at Gumbi.js, but reverted her own edits.

text: It would be good to fix Gumbi.js properly if it's still useful, but until it's fixed, it should be removed from Common.js, because it produces a JavaScript for all users on every page load. --Amir E. Aharoni (pogovor) 12:16, 27. junij 2017 (CEST)
replies: text: : I excluded Gumbi.js from Common.js. I reverted my edits in Gumbi.js because I was not sure if my corrections were ok. I am not very good at  JavaScript. Pinky sl (pogovor) 13:43, 27. junij 2017 (CEST)
replies: text: ::Thank you User:Pinky sl, but there is now another problem in the first line of MediaWiki:Common.js - you added "∞" there, probably by mistake. Can you please remove it? --Amir E. Aharoni (pogovor) 14:29, 27. junij 2017 (CEST)
replies: text: ::: ok, done. --Pinky sl (pogovor) 14:43, 27. junij 2017 (CEST)
replies: text: ::::Everything works now. Thank you! --Amir E. Aharoni (pogovor) 18:54, 27. junij 2017 (CEST)

text: The automated translation does not freeze up any more - initial error is thus gone. However, the request to create the target translation causes (the familiar) error
 Publishing the translation ellicited an error. Please try again. The error: Error converting HTML to wikitext: docserver-http: HTTP 400

text: See also the original phabricator  issue on this error for more: https://phabricator.wikimedia.org/T162251 SmozBleda (pogovor) 19:19, 3. avgust 2017 (CEST)
thread_title:  Gumbi