Difarense intrà łe version de "Discusion MediaWiki:Common.js"
→Prepare for T314318: nova sesion |
|||
Riga 36: | Riga 36: | ||
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 [//meta.wikimedia.org/w/index.php?title=Steward_requests/Global_permissions&oldid=9433288#Global_editinterface_for_Bene.2A global edit interface editor] for the Wikidata team. Thanks, [[Utente:Bene*|Bene*]] ([[Discussion utente:Bene*|msj]]) 21:23, 11 ago 2014 (CEST) |
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 [//meta.wikimedia.org/w/index.php?title=Steward_requests/Global_permissions&oldid=9433288#Global_editinterface_for_Bene.2A global edit interface editor] for the Wikidata team. Thanks, [[Utente:Bene*|Bene*]] ([[Discussion utente:Bene*|msj]]) 21:23, 11 ago 2014 (CEST) |
||
== Prepare for T314318 == |
|||
Please make a 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, |
|||
[[Utensa:Arlolra|Arlolra]] ([[Discusion Utensa:Arlolra|msj]]) 21:59, 31 zen 2023 (CET) |
Version de le 21:59, 31 zen 2023
Ghe xe qualche aministrador che połe xontar sto codexe???? grasie, senpre che no si tuti in ferie :P
/** WikiMiniAtlas *******************************************************
* * Description: WikiMiniAtlas is a popup click and drag world map. * This script causes all of our coordinate links to display the WikiMiniAtlas popup button. * The script itself is located on meta because it is used by many projects. * See Meta:WikiMiniAtlas for more information. * Created by: User:Dschwen */
document.write('<script type="text/javascript" src="' + 'http://meta.wikimedia.org/w/index.php?title=MediaWiki:Wikiminiatlas.js' + '&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400"></script>');
/*
Give search results even when page doesn't exist
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 09:56, 13 dis 2013 (CET) (comments, translations and last instructions)
(da Vajotwo).--GatoSelvadego (msj) 09:56, 13 dis 2013 (CET)
- Bello! E scusate per il pre non chiuso. --Nemo bis (msj) 11:56, 14 dis 2013 (CET)
Announced JavaScript change for badges implementation
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* (msj) 21:23, 11 ago 2014 (CEST)
Prepare for T314318
Please make a change like the following,
For more information, see mw:Parsoid/Parser_Unification/Media_structure/FAQ
Thanks,