Resooney MediaWiki:Common.js

Page contents not supported in other languages.
Ass Wikipedia.

Haink my ner dy vel fograghyn lhie harrish ny h-artyn, ny keayrtyn, mannagh vel mee loggit stiagh (cha s'aym my t'eh bentyn rish gyn loggal stiagh, ny bentyn rish y crackan gyn tort, "Vector" choud's ta fys aym. Ta mee jannoo ymmyd jeh MonoBook). Ta mee er ngeddyn ad fy-yerrey: she fograghyn fo "IE 6 Z-index bug workaround for anonnotice" t'ayn. Cha nee red agglagh t'ayn, agh by vie lhiam caghlaa shen dy noddin. Eer gyn çhyndaa ny fograghyn, by vie lhiam eshyn y ardjaghey beggan dys nagh beagh eh lhie harrish ny h-artyn. -- Shimmin Beg 21:24, 12 Jerrey Fouyir 2010 (UTC)[reply]

Give search results even when page doesn't exist[edit source]

Screenshot of the Earth test search, with this script adding links to Wikidata, Reasonator, Commons, and Wikipedia.

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: [1] [2] [3]. 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");
}
--[[m:User:Nemo_bis|Nemo]] ~~~~~ ([[w:en:MediaWiki talk:Wdsearch.js|comments, translations and last instructions]])
</div>
<!-- EdwardsBot 0661 -->

Announced JavaScript change for badges implementation[edit source]

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* (talk) 20:26, 18 Luanistyn 2014 (UTC)[reply]

Donations[edit source]

Hello, I propose to remove the entire block after "IE 6 Z-index bug workaround for anonnotice". 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 (talk) 12:08, 13 Toshiaght Arree 2015 (UTC)[reply]