From 3120aeb750dcc232b45f6a3ef517fd919131904c Mon Sep 17 00:00:00 2001 From: Jack Phoenix Date: Wed, 4 Jan 2017 18:35:26 +0200 Subject: [PATCH] Some modernization & code cleanup * Move the Preloader class into its own file + add $wgAutoloadClasses entry * Coding style tweaks, as per MediaWiki's coding conventions * Converted from PHP-based i18n to JSON i18n * Version 1.3 with the appropriate changelog entries and whatnot * Deprecated Preloader.php (but didn't fully remove it yet) in favor of extension.json -- MediaWiki 1.25 or newer is now required for this extension * Added myself into authors * Changed the Special:Version URL back to MediaWiki.org as it should be the canonical location for extension (and skin etc.) documentation; since this is an updated version of [[mw:Extension:Preloader]] it should be no problem to update that page to point to the correct repository etc. * Tweak the README file to account for new MW requirements + extension loading method * Fix $wgPreloaderSource so that it works again ( HT @legoktm ) --- CHANGELOG.md | 6 + Preloader.class.php | 59 +++++++ Preloader.i18n.php | 377 -------------------------------------------- Preloader.php | 90 ++--------- README.md | 14 +- extension.json | 31 ++++ i18n/ar.json | 8 + i18n/arz.json | 8 + i18n/ast.json | 8 + i18n/be-tarask.json | 8 + i18n/br.json | 8 + i18n/bs.json | 8 + i18n/da.json | 8 + i18n/de.json | 8 + i18n/dsb.json | 8 + i18n/el.json | 8 + i18n/en.json | 8 + i18n/eo.json | 8 + i18n/es.json | 8 + i18n/fi.json | 8 + i18n/fr.json | 9 ++ i18n/gl.json | 8 + i18n/grc.json | 8 + i18n/gsw.json | 8 + i18n/he.json | 8 + i18n/hil.json | 8 + i18n/hsb.json | 8 + i18n/hu.json | 8 + i18n/ia.json | 8 + i18n/id.json | 8 + i18n/it.json | 8 + i18n/ja.json | 9 ++ i18n/ko.json | 8 + i18n/ksh.json | 8 + i18n/lb.json | 8 + i18n/mk.json | 8 + i18n/mr.json | 8 + i18n/ms.json | 8 + i18n/nb.json | 6 + i18n/nds.json | 8 + i18n/nl.json | 8 + i18n/nn.json | 9 ++ i18n/oc.json | 8 + i18n/pl.json | 8 + i18n/pms.json | 8 + i18n/pt-br.json | 8 + i18n/pt.json | 9 ++ i18n/qqq.json | 9 ++ i18n/roa-tara.json | 8 + i18n/ru.json | 8 + i18n/sk.json | 8 + i18n/stq.json | 8 + i18n/sv.json | 8 + i18n/te.json | 8 + i18n/tl.json | 8 + i18n/tr.json | 8 + i18n/uk.json | 8 + i18n/vi.json | 8 + 58 files changed, 534 insertions(+), 462 deletions(-) create mode 100644 Preloader.class.php delete mode 100644 Preloader.i18n.php create mode 100644 extension.json create mode 100644 i18n/ar.json create mode 100644 i18n/arz.json create mode 100644 i18n/ast.json create mode 100644 i18n/be-tarask.json create mode 100644 i18n/br.json create mode 100644 i18n/bs.json create mode 100644 i18n/da.json create mode 100644 i18n/de.json create mode 100644 i18n/dsb.json create mode 100644 i18n/el.json create mode 100644 i18n/en.json create mode 100644 i18n/eo.json create mode 100644 i18n/es.json create mode 100644 i18n/fi.json create mode 100644 i18n/fr.json create mode 100644 i18n/gl.json create mode 100644 i18n/grc.json create mode 100644 i18n/gsw.json create mode 100644 i18n/he.json create mode 100644 i18n/hil.json create mode 100644 i18n/hsb.json create mode 100644 i18n/hu.json create mode 100644 i18n/ia.json create mode 100644 i18n/id.json create mode 100644 i18n/it.json create mode 100644 i18n/ja.json create mode 100644 i18n/ko.json create mode 100644 i18n/ksh.json create mode 100644 i18n/lb.json create mode 100644 i18n/mk.json create mode 100644 i18n/mr.json create mode 100644 i18n/ms.json create mode 100644 i18n/nb.json create mode 100644 i18n/nds.json create mode 100644 i18n/nl.json create mode 100644 i18n/nn.json create mode 100644 i18n/oc.json create mode 100644 i18n/pl.json create mode 100644 i18n/pms.json create mode 100644 i18n/pt-br.json create mode 100644 i18n/pt.json create mode 100644 i18n/qqq.json create mode 100644 i18n/roa-tara.json create mode 100644 i18n/ru.json create mode 100644 i18n/sk.json create mode 100644 i18n/stq.json create mode 100644 i18n/sv.json create mode 100644 i18n/te.json create mode 100644 i18n/tl.json create mode 100644 i18n/tr.json create mode 100644 i18n/uk.json create mode 100644 i18n/vi.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 942b108..5522ccf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ Preloader Changelog =================== +## 2017-01-04 Version 1.3 - Jack Phoenix +* Code cleanup +* Support for JSON-based internationalization (i18n) files +* Support for extension registration (extension.json) +* MediaWiki 1.25 or newer is now required + ## 2015-01-03 Version 1.2.2 - Troy Engel * Add composer.json to support Composer (Pierre Rudloff) * Submit composer package to Pkgist diff --git a/Preloader.class.php b/Preloader.class.php new file mode 100644 index 0000000..8a4a3d9 --- /dev/null +++ b/Preloader.class.php @@ -0,0 +1,59 @@ +getNamespace() ); + if ( $src ) { + $stx = self::sourceText( $src ); + if ( $stx ) { + $text = $stx; + } + } + return true; + } + + /** + * Determine what page should be used as the source of preloaded text + * for a given namespace and return the title (in text form) + * + * @param int $namespace Namespace to check for + * @return string|bool Name of the page to be preloaded or bool false + */ + static function preloadSource( $namespace ) { + global $wgPreloaderSource; + if ( isset( $wgPreloaderSource[$namespace] ) ) { + return $wgPreloaderSource[$namespace]; + } else { + return false; + } + } + + /** + * Grab the current text of a given page if it exists + * + * @param string $page Text form of the page title + * @return string|bool + */ + static function sourceText( $page ) { + $title = Title::newFromText( $page ); + if ( $title && $title->exists() ) { + $revision = Revision::newFromTitle( $title ); + return self::transform( $revision->getText() ); + } else { + return false; + } + } + + /** + * Remove sections from the text and trim whitespace + * + * @param $text + * @return string + */ + static function transform( $text ) { + $text = trim( preg_replace( '/<\/?includeonly>/s', '', $text ) ); + return trim( preg_replace( '/.*<\/noinclude>/s', '', $text ) ); + } +} \ No newline at end of file diff --git a/Preloader.i18n.php b/Preloader.i18n.php deleted file mode 100644 index 6c3d772..0000000 --- a/Preloader.i18n.php +++ /dev/null @@ -1,377 +0,0 @@ - 'Provides customisable per-namespace boilerplate text for new pages', -); - -/** Message documentation (Message documentation) - * @author Purodha - * @author The Evil IP address - */ -$messages['qqq'] = array( - 'preloader-desc' => '{{desc}}', -); - -/** Arabic (العربية) - * @author Meno25 - */ -$messages['ar'] = array( - 'preloader-desc' => 'يوفر نص بويلربلات مخصص لكل نطاق للصفحات الجديدة', -); - -/** Egyptian Spoken Arabic (مصرى) - * @author Meno25 - */ -$messages['arz'] = array( - 'preloader-desc' => 'يوفر نص بويلربلات مخصص لكل نطاق للصفحات الجديدة', -); - -/** Asturian (asturianu) - * @author Xuacu - */ -$messages['ast'] = array( - 'preloader-desc' => 'Proporciona un testu patrón personalizable por espaciu de nome pa les páxines nueves', -); - -/** Belarusian (Taraškievica orthography) (беларуская (тарашкевіца)‎) - * @author EugeneZelenko - */ -$messages['be-tarask'] = array( - 'preloader-desc' => 'Дадае тыпавыя тэксты для новых старонак, якія магчыма настройваць па прасторах назваў', -); - -/** Breton (brezhoneg) - * @author Fulup - */ -$messages['br'] = array( - 'preloader-desc' => 'Pourchas a ra prenestroù testenn personeladus evit pep esaouenn anv, evit ar pajennoù nevez', -); - -/** Bosnian (bosanski) - * @author CERminator - */ -$messages['bs'] = array( - 'preloader-desc' => 'Omogućuje unos po imenskom prostoru prilagodljivih šablona za nove stranice', -); - -/** Danish (dansk) - * @author Byrial - */ -$messages['da'] = array( - 'preloader-desc' => 'Giver en forhåndsbestemt starttekst for nye sider for hvert navnerum', -); - -/** German (Deutsch) - * @author Raimond Spekking - */ -$messages['de'] = array( - 'preloader-desc' => 'Ermöglicht das Hinzufügen pro Namensraum anpassbarer Vorlagen bei der Erstellung neuer Seiten', -); - -/** Lower Sorbian (dolnoserbski) - * @author Michawiki - */ -$messages['dsb'] = array( - 'preloader-desc' => 'Zmóžnja pśiměrjujobne tekstowe elementy za nowe boki na mjenjowy rum', -); - -/** Greek (Ελληνικά) - * @author Omnipaedista - */ -$messages['el'] = array( - 'preloader-desc' => 'Παρέχει για τις καινούργιες σελίδες εξατομικευμένο πανομοιότυπο κείμενο κατά περιοχή ονομάτων', -); - -/** Esperanto (Esperanto) - * @author Yekrats - */ -$messages['eo'] = array( - 'preloader-desc' => 'Provizas ŝanĝeblan norman tekston laŭ nomspaco por novaj paĝoj', -); - -/** Spanish (español) - * @author Sanbec - */ -$messages['es'] = array( - 'preloader-desc' => 'Provee texto por defecto para las páginas nuevas configurable para cada espacio de nombres', -); - -/** Finnish (suomi) - * @author Mobe - */ -$messages['fi'] = array( - 'preloader-desc' => 'Tarjoaa muokattavan nimiavaruuskohtaisen pohjatekstin uusille sivuille.', -); - -/** French (français) - * @author Grondin - * @author Zetud - */ -$messages['fr'] = array( - 'preloader-desc' => 'Fournit, pour les nouvelles pages, des fenêtres de texte personnalisables par nom d’espace', -); - -/** Galician (galego) - * @author Toliño - */ -$messages['gl'] = array( - 'preloader-desc' => 'Proporciona, para as páxinas novas, ventás de texto personalizable para os nomes dos espazos', -); - -/** Ancient Greek (Ἀρχαία ἑλληνικὴ) - * @author Omnipaedista - */ -$messages['grc'] = array( - 'preloader-desc' => 'Παρέχει συνηθισμένον πανομοιότυπον κείμενον κατὰ ὀνοματεῖον διὰ τὰς καινοὺς δέλτους', -); - -/** Swiss German (Alemannisch) - * @author Als-Holder - */ -$messages['gsw'] = array( - 'preloader-desc' => 'Macht s megli pro Namensruum aapassbarei Vorlage zuezfiege bim Aalege vu neje Syte', -); - -/** Hebrew (עברית) - * @author Rotemliss - */ -$messages['he'] = array( - 'preloader-desc' => 'אפשרות לתבנית טקסט עבור דפים חדשים, שניתנת להתאמה לפי מרחב שם', -); - -/** Hiligaynon (Ilonggo) - * @author Tagimata - */ -$messages['hil'] = array( - 'preloader-desc' => 'Nagahatag sang gin-obra na daan kada-ngalanespasyo boilerplate teksto para sa mga bag-o nga pahina', -); - -/** Upper Sorbian (hornjoserbsce) - * @author Michawiki - */ -$messages['hsb'] = array( - 'preloader-desc' => 'Dodawa tekstowe elementy za nowe strony přiměrjomne na mjenowy rum', -); - -/** Hungarian (magyar) - * @author Tgr - */ -$messages['hu'] = array( - 'preloader-desc' => 'Névterenként más-más rendszerüzenet az új oldalakhoz', -); - -/** Interlingua (interlingua) - * @author McDutchie - */ -$messages['ia'] = array( - 'preloader-desc' => 'Permitte predefinir un modello de texto pro nove paginas, un pro cata spatio de nomines', -); - -/** Indonesian (Bahasa Indonesia) - * @author Bennylin - */ -$messages['id'] = array( - 'preloader-desc' => 'Menyediakan teks pembuka yang dapat dikustomisasi per ruang nama untuk halaman-halaman baru', -); - -/** Italian (italiano) - * @author Darth Kule - */ -$messages['it'] = array( - 'preloader-desc' => 'Fornisce un testo standard personalizzabile per ciascun namespace per le nuove pagine', -); - -/** Japanese (日本語) - * @author Fryed-peach - * @author Shirayuki - */ -$messages['ja'] = array( - 'preloader-desc' => '新しいページ用に名前空間ごとのカスタマイズ可能な雛形文章を提供する', -); - -/** Korean (한국어) - * @author 아라 - */ -$messages['ko'] = array( - 'preloader-desc' => '새 문서에 대해 사용자 정의 이름공간마다 상용구를 제공', -); - -/** Colognian (Ripoarisch) - * @author Purodha - */ -$messages['ksh'] = array( - 'preloader-desc' => 'Määt et müjjelesch, för jedes Appachtemang ene Täx förzejävve, dä eets ens ne de neu Sigge erin küt.', -); - -/** Luxembourgish (Lëtzebuergesch) - * @author Robby - */ -$messages['lb'] = array( - 'preloader-desc' => 'Erméiglecht et personabiliséierten Text fir nei Säiten pro Nummraum derbäizesetzen', -); - -/** Macedonian (македонски) - * @author Bjankuloski06 - */ -$messages['mk'] = array( - 'preloader-desc' => 'Овозможува кориснички-прилагодлив фиксен текст за нови страници', -); - -/** Marathi (मराठी) - * @author Kaustubh - */ -$messages['mr'] = array( - 'preloader-desc' => 'नवीन पानांसाठी बदलता येण्याजोगी नामविश्व बॉइलरप्लेट देते', -); - -/** Malay (Bahasa Melayu) - * @author Anakmalaysia - */ -$messages['ms'] = array( - 'preloader-desc' => 'Menyediakan teks plat dandang seruang nama yang boleh disuaikan untuk laman baru', -); - -/** Norwegian Bokmål (norsk (bokmål)‎) */ -$messages['nb'] = array( - 'preloader-desc' => 'Gir egendefinerbar forhåndslastet tekst for nye sider i de enkelte navnerommene', -); - -/** Low German (Plattdüütsch) - * @author Slomox - */ -$messages['nds'] = array( - 'preloader-desc' => 'Verlöövt dat Tofögen vun ännerbore Vörlagen, de för elk Naamruum bi’t Opstellen vun ne’e Sieden wiest warrt', -); - -/** Dutch (Nederlands) - * @author Siebrand - */ -$messages['nl'] = array( - 'preloader-desc' => "Geeft de mogelijkheid aan te passen per naamruimte tekstblokken te maken voor nieuwe pagina's", -); - -/** Norwegian Nynorsk (norsk (nynorsk)‎) - * @author Harald Khan - * @author Njardarlogar - */ -$messages['nn'] = array( - 'preloader-desc' => 'Gjev ein eigendefinerbar førehandslasta tekst for nye sider i dei enkelte namneromma', -); - -/** Occitan (occitan) - * @author Cedric31 - */ -$messages['oc'] = array( - 'preloader-desc' => 'Provesís, per las paginas novèlas, de fenèstras de tèxte personalizablas per nom d’espaci', -); - -/** Polish (polski) - * @author Sp5uhe - */ -$messages['pl'] = array( - 'preloader-desc' => 'Zapewnia odrębny dla każdej przestrzeni nazw domyślny tekst nowej strony', -); - -/** Piedmontese (Piemontèis) - * @author Dragonòt - */ -$messages['pms'] = array( - 'preloader-desc' => 'A dà test përsonalisà për-namespace për neuve pàgine', -); - -/** Portuguese (português) - * @author Hamilton Abreu - * @author Waldir - */ -$messages['pt'] = array( - 'preloader-desc' => 'Fornece textos-modelo para novas páginas, personalizáveis por espaço nominal', -); - -/** Brazilian Portuguese (português do Brasil) - * @author Eduardo.mps - */ -$messages['pt-br'] = array( - 'preloader-desc' => 'Fornece textos-modelo para novas páginas, personalizáveis por domínio', -); - -/** tarandíne (tarandíne) - * @author Joetaras - */ -$messages['roa-tara'] = array( - 'preloader-desc' => 'Avène ausete pe de le pre-namespace ca sonde personalizzabbele pe le pàggene nueve', -); - -/** Russian (русский) - * @author Александр Сигачёв - */ -$messages['ru'] = array( - 'preloader-desc' => 'Предоставляет настраиваемые по пространствам имён типовые тексты для новых страниц', -); - -/** Slovak (slovenčina) - * @author Helix84 - */ -$messages['sk'] = array( - 'preloader-desc' => 'Poskytuje prispôsobiteľný šablónový text pre nové stránky na báze menných priestorov', -); - -/** Seeltersk (Seeltersk) - * @author Pyt - */ -$messages['stq'] = array( - 'preloader-desc' => 'Moaket dät Bietouföigjen muugelk fon pro Noomensruum anpaasboare Foarloagen bie dät Moakjen fon näie Sieden', -); - -/** Swedish (svenska) - * @author M.M.S. - */ -$messages['sv'] = array( - 'preloader-desc' => 'Ger en egendefinierad förhandsladdad text för nya sidor', -); - -/** Telugu (తెలుగు) - * @author Veeven - */ -$messages['te'] = array( - 'preloader-desc' => 'కొత్త పేజీలకి పేరుబరివారీగా మార్చుకొనగలిగే మూస పాఠ్యాన్ని అందిస్తుంది', -); - -/** Tagalog (Tagalog) - * @author AnakngAraw - */ -$messages['tl'] = array( - 'preloader-desc' => 'Nagbibigay na maipapasadyang pang-bawat espasyo ng pangalang teksto ng pakuluang-bakal para sa bagong mga pahina', -); - -/** Turkish (Türkçe) - * @author Vito Genovese - */ -$messages['tr'] = array( - 'preloader-desc' => 'Yeni sayfalar için isim alanına özel kişiselleştirilebilir hazır metinler sunar', -); - -/** Ukrainian (українська) - * @author Alex Khimich - */ -$messages['uk'] = array( - 'preloader-desc' => 'Забезпечення настроюваних за імен по стандартним типовим текстам для нової сторінки', -); - -/** Vietnamese (Tiếng Việt) - * @author Vinhtantran - */ -$messages['vi'] = array( - 'preloader-desc' => 'Cung cấp những mẫu văn bản viết sẵn theo từng không gian tên khi tạo trang mới', -); - diff --git a/Preloader.php b/Preloader.php index 7460b86..16e32e4 100644 --- a/Preloader.php +++ b/Preloader.php @@ -11,81 +11,15 @@ * @author Rob Church */ -if( !defined( 'MEDIAWIKI' ) ) { - echo( "This file is an extension to the MediaWiki software and cannot be used standalone.\n" ); - exit( 1 ); -} - -$wgExtensionCredits['other'][] = array( - 'path' => __FILE__, - 'name' => 'Preloader', - 'author' => 'Rob Church, Troy Engel', - 'version' => '1.2.2', - 'url' => 'https://github.com/troyengel/Preloader', - 'descriptionmsg' => 'preloader-desc', -); -$wgExtensionMessagesFiles['Preloader'] = dirname(__FILE__) . '/Preloader.i18n.php'; - -/** - * Sources of preloaded content for each namespace - */ -$wgPreloaderSource[ NS_MAIN ] = 'Template:Preload'; - -$wgHooks['EditFormPreloadText'][] = 'Preloader::mainHook'; - -class Preloader { - - /** Hook function for the preloading */ - public static function mainHook( &$text, &$title ) { - $src = self::preloadSource( $title->getNamespace() ); - if( $src ) { - $stx = self::sourceText( $src ); - if( $stx ) - $text = $stx; - } - return true; - } - - /** - * Determine what page should be used as the source of preloaded text - * for a given namespace and return the title (in text form) - * - * @param $namespace Namespace to check for - * @return mixed - */ - static function preloadSource( $namespace ) { - global $wgPreloaderSource; - if( isset( $wgPreloaderSource[ $namespace ] ) ) { - return $wgPreloaderSource[ $namespace ]; - } else { - return false; - } - } - - /** - * Grab the current text of a given page if it exists - * - * @param $page Text form of the page title - * @return mixed - */ - static function sourceText( $page ) { - $title = Title::newFromText( $page ); - if( $title && $title->exists() ) { - $revision = Revision::newFromTitle( $title ); - return self::transform( $revision->getText() ); - } else { - return false; - } - } - - /** - * Remove sections from the text and trim whitespace - * - * @param $text - * @return string - */ - static function transform( $text ) { - $text = trim( preg_replace( '/<\/?includeonly>/s', '', $text ) ); - return trim( preg_replace( '/.*<\/noinclude>/s', '', $text ) ); - } -} +if ( function_exists( 'wfLoadExtension' ) ) { + wfLoadExtension( 'Preloader' ); + // Keep i18n globals so mergeMessageFileList.php doesn't break + $wgMessagesDirs['Preloader'] = __DIR__ . '/i18n'; + wfWarn( + 'Deprecated PHP entry point used for Preloader extension. Please use wfLoadExtension instead, ' . + 'see https://www.mediawiki.org/wiki/Extension_registration for more details.' + ); + return true; +} else { + die( 'This version of the Preloader extension requires MediaWiki 1.25+' ); +} \ No newline at end of file diff --git a/README.md b/README.md index dc41fd7..35b43a1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Preloader MediaWiki Extension ============================= -Fork of http://www.mediawiki.org/wiki/Extension:Preloader +See http://www.mediawiki.org/wiki/Extension:Preloader ## Overview @@ -20,11 +20,11 @@ This extension supports the standard `` and `` tags in t ## 2. Requirements -The Preloader extension requires MediaWiki 1.7.0 or later. +The Preloader extension requires MediaWiki 1.25.0 or later. ## 3. Installation -Git - clone the Github repository into your extensions subdirectory: +Git - clone the GitHub repository into your extensions subdirectory: ``` cd /path/to/wiki/extensions @@ -38,7 +38,7 @@ Composer - the package is available via Composer / Packagist: Then edit your `LocalSettings.php` file and add the following line: ``` -require_once "$IP/extensions/Preloader/Preloader.php"; +wfLoadExtension( 'Preloader' ); ``` Installation can be verified through the **Special:Version** page on your wiki. @@ -48,14 +48,14 @@ Installation can be verified through the **Special:Version** page on your wiki. Configuration of the boilerplate sources is done via the `$wgPreloaderSource` configuration variable, which takes the following format: ``` -$wgPreloaderSource[ ] = PAGE TITLE; +$wgPreloaderSource[] = PAGE TITLE; ``` For instance: ``` -$wgPreloaderSource[ NS_MAIN ] = 'Template:Boilerplate'; -$wgPreloaderSource[ NS_HELP ] = 'Template:Boilerplate help'; +$wgPreloaderSource[NS_MAIN] = 'Template:Boilerplate'; +$wgPreloaderSource[NS_HELP] = 'Template:Boilerplate help'; ``` ...indicates that the boilerplate text for pages in the main namespace should be loaded from **Template:Boilerplate**, while pages in the Help namespace will be preloaded from **Template:Boilerplate_help**. Other namespaces have no boilerplate configured. diff --git a/extension.json b/extension.json new file mode 100644 index 0000000..402fac2 --- /dev/null +++ b/extension.json @@ -0,0 +1,31 @@ +{ + "name": "Preloader", + "version": "1.3", + "author": [ + "Rob Church", + "Troy Engel", + "Jack Phoenix" + ], + "license-name": "MIT", + "url": "https://www.mediawiki.org/wiki/Extension:Preloader", + "descriptionmsg": "preloader-desc", + "type": "parserhook", + "config": { + "PreloaderSource": { + "0": "Template:Preload", + "_merge_strategy": "array_plus" + } + }, + "MessagesDirs": { + "Preloader": [ + "i18n" + ] + }, + "AutoloadClasses": { + "Preloader": "Preloader.class.php" + }, + "Hooks": { + "EditFormPreloadText": "Preloader::mainHook" + }, + "manifest_version": 1 +} diff --git a/i18n/ar.json b/i18n/ar.json new file mode 100644 index 0000000..727bea7 --- /dev/null +++ b/i18n/ar.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Meno25" + ] + }, + "preloader-desc": "يوفر نص بويلربلات مخصص لكل نطاق للصفحات الجديدة" +} diff --git a/i18n/arz.json b/i18n/arz.json new file mode 100644 index 0000000..727bea7 --- /dev/null +++ b/i18n/arz.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Meno25" + ] + }, + "preloader-desc": "يوفر نص بويلربلات مخصص لكل نطاق للصفحات الجديدة" +} diff --git a/i18n/ast.json b/i18n/ast.json new file mode 100644 index 0000000..71fa63a --- /dev/null +++ b/i18n/ast.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Xuacu" + ] + }, + "preloader-desc": "Proporciona un testu patrón personalizable por espaciu de nome pa les páxines nueves" +} diff --git a/i18n/be-tarask.json b/i18n/be-tarask.json new file mode 100644 index 0000000..68cf898 --- /dev/null +++ b/i18n/be-tarask.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "EugeneZelenko" + ] + }, + "preloader-desc": "Дадае тыпавыя тэксты для новых старонак, якія магчыма настройваць па прасторах назваў" +} diff --git a/i18n/br.json b/i18n/br.json new file mode 100644 index 0000000..24ca37c --- /dev/null +++ b/i18n/br.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Fulup" + ] + }, + "preloader-desc": "Pourchas a ra prenestroù testenn personeladus evit pep esaouenn anv, evit ar pajennoù nevez" +} diff --git a/i18n/bs.json b/i18n/bs.json new file mode 100644 index 0000000..5d1fad3 --- /dev/null +++ b/i18n/bs.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "CERminator" + ] + }, + "preloader-desc": "Omogućuje unos po imenskom prostoru prilagodljivih šablona za nove stranice" +} diff --git a/i18n/da.json b/i18n/da.json new file mode 100644 index 0000000..dc75116 --- /dev/null +++ b/i18n/da.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Byrial" + ] + }, + "preloader-desc": "Giver en forhåndsbestemt starttekst for nye sider for hvert navnerum" +} diff --git a/i18n/de.json b/i18n/de.json new file mode 100644 index 0000000..99c9b18 --- /dev/null +++ b/i18n/de.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Raimond Spekking" + ] + }, + "preloader-desc": "Ermöglicht das Hinzufügen pro Namensraum anpassbarer Vorlagen bei der Erstellung neuer Seiten" +} diff --git a/i18n/dsb.json b/i18n/dsb.json new file mode 100644 index 0000000..9c04d78 --- /dev/null +++ b/i18n/dsb.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Michawiki" + ] + }, + "preloader-desc": "Zmóžnja pśiměrjujobne tekstowe elementy za nowe boki na mjenjowy rum" +} diff --git a/i18n/el.json b/i18n/el.json new file mode 100644 index 0000000..f0b8dd2 --- /dev/null +++ b/i18n/el.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Omnipaedista" + ] + }, + "preloader-desc": "Παρέχει για τις καινούργιες σελίδες εξατομικευμένο πανομοιότυπο κείμενο κατά περιοχή ονομάτων" +} diff --git a/i18n/en.json b/i18n/en.json new file mode 100644 index 0000000..e4a460d --- /dev/null +++ b/i18n/en.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Rob Church" + ] + }, + "preloader-desc": "Provides customisable per-namespace boilerplate text for new pages" +} diff --git a/i18n/eo.json b/i18n/eo.json new file mode 100644 index 0000000..d528ddc --- /dev/null +++ b/i18n/eo.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Yekrats" + ] + }, + "preloader-desc": "Provizas ŝanĝeblan norman tekston laŭ nomspaco por novaj paĝoj" +} diff --git a/i18n/es.json b/i18n/es.json new file mode 100644 index 0000000..937e6f2 --- /dev/null +++ b/i18n/es.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Sanbec" + ] + }, + "preloader-desc": "Provee texto por defecto para las páginas nuevas configurable para cada espacio de nombres" +} diff --git a/i18n/fi.json b/i18n/fi.json new file mode 100644 index 0000000..3fa3f29 --- /dev/null +++ b/i18n/fi.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Mobe" + ] + }, + "preloader-desc": "Tarjoaa muokattavan nimiavaruuskohtaisen pohjatekstin uusille sivuille." +} diff --git a/i18n/fr.json b/i18n/fr.json new file mode 100644 index 0000000..7fa45b5 --- /dev/null +++ b/i18n/fr.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Grondin", + "Zetud" + ] + }, + "preloader-desc": "Fournit, pour les nouvelles pages, des fenêtres de texte personnalisables par nom d’espace" +} diff --git a/i18n/gl.json b/i18n/gl.json new file mode 100644 index 0000000..651086e --- /dev/null +++ b/i18n/gl.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Toliño" + ] + }, + "preloader-desc": "Proporciona, para as páxinas novas, ventás de texto personalizable para os nomes dos espazos" +} diff --git a/i18n/grc.json b/i18n/grc.json new file mode 100644 index 0000000..09d4683 --- /dev/null +++ b/i18n/grc.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Omnipaedista" + ] + }, + "preloader-desc": "Παρέχει συνηθισμένον πανομοιότυπον κείμενον κατὰ ὀνοματεῖον διὰ τὰς καινοὺς δέλτους" +} diff --git a/i18n/gsw.json b/i18n/gsw.json new file mode 100644 index 0000000..0d07e95 --- /dev/null +++ b/i18n/gsw.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Als-Holder" + ] + }, + "preloader-desc": "Macht s megli pro Namensruum aapassbarei Vorlage zuezfiege bim Aalege vu neje Syte" +} diff --git a/i18n/he.json b/i18n/he.json new file mode 100644 index 0000000..aa40f6d --- /dev/null +++ b/i18n/he.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Rotemliss" + ] + }, + "preloader-desc": "אפשרות לתבנית טקסט עבור דפים חדשים, שניתנת להתאמה לפי מרחב שם" +} diff --git a/i18n/hil.json b/i18n/hil.json new file mode 100644 index 0000000..2a00d7f --- /dev/null +++ b/i18n/hil.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Tagimata" + ] + }, + "preloader-desc": "Nagahatag sang gin-obra na daan kada-ngalanespasyo boilerplate teksto para sa mga bag-o nga pahina" +} diff --git a/i18n/hsb.json b/i18n/hsb.json new file mode 100644 index 0000000..b27a83e --- /dev/null +++ b/i18n/hsb.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Michawiki" + ] + }, + "preloader-desc": "Dodawa tekstowe elementy za nowe strony přiměrjomne na mjenowy rum" +} diff --git a/i18n/hu.json b/i18n/hu.json new file mode 100644 index 0000000..8e182ec --- /dev/null +++ b/i18n/hu.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Tgr" + ] + }, + "preloader-desc": "Névterenként más-más rendszerüzenet az új oldalakhoz" +} diff --git a/i18n/ia.json b/i18n/ia.json new file mode 100644 index 0000000..95260c8 --- /dev/null +++ b/i18n/ia.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "McDutchie" + ] + }, + "preloader-desc": "Permitte predefinir un modello de texto pro nove paginas, un pro cata spatio de nomines" +} diff --git a/i18n/id.json b/i18n/id.json new file mode 100644 index 0000000..26147cf --- /dev/null +++ b/i18n/id.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Bennylin" + ] + }, + "preloader-desc": "Menyediakan teks pembuka yang dapat dikustomisasi per ruang nama untuk halaman-halaman baru" +} diff --git a/i18n/it.json b/i18n/it.json new file mode 100644 index 0000000..2ef5648 --- /dev/null +++ b/i18n/it.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Darth Kule" + ] + }, + "preloader-desc": "Fornisce un testo standard personalizzabile per ciascun namespace per le nuove pagine" +} diff --git a/i18n/ja.json b/i18n/ja.json new file mode 100644 index 0000000..d95bcb8 --- /dev/null +++ b/i18n/ja.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Fryed-peach", + "Shirayuki" + ] + }, + "preloader-desc": "新しいページ用に名前空間ごとのカスタマイズ可能な雛形文章を提供する" +} diff --git a/i18n/ko.json b/i18n/ko.json new file mode 100644 index 0000000..f37f216 --- /dev/null +++ b/i18n/ko.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "아라" + ] + }, + "preloader-desc": "새 문서에 대해 사용자 정의 이름공간마다 상용구를 제공" +} diff --git a/i18n/ksh.json b/i18n/ksh.json new file mode 100644 index 0000000..120278b --- /dev/null +++ b/i18n/ksh.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Purodha" + ] + }, + "preloader-desc": "Määt et müjjelesch, för jedes Appachtemang ene Täx förzejävve, dä eets ens ne de neu Sigge erin küt." +} diff --git a/i18n/lb.json b/i18n/lb.json new file mode 100644 index 0000000..1bb6c00 --- /dev/null +++ b/i18n/lb.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Robby" + ] + }, + "preloader-desc": "Erméiglecht et personabiliséierten Text fir nei Säiten pro Nummraum derbäizesetzen" +} diff --git a/i18n/mk.json b/i18n/mk.json new file mode 100644 index 0000000..80dc255 --- /dev/null +++ b/i18n/mk.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Bjankuloski06" + ] + }, + "preloader-desc": "Овозможува кориснички-прилагодлив фиксен текст за нови страници" +} diff --git a/i18n/mr.json b/i18n/mr.json new file mode 100644 index 0000000..b96abad --- /dev/null +++ b/i18n/mr.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Kaustubh" + ] + }, + "preloader-desc": "नवीन पानांसाठी बदलता येण्याजोगी नामविश्व बॉइलरप्लेट देते" +} diff --git a/i18n/ms.json b/i18n/ms.json new file mode 100644 index 0000000..a43ebc3 --- /dev/null +++ b/i18n/ms.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Anakmalaysia" + ] + }, + "preloader-desc": "Menyediakan teks plat dandang seruang nama yang boleh disuaikan untuk laman baru" +} diff --git a/i18n/nb.json b/i18n/nb.json new file mode 100644 index 0000000..090711c --- /dev/null +++ b/i18n/nb.json @@ -0,0 +1,6 @@ +{ + "@metadata": { + "authors": [] + }, + "preloader-desc": "Gir egendefinerbar forhåndslastet tekst for nye sider i de enkelte navnerommene" +} diff --git a/i18n/nds.json b/i18n/nds.json new file mode 100644 index 0000000..1dfd04b --- /dev/null +++ b/i18n/nds.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Slomox" + ] + }, + "preloader-desc": "Verlöövt dat Tofögen vun ännerbore Vörlagen, de för elk Naamruum bi’t Opstellen vun ne’e Sieden wiest warrt" +} diff --git a/i18n/nl.json b/i18n/nl.json new file mode 100644 index 0000000..dd60da9 --- /dev/null +++ b/i18n/nl.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Siebrand" + ] + }, + "preloader-desc": "Geeft de mogelijkheid aan te passen per naamruimte tekstblokken te maken voor nieuwe pagina's" +} diff --git a/i18n/nn.json b/i18n/nn.json new file mode 100644 index 0000000..d704132 --- /dev/null +++ b/i18n/nn.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Harald Khan", + "Njardarlogar" + ] + }, + "preloader-desc": "Gjev ein eigendefinerbar førehandslasta tekst for nye sider i dei enkelte namneromma" +} diff --git a/i18n/oc.json b/i18n/oc.json new file mode 100644 index 0000000..914ff83 --- /dev/null +++ b/i18n/oc.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Cedric31" + ] + }, + "preloader-desc": "Provesís, per las paginas novèlas, de fenèstras de tèxte personalizablas per nom d’espaci" +} diff --git a/i18n/pl.json b/i18n/pl.json new file mode 100644 index 0000000..712f320 --- /dev/null +++ b/i18n/pl.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Sp5uhe" + ] + }, + "preloader-desc": "Zapewnia odrębny dla każdej przestrzeni nazw domyślny tekst nowej strony" +} diff --git a/i18n/pms.json b/i18n/pms.json new file mode 100644 index 0000000..870395a --- /dev/null +++ b/i18n/pms.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Dragonòt" + ] + }, + "preloader-desc": "A dà test përsonalisà për-namespace për neuve pàgine" +} diff --git a/i18n/pt-br.json b/i18n/pt-br.json new file mode 100644 index 0000000..36797c5 --- /dev/null +++ b/i18n/pt-br.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Eduardo.mps" + ] + }, + "preloader-desc": "Fornece textos-modelo para novas páginas, personalizáveis por domínio" +} diff --git a/i18n/pt.json b/i18n/pt.json new file mode 100644 index 0000000..0c35879 --- /dev/null +++ b/i18n/pt.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Hamilton Abreu", + "Waldir" + ] + }, + "preloader-desc": "Fornece textos-modelo para novas páginas, personalizáveis por espaço nominal" +} diff --git a/i18n/qqq.json b/i18n/qqq.json new file mode 100644 index 0000000..b30e1fc --- /dev/null +++ b/i18n/qqq.json @@ -0,0 +1,9 @@ +{ + "@metadata": { + "authors": [ + "Purodha", + "The Evil IP address" + ] + }, + "preloader-desc": "{{desc}}" +} diff --git a/i18n/roa-tara.json b/i18n/roa-tara.json new file mode 100644 index 0000000..4e88b5a --- /dev/null +++ b/i18n/roa-tara.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Joetaras" + ] + }, + "preloader-desc": "Avène ausete pe de le pre-namespace ca sonde personalizzabbele pe le pàggene nueve" +} diff --git a/i18n/ru.json b/i18n/ru.json new file mode 100644 index 0000000..13f8cd5 --- /dev/null +++ b/i18n/ru.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Александр Сигачёв" + ] + }, + "preloader-desc": "Предоставляет настраиваемые по пространствам имён типовые тексты для новых страниц" +} diff --git a/i18n/sk.json b/i18n/sk.json new file mode 100644 index 0000000..9c3bfea --- /dev/null +++ b/i18n/sk.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Helix84" + ] + }, + "preloader-desc": "Poskytuje prispôsobiteľný šablónový text pre nové stránky na báze menných priestorov" +} diff --git a/i18n/stq.json b/i18n/stq.json new file mode 100644 index 0000000..aa4563d --- /dev/null +++ b/i18n/stq.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Pyt" + ] + }, + "preloader-desc": "Moaket dät Bietouföigjen muugelk fon pro Noomensruum anpaasboare Foarloagen bie dät Moakjen fon näie Sieden" +} diff --git a/i18n/sv.json b/i18n/sv.json new file mode 100644 index 0000000..0253e08 --- /dev/null +++ b/i18n/sv.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "M.M.S." + ] + }, + "preloader-desc": "Ger en egendefinierad förhandsladdad text för nya sidor" +} diff --git a/i18n/te.json b/i18n/te.json new file mode 100644 index 0000000..1a47393 --- /dev/null +++ b/i18n/te.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Veeven" + ] + }, + "preloader-desc": "కొత్త పేజీలకి పేరుబరివారీగా మార్చుకొనగలిగే మూస పాఠ్యాన్ని అందిస్తుంది" +} diff --git a/i18n/tl.json b/i18n/tl.json new file mode 100644 index 0000000..d16b394 --- /dev/null +++ b/i18n/tl.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "AnakngAraw" + ] + }, + "preloader-desc": "Nagbibigay na maipapasadyang pang-bawat espasyo ng pangalang teksto ng pakuluang-bakal para sa bagong mga pahina" +} diff --git a/i18n/tr.json b/i18n/tr.json new file mode 100644 index 0000000..0631549 --- /dev/null +++ b/i18n/tr.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Vito Genovese" + ] + }, + "preloader-desc": "Yeni sayfalar için isim alanına özel kişiselleştirilebilir hazır metinler sunar" +} diff --git a/i18n/uk.json b/i18n/uk.json new file mode 100644 index 0000000..4637aa7 --- /dev/null +++ b/i18n/uk.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Alex Khimich" + ] + }, + "preloader-desc": "Забезпечення настроюваних за імен по стандартним типовим текстам для нової сторінки" +} diff --git a/i18n/vi.json b/i18n/vi.json new file mode 100644 index 0000000..5ecc999 --- /dev/null +++ b/i18n/vi.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Vinhtantran" + ] + }, + "preloader-desc": "Cung cấp những mẫu văn bản viết sẵn theo từng không gian tên khi tạo trang mới" +}