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:
7ab9283
)
Make WikiPage::getAutosummary emit deprecation warnings.
author
daniel
<daniel.kinzler@wikimedia.de>
Sat, 24 Sep 2016 15:15:08 +0000
(17:15 +0200)
committer
Reedy
<reedy@wikimedia.org>
Thu, 29 Sep 2016 09:00:00 +0000
(09:00 +0000)
Bug: T146164
Change-Id: Ibe76af8af3686c028e54923b9ce01b93af3032ab
includes/page/WikiPage.php
patch
|
blob
|
history
diff --git
a/includes/page/WikiPage.php
b/includes/page/WikiPage.php
index
9befdcd
..
928fc14
100644
(file)
--- a/
includes/page/WikiPage.php
+++ b/
includes/page/WikiPage.php
@@
-3553,7
+3553,7
@@
class WikiPage implements Page, IDBAccessObject {
// NOTE: stub for backwards-compatibility. assumes the given text is
// wikitext. will break horribly if it isn't.
-
ContentHandler::d
eprecated( __METHOD__, '1.21' );
+
wfD
eprecated( __METHOD__, '1.21' );
$handler = ContentHandler::getForModelID( CONTENT_MODEL_WIKITEXT );
$oldContent = is_null( $oldtext ) ? null : $handler->unserializeContent( $oldtext );