https://bugzilla.wikimedia.org/show_bug.cgi?id=58137

--- Comment #3 from Tyler Romeo <[email protected]> ---
> MediaWiki hook
> Allows extension to change functionality

That's the purpose of hooks. The issue here is not with the hook, but with
extensions that are misusing the hook.

For example, let's say we make the hook more specific in an attempt to make it
less "generic and dangerous", and instead the hook allows extensions to *only*
change language_urls. Extension developers could still misuse the hook and
insert non-language URLs into the template.

The problem is that the template parameters are not well-defined enough, and
because of that extension developers are misusing the template parameters. It
would be ridiculous to instead make fifty different hooks, each for a different
template parameter that needs to be altered.

-- 
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

Reply via email to