r78094 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78093‎ | r78094 | r78095 >
Date:20:44, 8 December 2010
Author:catrope
Status:ok
Tags:
Comment:
1.17: Back out r77870
Modified paths:
  • /branches/REL1_17/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_17/phase3/includes/WikiError.php (modified) (history)

Diff [purge]

Index: branches/REL1_17/phase3/includes/WikiError.php
@@ -33,7 +33,6 @@
3434 * @param $message string
3535 */
3636 function __construct( $message ) {
37 - wfDeprecated( __METHOD__ );
3837 $this->mMessage = $message;
3938 }
4039
@@ -61,7 +60,6 @@
6261 * @return bool
6362 */
6463 public static function isError( $object ) {
65 - wfDeprecated( __METHOD__ );
6664 if ( $object instanceof WikiError ) {
6765 return true;
6866 } elseif ( $object instanceof Status ) {
@@ -82,7 +80,6 @@
8381 * @param ... parameters to pass to wfMsg()
8482 */
8583 function __construct( $message/*, ... */ ) {
86 - wfDeprecated( __METHOD__ );
8784 $args = func_get_args();
8885 array_shift( $args );
8986 $this->mMessage = wfMsgReal( $message, $args, true );
@@ -112,7 +109,6 @@
113110 * @param $offset Int
114111 */
115112 function __construct( $parser, $message = 'XML parsing error', $context = null, $offset = 0 ) {
116 - wfDeprecated( __METHOD__ );
117113 $this->mXmlError = xml_get_error_code( $parser );
118114 $this->mColumn = xml_get_current_column_number( $parser );
119115 $this->mLine = xml_get_current_line_number( $parser );
Index: branches/REL1_17/phase3/RELEASE-NOTES
@@ -465,7 +465,6 @@
466466 * Partial workaround for bug 6220: at least make files on shared repositories
467467 show up as (struck-out) bluelinks instead of redlinks on Special:WantedFiles
468468 * rebuildFileCache.php no longer creates inappropriate cache files for redirects
469 -* (bug 23119) WikiError class and subclasses are now marked as deprecated
470469 * (bug 18372) $wgFileExtensions will now override $wgFileBlacklist
471470
472471 === API changes in 1.17 ===

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77870* (bug 23119) WikiError class and subclasses are now marked as deprecated...ialex10:09, 6 December 2010

Status & tagging log