User "Nikerabbit" posted a comment on MediaWiki.r100795.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100795#c24877
Commit summary:

Split out checkExecutePermissions() function from userCanExecute() in 
FormSpecialPage. The former handles actual execute() calls and throws 
exceptions, the later inherits its purpose from SpecialPage. It just checks the 
page restriction to see if a user generally *could* execute. This avoids the 
breakage that came up in r100723 where Special:SpecialPages was throwing 
permission errors due to the getUsablePages() call.

Comment:

Took a while to identify the clause for me, only to find out it was already 
fixed :)

_______________________________________________
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to