diff options
Diffstat (limited to 'Echo/includes/EchoOnWikiList.php')
-rw-r--r-- | Echo/includes/EchoOnWikiList.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Echo/includes/EchoOnWikiList.php b/Echo/includes/EchoOnWikiList.php index 5bdc4dd6..43cbab49 100644 --- a/Echo/includes/EchoOnWikiList.php +++ b/Echo/includes/EchoOnWikiList.php @@ -17,7 +17,7 @@ class EchoOnWikiList implements EchoContainmentList { */ public function __construct( $titleNs, $titleString ) { $title = Title::newFromText( $titleString, $titleNs ); - if ( $title !== null && $title->getArticleId() ) { + if ( $title !== null && $title->getArticleID() ) { $this->title = $title; } } @@ -30,7 +30,7 @@ class EchoOnWikiList implements EchoContainmentList { return []; } - $article = WikiPage::newFromID( $this->title->getArticleId() ); + $article = WikiPage::newFromID( $this->title->getArticleID() ); if ( $article === null || !$article->exists() ) { return []; } @@ -49,6 +49,6 @@ class EchoOnWikiList implements EchoContainmentList { return ''; } - return $this->title->getLatestRevID(); + return (string)$this->title->getLatestRevID(); } } |