From d6b1c9c3973020cdd1bc89b2d903d9cb43b96d70 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 12 Feb 2012 15:37:29 +0000 Subject: [PATCH] Fix exception's text: use __construct() instead of class name for constructor and WikiPage::doEditUpdates() instead of Article::editUpdates() --- includes/LinksUpdate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.20.1