From: Alexandre Emsenhuber Date: Sun, 12 Feb 2012 15:37:29 +0000 (+0000) Subject: Fix exception's text: use __construct() instead of class name for constructor and... X-Git-Tag: 1.31.0-rc.0~24757 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=d6b1c9c3973020cdd1bc89b2d903d9cb43b96d70;p=lhc%2Fweb%2Fwiklou.git Fix exception's text: use __construct() instead of class name for constructor and WikiPage::doEditUpdates() instead of Article::editUpdates() --- diff --git a/includes/LinksUpdate.php b/includes/LinksUpdate.php index 27d1dfd221..716e7d8072 100644 --- a/includes/LinksUpdate.php +++ b/includes/LinksUpdate.php @@ -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();