jenkins-bot has submitted this change and it was merged.
Change subject: Use $article->getPage()->loadPageData()
......................................................................
Use $article->getPage()->loadPageData()
Change-Id: I4e1d2c3205e516997b53ccbfbd1d62878e2e49ba
---
M classes/Thread.php
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Nikerabbit: Looks good to me, approved
jenkins-bot: Verified
diff --git a/classes/Thread.php b/classes/Thread.php
index 304c638..58ee6fb 100644
--- a/classes/Thread.php
+++ b/classes/Thread.php
@@ -541,7 +541,7 @@
if ( isset( $line->page_namespace ) && isset( $line->page_title
) ) {
$root_title = Title::makeTitle( $line->page_namespace,
$line->page_title );
$this->root = new Article( $root_title, 0 );
- $this->root->loadPageData( $line );
+ $this->root->getPage()->loadPageData( $line );
} else {
if ( isset( self::$titleCacheById[$this->rootId] ) ) {
$root_title =
self::$titleCacheById[$this->rootId];
@@ -684,7 +684,7 @@
}
$article = new Article( $t, 0 );
- $article->loadPageData( $row );
+ $article->getPage()->loadPageData( $row );
self::$titleCacheById[$t->getArticleID()] = $t;
$articlesById[$article->getId()] = $article;
--
To view, visit https://gerrit.wikimedia.org/r/267651
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4e1d2c3205e516997b53ccbfbd1d62878e2e49ba
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LiquidThreads
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits