[Bug 26703] quickUserCan() vs. createtalk vs. edit

2011-01-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26703 Chad H. changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug 26703] quickUserCan() vs. createtalk vs. edit

2011-01-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26703 --- Comment #6 from jida...@jidanni.org 2011-01-14 02:30:00 UTC --- (In reply to comment #5) > thats not the correct check. but thats off topic. There is no better way for that hook. > Furthermore, that manual page is for people running mediawi

[Bug 26703] quickUserCan() vs. createtalk vs. edit

2011-01-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26703 --- Comment #5 from Bawolff 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 no

[Bug 26703] quickUserCan() vs. createtalk vs. edit

2011-01-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26703 --- Comment #4 from jida...@jidanni.org 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 > che

[Bug 26703] quickUserCan() vs. createtalk vs. edit

2011-01-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26703 --- Comment #3 from Bawolff 2011-01-13 03:17:28 UTC --- 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

[Bug 26703] quickUserCan() vs. createtalk vs. edit

2011-01-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26703 --- Comment #2 from jida...@jidanni.org 2011-01-13 03:08:36 UTC --- Yes, but following your manual page, my if(!$sktemplate->mTitle->quickUserCan('createtalk') in http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/51493 gave

[Bug 26703] quickUserCan() vs. createtalk vs. edit

2011-01-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26703 Bawolff changed: What|Removed |Added CC||bawolff...@gmail.com --- Comment #1 from Baw