Last modified: 2011-02-08 12:09:30 UTC
Created attachment 8097 [details] Fix for version check In the latest version of the Maps extension, none of the messages work properly in MediaWiki 1.15.x -- instead, only "<string-id>" is inserted into the page (e.g. "<maps-error-invalid-layerdef>".) After spending a decent chunk of time tearing my hair out, I tracked down the problem to the version check in Maps.php that checks for version 1.16 -- it incorrectly excludes MediaWiki 1.15.x where x > 0. The attached patch fixes the logic.
FYI, this bug exists in Validator as well. It looks like you have a hand in that extension as well, and since no component exists on this bugzilla for it and the problem/fix is exactly the same, I'm attaching a patch for it to this bug as well.
Created attachment 8098 [details] Fix for version check in the Validator extension (practically identical to the Maps diff)
Thanks for reposting the issue; it's already been fixed on svn trunk though :) I copied the wrong check over to at least 5 extensions before noticing how wrong it was >_>