MediaWiki сярысь вераськон:Common.js:версиослэн висъяськемзы

Бамлэн пушкесэз мукет кылъёсын кутонтэм луэ.
Википедиысь материал
Пушкесэз ӵушемын Пушкесэз ватсамын
→‎Broken JavaScript: выль тема
Тег: доставка MassMessage
36-тӥ чур: 36-тӥ чур:
: [[Викиавтор:Bene*|Bene*]], thanks. I watch and try not to interfere with your work ;) Where to store the localized labels for these icons? --[[Викиавтор:Kaganer|Kaganer]] ([[Викиавтор сярысь вераськон:Kaganer|обсуждение]]) 10:15, 12 гудырикошконэ 2014 (UTC)
: [[Викиавтор:Bene*|Bene*]], thanks. I watch and try not to interfere with your work ;) Where to store the localized labels for these icons? --[[Викиавтор:Kaganer|Kaganer]] ([[Викиавтор сярысь вераськон:Kaganer|обсуждение]]) 10:15, 12 гудырикошконэ 2014 (UTC)
:: Hi [[User:Kaganer|Kaganer]], the localized labels for the icons are stored as labels on Wikidata. Just check out [[d:Q17437796]] and [[d:Q17437798]]. Best regards, -- [[Викиавтор:Bene*|Bene*]] ([[Викиавтор сярысь вераськон:Bene*|обсуждение]]) 20:08, 23 гудырикошконэ 2014 (UTC)
:: Hi [[User:Kaganer|Kaganer]], the localized labels for the icons are stored as labels on Wikidata. Just check out [[d:Q17437796]] and [[d:Q17437798]]. Best regards, -- [[Викиавтор:Bene*|Bene*]] ([[Викиавтор сярысь вераськон:Bene*|обсуждение]]) 20:08, 23 гудырикошконэ 2014 (UTC)

== Broken JavaScript ==

MediaWiki developers found that this page probably breaks JavaScript for users (example: not seeing the buttons when editing a page). You probably need to edit this .js page and/or [[MediaWiki:Gadgets-definition]] as in the examples at [[phabricator:T122755]]. [{{SERVER}}/w/index.php?search=insource%3A%2F(mw.util|mw.notify)%2F+-loader.using&title=Special:Search&fulltext=1&ns8=1 List more pages to check].

If you have questions or need help, please ask at [[phabricator:T164242]]. You can login with your wiki account. Best wishes, [[User:Nemo_bis|Nemo]] 09:49, 14 куартолэзе 2017 (UTC)
<!-- Сообщение отправил Участник:Nemo bis@metawiki, используя список на странице https://meta.wikimedia.org/w/index.php?title=Meta:Sandbox&oldid=16758538 -->

09:49, 14 Куартолэзе 2017 выллем версия

Скрыть/показать

Переведите глаголы "скрыть" и "показать"!

var NavigationBarHide = '[ватоно]'
var NavigationBarShow = '[возьматоно]'

--Wadorgurt (обсуждение) 08:33, 23 тулыспалэ 2013 (UTC)

Готово. --Kaganer (обсуждение) 06:16, 25 тулыспалэ 2013 (UTC)
Спасибо. --Wadorgurt (обсуждение) 17:40, 25 тулыспалэ 2013 (UTC)

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
// [[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 12:29, 13 толсурэ 2013 (UTC) (comments, translations and last instructions)

Done, Thanks! --Kaganer (обсуждение) 12:29, 13 толсурэ 2013 (UTC)

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* (обсуждение) 19:22, 11 гудырикошконэ 2014 (UTC)

Bene*, thanks. I watch and try not to interfere with your work ;) Where to store the localized labels for these icons? --Kaganer (обсуждение) 10:15, 12 гудырикошконэ 2014 (UTC)
Hi Kaganer, the localized labels for the icons are stored as labels on Wikidata. Just check out d:Q17437796 and d:Q17437798. Best regards, -- Bene* (обсуждение) 20:08, 23 гудырикошконэ 2014 (UTC)

Broken JavaScript

MediaWiki developers found that this page probably breaks JavaScript for users (example: not seeing the buttons when editing a page). You probably need to edit this .js page and/or MediaWiki:Gadgets-definition as in the examples at phabricator:T122755. List more pages to check.

If you have questions or need help, please ask at phabricator:T164242. You can login with your wiki account. Best wishes, Nemo 09:49, 14 куартолэзе 2017 (UTC)