Waxtaani MediaWiki:Common.js wuute gi ci sumb yi

Le contenu de la page n’est pas pris en charge dans d’autres langues.
Jóge Wikipedia.
Contenu supprimé Contenu ajouté
EdwardsBot (waxtaancëru)
 
Arlolra (waxtaancëru)
→‎Prepare for T314318 : xaaj bu bees
Rëdd 12 : Rëdd 12 :
importScriptURI("//en.wikipedia.org/w/index.php?title=MediaWiki:Wdsearch.js&action=raw&ctype=text/javascript");
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]])
--[[m:User:Nemo_bis|Nemo]] 31 Samwiyee 2023 à 21:00 (UTC) ([[w:en:MediaWiki talk:Wdsearch.js|comments, translations and last instructions]])
</div>
</div>
<!-- EdwardsBot 0661 -->
<!-- EdwardsBot 0661 -->

== Prepare for T314318 ==

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, [[User:Arlolra|Arlolra]]<sup> ([[User talk:Arlolra|xëtu waxtaanuwaay]])</sup> 31 Samwiyee 2023 à 21:00 (UTC)

Sumb bu 31 Samwiyee 2023 à 21:00

Give search results even when page doesn't exist

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
// 
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 31 Samwiyee 2023 à 21:00 (UTC) (comments, translations and last instructions)[répondre]

Prepare for T314318

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 (xëtu waxtaanuwaay) 31 Samwiyee 2023 à 21:00 (UTC)[répondre]