https://bugzilla.wikimedia.org/show_bug.cgi?id=26703
--- Comment #5 from Bawolff <bawolff...@gmail.com> 2011-01-13 04:03:37 UTC --- > if(strpos($ns,'talk')!==false){ Considering that a non-talk namespace is allowed to have talk in its name, and a talk namespace might not have talk in its name (Especially for non-english namespace names), thats not the correct check. but thats off topic. >No, I'm only interested in the talk pages, as you see further down yes i knew that. I suppose you could use createtalk instead of create and a check that the title is a talk page, but everything in core seems to do userCan( 'create' ). >On the manual page you say >> Note: Revoking the 'edit' right already prevents affected users from >> creating new pages and talk pages. While i didn't say that, someone else did, but the sentence is correct. >However quickUserCan('createtalk') says otherwise. like its supposed to. The sentence never said quickUserCheck('createtalk') will return false if user doesn't have edit rights. It said you can't create a talk page if you don't have edit rights. There is a very large difference. (Furthermore, that manual page is for people running mediawiki installs, not people writing php code, so talking about internals on that specific manual page would be inappropriate). ----- Last of all, what are you requesting be changed/be done? This bug lacks a problem statement. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l