Reedy has uploaded a new change for review.
https://gerrit.wikimedia.org/r/258900
Change subject: Replace deprecated loadContent with fetchContent
......................................................................
Replace deprecated loadContent with fetchContent
Change-Id: I48a4be6b1b491b029732bbee70419d36d2243b00
---
M specials/SF_FormStart.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticForms
refs/changes/00/258900/1
diff --git a/specials/SF_FormStart.php b/specials/SF_FormStart.php
index c83e48d..a1a1251 100644
--- a/specials/SF_FormStart.php
+++ b/specials/SF_FormStart.php
@@ -134,7 +134,7 @@
// It exists - see if page is a redirect; if
// it is, edit the target page instead.
$article = new Article( $page_title, 0 );
- $article->loadContent();
+ $article->fetchContent();
$redirect_title = Title::newFromRedirect(
$article->fetchContent() );
if ( $redirect_title != null ) {
$page_title = $redirect_title;
--
To view, visit https://gerrit.wikimedia.org/r/258900
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I48a4be6b1b491b029732bbee70419d36d2243b00
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticForms
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits