User "Aaron Schulz" posted a comment on MediaWiki.r91327. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/91327#c19117 Commit summary:
* Fixed getLatest() check in Article * Added Title::loadFromRow() function and made WikiPage::loadPageData() use it; avoids raw Title field accessing * Added Revision::newFromPageId() function and changed WikiPage::loadLastEdit() to use it. This makes it try a slave first instead of always hitting the master. It also makes it more consistent with getLatest() for sanity. * Made WikiPage::loadPageData() use accessor for Title::mRestrictionsExpiry Comment: Yeah I just noticed right after commit, fixed in r91328. Using special:Random isn't always great for testing... _______________________________________________ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview