Unbreak cascading protection
authorKevin Israel <pleasestand@live.com>
Fri, 5 Jul 2013 21:28:37 +0000 (17:28 -0400)
committerPleaseStand <pleasestand@live.com>
Tue, 9 Jul 2013 18:28:37 +0000 (18:28 +0000)
commit80823c253992da9bd802265ad51d559b7000de80
tree68623fe663928034ec887680ae880e32850c77a4
parent25c77ee5daa2c4a8cc4891c713d49ba834be1628
Unbreak cascading protection

Title::getRestrictions can return "sysop", which will not match if
replaced out of $cascadingRestrictionLevels but not $editrestriction,
making it impossible to cascade protect a page with the default value
of $wgCascadingRestrictionLevels.

Follows-up I6bf650a3fbdab8589ae6945c8c916eafd949e41c.

Change-Id: Ie7183ed9509ea9c65a7197fc9cead6c8423b852e
includes/WikiPage.php