* Fail fast on trying to find create restrictions for pages that exist.
authorAndrew Garrett <werdna@users.mediawiki.org>
Thu, 6 Aug 2009 16:26:04 +0000 (16:26 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Thu, 6 Aug 2009 16:26:04 +0000 (16:26 +0000)
commit8443b45cf482c2e0e6600934e51a29d4ee3546e4
tree8549d4850407a0de2470f61a406b39ecc39a1bc6
parent5e4a0958b4117c18dd0d0db5af4a49a2d92295d5
* Fail fast on trying to find create restrictions for pages that exist.
* Break out loadRestrictionsFromRow into a new function loadRestrictionsFromRows (which actually accepts an array of rows, unlike the original), and loadRestrictionsFromResultWrapper, which has the semantics of the old function (and wraps around loadRestrictionsFromRows).
includes/Title.php