Revert "WikipediaBridge: Added russian version (#2184)"

Was buggy.

This reverts commit f7af2beb79.
This commit is contained in:
Dag 2022-03-24 23:34:43 +01:00
parent f7af2beb79
commit 534864f47b

View file

@ -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
*/