[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/languages/messages/ -> MessagesEn.php (source)

   1  <?php
   2  /**
   3   * This is the default English localisation file containing language specific
   4   * information excluding interface strings, which are stored in JSON files.
   5   *
   6   * Please see https://www.mediawiki.org/wiki/Localisation for more information.
   7   * To improve a translation please visit https://translatewiki.net
   8   */
   9  
  10  /**
  11   * Fallback language, used for all unspecified messages and behavior. This
  12   * is English by default, for all files other than this one.
  13   *
  14   * Do NOT set this to false in any other message file! Leave the line out to
  15   * accept the default fallback to "en".
  16   */
  17  $fallback = false;
  18  
  19  /**
  20   * Is the language written right-to-left?
  21   */
  22  $rtl = false;
  23  
  24  /**
  25   * Should all nouns (not just proper ones) be capitalized?
  26   * Enabling this property will add the capitalize-all-nouns class to the <body> tag
  27   */
  28  $capitalizeAllNouns = false;
  29  
  30  /**
  31   * Optional array mapping ASCII digits 0-9 to local digits.
  32   */
  33  $digitTransformTable = null;
  34  
  35  /**
  36   * Transform table for decimal point '.' and thousands separator ','
  37   */
  38  $separatorTransformTable = null;
  39  
  40  /**
  41   * Extra user preferences, which will be shown in Special:Preferences as
  42   * checkboxes. Extra settings in derived languages will automatically be
  43   * appended to the array of the fallback languages.
  44   */
  45  $extraUserToggles = array();
  46  
  47  /**
  48   * URLs do not specify their encoding. UTF-8 is used by default, but if the
  49   * URL is not a valid UTF-8 sequence, we have to try to guess what the real
  50   * encoding is. The encoding used in this case is defined below, and must be
  51   * supported by iconv().
  52   */
  53  $fallback8bitEncoding = 'windows-1252';
  54  
  55  /**
  56   * To allow "foo[[bar]]" to extend the link over the whole word "foobar"
  57   */
  58  $linkPrefixExtension = false;
  59  
  60  /**
  61   * Namespace names. NS_PROJECT is always set to $wgMetaNamespace after the
  62   * settings are loaded, it will be ignored even if you specify it here.
  63   *
  64   * NS_PROJECT_TALK will be set to $wgMetaNamespaceTalk if that variable is
  65   * set, otherwise the string specified here will be used. The string may
  66   * contain "$1", which will be replaced by the name of NS_PROJECT. It may
  67   * also contain a grammatical transformation, e.g.
  68   *
  69   *     NS_PROJECT_TALK => 'Keskustelu_{{grammar:elative|$1}}'
  70   *
  71   * Only one grammatical transform may be specified in the string. For
  72   * performance reasons, this transformation is done locally by the language
  73   * module rather than by the full wikitext parser. As a result, no other
  74   * parser features are available.
  75   */
  76  $namespaceNames = array(
  77      NS_MEDIA            => 'Media',
  78      NS_SPECIAL          => 'Special',
  79      NS_MAIN             => '',
  80      NS_TALK             => 'Talk',
  81      NS_USER             => 'User',
  82      NS_USER_TALK        => 'User_talk',
  83      # NS_PROJECT set by $wgMetaNamespace
  84      NS_PROJECT_TALK     => '$1_talk',
  85      NS_FILE             => 'File',
  86      NS_FILE_TALK        => 'File_talk',
  87      NS_MEDIAWIKI        => 'MediaWiki',
  88      NS_MEDIAWIKI_TALK   => 'MediaWiki_talk',
  89      NS_TEMPLATE         => 'Template',
  90      NS_TEMPLATE_TALK    => 'Template_talk',
  91      NS_HELP             => 'Help',
  92      NS_HELP_TALK        => 'Help_talk',
  93      NS_CATEGORY         => 'Category',
  94      NS_CATEGORY_TALK    => 'Category_talk',
  95  );
  96  
  97  /**
  98   * Array of namespace aliases, mapping from name to NS_xxx index
  99   */
 100  $namespaceAliases = array();
 101  
 102  /**
 103   * Array of gender specific. namespace aliases.
 104   * Mapping NS_xxx to array of GENDERKEY to alias.
 105   * Example:
 106   * @code
 107   * $namespaceGenderAliases = array(
 108   *     NS_USER => array( 'male' => 'Male_user', 'female' => 'Female_user' ),
 109   * );
 110   * @endcode
 111   */
 112  $namespaceGenderAliases = array();
 113  
 114  /**
 115   * A list of date format preference keys, which can be selected in user
 116   * preferences. New preference keys can be added, provided they are supported
 117   * by the language class's timeanddate(). Only the 5 keys listed below are
 118   * supported by the wikitext converter (parser/DateFormatter.php).
 119   *
 120   * The special key "default" is an alias for either dmy or mdy depending on
 121   * $wgAmericanDates
 122   */
 123  $datePreferences = array(
 124      'default',
 125      'mdy',
 126      'dmy',
 127      'ymd',
 128      'ISO 8601',
 129  );
 130  
 131  /**
 132   * The date format to use for generated dates in the user interface.
 133   * This may be one of the above date preferences, or the special value
 134   * "dmy or mdy", which uses mdy if $wgAmericanDates is true, and dmy
 135   * if $wgAmericanDates is false.
 136   */
 137  $defaultDateFormat = 'dmy or mdy';
 138  
 139  /**
 140   * Associative array mapping old numeric date formats, which may still be
 141   * stored in user preferences, to the new string formats.
 142   */
 143  $datePreferenceMigrationMap = array(
 144      'default',
 145      'mdy',
 146      'dmy',
 147      'ymd'
 148  );
 149  
 150  /**
 151   * These are formats for dates generated by MediaWiki (as opposed to the wikitext
 152   * DateFormatter). Documentation for the format string can be found in
 153   * Language.php, search for sprintfDate.
 154   *
 155   * This array is automatically inherited by all subclasses. Individual keys can be
 156   * overridden.
 157   */
 158  $dateFormats = array(
 159      'mdy time' => 'H:i',
 160      'mdy date' => 'F j, Y',
 161      'mdy monthonly' => 'F Y',
 162      'mdy both' => 'H:i, F j, Y',
 163      'mdy pretty' => 'F j',
 164  
 165      'dmy time' => 'H:i',
 166      'dmy date' => 'j F Y',
 167      'dmy monthonly' => 'F Y',
 168      'dmy both' => 'H:i, j F Y',
 169      'dmy pretty' => 'j F',
 170  
 171      'ymd time' => 'H:i',
 172      'ymd date' => 'Y F j',
 173      'ymd monthonly' => 'Y F',
 174      'ymd both' => 'H:i, Y F j',
 175      'ymd pretty' => 'F j',
 176  
 177      'ISO 8601 time' => 'xnH:xni:xns',
 178      'ISO 8601 date' => 'xnY-xnm-xnd',
 179      'ISO 8601 monthonly' => 'xnY-xnm',
 180      'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
 181      'ISO 8601 pretty' => 'xnm-xnd'
 182  );
 183  
 184  /**
 185   * Default list of book sources
 186   */
 187  $bookstoreList = array(
 188      'AddALL' => 'http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN',
 189      'Barnes & Noble' => 'http://search.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1',
 190      'Amazon.com' => 'http://www.amazon.com/gp/search/?field-isbn=$1'
 191  );
 192  
 193  /**
 194   * Magic words
 195   * Customizable syntax for wikitext and elsewhere.
 196   *
 197   * IDs must be valid identifiers, they cannot contain hyphens.
 198   * CASE is 0 to match all case variants, 1 for case-sensitive
 199   *
 200   * Note to translators:
 201   *   Please include the English words as synonyms.  This allows people
 202   *   from other wikis to contribute more easily.
 203   *
 204   * This array can be modified at runtime with the LanguageGetMagic hook
 205   */
 206  $magicWords = array(
 207  #   ID                               CASE  SYNONYMS
 208      'redirect'                => array( 0, '#REDIRECT' ),
 209      'notoc'                   => array( 0, '__NOTOC__' ),
 210      'nogallery'               => array( 0, '__NOGALLERY__' ),
 211      'forcetoc'                => array( 0, '__FORCETOC__' ),
 212      'toc'                     => array( 0, '__TOC__' ),
 213      'noeditsection'           => array( 0, '__NOEDITSECTION__' ),
 214      '!'                       => array( 1, '!' ),
 215      'currentmonth'            => array( 1, 'CURRENTMONTH', 'CURRENTMONTH2' ),
 216      'currentmonth1'           => array( 1, 'CURRENTMONTH1' ),
 217      'currentmonthname'        => array( 1, 'CURRENTMONTHNAME' ),
 218      'currentmonthnamegen'     => array( 1, 'CURRENTMONTHNAMEGEN' ),
 219      'currentmonthabbrev'      => array( 1, 'CURRENTMONTHABBREV' ),
 220      'currentday'              => array( 1, 'CURRENTDAY' ),
 221      'currentday2'             => array( 1, 'CURRENTDAY2' ),
 222      'currentdayname'          => array( 1, 'CURRENTDAYNAME' ),
 223      'currentyear'             => array( 1, 'CURRENTYEAR' ),
 224      'currenttime'             => array( 1, 'CURRENTTIME' ),
 225      'currenthour'             => array( 1, 'CURRENTHOUR' ),
 226      'localmonth'              => array( 1, 'LOCALMONTH', 'LOCALMONTH2' ),
 227      'localmonth1'             => array( 1, 'LOCALMONTH1' ),
 228      'localmonthname'          => array( 1, 'LOCALMONTHNAME' ),
 229      'localmonthnamegen'       => array( 1, 'LOCALMONTHNAMEGEN' ),
 230      'localmonthabbrev'        => array( 1, 'LOCALMONTHABBREV' ),
 231      'localday'                => array( 1, 'LOCALDAY' ),
 232      'localday2'               => array( 1, 'LOCALDAY2' ),
 233      'localdayname'            => array( 1, 'LOCALDAYNAME' ),
 234      'localyear'               => array( 1, 'LOCALYEAR' ),
 235      'localtime'               => array( 1, 'LOCALTIME' ),
 236      'localhour'               => array( 1, 'LOCALHOUR' ),
 237      'numberofpages'           => array( 1, 'NUMBEROFPAGES' ),
 238      'numberofarticles'        => array( 1, 'NUMBEROFARTICLES' ),
 239      'numberoffiles'           => array( 1, 'NUMBEROFFILES' ),
 240      'numberofusers'           => array( 1, 'NUMBEROFUSERS' ),
 241      'numberofactiveusers'     => array( 1, 'NUMBEROFACTIVEUSERS' ),
 242      'numberofedits'           => array( 1, 'NUMBEROFEDITS' ),
 243      'numberofviews'           => array( 1, 'NUMBEROFVIEWS' ),
 244      'pagename'                => array( 1, 'PAGENAME' ),
 245      'pagenamee'               => array( 1, 'PAGENAMEE' ),
 246      'namespace'               => array( 1, 'NAMESPACE' ),
 247      'namespacee'              => array( 1, 'NAMESPACEE' ),
 248      'namespacenumber'         => array( 1, 'NAMESPACENUMBER' ),
 249      'talkspace'               => array( 1, 'TALKSPACE' ),
 250      'talkspacee'              => array( 1, 'TALKSPACEE' ),
 251      'subjectspace'            => array( 1, 'SUBJECTSPACE', 'ARTICLESPACE' ),
 252      'subjectspacee'           => array( 1, 'SUBJECTSPACEE', 'ARTICLESPACEE' ),
 253      'fullpagename'            => array( 1, 'FULLPAGENAME' ),
 254      'fullpagenamee'           => array( 1, 'FULLPAGENAMEE' ),
 255      'subpagename'             => array( 1, 'SUBPAGENAME' ),
 256      'subpagenamee'            => array( 1, 'SUBPAGENAMEE' ),
 257      'rootpagename'            => array( 1, 'ROOTPAGENAME' ),
 258      'rootpagenamee'           => array( 1, 'ROOTPAGENAMEE' ),
 259      'basepagename'            => array( 1, 'BASEPAGENAME' ),
 260      'basepagenamee'           => array( 1, 'BASEPAGENAMEE' ),
 261      'talkpagename'            => array( 1, 'TALKPAGENAME' ),
 262      'talkpagenamee'           => array( 1, 'TALKPAGENAMEE' ),
 263      'subjectpagename'         => array( 1, 'SUBJECTPAGENAME', 'ARTICLEPAGENAME' ),
 264      'subjectpagenamee'        => array( 1, 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ),
 265      'msg'                     => array( 0, 'MSG:' ),
 266      'subst'                   => array( 0, 'SUBST:' ),
 267      'safesubst'               => array( 0, 'SAFESUBST:' ),
 268      'msgnw'                   => array( 0, 'MSGNW:' ),
 269      'img_thumbnail'           => array( 1, 'thumbnail', 'thumb' ),
 270      'img_manualthumb'         => array( 1, 'thumbnail=$1', 'thumb=$1' ),
 271      'img_right'               => array( 1, 'right' ),
 272      'img_left'                => array( 1, 'left' ),
 273      'img_none'                => array( 1, 'none' ),
 274      'img_width'               => array( 1, '$1px' ),
 275      'img_center'              => array( 1, 'center', 'centre' ),
 276      'img_framed'              => array( 1, 'framed', 'enframed', 'frame' ),
 277      'img_frameless'           => array( 1, 'frameless' ),
 278      'img_lang'                => array( 1, 'lang=$1' ),
 279      'img_page'                => array( 1, 'page=$1', 'page $1' ),
 280      'img_upright'             => array( 1, 'upright', 'upright=$1', 'upright $1' ),
 281      'img_border'              => array( 1, 'border' ),
 282      'img_baseline'            => array( 1, 'baseline' ),
 283      'img_sub'                 => array( 1, 'sub' ),
 284      'img_super'               => array( 1, 'super', 'sup' ),
 285      'img_top'                 => array( 1, 'top' ),
 286      'img_text_top'            => array( 1, 'text-top' ),
 287      'img_middle'              => array( 1, 'middle' ),
 288      'img_bottom'              => array( 1, 'bottom' ),
 289      'img_text_bottom'         => array( 1, 'text-bottom' ),
 290      'img_link'                => array( 1, 'link=$1' ),
 291      'img_alt'                 => array( 1, 'alt=$1' ),
 292      'img_class'               => array( 1, 'class=$1' ),
 293      'int'                     => array( 0, 'INT:' ),
 294      'sitename'                => array( 1, 'SITENAME' ),
 295      'ns'                      => array( 0, 'NS:' ),
 296      'nse'                     => array( 0, 'NSE:' ),
 297      'localurl'                => array( 0, 'LOCALURL:' ),
 298      'localurle'               => array( 0, 'LOCALURLE:' ),
 299      'articlepath'             => array( 0, 'ARTICLEPATH' ),
 300      'pageid'                  => array( 0, 'PAGEID' ),
 301      'server'                  => array( 0, 'SERVER' ),
 302      'servername'              => array( 0, 'SERVERNAME' ),
 303      'scriptpath'              => array( 0, 'SCRIPTPATH' ),
 304      'stylepath'               => array( 0, 'STYLEPATH' ),
 305      'grammar'                 => array( 0, 'GRAMMAR:' ),
 306      'gender'                  => array( 0, 'GENDER:' ),
 307      'notitleconvert'          => array( 0, '__NOTITLECONVERT__', '__NOTC__' ),
 308      'nocontentconvert'        => array( 0, '__NOCONTENTCONVERT__', '__NOCC__' ),
 309      'currentweek'             => array( 1, 'CURRENTWEEK' ),
 310      'currentdow'              => array( 1, 'CURRENTDOW' ),
 311      'localweek'               => array( 1, 'LOCALWEEK' ),
 312      'localdow'                => array( 1, 'LOCALDOW' ),
 313      'revisionid'              => array( 1, 'REVISIONID' ),
 314      'revisionday'             => array( 1, 'REVISIONDAY' ),
 315      'revisionday2'            => array( 1, 'REVISIONDAY2' ),
 316      'revisionmonth'           => array( 1, 'REVISIONMONTH' ),
 317      'revisionmonth1'          => array( 1, 'REVISIONMONTH1' ),
 318      'revisionyear'            => array( 1, 'REVISIONYEAR' ),
 319      'revisiontimestamp'       => array( 1, 'REVISIONTIMESTAMP' ),
 320      'revisionuser'            => array( 1, 'REVISIONUSER' ),
 321      'revisionsize'            => array( 1, 'REVISIONSIZE' ),
 322      'plural'                  => array( 0, 'PLURAL:' ),
 323      'fullurl'                 => array( 0, 'FULLURL:' ),
 324      'fullurle'                => array( 0, 'FULLURLE:' ),
 325      'canonicalurl'            => array( 0, 'CANONICALURL:' ),
 326      'canonicalurle'           => array( 0, 'CANONICALURLE:' ),
 327      'lcfirst'                 => array( 0, 'LCFIRST:' ),
 328      'ucfirst'                 => array( 0, 'UCFIRST:' ),
 329      'lc'                      => array( 0, 'LC:' ),
 330      'uc'                      => array( 0, 'UC:' ),
 331      'raw'                     => array( 0, 'RAW:' ),
 332      'displaytitle'            => array( 1, 'DISPLAYTITLE' ),
 333      'rawsuffix'               => array( 1, 'R' ),
 334      'nocommafysuffix'         => array( 0, 'NOSEP' ),
 335      'newsectionlink'          => array( 1, '__NEWSECTIONLINK__' ),
 336      'nonewsectionlink'        => array( 1, '__NONEWSECTIONLINK__' ),
 337      'currentversion'          => array( 1, 'CURRENTVERSION' ),
 338      'urlencode'               => array( 0, 'URLENCODE:' ),
 339      'anchorencode'            => array( 0, 'ANCHORENCODE' ),
 340      'currenttimestamp'        => array( 1, 'CURRENTTIMESTAMP' ),
 341      'localtimestamp'          => array( 1, 'LOCALTIMESTAMP' ),
 342      'directionmark'           => array( 1, 'DIRECTIONMARK', 'DIRMARK' ),
 343      'language'                => array( 0, '#LANGUAGE:' ),
 344      'contentlanguage'         => array( 1, 'CONTENTLANGUAGE', 'CONTENTLANG' ),
 345      'pagesinnamespace'        => array( 1, 'PAGESINNAMESPACE:', 'PAGESINNS:' ),
 346      'numberofadmins'          => array( 1, 'NUMBEROFADMINS' ),
 347      'formatnum'               => array( 0, 'FORMATNUM' ),
 348      'padleft'                 => array( 0, 'PADLEFT' ),
 349      'padright'                => array( 0, 'PADRIGHT' ),
 350      'special'                 => array( 0, 'special' ),
 351      'speciale'                => array( 0, 'speciale' ),
 352      'defaultsort'             => array( 1, 'DEFAULTSORT:', 'DEFAULTSORTKEY:', 'DEFAULTCATEGORYSORT:' ),
 353      'filepath'                => array( 0, 'FILEPATH:' ),
 354      'tag'                     => array( 0, 'tag' ),
 355      'hiddencat'               => array( 1, '__HIDDENCAT__' ),
 356      'pagesincategory'         => array( 1, 'PAGESINCATEGORY', 'PAGESINCAT' ),
 357      'pagesize'                => array( 1, 'PAGESIZE' ),
 358      'index'                   => array( 1, '__INDEX__' ),
 359      'noindex'                 => array( 1, '__NOINDEX__' ),
 360      'numberingroup'           => array( 1, 'NUMBERINGROUP', 'NUMINGROUP' ),
 361      'staticredirect'          => array( 1, '__STATICREDIRECT__' ),
 362      'protectionlevel'         => array( 1, 'PROTECTIONLEVEL' ),
 363      'cascadingsources'        => array( 1, 'CASCADINGSOURCES' ),
 364      'formatdate'              => array( 0, 'formatdate', 'dateformat' ),
 365      'url_path'                => array( 0, 'PATH' ),
 366      'url_wiki'                => array( 0, 'WIKI' ),
 367      'url_query'               => array( 0, 'QUERY' ),
 368      'defaultsort_noerror'     => array( 0, 'noerror' ),
 369      'defaultsort_noreplace'   => array( 0, 'noreplace' ),
 370      'displaytitle_noerror'    => array( 0, 'noerror' ),
 371      'displaytitle_noreplace'  => array( 0, 'noreplace' ),
 372      'pagesincategory_all'     => array( 0, 'all' ),
 373      'pagesincategory_pages'   => array( 0, 'pages' ),
 374      'pagesincategory_subcats' => array( 0, 'subcats' ),
 375      'pagesincategory_files'   => array( 0, 'files' ),
 376  );
 377  
 378  /**
 379   * Alternate names of special pages. All names are case-insensitive. The first
 380   * listed alias will be used as the default. Aliases from the fallback
 381   * localisation (usually English) will be included by default.
 382   *
 383   * This array may be altered at runtime using the LanguageGetSpecialPageAliases
 384   * hook.
 385   */
 386  $specialPageAliases = array(
 387      'Activeusers'               => array( 'ActiveUsers' ),
 388      'Allmessages'               => array( 'AllMessages' ),
 389      'AllMyUploads'              => array( 'AllMyUploads', 'AllMyFiles' ),
 390      'Allpages'                  => array( 'AllPages' ),
 391      'Ancientpages'              => array( 'AncientPages' ),
 392      'Badtitle'                  => array( 'Badtitle' ),
 393      'Blankpage'                 => array( 'BlankPage' ),
 394      'Block'                     => array( 'Block', 'BlockIP', 'BlockUser' ),
 395      'Booksources'               => array( 'BookSources' ),
 396      'BrokenRedirects'           => array( 'BrokenRedirects' ),
 397      'Categories'                => array( 'Categories' ),
 398      'ChangeEmail'               => array( 'ChangeEmail' ),
 399      'ChangePassword'            => array( 'ChangePassword', 'ResetPass', 'ResetPassword' ),
 400      'ComparePages'              => array( 'ComparePages' ),
 401      'Confirmemail'              => array( 'ConfirmEmail' ),
 402      'Contributions'             => array( 'Contributions', 'Contribs' ),
 403      'CreateAccount'             => array( 'CreateAccount' ),
 404      'Deadendpages'              => array( 'DeadendPages' ),
 405      'DeletedContributions'      => array( 'DeletedContributions' ),
 406      'Diff'                      => array( 'Diff' ),
 407      'DoubleRedirects'           => array( 'DoubleRedirects' ),
 408      'EditWatchlist'             => array( 'EditWatchlist' ),
 409      'Emailuser'                 => array( 'EmailUser', 'Email' ),
 410      'ExpandTemplates'           => array( 'ExpandTemplates' ),
 411      'Export'                    => array( 'Export' ),
 412      'Fewestrevisions'           => array( 'FewestRevisions' ),
 413      'FileDuplicateSearch'       => array( 'FileDuplicateSearch' ),
 414      'Filepath'                  => array( 'FilePath' ),
 415      'Import'                    => array( 'Import' ),
 416      'Invalidateemail'           => array( 'InvalidateEmail' ),
 417      'JavaScriptTest'            => array( 'JavaScriptTest' ),
 418      'BlockList'                 => array( 'BlockList', 'ListBlocks', 'IPBlockList' ),
 419      'LinkSearch'                => array( 'LinkSearch' ),
 420      'Listadmins'                => array( 'ListAdmins' ),
 421      'Listbots'                  => array( 'ListBots' ),
 422      'Listfiles'                 => array( 'ListFiles', 'FileList', 'ImageList' ),
 423      'Listgrouprights'           => array( 'ListGroupRights', 'UserGroupRights' ),
 424      'Listredirects'             => array( 'ListRedirects' ),
 425      'ListDuplicatedFiles'       => array( 'ListDuplicatedFiles', 'ListFileDuplicates' ),
 426      'Listusers'                 => array( 'ListUsers', 'UserList' ),
 427      'Lockdb'                    => array( 'LockDB' ),
 428      'Log'                       => array( 'Log', 'Logs' ),
 429      'Lonelypages'               => array( 'LonelyPages', 'OrphanedPages' ),
 430      'Longpages'                 => array( 'LongPages' ),
 431      'MediaStatistics'           => array( 'MediaStatistics' ),
 432      'MergeHistory'              => array( 'MergeHistory' ),
 433      'MIMEsearch'                => array( 'MIMESearch' ),
 434      'Mostcategories'            => array( 'MostCategories' ),
 435      'Mostimages'                => array( 'MostLinkedFiles', 'MostFiles', 'MostImages' ),
 436      'Mostinterwikis'            => array( 'MostInterwikis' ),
 437      'Mostlinked'                => array( 'MostLinkedPages', 'MostLinked' ),
 438      'Mostlinkedcategories'      => array( 'MostLinkedCategories', 'MostUsedCategories' ),
 439      'Mostlinkedtemplates'       => array( 'MostTranscludedPages', 'MostLinkedTemplates', 'MostUsedTemplates' ),
 440      'Mostrevisions'             => array( 'MostRevisions' ),
 441      'Movepage'                  => array( 'MovePage' ),
 442      'Mycontributions'           => array( 'MyContributions' ),
 443      'MyLanguage'                => array( 'MyLanguage' ),
 444      'Mypage'                    => array( 'MyPage' ),
 445      'Mytalk'                    => array( 'MyTalk' ),
 446      'Myuploads'                 => array( 'MyUploads', 'MyFiles' ),
 447      'Newimages'                 => array( 'NewFiles', 'NewImages' ),
 448      'Newpages'                  => array( 'NewPages' ),
 449      'PagesWithProp'             => array( 'PagesWithProp', 'Pageswithprop', 'PagesByProp', 'Pagesbyprop' ),
 450      'PageLanguage'              => array( 'PageLanguage' ),
 451      'PasswordReset'             => array( 'PasswordReset' ),
 452      'PermanentLink'             => array( 'PermanentLink', 'PermaLink' ),
 453      'Popularpages'              => array( 'PopularPages' ),
 454      'Preferences'               => array( 'Preferences' ),
 455      'Prefixindex'               => array( 'PrefixIndex' ),
 456      'Protectedpages'            => array( 'ProtectedPages' ),
 457      'Protectedtitles'           => array( 'ProtectedTitles' ),
 458      'Randompage'                => array( 'Random', 'RandomPage' ),
 459      'RandomInCategory'          => array( 'RandomInCategory' ),
 460      'Randomredirect'            => array( 'RandomRedirect' ),
 461      'Recentchanges'             => array( 'RecentChanges' ),
 462      'Recentchangeslinked'       => array( 'RecentChangesLinked', 'RelatedChanges' ),
 463      'Redirect'                  => array( 'Redirect' ),
 464      'ResetTokens'               => array( 'ResetTokens' ),
 465      'Revisiondelete'            => array( 'RevisionDelete' ),
 466      'RunJobs'                   => array( 'RunJobs' ),
 467      'Search'                    => array( 'Search' ),
 468      'Shortpages'                => array( 'ShortPages' ),
 469      'Specialpages'              => array( 'SpecialPages' ),
 470      'Statistics'                => array( 'Statistics' ),
 471      'Tags'                      => array( 'Tags' ),
 472      'TrackingCategories'        => array( 'TrackingCategories' ),
 473      'Unblock'                   => array( 'Unblock' ),
 474      'Uncategorizedcategories'   => array( 'UncategorizedCategories' ),
 475      'Uncategorizedimages'       => array( 'UncategorizedFiles', 'UncategorizedImages' ),
 476      'Uncategorizedpages'        => array( 'UncategorizedPages' ),
 477      'Uncategorizedtemplates'    => array( 'UncategorizedTemplates' ),
 478      'Undelete'                  => array( 'Undelete' ),
 479      'Unlockdb'                  => array( 'UnlockDB' ),
 480      'Unusedcategories'          => array( 'UnusedCategories' ),
 481      'Unusedimages'              => array( 'UnusedFiles', 'UnusedImages' ),
 482      'Unusedtemplates'           => array( 'UnusedTemplates' ),
 483      'Unwatchedpages'            => array( 'UnwatchedPages' ),
 484      'Upload'                    => array( 'Upload' ),
 485      'UploadStash'               => array( 'UploadStash' ),
 486      'Userlogin'                 => array( 'UserLogin', 'Login' ),
 487      'Userlogout'                => array( 'UserLogout', 'Logout' ),
 488      'Userrights'                => array( 'UserRights', 'MakeSysop', 'MakeBot' ),
 489      'Version'                   => array( 'Version' ),
 490      'Wantedcategories'          => array( 'WantedCategories' ),
 491      'Wantedfiles'               => array( 'WantedFiles' ),
 492      'Wantedpages'               => array( 'WantedPages', 'BrokenLinks' ),
 493      'Wantedtemplates'           => array( 'WantedTemplates' ),
 494      'Watchlist'                 => array( 'Watchlist' ),
 495      'Whatlinkshere'             => array( 'WhatLinksHere' ),
 496      'Withoutinterwiki'          => array( 'WithoutInterwiki' ),
 497  );
 498  
 499  /**
 500   * Regular expression matching the "link trail", e.g. "ed" in [[Toast]]ed, as
 501   * the first group, and the remainder of the string as the second group.
 502   */
 503  $linkTrail = '/^([a-z]+)(.*)$/sD';
 504  
 505  /**
 506   * Regular expression charset matching the "link prefix", e.g. "foo" in
 507   * foo[[bar]]. UTF-8 characters may be used.
 508   */
 509  $linkPrefixCharset = 'a-zA-Z\\x{80}-\\x{10ffff}';
 510  
 511  /**
 512   * List of filenames for some ui images that can be overridden per language
 513   * basis if needed.
 514   */
 515  $imageFiles = array(
 516      'button-bold'     => 'en/button_bold.png',
 517      'button-italic'   => 'en/button_italic.png',
 518      'button-link'     => 'en/button_link.png',
 519      'button-extlink'  => 'en/button_extlink.png',
 520      'button-headline' => 'en/button_headline.png',
 521      'button-image'    => 'en/button_image.png',
 522      'button-media'    => 'en/button_media.png',
 523      'button-nowiki'   => 'en/button_nowiki.png',
 524      'button-sig'      => 'en/button_sig.png',
 525      'button-hr'       => 'en/button_hr.png',
 526  );
 527  
 528  /**
 529   * A list of messages to preload for each request.
 530   * Here we add messages that are needed for a typical anonymous parser cache hit.
 531   */
 532  $preloadedMessages = array(
 533      'aboutpage',
 534      'aboutsite',
 535      'accesskey-ca-edit',
 536      'accesskey-ca-history',
 537      'accesskey-ca-nstab-main',
 538      'accesskey-ca-talk',
 539      'accesskey-ca-view',
 540      'accesskey-n-currentevents',
 541      'accesskey-n-help',
 542      'accesskey-n-mainpage-description',
 543      'accesskey-n-portal',
 544      'accesskey-n-randompage',
 545      'accesskey-n-recentchanges',
 546      'accesskey-p-logo',
 547      'accesskey-pt-login',
 548      'accesskey-search',
 549      'accesskey-search-fulltext',
 550      'accesskey-search-go',
 551      'accesskey-t-permalink',
 552      'accesskey-t-recentchangeslinked',
 553      'accesskey-t-specialpages',
 554      'accesskey-t-whatlinkshere',
 555      'actions',
 556      'anonnotice',
 557      'currentevents',
 558      'currentevents-url',
 559      'disclaimerpage',
 560      'disclaimers',
 561      'edit',
 562      'editsection',
 563      'editsectionhint',
 564      'help',
 565      'helppage',
 566      'interlanguage-link-title',
 567      'jumpto',
 568      'jumptonavigation',
 569      'jumptosearch',
 570      'lastmodifiedat',
 571      'mainpage',
 572      'mainpage-description',
 573      'mainpage-nstab',
 574      'namespaces',
 575      'navigation',
 576      'nav-login-createaccount',
 577      'nstab-main',
 578      'nstab-talk',
 579      'opensearch-desc',
 580      'pagecategories',
 581      'pagecategorieslink',
 582      'pagetitle',
 583      'pagetitle-view-mainpage',
 584      'permalink',
 585      'personaltools',
 586      'portal',
 587      'portal-url',
 588      'printableversion',
 589      'privacy',
 590      'privacypage',
 591      'randompage',
 592      'randompage-url',
 593      'recentchanges',
 594      'recentchangeslinked-toolbox',
 595      'recentchanges-url',
 596      'retrievedfrom',
 597      'search',
 598      'searcharticle',
 599      'searchbutton',
 600      'sidebar',
 601      'navigation-heading',
 602      'site-atom-feed',
 603      'sitenotice',
 604      'specialpages',
 605      'tagline',
 606      'talk',
 607      'toolbox',
 608      'tooltip-ca-edit',
 609      'tooltip-ca-history',
 610      'tooltip-ca-nstab-main',
 611      'tooltip-ca-talk',
 612      'tooltip-ca-view',
 613      'tooltip-n-currentevents',
 614      'tooltip-n-help',
 615      'tooltip-n-mainpage-description',
 616      'tooltip-n-portal',
 617      'tooltip-n-randompage',
 618      'tooltip-n-recentchanges',
 619      'tooltip-p-logo',
 620      'tooltip-p-navigation',
 621      'tooltip-p-tb',
 622      'tooltip-pt-login',
 623      'tooltip-search',
 624      'tooltip-search-fulltext',
 625      'tooltip-search-go',
 626      'tooltip-t-permalink',
 627      'tooltip-t-recentchangeslinked',
 628      'tooltip-t-specialpages',
 629      'tooltip-t-whatlinkshere',
 630      'variants',
 631      'vector-view-edit',
 632      'vector-view-history',
 633      'vector-view-view',
 634      'viewcount',
 635      'views',
 636      'whatlinkshere',
 637  );
 638  


Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1