r56685 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56684‎ | r56685 | r56686 >
Date:20:39, 20 September 2009
Author:ialex
Status:ok
Tags:
Comment:
* (bug 20726) Title::getLatestRevID's documentation now says that the function returns false if the page doesn't exist
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -2139,7 +2139,7 @@
21402140 /**
21412141 * What is the page_latest field for this page?
21422142 * @param $flags \type{\int} a bit field; may be GAID_FOR_UPDATE to select for update
2143 - * @return \type{\int}
 2143+ * @return \type{\int} or false if the page doesn't exist
21442144 */
21452145 public function getLatestRevID( $flags = 0 ) {
21462146 if( $this->mLatestID !== false )
Index: trunk/phase3/RELEASE-NOTES
@@ -517,6 +517,8 @@
518518 editing an old version
519519 * (bug 16902) Installer no longer shows warnings when exec() has been disabled
520520 by disable_functions
 521+* (bug 20726) Title::getLatestRevID's documentation now says that the function
 522+ returns false if the page doesn't exist
521523
522524 == API changes in 1.16 ==
523525

Status & tagging log