Great, it breaks half of the bots on Wikipedia, and multiple tools as well.
I hope Image: will become a shortcut to File:, right?
Soxred On Oct 6, 2008, at 2:24 PM [Oct 6, 2008 ], Brion Vibber wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
As per long-time wistful desire, we're planning to rename the 'Image:' namespace to 'File:'. This will reduce confusion with audio, video, and document file uploads being called 'images' -- they're now all first-class citizens. :)
This should go smoothly and transparently for most purposes. 'Image:' will continue to be an alias, and perhaps even recommended for inline usage.
But some user scripts and bots might get confused, so we're giving warning first!
Image description pages will now sit at the 'File:' title rather than the 'Image:' title, and the JavaScript variables and HTML body classes will reflect this, such as:
var wgCanonicalNamespace = "File"; var wgPageName = "File:Wiki.png"; <body class="mediawiki ltr ns-6 ns-subject page-File_Wiki_png skin-monobook">
If your script or bot relies on wgCanonicalNamespace being 'Image', or the value of the language-specific prefix, consider updating it to allow both 'Image' and 'File' or check the number instead (6).
I've made a patch against r41626 and attached it to the bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=44
Unless there's a major issue, my plan is to commit it one week from today. Once the core English namespace is changed, other localizations may update their localized namespace names and aliases at their convenience.
Please *do not* update localizations before it's been committed!
- -- brion
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkjqV84ACgkQwRnhpk1wk45odgCdEj4f0EWh3/l5+a1txTQbUJOu uEsAoLDS32CQK7J/cHnwK84N01Afnk2Q =oSxs -----END PGP SIGNATURE-----
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l