* (bug 14058) Support pipe trick for namespaces and interwikis with "-"
* Message name filter on Special:Allmessages now case-insensitive
* (bug 13943) Fix image redirect behaviour on image pages
+* (bug 14093) Do 'sysop' => 'protect' magic in Title::isValidMoveOperation
=== API changes in 1.13 ===
}
} else {
$tp = $nt->getTitleProtection();
- if ( $tp and !$wgUser->isAllowed( $tp['pt_create_perm'] ) ) {
+ $right = ( $tp['pt_create_perm'] == 'sysop' ) ? 'protect' : $tp['pt_create_perm'];
+ if ( $tp and !$wgUser->isAllowed( $right ) ) {
return 'cantmove-titleprotected';
}
}