Followup for r81340:
authorTim Starling <tstarling@users.mediawiki.org>
Mon, 28 Feb 2011 03:15:39 +0000 (03:15 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Mon, 28 Feb 2011 03:15:39 +0000 (03:15 +0000)
commit1e679228423f77dd28112fae9b16df254234a25b
tree6067bb3b7b772d0fa345d9e789f12a3d1a4f2fdb
parent4431b79a68acbaf2d0d64f49438871e04615f4b1
Followup for r81340:
* Allow any language code which consists entirely of valid title characters, and does not contain any path-traversal characters, to be customised via the uselang parameter. Language::isValidCode() represents this concept.
* Add some shortcuts preventing Language and LocalisationCache from looking for localisation files for a language code which does not follow the usual form of language codes in MediaWiki, i.e. /[a-z-]*/. This concept is represented by Language::isValidBuiltInCode().
* Do not allow colon characters in file names, per Platonides' suggestion on CR.
includes/LocalisationCache.php
languages/Language.php