[Bug 30821] Question about Title::checkPermissionHooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=30821 ju.ju2...@yahoo.fr changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | --- Comment #5 from ju.ju2...@yahoo.fr 2011-09-13 06:38:53 UTC --- Excuse me, but there are no official specifications for MW. The most I can say is: IT SEEMS REALLY TO BE A BUG. Please read... -- 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
[Bug 30821] Question about Title::checkPermissionHooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=30821 --- Comment #4 from ju.ju2...@yahoo.fr 2011-09-12 06:36:43 UTC --- (In reply to comment #3) > resolving invalid since this is just a question, not a bug report. I still think this is a bug! But I'm not sure (and I'm polite): that's why I'm asking... -- 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
[Bug 30821] Question about Title::checkPermissionHooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=30821 Mark A. Hershberger changed: What|Removed |Added Priority|Unprioritized |Normal Status|NEW |RESOLVED CC||m...@everybody.org Resolution||INVALID --- Comment #3 from Mark A. Hershberger 2011-09-10 01:09:04 UTC --- resolving invalid since this is just a question, not a bug report. -- 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
[Bug 30821] Question about Title::checkPermissionHooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=30821 --- Comment #2 from ju.ju2...@yahoo.fr 2011-09-09 07:16:15 UTC --- Okay, but I expected something like what was described in http://www.mediawiki.org/wiki/Manual:Hooks/userCan#Table_of_combinations : * return true: ** $result = true: User should be allowed to proceed. Later functions can override. ** $result = false: User should not be allowed to proceed. Later functions can override. * return false: ** $result = true: User should be allowed to proceed. Later functions not consulted. ** $result = false: User should not be allowed to proceed. Later functions not consulted. But the real table of combinations seems to be this one : * return true: ** $result = true: User is allowed to proceed. Later functions can override. ** $result = false: USER IS ALLOWED TO PROCEED. Later functions can override. * return false: ** $result = true: User is allowed to proceed. Later functions not consulted. ** $result = false: User is not allowed to proceed. Later functions not consulted. Is there a reason for this ? -- 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
[Bug 30821] Question about Title::checkPermissionHooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=30821 --- Comment #1 from Brion Vibber 2011-09-08 23:21:58 UTC --- Returning true usually indicates that you are passing regular control back to the caller, as if you were never there. Returning false short-circuits further processing, and in a case like this you have a chance to also return some override value through the $result outparam. You can then return either true or false in there, as I understand. -- 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