Raimond Spekking has submitted this change and it was merged.

Change subject: Migrate to JSON i18n
......................................................................


Migrate to JSON i18n

Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I4827633129de54431a486bb58da8b1b389c6cc5c
---
M WikiObjectModel.php
A i18n/af.json
A i18n/ar.json
A i18n/ast.json
A i18n/be-tarask.json
A i18n/de.json
A i18n/dsb.json
A i18n/en.json
A i18n/es.json
A i18n/fa.json
A i18n/fr.json
A i18n/frp.json
A i18n/gl.json
A i18n/he.json
A i18n/hsb.json
A i18n/ia.json
A i18n/id.json
A i18n/it.json
A i18n/ja.json
A i18n/ka.json
A i18n/ko.json
A i18n/ksh.json
A i18n/lb.json
A i18n/mk.json
A i18n/ms.json
A i18n/nl.json
A i18n/pl.json
A i18n/pms.json
A i18n/pt.json
A i18n/qqq.json
A i18n/roa-tara.json
A i18n/ru.json
A i18n/si.json
A i18n/sv.json
A i18n/tl.json
A i18n/tr.json
A i18n/uk.json
A i18n/vi.json
A i18n/zh-hans.json
A i18n/zh-hant.json
M languages/Messages.php
41 files changed, 417 insertions(+), 349 deletions(-)

Approvals:
  Raimond Spekking: Verified; Looks good to me, approved



diff --git a/WikiObjectModel.php b/WikiObjectModel.php
index 879a7bc..ee1edc4 100644
--- a/WikiObjectModel.php
+++ b/WikiObjectModel.php
@@ -6,12 +6,13 @@
  */
 if ( !defined( 'MEDIAWIKI' ) ) die;
 
-define( 'WOM_VERSION', '1.0.2 alpha' );
+define( 'WOM_VERSION', '1.1.0 alpha' );
 
 $wgOMIP = $IP . '/extensions/WikiObjectModel';
 $wgOMScriptPath = $wgScriptPath . '/extensions/WikiObjectModel';
 
 $wgExtensionFunctions[] = 'wfWOMSetupExtension';
+$wgMessagesDirs['WikiObjectModel'] = __DIR__ . '/i18n';
 $wgExtensionMessagesFiles['WikiObjectModel'] = $wgOMIP . 
'/languages/Messages.php';
 
 require_once( $wgOMIP . '/includes/WOM_Setup.php' );
@@ -83,4 +84,4 @@
                'descriptionmsg' => 'wom-desc'
        );
        return true;
-}
\ No newline at end of file
+}
diff --git a/i18n/af.json b/i18n/af.json
new file mode 100644
index 0000000..bb9cc64
--- /dev/null
+++ b/i18n/af.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Naudefj"
+        ]
+    },
+    "objecteditor": "Objek-redigeerder",
+    "wom_editor": "Objek-model",
+    "wom-desc": "Maklike bladsyobjek-model"
+}
diff --git a/i18n/ar.json b/i18n/ar.json
new file mode 100644
index 0000000..a69f479
--- /dev/null
+++ b/i18n/ar.json
@@ -0,0 +1,9 @@
+{
+    "@metadata": {
+        "authors": [
+            "Meno25"
+        ]
+    },
+    "objecteditor": "محرر الكائن",
+    "wom_editor": "نموذج الكائن"
+}
diff --git a/i18n/ast.json b/i18n/ast.json
new file mode 100644
index 0000000..92462a2
--- /dev/null
+++ b/i18n/ast.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Xuacu"
+        ]
+    },
+    "objecteditor": "Editor d'oxetos",
+    "wom_editor": "Modelu d'oxetos",
+    "wom-desc": "Modelu cenciellu d'oxetos de páxina pal usuariu de la wiki"
+}
diff --git a/i18n/be-tarask.json b/i18n/be-tarask.json
new file mode 100644
index 0000000..b02564d
--- /dev/null
+++ b/i18n/be-tarask.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Renessaince"
+        ]
+    },
+    "objecteditor": "Рэдактар аб’ектаў",
+    "wom_editor": "Мадэль аб’ектаў",
+    "wom-desc": "Мадэль аб’ектаў Easy Page для вікі-ўдзельніка"
+}
diff --git a/i18n/de.json b/i18n/de.json
new file mode 100644
index 0000000..b4a0516
--- /dev/null
+++ b/i18n/de.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Kghbln"
+        ]
+    },
+    "objecteditor": "Objekteditor",
+    "wom_editor": "Objektmodell",
+    "wom-desc": "Ermöglicht ein einfaches Objektmodell für Seiten"
+}
diff --git a/i18n/dsb.json b/i18n/dsb.json
new file mode 100644
index 0000000..20d112c
--- /dev/null
+++ b/i18n/dsb.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Michawiki"
+        ]
+    },
+    "objecteditor": "Objektowy editor",
+    "wom_editor": "Objektowy model",
+    "wom-desc": "Jadnory objektowy model za wikiwužywarja"
+}
diff --git a/i18n/en.json b/i18n/en.json
new file mode 100644
index 0000000..244458e
--- /dev/null
+++ b/i18n/en.json
@@ -0,0 +1,8 @@
+{
+    "@metadata": {
+        "authors": []
+    },
+    "objecteditor": "Object Editor",
+    "wom_editor": "Object Model",
+    "wom-desc": "Easy Page Object Model for wiki user"
+}
diff --git a/i18n/es.json b/i18n/es.json
new file mode 100644
index 0000000..3730ffe
--- /dev/null
+++ b/i18n/es.json
@@ -0,0 +1,11 @@
+{
+    "@metadata": {
+        "authors": [
+            "Armando-Martin",
+            "Bea.miau"
+        ]
+    },
+    "objecteditor": "Editor de objetos",
+    "wom_editor": "Modelo de objetos",
+    "wom-desc": "Modelo de objetos de página simple para los usuarios del wiki"
+}
diff --git a/i18n/fa.json b/i18n/fa.json
new file mode 100644
index 0000000..3c61cc7
--- /dev/null
+++ b/i18n/fa.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Armin1392"
+        ]
+    },
+    "objecteditor": "ویرایشگر موضوع",
+    "wom_editor": "مدل موضوع",
+    "wom-desc": "صفحهٔ مدل موضوع آسان برای کاربر ویکی"
+}
diff --git a/i18n/fr.json b/i18n/fr.json
new file mode 100644
index 0000000..1113de3
--- /dev/null
+++ b/i18n/fr.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Gomoko"
+        ]
+    },
+    "objecteditor": "Éditeur d'objet",
+    "wom_editor": "Modèle d'objet",
+    "wom-desc": "Modèle d'objet de page simple pour l'utilisateur wiki"
+}
diff --git a/i18n/frp.json b/i18n/frp.json
new file mode 100644
index 0000000..e230691
--- /dev/null
+++ b/i18n/frp.json
@@ -0,0 +1,9 @@
+{
+    "@metadata": {
+        "authors": [
+            "ChrisPtDe"
+        ]
+    },
+    "objecteditor": "Èditor de chousa",
+    "wom_editor": "Modèlo de chousa"
+}
diff --git a/i18n/gl.json b/i18n/gl.json
new file mode 100644
index 0000000..4467cda
--- /dev/null
+++ b/i18n/gl.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Toliño"
+        ]
+    },
+    "objecteditor": "Editor de obxectos",
+    "wom_editor": "Modelo de obxectos",
+    "wom-desc": "Modelo de obxectos de páxina sinxelo para os usuarios do wiki"
+}
diff --git a/i18n/he.json b/i18n/he.json
new file mode 100644
index 0000000..99ed459
--- /dev/null
+++ b/i18n/he.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Amire80"
+        ]
+    },
+    "objecteditor": "עורך עצמים",
+    "wom_editor": "דגם עצמים",
+    "wom-desc": "דגם עצמים קל לדף עבור משתמש ויקי"
+}
diff --git a/i18n/hsb.json b/i18n/hsb.json
new file mode 100644
index 0000000..39ddd4c
--- /dev/null
+++ b/i18n/hsb.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Michawiki"
+        ]
+    },
+    "objecteditor": "Objektowy editor",
+    "wom_editor": "Objektowy model",
+    "wom-desc": "Jednory objektowy model strony za wikiwužiwarja"
+}
diff --git a/i18n/ia.json b/i18n/ia.json
new file mode 100644
index 0000000..8a81db3
--- /dev/null
+++ b/i18n/ia.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "McDutchie"
+        ]
+    },
+    "objecteditor": "Editor de objectos",
+    "wom_editor": "Modello de objectos",
+    "wom-desc": "Modello facile de objectos de pagina pro usatores de wikis"
+}
diff --git a/i18n/id.json b/i18n/id.json
new file mode 100644
index 0000000..6110996
--- /dev/null
+++ b/i18n/id.json
@@ -0,0 +1,9 @@
+{
+    "@metadata": {
+        "authors": [
+            "Kenrick95"
+        ]
+    },
+    "objecteditor": "Editor Objek",
+    "wom_editor": "Model Objek"
+}
diff --git a/i18n/it.json b/i18n/it.json
new file mode 100644
index 0000000..1df4d4d
--- /dev/null
+++ b/i18n/it.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Beta16"
+        ]
+    },
+    "objecteditor": "Editor oggetti",
+    "wom_editor": "Modello a oggetti",
+    "wom-desc": "Facile modello ad oggetti della pagina per utenti wiki"
+}
diff --git a/i18n/ja.json b/i18n/ja.json
new file mode 100644
index 0000000..d3bd5e2
--- /dev/null
+++ b/i18n/ja.json
@@ -0,0 +1,11 @@
+{
+    "@metadata": {
+        "authors": [
+            "Schu",
+            "Shirayuki"
+        ]
+    },
+    "objecteditor": "オブジェクトエディター",
+    "wom_editor": "オブジェクトモデル",
+    "wom-desc": "ウィキ利用者のための簡単なページオブジェクトモデル"
+}
diff --git a/i18n/ka.json b/i18n/ka.json
new file mode 100644
index 0000000..97ab287
--- /dev/null
+++ b/i18n/ka.json
@@ -0,0 +1,9 @@
+{
+    "@metadata": {
+        "authors": [
+            "David1010"
+        ]
+    },
+    "objecteditor": "ობიექტების რედაქტორი",
+    "wom_editor": "ობიექტის მოდელი"
+}
diff --git a/i18n/ko.json b/i18n/ko.json
new file mode 100644
index 0000000..ec81de6
--- /dev/null
+++ b/i18n/ko.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "아라"
+        ]
+    },
+    "objecteditor": "개체 편집기",
+    "wom_editor": "개체 모델",
+    "wom-desc": "위키 사용자에 대한 쉬운 문서 개체 모델"
+}
diff --git a/i18n/ksh.json b/i18n/ksh.json
new file mode 100644
index 0000000..13abb6e
--- /dev/null
+++ b/i18n/ksh.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Purodha"
+        ]
+    },
+    "objecteditor": "Objäk Ändere",
+    "wom_editor": "Objäk Modäll",
+    "wom-desc": "E eijfach Objäk Modäll för Wikisigge."
+}
diff --git a/i18n/lb.json b/i18n/lb.json
new file mode 100644
index 0000000..cae3f51
--- /dev/null
+++ b/i18n/lb.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Robby"
+        ]
+    },
+    "objecteditor": "Object Editeur",
+    "wom_editor": "Object-Schabloun",
+    "wom-desc": "Einfach Object-Schabloun vu Säite fir Wiki-Benotzer"
+}
diff --git a/i18n/mk.json b/i18n/mk.json
new file mode 100644
index 0000000..f7485ce
--- /dev/null
+++ b/i18n/mk.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Bjankuloski06"
+        ]
+    },
+    "objecteditor": "Уредник на објекти",
+    "wom_editor": "Модел на објект",
+    "wom-desc": "Лесен модел на објект за страници за корисник на вики"
+}
diff --git a/i18n/ms.json b/i18n/ms.json
new file mode 100644
index 0000000..9281de7
--- /dev/null
+++ b/i18n/ms.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Anakmalaysia"
+        ]
+    },
+    "objecteditor": "Editor Objek",
+    "wom_editor": "Model Objek",
+    "wom-desc": "Model Objek Laman Mudah untuk pengguna wiki"
+}
diff --git a/i18n/nl.json b/i18n/nl.json
new file mode 100644
index 0000000..5705bbd
--- /dev/null
+++ b/i18n/nl.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Siebrand"
+        ]
+    },
+    "objecteditor": "Objecttekstverwerker",
+    "wom_editor": "Objectmodel",
+    "wom-desc": "Gemakkelijk paginaobjectmodel"
+}
diff --git a/i18n/pl.json b/i18n/pl.json
new file mode 100644
index 0000000..ac6601f
--- /dev/null
+++ b/i18n/pl.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "BeginaFelicysym"
+        ]
+    },
+    "objecteditor": "Edytor obiektów",
+    "wom_editor": "Model obiektowy",
+    "wom-desc": "Prosty model obiektowy strony dla użytkownika wiki"
+}
diff --git a/i18n/pms.json b/i18n/pms.json
new file mode 100644
index 0000000..7d76af5
--- /dev/null
+++ b/i18n/pms.json
@@ -0,0 +1,11 @@
+{
+    "@metadata": {
+        "authors": [
+            "Borichèt",
+            "Dragonòt"
+        ]
+    },
+    "objecteditor": "Editor d'Oget",
+    "wom_editor": "Model d'Oget",
+    "wom-desc": "Model d'oget ëd pàgina sempia për l'utent wiki"
+}
diff --git a/i18n/pt.json b/i18n/pt.json
new file mode 100644
index 0000000..3acad53
--- /dev/null
+++ b/i18n/pt.json
@@ -0,0 +1,11 @@
+{
+    "@metadata": {
+        "authors": [
+            "Luckas",
+            "SandroHc"
+        ]
+    },
+    "objecteditor": "Editor de objetos",
+    "wom_editor": "Modelo de objetos",
+    "wom-desc": "Modelo de Objectos \"Easy Page\" para os utilizadores da wiki"
+}
diff --git a/i18n/qqq.json b/i18n/qqq.json
new file mode 100644
index 0000000..a5b8259
--- /dev/null
+++ b/i18n/qqq.json
@@ -0,0 +1,9 @@
+{
+    "@metadata": {
+        "authors": [
+            "Beta16",
+            "Shirayuki"
+        ]
+    },
+    "wom-desc": "{{desc|name=Wiki Object 
Model|url=http://www.mediawiki.org/wiki/Extension:Wiki_Object_Model}}";
+}
diff --git a/i18n/roa-tara.json b/i18n/roa-tara.json
new file mode 100644
index 0000000..aac1eda
--- /dev/null
+++ b/i18n/roa-tara.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Joetaras"
+        ]
+    },
+    "objecteditor": "Cangiatore de Oggette",
+    "wom_editor": "Modelle de Oggette",
+    "wom-desc": "Pàgene Semblice d'u Modelle de Oggette pe le utinde uicchi"
+}
diff --git a/i18n/ru.json b/i18n/ru.json
new file mode 100644
index 0000000..b81e86d
--- /dev/null
+++ b/i18n/ru.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Express2000"
+        ]
+    },
+    "objecteditor": "Редактор объектов",
+    "wom_editor": "Модель объекта",
+    "wom-desc": "Облегченная модель объекта страницы для вики-пользователя"
+}
diff --git a/i18n/si.json b/i18n/si.json
new file mode 100644
index 0000000..f9c44aa
--- /dev/null
+++ b/i18n/si.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "පසිඳු කාවින්ද"
+        ]
+    },
+    "objecteditor": "වස්තු සංස්කාරක",
+    "wom_editor": "වස්තු මාදිලිය",
+    "wom-desc": "විකි පරිශීලක සඳහා පිටු වස්තු මොඩුලය"
+}
diff --git a/i18n/sv.json b/i18n/sv.json
new file mode 100644
index 0000000..3e8fad3
--- /dev/null
+++ b/i18n/sv.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Warrakkk"
+        ]
+    },
+    "objecteditor": "Objektredigerare",
+    "wom_editor": "Objektmodell",
+    "wom-desc": "Enkel sidoobjektmodell för wikianvändare"
+}
diff --git a/i18n/tl.json b/i18n/tl.json
new file mode 100644
index 0000000..f124eea
--- /dev/null
+++ b/i18n/tl.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "AnakngAraw"
+        ]
+    },
+    "objecteditor": "Patnugot ng Bagay",
+    "wom_editor": "Modelo ng Bagay",
+    "wom-desc": "Modelong Bagay ng Maginhawang Pahina para sa tagagamit ng 
wiki"
+}
diff --git a/i18n/tr.json b/i18n/tr.json
new file mode 100644
index 0000000..66026dc
--- /dev/null
+++ b/i18n/tr.json
@@ -0,0 +1,11 @@
+{
+    "@metadata": {
+        "authors": [
+            "Emperyan",
+            "Joseph"
+        ]
+    },
+    "objecteditor": "Nesne Düzenleyicisi",
+    "wom_editor": "Nesne Modeli",
+    "wom-desc": "Viki kullanıcıları için Kolay Sayfa Nesne Modeli"
+}
diff --git a/i18n/uk.json b/i18n/uk.json
new file mode 100644
index 0000000..5669db9
--- /dev/null
+++ b/i18n/uk.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Base"
+        ]
+    },
+    "objecteditor": "Редактор об'єктів",
+    "wom_editor": "Модель об'єкту",
+    "wom-desc": "Легка об'єктна модель сторінки для вікі-користувача"
+}
diff --git a/i18n/vi.json b/i18n/vi.json
new file mode 100644
index 0000000..24928b3
--- /dev/null
+++ b/i18n/vi.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Minh Nguyen"
+        ]
+    },
+    "objecteditor": "Trình sửa đổi đối tượng",
+    "wom_editor": "Mô hình đối tượng",
+    "wom-desc": "Mô hình đối tượng trang dễ sử dụng trên wiki"
+}
diff --git a/i18n/zh-hans.json b/i18n/zh-hans.json
new file mode 100644
index 0000000..7019893
--- /dev/null
+++ b/i18n/zh-hans.json
@@ -0,0 +1,10 @@
+{
+    "@metadata": {
+        "authors": [
+            "Linforest"
+        ]
+    },
+    "objecteditor": "对象编辑器",
+    "wom_editor": "对象模型",
+    "wom-desc": "针对维基站点用户的简易页面对象模型"
+}
diff --git a/i18n/zh-hant.json b/i18n/zh-hant.json
new file mode 100644
index 0000000..2f8d113
--- /dev/null
+++ b/i18n/zh-hant.json
@@ -0,0 +1,8 @@
+{
+    "@metadata": {
+        "authors": []
+    },
+    "objecteditor": "對象編輯器",
+    "wom_editor": "對象模型",
+    "wom-desc": "針對維基站點用戶的簡易頁面對象模型"
+}
diff --git a/languages/Messages.php b/languages/Messages.php
index 16023d0..fc65d35 100644
--- a/languages/Messages.php
+++ b/languages/Messages.php
@@ -1,350 +1,31 @@
 <?php
-
+/**
+ * This is a backwards-compatibility shim, generated by:
+ * 
https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/maintenance%2FgenerateJsonI18n.php
+ *
+ * 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'] );
+               }
 
-$messages['en'] = array(
-       'objecteditor' => 'Object Editor',
-       'wom_editor' => 'Object Model',
-       'wom-desc' => 'Easy Page Object Model for wiki user',
-);
-
-/** Message documentation (Message documentation)
- * @author Beta16
- * @author Shirayuki
- */
-$messages['qqq'] = array(
-       'wom-desc' => '{{desc|name=Wiki Object 
Model|url=http://www.mediawiki.org/wiki/Extension:Wiki_Object_Model}}',
-);
-
-/** Afrikaans (Afrikaans)
- * @author Naudefj
- */
-$messages['af'] = array(
-       'objecteditor' => 'Objek-redigeerder',
-       'wom_editor' => 'Objek-model',
-       'wom-desc' => 'Maklike bladsyobjek-model',
-);
-
-/** Arabic (العربية)
- * @author Meno25
- */
-$messages['ar'] = array(
-       'objecteditor' => 'محرر الكائن',
-       'wom_editor' => 'نموذج الكائن',
-);
-
-/** Asturian (asturianu)
- * @author Xuacu
- */
-$messages['ast'] = array(
-       'objecteditor' => "Editor d'oxetos",
-       'wom_editor' => "Modelu d'oxetos",
-       'wom-desc' => "Modelu cenciellu d'oxetos de páxina pal usuariu de la 
wiki",
-);
-
-/** Belarusian (Taraškievica orthography) (беларуская (тарашкевіца)‎)
- * @author Renessaince
- */
-$messages['be-tarask'] = array(
-       'objecteditor' => 'Рэдактар аб’ектаў',
-       'wom_editor' => 'Мадэль аб’ектаў',
-       'wom-desc' => 'Мадэль аб’ектаў Easy Page для вікі-ўдзельніка',
-);
-
-/** German (Deutsch)
- * @author Kghbln
- */
-$messages['de'] = array(
-       'objecteditor' => 'Objekteditor',
-       'wom_editor' => 'Objektmodell',
-       'wom-desc' => 'Ermöglicht ein einfaches Objektmodell für Seiten',
-);
-
-/** Lower Sorbian (dolnoserbski)
- * @author Michawiki
- */
-$messages['dsb'] = array(
-       'objecteditor' => 'Objektowy editor',
-       'wom_editor' => 'Objektowy model',
-       'wom-desc' => 'Jadnory objektowy model za wikiwužywarja',
-);
-
-/** Spanish (español)
- * @author Armando-Martin
- * @author Bea.miau
- */
-$messages['es'] = array(
-       'objecteditor' => 'Editor de objetos',
-       'wom_editor' => 'Modelo de objetos',
-       'wom-desc' => 'Modelo de objetos de página simple para los usuarios del 
wiki',
-);
-
-/** Persian (فارسی)
- * @author Armin1392
- */
-$messages['fa'] = array(
-       'objecteditor' => 'ویرایشگر موضوع',
-       'wom_editor' => 'مدل موضوع',
-       'wom-desc' => 'صفحهٔ مدل موضوع آسان برای کاربر ویکی',
-);
-
-/** French (français)
- * @author Gomoko
- */
-$messages['fr'] = array(
-       'objecteditor' => "Éditeur d'objet",
-       'wom_editor' => "Modèle d'objet",
-       'wom-desc' => "Modèle d'objet de page simple pour l'utilisateur wiki",
-);
-
-/** Franco-Provençal (arpetan)
- * @author ChrisPtDe
- */
-$messages['frp'] = array(
-       'objecteditor' => 'Èditor de chousa',
-       'wom_editor' => 'Modèlo de chousa',
-);
-
-/** Galician (galego)
- * @author Toliño
- */
-$messages['gl'] = array(
-       'objecteditor' => 'Editor de obxectos',
-       'wom_editor' => 'Modelo de obxectos',
-       'wom-desc' => 'Modelo de obxectos de páxina sinxelo para os usuarios do 
wiki',
-);
-
-/** Hebrew (עברית)
- * @author Amire80
- */
-$messages['he'] = array(
-       'objecteditor' => 'עורך עצמים',
-       'wom_editor' => 'דגם עצמים',
-       'wom-desc' => 'דגם עצמים קל לדף עבור משתמש ויקי',
-);
-
-/** Upper Sorbian (hornjoserbsce)
- * @author Michawiki
- */
-$messages['hsb'] = array(
-       'objecteditor' => 'Objektowy editor',
-       'wom_editor' => 'Objektowy model',
-       'wom-desc' => 'Jednory objektowy model strony za wikiwužiwarja',
-);
-
-/** Interlingua (interlingua)
- * @author McDutchie
- */
-$messages['ia'] = array(
-       'objecteditor' => 'Editor de objectos',
-       'wom_editor' => 'Modello de objectos',
-       'wom-desc' => 'Modello facile de objectos de pagina pro usatores de 
wikis',
-);
-
-/** Indonesian (Bahasa Indonesia)
- * @author Kenrick95
- */
-$messages['id'] = array(
-       'objecteditor' => 'Editor Objek',
-       'wom_editor' => 'Model Objek',
-);
-
-/** Italian (italiano)
- * @author Beta16
- */
-$messages['it'] = array(
-       'objecteditor' => 'Editor oggetti',
-       'wom_editor' => 'Modello a oggetti',
-       'wom-desc' => 'Facile modello ad oggetti della pagina per utenti wiki',
-);
-
-/** Japanese (日本語)
- * @author Schu
- * @author Shirayuki
- */
-$messages['ja'] = array(
-       'objecteditor' => 'オブジェクトエディター',
-       'wom_editor' => 'オブジェクトモデル',
-       'wom-desc' => 'ウィキ利用者のための簡単なページオブジェクトモデル',
-);
-
-/** Georgian (ქართული)
- * @author David1010
- */
-$messages['ka'] = array(
-       'objecteditor' => 'ობიექტების რედაქტორი',
-       'wom_editor' => 'ობიექტის მოდელი',
-);
-
-/** Korean (한국어)
- * @author 아라
- */
-$messages['ko'] = array(
-       'objecteditor' => '개체 편집기',
-       'wom_editor' => '개체 모델',
-       'wom-desc' => '위키 사용자에 대한 쉬운 문서 개체 모델',
-);
-
-/** Colognian (Ripoarisch)
- * @author Purodha
- */
-$messages['ksh'] = array(
-       'objecteditor' => 'Objäk Ändere',
-       'wom_editor' => 'Objäk Modäll',
-       'wom-desc' => 'E eijfach Objäk Modäll för Wikisigge.',
-);
-
-/** Luxembourgish (Lëtzebuergesch)
- * @author Robby
- */
-$messages['lb'] = array(
-       'objecteditor' => 'Object Editeur',
-       'wom_editor' => 'Object-Schabloun',
-       'wom-desc' => 'Einfach Object-Schabloun vu Säite fir Wiki-Benotzer',
-);
-
-/** Macedonian (македонски)
- * @author Bjankuloski06
- */
-$messages['mk'] = array(
-       'objecteditor' => 'Уредник на објекти',
-       'wom_editor' => 'Модел на објект',
-       'wom-desc' => 'Лесен модел на објект за страници за корисник на вики',
-);
-
-/** Malay (Bahasa Melayu)
- * @author Anakmalaysia
- */
-$messages['ms'] = array(
-       'objecteditor' => 'Editor Objek',
-       'wom_editor' => 'Model Objek',
-       'wom-desc' => 'Model Objek Laman Mudah untuk pengguna wiki',
-);
-
-/** Dutch (Nederlands)
- * @author Siebrand
- */
-$messages['nl'] = array(
-       'objecteditor' => 'Objecttekstverwerker',
-       'wom_editor' => 'Objectmodel',
-       'wom-desc' => 'Gemakkelijk paginaobjectmodel',
-);
-
-/** Polish (polski)
- * @author BeginaFelicysym
- */
-$messages['pl'] = array(
-       'objecteditor' => 'Edytor obiektów',
-       'wom_editor' => 'Model obiektowy',
-       'wom-desc' => 'Prosty model obiektowy strony dla użytkownika wiki',
-);
-
-/** Piedmontese (Piemontèis)
- * @author Borichèt
- * @author Dragonòt
- */
-$messages['pms'] = array(
-       'objecteditor' => "Editor d'Oget",
-       'wom_editor' => "Model d'Oget",
-       'wom-desc' => "Model d'oget ëd pàgina sempia për l'utent wiki",
-);
-
-/** Portuguese (português)
- * @author Luckas
- * @author SandroHc
- */
-$messages['pt'] = array(
-       'objecteditor' => 'Editor de objetos',
-       'wom_editor' => 'Modelo de objetos',
-       'wom-desc' => 'Modelo de Objectos "Easy Page" para os utilizadores da 
wiki',
-);
-
-/** tarandíne (tarandíne)
- * @author Joetaras
- */
-$messages['roa-tara'] = array(
-       'objecteditor' => 'Cangiatore de Oggette',
-       'wom_editor' => 'Modelle de Oggette',
-       'wom-desc' => "Pàgene Semblice d'u Modelle de Oggette pe le utinde 
uicchi",
-);
-
-/** Russian (русский)
- * @author Express2000
- */
-$messages['ru'] = array(
-       'objecteditor' => 'Редактор объектов',
-       'wom_editor' => 'Модель объекта',
-       'wom-desc' => 'Облегченная модель объекта страницы для 
вики-пользователя',
-);
-
-/** Sinhala (සිංහල)
- * @author පසිඳු කාවින්ද
- */
-$messages['si'] = array(
-       'objecteditor' => 'වස්තු සංස්කාරක',
-       'wom_editor' => 'වස්තු මාදිලිය',
-       'wom-desc' => 'විකි පරිශීලක සඳහා පිටු වස්තු මොඩුලය',
-);
-
-/** Swedish (svenska)
- * @author Warrakkk
- */
-$messages['sv'] = array(
-       'objecteditor' => 'Objektredigerare',
-       'wom_editor' => 'Objektmodell',
-       'wom-desc' => 'Enkel sidoobjektmodell för wikianvändare',
-);
-
-/** Tagalog (Tagalog)
- * @author AnakngAraw
- */
-$messages['tl'] = array(
-       'objecteditor' => 'Patnugot ng Bagay',
-       'wom_editor' => 'Modelo ng Bagay',
-       'wom-desc' => 'Modelong Bagay ng Maginhawang Pahina para sa tagagamit 
ng wiki',
-);
-
-/** Turkish (Türkçe)
- * @author Emperyan
- * @author Joseph
- */
-$messages['tr'] = array(
-       'objecteditor' => 'Nesne Düzenleyicisi',
-       'wom_editor' => 'Nesne Modeli',
-       'wom-desc' => 'Viki kullanıcıları için Kolay Sayfa Nesne Modeli',
-);
-
-/** Ukrainian (українська)
- * @author Base
- */
-$messages['uk'] = array(
-       'objecteditor' => "Редактор об'єктів",
-       'wom_editor' => "Модель об'єкту",
-       'wom-desc' => "Легка об'єктна модель сторінки для вікі-користувача",
-);
-
-/** Vietnamese (Tiếng Việt)
- * @author Minh Nguyen
- */
-$messages['vi'] = array(
-       'objecteditor' => 'Trình sửa đổi đối tượng',
-       'wom_editor' => 'Mô hình đối tượng',
-       'wom-desc' => 'Mô hình đối tượng trang dễ sử dụng trên wiki',
-);
-
-/** Simplified Chinese (中文(简体)‎)
- * @author Linforest
- */
-$messages['zh-hans'] = array(
-       'objecteditor' => '对象编辑器',
-       'wom_editor' => '对象模型',
-       'wom-desc' => '针对维基站点用户的简易页面对象模型',
-);
-
-/** Traditional Chinese (中文(繁體)‎)
- */
-$messages['zh-hant'] = array(
-       'objecteditor' => '對象編輯器',
-       'wom_editor' => '對象模型',
-       'wom-desc' => '針對維基站點用戶的簡易頁面對象模型',
-);
+               $cachedData['deps'][] = new FileDependency( $fileName );
+       }
+       return true;
+};

-- 
To view, visit https://gerrit.wikimedia.org/r/123841
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4827633129de54431a486bb58da8b1b389c6cc5c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiObjectModel
Gerrit-Branch: master
Gerrit-Owner: Siebrand <siebr...@kitano.nl>
Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com>
Gerrit-Reviewer: Raimond Spekking <raimond.spekk...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to