Recent Changes - Search:

This file is shared

MainSite

Wiki

Bugs

Download

Translations

I18n

The following config snippet allow for groupnames to have a suffix of a colon followed by a 2 letter lowercase country code. This is what we key internationalisation off.

$GroupPattern = '[[:upper:]\\d][-\\w]*(?:[-\\w]+)*(?::\\w{2})?';
$NamePattern=$GroupPattern;
$MakePageNamePatterns = array(
    "/'/" => '',                           # strip single-quotes
    "/[^-:[:alnum:]]+/" => ' ',            # convert non-alnums to spaces
    "/((^|[^-\\w])\\w)/e"
      => "strtoupper('$1')",               # initial caps after spaces
    "/(:.*)/e" => "strtolower('$1')",      # country suffixes should be lowercase
    "/ /" => ''                            # strip spaces
);
Edit - History - Print - Recent Changes - Search
Page last modified on January 21, 2007, at 07:55 PM
Content is licensed under the GFDL (without invariant sections).
This project is run with the assistance of the FSF.