Fix method name in comment: Article::followRedirect() -> WikiPage::getRedirectTarget()
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 8 Jan 2012 17:34:28 +0000 (17:34 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 8 Jan 2012 17:34:28 +0000 (17:34 +0000)
includes/Article.php

index 53b87f4..d9fb526 100644 (file)
@@ -183,7 +183,7 @@ class Article extends Page {
        /**
         * Note that getContent/loadContent do not follow redirects anymore.
         * If you need to fetch redirectable content easily, try
-        * the shortcut in Article::followRedirect()
+        * the shortcut in WikiPage::getRedirectTarget()
         *
         * This function has side effects! Do not use this function if you
         * only want the real revision text if any.