Reedy has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/258899

Change subject: Replace deprecated loadContent with fetchContent
......................................................................

Replace deprecated loadContent with fetchContent

Change-Id: I66f320a1e77fc40f476c1d74b3d98163be9beb62
---
M SpecialOffline.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Offline 
refs/changes/99/258899/1

diff --git a/SpecialOffline.php b/SpecialOffline.php
index 28fa4f3..69df5f0 100644
--- a/SpecialOffline.php
+++ b/SpecialOffline.php
@@ -73,7 +73,7 @@
 
                //test that our handler is still hooked in
                $mw_api_article = new Article(Title::newFromText($entry_title));
-               $mw_api_article->loadContent();
+               $mw_api_article->fetchContent();
                $content = $mw_api_article->getContent();
 //wfDebug('got '.strlen($mw_api_article->mContent).' bytes of wml from cache');
                $test_hooks = $mw_api_article->mContentLoaded;

-- 
To view, visit https://gerrit.wikimedia.org/r/258899
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I66f320a1e77fc40f476c1d74b3d98163be9beb62
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Offline
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to