Index: trunk/phase3/includes/Title.php |
— | — | @@ -2139,7 +2139,7 @@ |
2140 | 2140 | /** |
2141 | 2141 | * What is the page_latest field for this page? |
2142 | 2142 | * @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 |
2144 | 2144 | */ |
2145 | 2145 | public function getLatestRevID( $flags = 0 ) { |
2146 | 2146 | if( $this->mLatestID !== false ) |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -517,6 +517,8 @@ |
518 | 518 | editing an old version |
519 | 519 | * (bug 16902) Installer no longer shows warnings when exec() has been disabled |
520 | 520 | by disable_functions |
| 521 | +* (bug 20726) Title::getLatestRevID's documentation now says that the function |
| 522 | + returns false if the page doesn't exist |
521 | 523 | |
522 | 524 | == API changes in 1.16 == |
523 | 525 | |