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

--- Comment #9 from Niklas Laxström <[email protected]> 2012-08-27 
10:06:49 UTC ---
IsValidBuiltInCode is not strict enough for you.

List of validation functions:
;isValidCode: checks that the code doesn't contain some problematic characters
not valid in titles or not safe in html
;isValidBuiltInCode: checks that the code only contains [a-z0-9-]

To be added:
;isKnownLanguageCode: checks that code is among the known defined language
codes
;isSupportedLanguageCode: checks that the code is one that has any l10n in
MediaWiki

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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