jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/399418 )

Change subject: Break out lexicon tool while under development
......................................................................


Break out lexicon tool while under development

This reverts commits e559d7521f36b7aedb1598ae3caf031f9e38b449 and
01f254d951c77f7dc75129e800b1e4c40551ec31.

Bug: T182861
Change-Id: I5e8f53adfe92005dc417676c7cb91185e0d45b00
---
M Wikispeech.alias.php
M extension.json
M i18n/en.json
M i18n/qqq.json
D specials/SpecialWikispeechLexiconTool.php
5 files changed, 2 insertions(+), 45 deletions(-)

Approvals:
  Lokal Profil: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Wikispeech.alias.php b/Wikispeech.alias.php
index e2dbf56..b0fc561 100644
--- a/Wikispeech.alias.php
+++ b/Wikispeech.alias.php
@@ -9,5 +9,4 @@
 /** English (English) */
 $specialPageAliases['en'] = array(
        'Wikispeech' => array( 'Wikispeech' ),
-       'WikispeechLexiconTool' => array( 'WikispeechLexiconTool' ),
 );
diff --git a/extension.json b/extension.json
index b519ff8..6f7cebb 100644
--- a/extension.json
+++ b/extension.json
@@ -17,7 +17,6 @@
        },
        "AutoloadClasses": {
                "SpecialWikispeech": "specials/SpecialWikispeech.php",
-               "SpecialWikispeechLexiconTool": 
"specials/SpecialWikispeechLexiconTool.php",
                "WikispeechHooks": "Hooks.php",
                "CleanedText": "includes/CleanedContent.php",
                "SegmentBreak": "includes/CleanedContent.php",
@@ -53,8 +52,7 @@
                "remoteExtPath": "Wikispeech/modules"
        },
        "SpecialPages": {
-               "Wikispeech": "SpecialWikispeech",
-               "WikispeechLexiconTool": "SpecialWikispeechLexiconTool"
+               "Wikispeech": "SpecialWikispeech"
        },
        "ExtensionMessagesFiles": {
                "WikispeechAlias": "Wikispeech.alias.php"
diff --git a/i18n/en.json b/i18n/en.json
index a8d550e..0e32437 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -8,9 +8,6 @@
        "wikispeech-desc": "A text-to-speech tool to make Wikimedia's projects 
more accessible for people that for different reasons have difficulties 
reading.",
        "special-wikispeech-intro": "Wikispeech",
        "special-wikispeech-title": "Special page introduction.",
-       "wikispeechlexicontool": "Wikispeech Lexicon Tool",
-       "special-wikispeech-lexicon-tool-intro": "Wikispeech Lexicon Tool",
-       "special-wikispeech-lexicon-tool-title": "The tool used to add 
suggested words into the Wikispeech lexicon.",
        "apihelp-wikispeech-summary": "Process a page to be used by the 
Wikispeech extension.",
        "apihelp-wikispeech-param-page": "The title of the page to process.",
        "apihelp-wikispeech-param-output": "The formats of the output, can be a 
combination of the following:",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 711245f..80a60a9 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -1,17 +1,13 @@
 {
        "@metadata": {
                "authors": [
-                       "Sebastian Berlin",
-                       "Egbe Eugene"
+                       "Sebastian Berlin"
                ]
        },
        "wikispeech": "The name of the extension",
        "wikispeech-desc": 
"{{desc|name=Wikispeech|url=https://www.mediawiki.org/wiki/Extension:Wikispeech}}";,
        "special-wikispeech-intro": "Description appearing on top of 
<tvar|1>Special:{{ll|Wikispeech}}</>.",
        "special-wikispeech-title": "Title of the special page 
Special:Wikispeech",
-       "wikispeechlexicontool": "The name of the tool which suggests words 
about an article not found in the lexicon and adds them",
-       "special-wikispeech-lexicon-tool-intro": "Description appearing on top 
of <tvar|1>Special:{{ll|WikispeechLexiconTool}}</>.",
-       "special-wikispeech-lexicon-tool-title": "Title of the special page 
Special:WikispeechLexiconTool",
        "apihelp-wikispeech-summary": "{{doc-apihelp-summary|wikispeech}}",
        "apihelp-wikispeech-param-page": 
"{{doc-apihelp-param|wikispeech|page}}",
        "apihelp-wikispeech-param-output": 
"{{doc-apihelp-param|wikispeech|output}}",
diff --git a/specials/SpecialWikispeechLexiconTool.php 
b/specials/SpecialWikispeechLexiconTool.php
deleted file mode 100644
index 704328e..0000000
--- a/specials/SpecialWikispeechLexiconTool.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-/**
- * Wikispeech lexicon tool SpecialPage for Wikispeech extension
- *
- * @file
- * @ingroup Extensions
- */
-class SpecialWikispeechLexiconTool extends SpecialPage {
-       public function __construct() {
-               parent::__construct( 'wikispeechlexicontool' );
-       }
-
-       /**
-        * Show the page to the user
-        *
-        * @param string $sub The subpage string argument (if any).
-        */
-       public function execute( $sub ) {
-               $out = $this->getOutput();
-               $out->setPageTitle( $this->msg( 
'special-wikispeech-lexicon-tool-title' ) );
-               $out->addHelpLink( 'How to become a MediaWiki hacker' );
-               $out->addWikiMsg( 'special-wikispeech-lexicon-tool-intro' );
-       }
-
-       /**
-        * @see SpecialPage::getGroupName
-        *
-        * @return string
-        */
-       protected function getGroupName() {
-               return 'wiki';
-       }
-}

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5e8f53adfe92005dc417676c7cb91185e0d45b00
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikispeech
Gerrit-Branch: master
Gerrit-Owner: Sebastian Berlin (WMSE) <sebastian.ber...@wikimedia.se>
Gerrit-Reviewer: Lokal Profil <lokal.pro...@gmail.com>
Gerrit-Reviewer: Siebrand <siebr...@kitano.nl>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to