Index: trunk/phase3/includes/Article.php |
— | — | @@ -1941,11 +1941,11 @@ |
1942 | 1942 | } |
1943 | 1943 | |
1944 | 1944 | /** |
1945 | | - * This function is not deprecated until somebody fixes the core not to use |
1946 | | - * it. Nevertheless, use Article::doEdit() instead. |
1947 | | - * @deprecated @since 1.7 |
| 1945 | + * @deprecated @since 1.7 use Article::doEdit() |
1948 | 1946 | */ |
1949 | 1947 | function insertNewArticle( $text, $summary, $isminor, $watchthis, $suppressRC = false, $comment = false, $bot = false ) { |
| 1948 | + wfDeprecated( __METHOD__ ); |
| 1949 | + |
1950 | 1950 | $flags = EDIT_NEW | EDIT_DEFER_UPDATES | EDIT_AUTOSUMMARY | |
1951 | 1951 | ( $isminor ? EDIT_MINOR : 0 ) | |
1952 | 1952 | ( $suppressRC ? EDIT_SUPPRESS_RC : 0 ) | |
— | — | @@ -1978,6 +1978,8 @@ |
1979 | 1979 | * @deprecated @since 1.7 use Article::doEdit() |
1980 | 1980 | */ |
1981 | 1981 | function updateArticle( $text, $summary, $minor, $watchthis, $forceBot = false, $sectionanchor = '' ) { |
| 1982 | + wfDeprecated( __METHOD__ ); |
| 1983 | + |
1982 | 1984 | $flags = EDIT_UPDATE | EDIT_DEFER_UPDATES | EDIT_AUTOSUMMARY | |
1983 | 1985 | ( $minor ? EDIT_MINOR : 0 ) | |
1984 | 1986 | ( $forceBot ? EDIT_FORCE_BOT : 0 ); |