Wilkins has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/245907

Change subject: Adding a 'Genealogy' group in Special:SpecialPages
......................................................................

Adding a 'Genealogy' group in Special:SpecialPages

Change-Id: Ie3935a400d051eade268bc545b3d56df7016c5e2
---
M SpecialFamilyTree.php
M i18n/en.json
M i18n/fr.json
3 files changed, 8 insertions(+), 7 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticGenealogy 
refs/changes/07/245907/1

diff --git a/SpecialFamilyTree.php b/SpecialFamilyTree.php
index 852f414..8b0a380 100644
--- a/SpecialFamilyTree.php
+++ b/SpecialFamilyTree.php
@@ -3,11 +3,11 @@
 /**
  * Special page that show a family tree
  *
- * @file SpecialFamilyTree.php
+ * @file    SpecialFamilyTree.php
  * @ingroup SemanticGenealogy
  *
  * @licence GNU GPL v2+
- * @author Thomas Pellissier Tanon < thoma...@hotmail.fr >
+ * @author  Thomas Pellissier Tanon <thoma...@hotmail.fr>
  */
 class SpecialFamilyTree extends SpecialPage
 {
@@ -21,7 +21,7 @@
      */
     public function __construct($name = 'FamilyTree')
     {
-        parent::__construct($name, 'other');
+        parent::__construct($name, '');
         $this->mIncludable = true;
     }
 
@@ -152,7 +152,6 @@
         return wfMsg('semanticgenealogy-specialfamilytree-title');
     }
 
-
     /**
      * Get the groupe name
      *
@@ -160,6 +159,6 @@
      */
     protected function getGroupName()
     {
-        return 'other';
+        return 'genealogy';
     }
 }
diff --git a/i18n/en.json b/i18n/en.json
index 167f2da..80d2769 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -18,5 +18,6 @@
     "semanticgenealogy-specialfamilytree-label-gen": "Number of generation",
     "semanticgenealogy-specialfamilytree-error-nosecondpagename": "You have to 
provide a name of a persons page in 
\"{{int:semanticgenealogy-specialfamilytree-label-page2}}\" field.",
     "semanticgenealogy-specialfamilytree-error-nolinkfound": "No link found 
between [[$1]] and [[$2]].",
-    "semanticgenealogy-specialfamilytree-error-unknowntype": "The $1 type is 
unknown."
+    "semanticgenealogy-specialfamilytree-error-unknowntype": "The $1 type is 
unknown.",
+    "specialpages-group-genealogy": "Genealogy"
 }
diff --git a/i18n/fr.json b/i18n/fr.json
index a133075..867d867 100644
--- a/i18n/fr.json
+++ b/i18n/fr.json
@@ -20,5 +20,6 @@
        "semanticgenealogy-specialfamilytree-label-gen": "Nombre de 
générations",
        "semanticgenealogy-specialfamilytree-error-nosecondpagename": "Vous 
devez mettre le nom d'une page dans le champ « 
{{int:semanticgenealogy-specialfamilytree-étiquette-page2}}. »",
        "semanticgenealogy-specialfamilytree-error-nolinkfound": "Aucun lien 
trouvé entre [[$1]] et [[$2]].",
-       "semanticgenealogy-specialfamilytree-error-unknowntype": "Le type $1 
est inconnu."
+       "semanticgenealogy-specialfamilytree-error-unknowntype": "Le type $1 
est inconnu.",
+    "specialpages-group-genealogy": "Généalogie"
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie3935a400d051eade268bc545b3d56df7016c5e2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticGenealogy
Gerrit-Branch: master
Gerrit-Owner: Wilkins <thiba...@taillandier.name>

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

Reply via email to