aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Import.php
diff options
context:
space:
mode:
authordaniel <daniel.kinzler@wikimedia.de>2012-10-11 17:36:42 +0200
committerdaniel <daniel.kinzler@wikimedia.de>2012-10-12 14:56:02 +0200
commit09c607f7b9c997a908b8389137f9ab412ca141a9 (patch)
treea0b75d99e626a6d9f01f7041a776e9fa8c702c20 /includes/Import.php
parentfe70b85c4b0a614f82028c487ce750c3943a4ca3 (diff)
downloadmediawikicore-09c607f7b9c997a908b8389137f9ab412ca141a9.tar.gz
mediawikicore-09c607f7b9c997a908b8389137f9ab412ca141a9.zip
Silence warnings about deprecation by ContentHandler.
The introduction of the ContentHandler caused quite a few functions and hooks to become deprecated. Usage of these has been removed in core, but is still present in extensions. Extensions should be fixed after ContentHandler has settled in a bit, but for now we need a way to silence the warnings. Change-Id: Ia223243222675f778e8f8c32923f956790db0b4f
Diffstat (limited to 'includes/Import.php')
-rw-r--r--includes/Import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Import.php b/includes/Import.php
index c9b09975fd32..7cc6fb1eeb14 100644
--- a/includes/Import.php
+++ b/includes/Import.php
@@ -1215,7 +1215,7 @@ class WikiRevision {
* @deprecated Since 1.21, use getContent() instead.
*/
function getText() {
- wfDeprecated( "Use getContent() instead." );
+ ContentHandler::deprecated( __METHOD__, '1.21' );
return $this->text;
}