From 534864f47bdbeda87200edeeb70b445c6b58c4e6 Mon Sep 17 00:00:00 2001 From: Dag Date: Thu, 24 Mar 2022 23:34:43 +0100 Subject: [PATCH] Revert "WikipediaBridge: Added russian version (#2184)" Was buggy. This reverts commit f7af2beb79093432259c67fa5b5315da251512fd. --- bridges/WikipediaBridge.php | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/bridges/WikipediaBridge.php b/bridges/WikipediaBridge.php index df4876d2..51971887 100644 --- a/bridges/WikipediaBridge.php +++ b/bridges/WikipediaBridge.php @@ -17,7 +17,6 @@ class WikipediaBridge extends BridgeAbstract { 'exampleValue' => 'English', 'values' => array( 'English' => 'en', - 'Русский' => 'ru', 'Dutch' => 'nl', 'Esperanto' => 'eo', 'French' => 'fr', @@ -267,27 +266,7 @@ class WikipediaBridge extends BridgeAbstract { break; } } - - - /** - * Implementation for ru.wikipedia.org - */ - private function getContentsEn($html, $subject, $fullArticle){ - switch($subject) { - case WIKIPEDIA_SUBJECT_TFA: - $element = $html->find('div[id=mp-tfa]', 0); - $this->addTodaysFeaturedArticleGeneric($element, $fullArticle, -1); - break; - case WIKIPEDIA_SUBJECT_DYK: - $element = $html->find('div[id=mp-dyk]', 0); - $this->addDidYouKnowGeneric($element, $fullArticle); - break; - default: - break; - } - } - - + /** * Implementation for eo.wikipedia.org */