Discûscioîn MediaWiki:Common.js

Ultimo commento: l’é 1 anno, lasciato da N.Longo in merito all'argomento Prepare for T314318

Give search results even when page doesn't exist modìfica

 
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");
}

--Nemo 21:32, 31 zen 2023 (CET) (comments, translations and last instructions)Rispondi

Prepare for T314318 modìfica

Please a make change like the following,

https://it.wikipedia.org/w/index.php?title=MediaWiki%3ACommon.js&type=revision&diff=130157033&oldid=127743689

For more information, see mw:Parsoid/Parser_Unification/Media_structure/FAQ

Thanks, Arlolra (discuscioìn) 21:32, 31 zen 2023 (CET)Rispondi

[@ Arlolra]   Fæto by Superpes15 (diff238372) and thank you for the notification, salûi N.Longo (discuscioìn) 15:19, 2 fre 2023 (CET)Rispondi

Change modìfica

[@ N.Longo] Hi, any possibility to make this change on our Wiki? Ti ghe la fae a fa sto cangiamento inta nostra Wiki? Alegri! Luensu1959 (discuscioìn) 09:42, 1 fre 2023 (CET)Rispondi
[@ Luensu1959] Salüu, niätri a nu puemu färu perché da ün/dui agni e pagine Common.js e Common.css i pöne cangiäre sulu i "aministratui de l'interfaccia" che chi i nu ghe sun. Mi a l'ò dunca dumandau au Mtarch11‎ che, in qualitae de aministratù glubäle, u duvrea avé ascì sti diritti e, sciben ch'u nu pö adueräri a piaxé, se a gh'è ina dumanda du prugettu - e a te ringrasiu pe l'avallu - a nu creddu propriu ch'a ghe secce de prublemi, bona! N.Longo (discuscioìn) 09:52, 1 fre 2023 (CET)Rispondi

Bain, alua a vegrema cse ch'u rispunda u Miché. A t'salütu Luensu1959 (discuscioìn) 10:25, 1 fre 2023 (CET)Rispondi
Ciao [@ Luensu1959, N.Longo], scusatemi per l'italiano, a parte il cambio previsto dal task 314318, volete anche il cambio che riguarda Wikidata poco sopra? Superpes15 (discuscioìn) 10:47, 2 fre 2023 (CET)Rispondi
Avendo già domandato238329 ad un altro utente se può occuparsi della questione attenderei prima una sua risposta per evitargli la scortesia, cordialità N.Longo (discuscioìn) 11:00, 2 fre 2023 (CET)Rispondi
[@ N.Longo] Sono stato contattato dal buon Mtarch, sennò non sarei intervenuto, che mi ha chiesto se potessi occuparmi delle modifiche :) Superpes15 (discuscioìn) 11:46, 2 fre 2023 (CET)Rispondi
Pe mi va bén, vanni avanti! --Luensu1959 (discuscioìn) 11:50, 2 fre 2023 (CET)Rispondi
In tal caso; il cambio da fare è solo l'ultimo, grazie mille N.Longo (discuscioìn) 11:55, 2 fre 2023 (CET)Rispondi
[@ N.Longo, Luensu1959] scusatemi, stamattina ero impegnato e ho chiesto io a [@ Superpes15], con cui ero già in contatto per altre cose, se poteva occuparsene lui, per non farvi aspettare troppo e perché o l'é ciù brâvo de mi in ste cöse de interfàccia :D --Mtarch11 (discuscioìn) 11:56, 2 fre 2023 (CET)Rispondi
Eccallà, sempre a vantarmi, la verità è che lui è bravo quanto modesto ;) Fateci sapere quando serve altro :D Superpes15 (discuscioìn) 12:01, 2 fre 2023 (CET)Rispondi
Tórna a-a pàgina "Common.js".