Hallo,
in version 1.9.0 is a new hook funktion with name 'LangugeGetSpecialPageAliases'.
Is this name wrong? Is the right name 'LanguageGetSpecialPageAliases'?
Kind regards
Thomas Klein
On 17/01/07, Thomas Klein tkl-online@gmx.de wrote:
Is this name wrong? Is the right name 'LanguageGetSpecialPageAliases'?
I would assume so. I think we discussed it before and considered changing it, but apparently nobody did so. The problem now is that changing it could possibly cause breakage for existing uses of it, but as it's a new one...*shrugs*.
Rob Church
Rob Church wrote:
The problem now is that changing it could possibly cause breakage for existing uses of it,
Half of my extensions break on every new minor MediaWiki version. Sometimes the parser hooks need an extra '#' in front of them, or wfMsg() returns junk if the message is "-", or calling $wgParser->parse() in the extension breaks further montage of the final page, or the MagicWord class turns upside down, or you need to hook an extra translator for parser functions... etc.
We are already used having surprises every new minor version. Go ahead and just fix it. This is a very minor issue, fixable by changing a hook name in the extension... compared to usual breakages, this is a very simple change.
Juliano F. Ravasi wrote:
Rob Church wrote:
The problem now is that changing it could possibly cause breakage for existing uses of it,
Half of my extensions break on every new minor MediaWiki version. <...>
One option is of course to ADD a new on correctly named, and let the old misspelled one call the new one, and introduce a "deprecated list" with a "best before date" for each entry in that list. Then removing them in due time won't surprise anyone (if all this doesn't already exist).
This would fix at least two problems, namely allowing for fixing stuff immediately, and being "merciful" to people who needs more time... :)
Regards,
// Rolf Lampa
mediawiki-l@lists.wikimedia.org