[Bug 29954] Add API method for TitleBlacklist
https://bugzilla.wikimedia.org/show_bug.cgi?id=29954 Ian Baker changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #6 from Ian Baker 2011-08-25 20:05:24 UTC --- API built and deployed. We'll hopefully start using it this week. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- 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 29954] Add API method for TitleBlacklist
https://bugzilla.wikimedia.org/show_bug.cgi?id=29954 --- Comment #5 from Reedy 2011-07-19 18:14:42 UTC --- Having a hook, or some relevant global, would allow things to be able to grab into the validation logic, rather than into our somewhat convoluted methods that end up into the extensions as is. Something to look at later definitely -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- 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 29954] Add API method for TitleBlacklist
https://bugzilla.wikimedia.org/show_bug.cgi?id=29954 --- Comment #4 from Ian Baker 2011-07-19 18:01:32 UTC --- Yeah, invoking page creation hooks without creating a page sounds clever, but also fragile. Like, if it works now, there's no guarantee that a future extension won't break it by using those hooks to invoke DML. I'd be into the notion of making a generic API that, if existing validation classes are present, will call them all and aggregate the results. It would require new code for each validation extension, but it'd allow us to at least centralize that, rather than having each new consumer of the data implement all of them separately. At the moment, though, I think I'm going to build a TitleBlacklist API. We can move that very same code into a more generic API when/if we need to add support for a second validation extension. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- 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 29954] Add API method for TitleBlacklist
https://bugzilla.wikimedia.org/show_bug.cgi?id=29954 --- Comment #3 from Neil Kandalgaonkar 2011-07-19 06:15:48 UTC --- I agree a generic preflight check thing would be nice, but TitleBlacklist is a good place to start. One could make an omnibus method that looked for common extensions like TitleBlacklist and AbuseFilter, but If you're going to do this generically you need to directly invoke the hooks associated with page creation (instead of waiting for page creation to call those hooks). But it's not easy to tease apart which might be simple checks for titles and which might have side effects. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- 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 29954] Add API method for TitleBlacklist
https://bugzilla.wikimedia.org/show_bug.cgi?id=29954 --- Comment #2 from Reedy 2011-07-19 01:08:18 UTC --- Ideally it's kept as generic as possible (and probably core api), and "emulate" it going through all possible validation methods as much as we possibly can... -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- 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 29954] Add API method for TitleBlacklist
https://bugzilla.wikimedia.org/show_bug.cgi?id=29954 --- Comment #1 from Brion Vibber 2011-07-19 00:11:50 UTC --- I think we want a sort of 'if I try to create a page named like this, would it be ok?' call, sorta like a pre-flight check before you actually go issue your edit or upload. :) This can then cover: * basic title validity * upload filename checks * TitleBlacklist title checks * possibly a subset of AbuseFilter rules? and this could return you a fairly sensible error message, possibly a nice localized one (so we can give sane output about custom blacklist rules for instance, rather than a generic message). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- 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 29954] Add API method for TitleBlacklist
https://bugzilla.wikimedia.org/show_bug.cgi?id=29954 Reedy changed: What|Removed |Added CC||s...@reedyboy.net Blocks||23855 Severity|normal |enhancement -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- 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 29954] Add API method for TitleBlacklist
https://bugzilla.wikimedia.org/show_bug.cgi?id=29954 Neil Kandalgaonkar changed: What|Removed |Added AssignedTo|vasi...@gmail.com |iba...@wikimedia.org -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- 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