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:
08f0a91
)
Make WikiPage::prepareTextForEdit() emit deprecation warnings
author
Reedy
<reedy@wikimedia.org>
Thu, 6 Oct 2016 13:27:20 +0000
(14:27 +0100)
committer
Reedy
<reedy@wikimedia.org>
Thu, 6 Oct 2016 13:27:20 +0000
(14:27 +0100)
Bug: T146168
Change-Id: I2f68d920bf39d787d5143cd5dba4e09cb3635fe0
includes/page/WikiPage.php
patch
|
blob
|
history
diff --git
a/includes/page/WikiPage.php
b/includes/page/WikiPage.php
index
98428dd
..
8748856
100644
(file)
--- a/
includes/page/WikiPage.php
+++ b/
includes/page/WikiPage.php
@@
-2075,7
+2075,7
@@
class WikiPage implements Page, IDBAccessObject {
* @return object
*/
public function prepareTextForEdit( $text, $revid = null, User $user = null ) {
-
ContentHandler::d
eprecated( __METHOD__, '1.21' );
+
wfD
eprecated( __METHOD__, '1.21' );
$content = ContentHandler::makeContent( $text, $this->getTitle() );
return $this->prepareContentForEdit( $content, $revid, $user );
}