which are not of known image types. This is in response to
http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability
* (bug 4507) Adjust FULLPAGENAMEE escaping to standard form
-* Disallow users to use rollback when blocked
+* Blocked users can no longer use rollback, or delete/undelete pages
=== Caveats ===
# This code desperately needs to be totally rewritten
# Check permissions
- if( ( !$wgUser->isAllowed( 'delete' ) ) ) {
+ if( $wgUser->isAllowed( 'delete' ) ) {
+ if( $wgUser->isBlocked() ) {
+ $wgOut->blockedPage();
+ return;
+ }
+ } else {
$wgOut->sysopRequired();
return;
}
+
if( wfReadOnly() ) {
$wgOut->readOnlyPage();
return;