Correct method name in ContentHandler comment
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Fri, 18 Jan 2013 12:46:36 +0000 (13:46 +0100)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Fri, 18 Jan 2013 12:46:36 +0000 (13:46 +0100)
Change-Id: Iffc5a975cd7ae311d33147c35e59ba674d5e687b
Article::getReason() does not exist, but Article::generateReason() does.

includes/content/ContentHandler.php

index 7b91607..ccc9b2c 100644 (file)
@@ -788,7 +788,7 @@ abstract class ContentHandler {
         *    boolean false if no revision occurred
         *
         * @XXX &$hasHistory is extremely ugly, it's here because
-        * WikiPage::getAutoDeleteReason() and Article::getReason()
+        * WikiPage::getAutoDeleteReason() and Article::generateReason()
         * have it / want it.
         */
        public function getAutoDeleteReason( Title $title, &$hasHistory ) {