dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b009786
)
Make Article::getContent() emit deprecation warnings
author
Reedy
<reedy@wikimedia.org>
Sat, 8 Oct 2016 12:28:38 +0000
(13:28 +0100)
committer
Reedy
<reedy@wikimedia.org>
Sat, 8 Oct 2016 12:28:38 +0000
(13:28 +0100)
Bug: T145729
Change-Id: I35b619cfc0c1548deb8805b4aacd3477dec0d1f7
includes/page/Article.php
patch
|
blob
|
history
diff --git
a/includes/page/Article.php
b/includes/page/Article.php
index
9428609
..
548e533
100644
(file)
--- a/
includes/page/Article.php
+++ b/
includes/page/Article.php
@@
-210,7
+210,7
@@
class Article implements Page {
* @return string Return the text of this revision
*/
public function getContent() {
-
ContentHandler::d
eprecated( __METHOD__, '1.21' );
+
wfD
eprecated( __METHOD__, '1.21' );
$content = $this->getContentObject();
return ContentHandler::getContentText( $content );
}