MediaWiki diskutim:Common.js

Page contents not supported in other languages.
Nga Wikipedia, enciklopedia e lirë
Kjo faqe këtu është vetëm për diskutim mbi faqen e sistemit Common.js. Wikipedia nxit diskutimin mes vullnetarëve të saj dhe nuk do të censurojë komente bazuar në pikëpamjet ideologjike ose politike. Wikipedia nuk do t’i ndryshojë komentet. Ato ose do të publikohen, ose do të fshihen nëse nuk u binden rregullave kryesore.
Fillo një temë të re diskutimi.
Ju lutemi nënshkruani me: – ~~~~

Të gjitha komentet u nënshtrohen këtyre rregullave:

  • Përmbajuni temës!
  • Nuk lejohen: sharje, fyerje, fjalor i papërshtatshëm, gjuhë që përmban urrejtje, sulme personale, thirrje për dhunë apo çdo qëndrim tjetër jo i rregullt.

ketu ak disa verzione, me thuaj cilen dat do ta kesh si te kthyer dhe te funksionoj dhe po e kthej. `(Puntori 3 Qershor 2007 17:18 (UTC))

te thash kete.

  • Nga data : 19 Maj 2007 23:47 nga KoSy
  • Ne daten : 20 Prill 2007 23:43 nga KoSy

Nga versioni i tanishem, ne ate qe ishte me pare 20 Prill 2007 23:43. --EaglealDiskuto► 3 Qershor 2007 17:21 (UTC)

u be. (Puntori 3 Qershor 2007 17:25 (UTC))

Give search results even when page doesn't exist[Redakto nëpërmjet kodit]

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[Redakto nëpërmjet kodit]

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* (diskutimet) 18 Gusht 2014 22:30 (CEST)

Redaktim i vogel[Redakto nëpërmjet kodit]

Pershendetje @Klein Muçi, a mund ta shtosh te lutem dhe nje "/" tjeter perpara "Kodi për të përshtatur kohën lokalisht"? --Olsi (diskutimet) 3 qershor 2019 07:51 (CEST)[përgjigjuni]

@Olsi, patjetër. Sa kam filluar të merrem me Javascript në komunitet e ende s'jam i shkathët sa duhet. - Klein Muçi (diskutimet) 3 qershor 2019 15:32 (CEST)[përgjigjuni]