diff options
author | daniel <daniel.kinzler@wikimedia.de> | 2012-10-11 17:36:42 +0200 |
---|---|---|
committer | daniel <daniel.kinzler@wikimedia.de> | 2012-10-12 14:56:02 +0200 |
commit | 09c607f7b9c997a908b8389137f9ab412ca141a9 (patch) | |
tree | a0b75d99e626a6d9f01f7041a776e9fa8c702c20 /includes/Import.php | |
parent | fe70b85c4b0a614f82028c487ce750c3943a4ca3 (diff) | |
download | mediawikicore-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.php | 2 |
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; } |