(If this is not convenient for the userCan refactoring, then please revert this and reopen the bug)
* (bug 9903) Don't mark redirects in categories as stubs
* (bug 6965) Cannot include "Template:R" with {{R}} (magic word conflict)
* Padding parser functions now work with strings like '0' that evaluate to false
+* (bug 10332) Title->userCan( 'edit' ) may return false positive
== API changes since 1.10 ==
}
}
+ if( $action == 'edit' && !$wgUser->isAllowed( 'edit' ) ) {
+ wfProfileOut( $fname );
+ return false;
+ }
+
wfProfileOut( $fname );
return true;
}