Siebrand has uploaded a new change for review. https://gerrit.wikimedia.org/r/122693
Change subject: Migrate to JSON i18n ...................................................................... Migrate to JSON i18n Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php with shim. Change-Id: Ieaf4d6b33432ed7208c5453625f25628ab6dff81 --- M MagicNoCache.i18n.php M MagicNoCache.php A i18n/ast.json A i18n/cs.json A i18n/de.json A i18n/dsb.json A i18n/el.json A i18n/en.json A i18n/es.json A i18n/fa.json A i18n/fi.json A i18n/fr.json A i18n/gl.json A i18n/he.json A i18n/hsb.json A i18n/it.json A i18n/ja.json A i18n/ko.json A i18n/ksh.json A i18n/lb.json A i18n/min.json A i18n/mk.json A i18n/nl.json A i18n/pl.json A i18n/pms.json A i18n/pt-br.json A i18n/qqq.json A i18n/roa-tara.json A i18n/ru.json A i18n/uk.json A i18n/zh-hans.json A i18n/zh-hant.json 32 files changed, 278 insertions(+), 226 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MagicNoCache refs/changes/93/122693/1 diff --git a/MagicNoCache.i18n.php b/MagicNoCache.i18n.php index b7bff30..eeb2776 100644 --- a/MagicNoCache.i18n.php +++ b/MagicNoCache.i18n.php @@ -1,231 +1,31 @@ <?php /** - * Internationalization file for the messages of the MagicNoCache extension. + * This is a backwards-compatibility shim, generated by: + * https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/maintenance%2FgenerateJsonI18n.php * - * @file MagicNoCache.i18n.php - * @ingroup MagicNoCache - * @author Pavel Astakhov < pastak...@yandex.ru > + * Beginning with MediaWiki 1.23, translation strings are stored in json files, + * and the EXTENSION.i18n.php file only exists to provide compatibility with + * older releases of MediaWiki. For more information about this migration, see: + * https://www.mediawiki.org/wiki/Requests_for_comment/Localisation_format + * + * This shim maintains compatibility back to MediaWiki 1.17. */ - $messages = array(); +$GLOBALS['wgHooks']['LocalisationCacheRecache'][] = function ( $cache, $code, &$cachedData ) { + $codeSequence = array_merge( array( $code ), $cachedData['fallbackSequence'] ); + foreach ( $codeSequence as $csCode ) { + $fileName = __DIR__ . "/i18n/$csCode.json"; + if ( is_readable( $fileName ) ) { + $data = FormatJson::decode( file_get_contents( $fileName ), true ); + foreach ( array_keys( $data ) as $key ) { + if ( $key === '' || $key[0] === '@' ) { + unset( $data[$key] ); + } + } + $cachedData['messages'] = array_merge( $data, $cachedData['messages'] ); + } -/** English - * @author Kimon Andreou - */ -$messages['en'] = array( - 'magicnocache-desc' => 'Adds the <code><nowiki>__NOCACHE__</nowiki></code> magic word to disable caching on a page', -); - -/** Message documentation (Message documentation) - * @author Kghbln - * @author Shirayuki - */ -$messages['qqq'] = array( - 'magicnocache-desc' => '{{desc|name=Magic No Cache|url=http://www.mediawiki.org/wiki/Extension:MagicNoCache}}', -); - -/** Asturian (asturianu) - * @author Xuacu - */ -$messages['ast'] = array( - 'magicnocache-desc' => "Amiesta la pallabra máxica <code><nowiki>__NOCACHE__</nowiki></code> pa desactivar la caché d'una páxina", -); - -/** Czech (čeština) - * @author Jezevec - * @author Mormegil - */ -$messages['cs'] = array( - 'magicnocache-desc' => 'Přidává magické slovo <code><nowiki>__NOCACHE__</nowiki></code> pro vypnutí ukládání stránky do mezipaměti', -); - -/** German (Deutsch) - * @author Kghbln - * @author Metalhead64 - */ -$messages['de'] = array( - 'magicnocache-desc' => 'Ermöglicht es, das Cachen einer Seite mit dem magischen Wort <code><nowiki>__NOCACHE__</nowiki></code> zu deaktivieren', -); - -/** Lower Sorbian (dolnoserbski) - * @author Michawiki - */ -$messages['dsb'] = array( - 'magicnocache-desc' => 'Pśidawa magiske słowo <code><nowiki>__NOCACHE__</nowiki></code>, aby se pufrowanje na boku znjemóžniło', -); - -/** Greek (Ελληνικά) - * @author Protnet - */ -$messages['el'] = array( - 'magicnocache-desc' => 'Προσθέτει τη μαγική λέξη <code><nowiki>__NOCACHE__</nowiki></code> που απενεργοποιεί την προσωρινή μνήμη σε μια σελίδα', -); - -/** Spanish (español) - * @author Armando-Martin - * @author Fitoschido - */ -$messages['es'] = array( - 'magicnocache-desc' => 'Añade la palabra mágica <code><nowiki>__NOCACHE__</nowiki></code> que permite desactivar el almacenamiento en caché de una página', -); - -/** Persian (فارسی) - * @author Armin1392 - */ -$messages['fa'] = array( - 'magicnocache-desc' => 'افزودن <code><nowiki>__NOCACHE__</nowiki></code> کلمهٔ جادویی برای غیرفعال کردن ذخیره در یک صفحه', -); - -/** Finnish (suomi) - * @author Nike - * @author Stryn - */ -$messages['fi'] = array( - 'magicnocache-desc' => 'Lisää <code><nowiki>__NOCACHE__</nowiki></code>-taikasanan, jonka avulla välimuistin voi kytkeä pois päältä tietyillä sivuilla.', # Fuzzy -); - -/** French (français) - * @author Crochet.david - * @author Gomoko - */ -$messages['fr'] = array( - 'magicnocache-desc' => 'Ajoute le mot magique <code><nowiki>__NOCACHE__</nowiki></code>, qui permet de désactiver la mise en cache sur une page.', -); - -/** Galician (galego) - * @author Toliño - */ -$messages['gl'] = array( - 'magicnocache-desc' => 'Engade a palabra máxica <code><nowiki>__NOCACHE__</nowiki></code> para desactivar a caché dunha páxina', -); - -/** Hebrew (עברית) - * @author Amire80 - */ -$messages['he'] = array( - 'magicnocache-desc' => 'הוספת מילת הקסם <code><nowiki>__NOCACHE__</nowiki></code> שמכבה את המטמון בדף', -); - -/** Upper Sorbian (hornjoserbsce) - * @author Michawiki - */ -$messages['hsb'] = array( - 'magicnocache-desc' => 'Přidawa magiske słowo <code><nowiki>__NOCACHE__</nowiki></code>, zo by so pufrowanje strony znjemóžniło', -); - -/** Italian (italiano) - * @author Beta16 - */ -$messages['it'] = array( - 'magicnocache-desc' => 'Aggiunge la parola magica <code><nowiki>__NOCACHE__</nowiki></code> per disabilitare la cache su una pagina', -); - -/** Japanese (日本語) - * @author Shirayuki - */ -$messages['ja'] = array( - 'magicnocache-desc' => 'ページのキャッシュを無効にするマジックワード <code><nowiki>__NOCACHE__</nowiki></code> を追加する', -); - -/** Korean (한국어) - * @author 아라 - */ -$messages['ko'] = array( - 'magicnocache-desc' => '문서의 캐시를 비활성화하기 위한 <code><nowiki>__NOCACHE__</nowiki></code> 특수 명령을 추가합니다', -); - -/** Colognian (Ripoarisch) - * @author Purodha - */ -$messages['ksh'] = array( - 'magicnocache-desc' => 'brängg et Zauberwoot <code><nowiki>__NOCACHE__</nowiki></code> en et Wiki, öm för en Sigg et Zwescheschpeischere vun de fäädeje Daate ußzeschallde.', -); - -/** Luxembourgish (Lëtzebuergesch) - * @author Robby - * @author Soued031 - */ -$messages['lb'] = array( - 'magicnocache-desc' => "Setzt dat magescht Wuert <code><nowiki>__NOCACHE__</nowiki></code> derbäi fir d'Tëschespäichere op enger Säit ze desaktivéieren", -); - -/** Minangkabau (Baso Minangkabau) - * @author Iwan Novirion - */ -$messages['min'] = array( - 'magicnocache-desc' => 'Manambahan <code><nowiki>__NOCACHE__</nowiki></code> kato majik untuak mannaktipkan singgahan pado laman', -); - -/** Macedonian (македонски) - * @author Bjankuloski06 - */ -$messages['mk'] = array( - 'magicnocache-desc' => 'Го става волшебниот збор <code><nowiki>__NOCACHE__</nowiki></code> за да се оневозможи меѓускладирање на страницa', -); - -/** Dutch (Nederlands) - * @author Siebrand - */ -$messages['nl'] = array( - 'magicnocache-desc' => 'Voegt het magische woord <code><nowiki>__NOCACHE__</nowiki></code> toe om cachen uit te schakelen voor een pagina', -); - -/** Polish (polski) - * @author Woytecr - */ -$messages['pl'] = array( - 'magicnocache-desc' => 'Dodaje magiczne słowo <code><nowiki>__NOCACHE__</nowiki></code> aby wyłączyć pamięć podręczną dla określonej strony', -); - -/** Piedmontese (Piemontèis) - * @author Borichèt - * @author Dragonòt - */ -$messages['pms'] = array( - 'magicnocache-desc' => 'A gionta la paròla màgica <code><nowiki>__NOCACHE__</nowiki></code> për disabilité la memorisassion local dzora na pàgina', -); - -/** Brazilian Portuguese (português do Brasil) - * @author Cainamarques - */ -$messages['pt-br'] = array( - 'magicnocache-desc' => 'Adiciona a palavra mágica <code><nowiki>__NOCACHE__</nowiki></code> para desabilitar o cache numa página', -); - -/** tarandíne (tarandíne) - * @author Joetaras - */ -$messages['roa-tara'] = array( - 'magicnocache-desc' => "Aggiunge 'a parola maggeche <code><nowiki>__NOCACHE__</nowiki></code> pe desabbilità 'a cache sus a sta pàgene", -); - -/** Russian (русский) - * @author Base - * @author DCamer - * @author Pastakhov - */ -$messages['ru'] = array( - 'magicnocache-desc' => 'Добавляет волшебное слово <code><nowiki>__NOCACHE__</nowiki></code> для отключения кэширования на странице', -); - -/** Ukrainian (українська) - * @author AS - * @author Base - */ -$messages['uk'] = array( - 'magicnocache-desc' => 'Додає магічне слово <code><nowiki>__NOCACHE__</nowiki></code>, яке дозволяє вимкнути кешування сторінки.', -); - -/** Simplified Chinese (中文(简体)) - * @author Yfdyh000 - */ -$messages['zh-hans'] = array( - 'magicnocache-desc' => '在页面上增加<code><nowiki>__NOCACHE__</nowiki></code>魔术字来禁用缓存', -); - -/** Traditional Chinese (中文(繁體)) - * @author Justincheng12345 - */ -$messages['zh-hant'] = array( - 'magicnocache-desc' => '於頁面上加入<code><nowiki>__NOCACHE__</nowiki></code>魔術字以禁止使用緩存', -); + $cachedData['deps'][] = new FileDependency( $fileName ); + } + return true; +}; diff --git a/MagicNoCache.php b/MagicNoCache.php index 3cc746d..e809a88 100644 --- a/MagicNoCache.php +++ b/MagicNoCache.php @@ -24,7 +24,7 @@ $wgExtensionCredits['parserhook'][] = array( 'path' => __FILE__, 'name' => 'MagicNoCache', - 'version' => '1.2.2', + 'version' => '1.3.0', 'url' => 'https://www.mediawiki.org/wiki/Extension:MagicNoCache', 'author' => array( 'Kimon Andreou', @@ -38,6 +38,7 @@ $dir = __DIR__; // Allow translations for this extension +$wgMessagesDirs['MagicNoCache'] = __DIR__ . '/i18n'; $wgExtensionMessagesFiles['MagicNoCache'] = $dir . '/MagicNoCache.i18n.php'; $wgExtensionMessagesFiles['MagicNoCacheMagic'] = $dir . '/MagicNoCache.i18n.magic.php'; diff --git a/i18n/ast.json b/i18n/ast.json new file mode 100644 index 0000000..5ded232 --- /dev/null +++ b/i18n/ast.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Xuacu" + ] + }, + "magicnocache-desc": "Amiesta la pallabra máxica <code><nowiki>__NOCACHE__</nowiki></code> pa desactivar la caché d'una páxina" +} \ No newline at end of file diff --git a/i18n/cs.json b/i18n/cs.json new file mode 100644 index 0000000..86e2b84 --- /dev/null +++ b/i18n/cs.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Jezevec", + "Mormegil" + ] + }, + "magicnocache-desc": "Přidává magické slovo <code><nowiki>__NOCACHE__</nowiki></code> pro vypnutí ukládání stránky do mezipaměti" +} \ No newline at end of file diff --git a/i18n/de.json b/i18n/de.json new file mode 100644 index 0000000..a9f26ed --- /dev/null +++ b/i18n/de.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Kghbln", + "Metalhead64" + ] + }, + "magicnocache-desc": "Ermöglicht es, das Cachen einer Seite mit dem magischen Wort <code><nowiki>__NOCACHE__</nowiki></code> zu deaktivieren" +} \ No newline at end of file diff --git a/i18n/dsb.json b/i18n/dsb.json new file mode 100644 index 0000000..9cdbb58 --- /dev/null +++ b/i18n/dsb.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Michawiki" + ] + }, + "magicnocache-desc": "Pśidawa magiske słowo <code><nowiki>__NOCACHE__</nowiki></code>, aby se pufrowanje na boku znjemóžniło" +} \ No newline at end of file diff --git a/i18n/el.json b/i18n/el.json new file mode 100644 index 0000000..c1af347 --- /dev/null +++ b/i18n/el.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Protnet" + ] + }, + "magicnocache-desc": "Προσθέτει τη μαγική λέξη <code><nowiki>__NOCACHE__</nowiki></code> που απενεργοποιεί την προσωρινή μνήμη σε μια σελίδα" +} \ No newline at end of file diff --git a/i18n/en.json b/i18n/en.json new file mode 100644 index 0000000..a765b0c --- /dev/null +++ b/i18n/en.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Kimon Andreou" + ] + }, + "magicnocache-desc": "Adds the <code><nowiki>__NOCACHE__</nowiki></code> magic word to disable caching on a page" +} \ No newline at end of file diff --git a/i18n/es.json b/i18n/es.json new file mode 100644 index 0000000..d1b9bf7 --- /dev/null +++ b/i18n/es.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Armando-Martin", + "Fitoschido" + ] + }, + "magicnocache-desc": "Añade la palabra mágica <code><nowiki>__NOCACHE__</nowiki></code> que permite desactivar el almacenamiento en caché de una página" +} \ No newline at end of file diff --git a/i18n/fa.json b/i18n/fa.json new file mode 100644 index 0000000..5da1de9 --- /dev/null +++ b/i18n/fa.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Armin1392" + ] + }, + "magicnocache-desc": "افزودن <code><nowiki>__NOCACHE__</nowiki></code> کلمهٔ جادویی برای غیرفعال کردن ذخیره در یک صفحه" +} \ No newline at end of file diff --git a/i18n/fi.json b/i18n/fi.json new file mode 100644 index 0000000..af64e6e --- /dev/null +++ b/i18n/fi.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Nike", + "Stryn" + ] + }, + "magicnocache-desc": "Lisää <code><nowiki>__NOCACHE__</nowiki></code>-taikasanan, jonka avulla välimuistin voi kytkeä pois päältä tietyillä sivuilla." +} \ No newline at end of file diff --git a/i18n/fr.json b/i18n/fr.json new file mode 100644 index 0000000..c6cfff3 --- /dev/null +++ b/i18n/fr.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Crochet.david", + "Gomoko" + ] + }, + "magicnocache-desc": "Ajoute le mot magique <code><nowiki>__NOCACHE__</nowiki></code>, qui permet de désactiver la mise en cache sur une page." +} \ No newline at end of file diff --git a/i18n/gl.json b/i18n/gl.json new file mode 100644 index 0000000..be8efed --- /dev/null +++ b/i18n/gl.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Toliño" + ] + }, + "magicnocache-desc": "Engade a palabra máxica <code><nowiki>__NOCACHE__</nowiki></code> para desactivar a caché dunha páxina" +} \ No newline at end of file diff --git a/i18n/he.json b/i18n/he.json new file mode 100644 index 0000000..09f11a3 --- /dev/null +++ b/i18n/he.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Amire80" + ] + }, + "magicnocache-desc": "הוספת מילת הקסם <code><nowiki>__NOCACHE__</nowiki></code> שמכבה את המטמון בדף" +} \ No newline at end of file diff --git a/i18n/hsb.json b/i18n/hsb.json new file mode 100644 index 0000000..d352529 --- /dev/null +++ b/i18n/hsb.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Michawiki" + ] + }, + "magicnocache-desc": "Přidawa magiske słowo <code><nowiki>__NOCACHE__</nowiki></code>, zo by so pufrowanje strony znjemóžniło" +} \ No newline at end of file diff --git a/i18n/it.json b/i18n/it.json new file mode 100644 index 0000000..f982a00 --- /dev/null +++ b/i18n/it.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Beta16" + ] + }, + "magicnocache-desc": "Aggiunge la parola magica <code><nowiki>__NOCACHE__</nowiki></code> per disabilitare la cache su una pagina" +} \ No newline at end of file diff --git a/i18n/ja.json b/i18n/ja.json new file mode 100644 index 0000000..a25c6f3 --- /dev/null +++ b/i18n/ja.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Shirayuki" + ] + }, + "magicnocache-desc": "ページのキャッシュを無効にするマジックワード <code><nowiki>__NOCACHE__</nowiki></code> を追加する" +} \ No newline at end of file diff --git a/i18n/ko.json b/i18n/ko.json new file mode 100644 index 0000000..f2c8120 --- /dev/null +++ b/i18n/ko.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "아라" + ] + }, + "magicnocache-desc": "문서의 캐시를 비활성화하기 위한 <code><nowiki>__NOCACHE__</nowiki></code> 특수 명령을 추가합니다" +} \ No newline at end of file diff --git a/i18n/ksh.json b/i18n/ksh.json new file mode 100644 index 0000000..43165c1 --- /dev/null +++ b/i18n/ksh.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Purodha" + ] + }, + "magicnocache-desc": "brängg et Zauberwoot <code><nowiki>__NOCACHE__</nowiki></code> en et Wiki, öm för en Sigg et Zwescheschpeischere vun de fäädeje Daate ußzeschallde." +} \ No newline at end of file diff --git a/i18n/lb.json b/i18n/lb.json new file mode 100644 index 0000000..f302b55 --- /dev/null +++ b/i18n/lb.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Robby", + "Soued031" + ] + }, + "magicnocache-desc": "Setzt dat magescht Wuert <code><nowiki>__NOCACHE__</nowiki></code> derbäi fir d'Tëschespäichere op enger Säit ze desaktivéieren" +} \ No newline at end of file diff --git a/i18n/min.json b/i18n/min.json new file mode 100644 index 0000000..c2fdd47 --- /dev/null +++ b/i18n/min.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Iwan Novirion" + ] + }, + "magicnocache-desc": "Manambahan <code><nowiki>__NOCACHE__</nowiki></code> kato majik untuak mannaktipkan singgahan pado laman" +} \ No newline at end of file diff --git a/i18n/mk.json b/i18n/mk.json new file mode 100644 index 0000000..0fb95cb --- /dev/null +++ b/i18n/mk.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Bjankuloski06" + ] + }, + "magicnocache-desc": "Го става волшебниот збор <code><nowiki>__NOCACHE__</nowiki></code> за да се оневозможи меѓускладирање на страницa" +} \ No newline at end of file diff --git a/i18n/nl.json b/i18n/nl.json new file mode 100644 index 0000000..92a7ef2 --- /dev/null +++ b/i18n/nl.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Siebrand" + ] + }, + "magicnocache-desc": "Voegt het magische woord <code><nowiki>__NOCACHE__</nowiki></code> toe om cachen uit te schakelen voor een pagina" +} \ No newline at end of file diff --git a/i18n/pl.json b/i18n/pl.json new file mode 100644 index 0000000..65457ef --- /dev/null +++ b/i18n/pl.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Woytecr" + ] + }, + "magicnocache-desc": "Dodaje magiczne słowo <code><nowiki>__NOCACHE__</nowiki></code> aby wyłączyć pamięć podręczną dla określonej strony" +} \ No newline at end of file diff --git a/i18n/pms.json b/i18n/pms.json new file mode 100644 index 0000000..a4e8bef --- /dev/null +++ b/i18n/pms.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Borichèt", + "Dragonòt" + ] + }, + "magicnocache-desc": "A gionta la paròla màgica <code><nowiki>__NOCACHE__</nowiki></code> për disabilité la memorisassion local dzora na pàgina" +} \ No newline at end of file diff --git a/i18n/pt-br.json b/i18n/pt-br.json new file mode 100644 index 0000000..5eeda3c --- /dev/null +++ b/i18n/pt-br.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Cainamarques" + ] + }, + "magicnocache-desc": "Adiciona a palavra mágica <code><nowiki>__NOCACHE__</nowiki></code> para desabilitar o cache numa página" +} \ No newline at end of file diff --git a/i18n/qqq.json b/i18n/qqq.json new file mode 100644 index 0000000..9bd6db4 --- /dev/null +++ b/i18n/qqq.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Kghbln", + "Shirayuki" + ] + }, + "magicnocache-desc": "{{desc|name=Magic No Cache|url=http://www.mediawiki.org/wiki/Extension:MagicNoCache}}" +} \ No newline at end of file diff --git a/i18n/roa-tara.json b/i18n/roa-tara.json new file mode 100644 index 0000000..e8dbd29 --- /dev/null +++ b/i18n/roa-tara.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Joetaras" + ] + }, + "magicnocache-desc": "Aggiunge 'a parola maggeche <code><nowiki>__NOCACHE__</nowiki></code> pe desabbilità 'a cache sus a sta pàgene" +} \ No newline at end of file diff --git a/i18n/ru.json b/i18n/ru.json new file mode 100644 index 0000000..38f2ad6 --- /dev/null +++ b/i18n/ru.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Base", + "DCamer", + "Pastakhov" + ] + }, + "magicnocache-desc": "Добавляет волшебное слово <code><nowiki>__NOCACHE__</nowiki></code> для отключения кэширования на странице" +} \ No newline at end of file diff --git a/i18n/uk.json b/i18n/uk.json new file mode 100644 index 0000000..539b36f --- /dev/null +++ b/i18n/uk.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "AS", + "Base" + ] + }, + "magicnocache-desc": "Додає магічне слово <code><nowiki>__NOCACHE__</nowiki></code>, яке дозволяє вимкнути кешування сторінки." +} \ No newline at end of file diff --git a/i18n/zh-hans.json b/i18n/zh-hans.json new file mode 100644 index 0000000..d89be8f --- /dev/null +++ b/i18n/zh-hans.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Yfdyh000" + ] + }, + "magicnocache-desc": "在页面上增加<code><nowiki>__NOCACHE__</nowiki></code>魔术字来禁用缓存" +} \ No newline at end of file diff --git a/i18n/zh-hant.json b/i18n/zh-hant.json new file mode 100644 index 0000000..dd7ba60 --- /dev/null +++ b/i18n/zh-hant.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Justincheng12345" + ] + }, + "magicnocache-desc": "於頁面上加入<code><nowiki>__NOCACHE__</nowiki></code>魔術字以禁止使用緩存" +} \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/122693 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ieaf4d6b33432ed7208c5453625f25628ab6dff81 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MagicNoCache Gerrit-Branch: master Gerrit-Owner: Siebrand <siebr...@kitano.nl> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits