* (bug 20726) Title::getLatestRevID's documentation now says that the function return...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 20 Sep 2009 20:39:48 +0000 (20:39 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 20 Sep 2009 20:39:48 +0000 (20:39 +0000)
RELEASE-NOTES
includes/Title.php

index 1838004..de0437b 100644 (file)
@@ -517,6 +517,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   editing an old version
 * (bug 16902) Installer no longer shows warnings when exec() has been disabled 
   by disable_functions
+* (bug 20726) Title::getLatestRevID's documentation now says that the function
+  returns false if the page doesn't exist
 
 == API changes in 1.16 ==
 
index b96011b..3ceb7b1 100644 (file)
@@ -2139,7 +2139,7 @@ class Title {
        /**
         * What is the page_latest field for this page?
         * @param $flags \type{\int} a bit field; may be GAID_FOR_UPDATE to select for update
-        * @return \type{\int}
+        * @return \type{\int} or false if the page doesn't exist
         */
        public function getLatestRevID( $flags = 0 ) {
                if( $this->mLatestID !== false )