Reedy has uploaded a new change for review.
https://gerrit.wikimedia.org/r/259400
Change subject: Remove loadContent call
......................................................................
Remove loadContent call
Change-Id: I8117ad6942894e5baf976690772ff0e4a28b4653
---
M SpecialOffline.php
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Offline
refs/changes/00/259400/1
diff --git a/SpecialOffline.php b/SpecialOffline.php
index 28fa4f3..44b56f0 100644
--- a/SpecialOffline.php
+++ b/SpecialOffline.php
@@ -73,7 +73,6 @@
//test that our handler is still hooked in
$mw_api_article = new Article(Title::newFromText($entry_title));
- $mw_api_article->loadContent();
$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/259400
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8117ad6942894e5baf976690772ff0e4a28b4653
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