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:
8e2e5d4
)
Don't use wfDeprecated for still-used methods
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Fri, 5 Jun 2009 15:49:51 +0000
(15:49 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Fri, 5 Jun 2009 15:49:51 +0000
(15:49 +0000)
If the method is really deprecated, then get rid of all in-tree callers
before you start spamming everyone with notices.
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
f3aa9af
..
2d9bf5e
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-1449,7
+1449,6
@@
class Article {
* @deprecated use Article::doEdit()
*/
function insertNewArticle( $text, $summary, $isminor, $watchthis, $suppressRC=false, $comment=false, $bot=false ) {
- wfDeprecated( __METHOD__ );
$flags = EDIT_NEW | EDIT_DEFER_UPDATES | EDIT_AUTOSUMMARY |
( $isminor ? EDIT_MINOR : 0 ) |
( $suppressRC ? EDIT_SUPPRESS_RC : 0 ) |