* (bug 15275) apprefix and related parameters ignore spaces at the end
* action=edit no longer throws unknown error 228 when trying to create an empty
section with section=new
+* Database replication lag doesn't cause all action=edit requests to return the
+ nochange flag any more
=== Languages updated in 1.14 ===
$r['result'] = "Success";
$r['pageid'] = $titleObj->getArticleID();
$r['title'] = $titleObj->getPrefixedText();
- $newRevId = $titleObj->getLatestRevId();
+ # HACK: We create a new Article object here because getRevIdFetched()
+ # refuses to be run twice, and because Title::getLatestRevId()
+ # won't fetch from the master unless we select for update, which we
+ # don't want to do.
+ $newArticle = new Article($titleObj);
+ $newRevId = $newArticle->getRevIdFetched();
if($newRevId == $oldRevId)
$r['nochange'] = '';
else