mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-22 17:45:40 +03:00
Revert "WikipediaBridge: Added russian version (#2184)"
Was buggy.
This reverts commit f7af2beb79
.
This commit is contained in:
parent
f7af2beb79
commit
534864f47b
1 changed files with 1 additions and 22 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue