https://bugzilla.wikimedia.org/show_bug.cgi?id=26703
--- Comment #4 from [email protected] 2011-01-13 03:42:55 UTC --- (In reply to comment #3) > While first of all you should be using quickUserCan('create') not > quickUserCan('createtalk'). (The permission is called createtalk, but you're > checking if the user can create not that they can createtalk) No, I'm only interested in the talk pages, as you see further down: > if(!$sktemplate->mTitle->quickUserCan('createtalk')){ > foreach(array_keys($links['namespaces']) as $ns){ > if(strpos($ns,'talk')!==false){ On the manual page you say > Note: Revoking the 'edit' right already prevents affected users from creating > new pages and talk pages. (which doesn't tell the user the exact code you mean too, by the way.) However quickUserCan('createtalk') says otherwise. > Secondly, it is expected... One cannot know what is expected. One only reads the manual page. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
