Fix exception's text: use __construct() instead of class name for constructor and...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 12 Feb 2012 15:37:29 +0000 (15:37 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 12 Feb 2012 15:37:29 +0000 (15:37 +0000)
includes/LinksUpdate.php

index 27d1dfd..716e7d8 100644 (file)
@@ -57,8 +57,8 @@ class LinksUpdate {
                $this->mDb = wfGetDB( DB_MASTER );
 
                if ( !is_object( $title ) ) {
-                       throw new MWException( "The calling convention to LinksUpdate::LinksUpdate() has changed. " .
-                               "Please see Article::editUpdates() for an invocation example.\n" );
+                       throw new MWException( "The calling convention to LinksUpdate::__construct() has changed. " .
+                               "Please see WikiPage::doEditUpdates() for an invocation example.\n" );
                }
                $this->mTitle = $title;
                $this->mId = $title->getArticleID();