jenkins-bot has submitted this change and it was merged.
Change subject: Removed Article::loadContent() (deprecated since 1.19)
......................................................................
Removed Article::loadContent() (deprecated since 1.19)
All usages in extensions are removed
Change-Id: Ie03c384730f59a67a969aed0a866e2bf71247e87
---
M RELEASE-NOTES-1.27
M includes/page/Article.php
2 files changed, 3 insertions(+), 12 deletions(-)
Approvals:
Umherirrender: Looks good to me, approved
jenkins-bot: Verified
diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27
index cc78a8a..0e44e71 100644
--- a/RELEASE-NOTES-1.27
+++ b/RELEASE-NOTES-1.27
@@ -187,6 +187,7 @@
* MWHookException was removed.
* OutputPage::appendSubtitle() was removed (deprecated since 1.19).
* OutputPage::loginToUse() was removed (deprecated since 1.19).
+* Article::loadContent() was removed (deprecated since 1.19).
== Compatibility ==
diff --git a/includes/page/Article.php b/includes/page/Article.php
index 35621a4..af1f00b 100644
--- a/includes/page/Article.php
+++ b/includes/page/Article.php
@@ -191,7 +191,7 @@
}
/**
- * Note that getContent/loadContent do not follow redirects anymore.
+ * Note that getContent does not follow redirects anymore.
* If you need to fetch redirectable content easily, try
* the shortcut in WikiPage::getRedirectTarget()
*
@@ -212,7 +212,7 @@
* Returns a Content object representing the pages effective display
content,
* not necessarily the revision's content!
*
- * Note that getContent/loadContent do not follow redirects anymore.
+ * Note that getContent does not follow redirects anymore.
* If you need to fetch redirectable content easily, try
* the shortcut in WikiPage::getRedirectTarget()
*
@@ -307,16 +307,6 @@
}
return $oldid;
- }
-
- /**
- * Load the revision (including text) into this object
- *
- * @deprecated since 1.19; use fetchContent()
- */
- function loadContent() {
- wfDeprecated( __METHOD__, '1.19' );
- $this->fetchContent();
}
/**
--
To view, visit https://gerrit.wikimedia.org/r/259414
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie03c384730f59a67a969aed0a866e2bf71247e87
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: Umherirrender <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits