wiki.techinc.nl/languages/messages/MessagesIs.php

217 lines
9.7 KiB
PHP
Raw Normal View History

<?php
/** Icelandic (íslenska)
*
* To improve a translation please visit https://translatewiki.net
Merged localisation-work branch: * Made lines from initialiseMessages() appear as list items during installation * Moved the bulk of the localisation data from the Language*.php files to the Messages*.php files. Deleted most of the Languages*.php files. * Introduced "stub global" framework to provide deferred initialisation of core modules. * Removed placeholder values for $wgTitle and $wgArticle, these variables will now be null during the initialisation process, until they are set by index.php or another entry point. * Added DBA cache type, for BDB-style caches. * Removed custom date format functions, replacing them with a format string in the style of PHP's date(). Used string identifiers instead of integer identifiers, in both the language files and user preferences. Migration should be transparent in most cases. * Simplified the initialisation API for LoadBalancer objects. * Removed the broken altencoding feature. * Moved default user options and toggles from Language to User. Language objects are still able to define default preference overrides and extra user toggles, via a slightly different interface. * Don't include the date option in the parser cache rendering hash unless $wgUseDynamicDates is enabled. * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php. * Removed inclusion of language files from the bottom of Language.php. This is now consistently done from Language::factory(). * Add the name of the executing maintenance script to the debug log. Start the profiler during maintenance scripts. * Added "serialized" directory, for storing precompiled data in serialized form.
2006-07-26 07:15:39 +00:00
*
* @ingroup Language
* @file
*
Merged localisation-work branch: * Made lines from initialiseMessages() appear as list items during installation * Moved the bulk of the localisation data from the Language*.php files to the Messages*.php files. Deleted most of the Languages*.php files. * Introduced "stub global" framework to provide deferred initialisation of core modules. * Removed placeholder values for $wgTitle and $wgArticle, these variables will now be null during the initialisation process, until they are set by index.php or another entry point. * Added DBA cache type, for BDB-style caches. * Removed custom date format functions, replacing them with a format string in the style of PHP's date(). Used string identifiers instead of integer identifiers, in both the language files and user preferences. Migration should be transparent in most cases. * Simplified the initialisation API for LoadBalancer objects. * Removed the broken altencoding feature. * Moved default user options and toggles from Language to User. Language objects are still able to define default preference overrides and extra user toggles, via a slightly different interface. * Don't include the date option in the parser cache rendering hash unless $wgUseDynamicDates is enabled. * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php. * Removed inclusion of language files from the bottom of Language.php. This is now consistently done from Language::factory(). * Add the name of the executing maintenance script to the debug log. Start the profiler during maintenance scripts. * Added "serialized" directory, for storing precompiled data in serialized form.
2006-07-26 07:15:39 +00:00
*/
$namespaceNames = [
NS_MEDIA => 'Miðill',
NS_SPECIAL => 'Kerfissíða',
NS_TALK => 'Spjall',
NS_USER => 'Notandi',
NS_USER_TALK => 'Notandaspjall',
NS_PROJECT_TALK => '$1spjall',
NS_FILE => 'Mynd',
NS_FILE_TALK => 'Myndaspjall',
NS_MEDIAWIKI => 'Melding',
NS_MEDIAWIKI_TALK => 'Meldingarspjall',
NS_TEMPLATE => 'Snið',
NS_TEMPLATE_TALK => 'Sniðaspjall',
NS_HELP => 'Hjálp',
NS_HELP_TALK => 'Hjálparspjall',
NS_CATEGORY => 'Flokkur',
NS_CATEGORY_TALK => 'Flokkaspjall',
];
$datePreferences = [
Merged localisation-work branch: * Made lines from initialiseMessages() appear as list items during installation * Moved the bulk of the localisation data from the Language*.php files to the Messages*.php files. Deleted most of the Languages*.php files. * Introduced "stub global" framework to provide deferred initialisation of core modules. * Removed placeholder values for $wgTitle and $wgArticle, these variables will now be null during the initialisation process, until they are set by index.php or another entry point. * Added DBA cache type, for BDB-style caches. * Removed custom date format functions, replacing them with a format string in the style of PHP's date(). Used string identifiers instead of integer identifiers, in both the language files and user preferences. Migration should be transparent in most cases. * Simplified the initialisation API for LoadBalancer objects. * Removed the broken altencoding feature. * Moved default user options and toggles from Language to User. Language objects are still able to define default preference overrides and extra user toggles, via a slightly different interface. * Don't include the date option in the parser cache rendering hash unless $wgUseDynamicDates is enabled. * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php. * Removed inclusion of language files from the bottom of Language.php. This is now consistently done from Language::factory(). * Add the name of the executing maintenance script to the debug log. Start the profiler during maintenance scripts. * Added "serialized" directory, for storing precompiled data in serialized form.
2006-07-26 07:15:39 +00:00
'default',
'dmyt',
'short dmyt',
'tdmy',
'short tdmy',
'ISO 8601',
];
Merged localisation-work branch: * Made lines from initialiseMessages() appear as list items during installation * Moved the bulk of the localisation data from the Language*.php files to the Messages*.php files. Deleted most of the Languages*.php files. * Introduced "stub global" framework to provide deferred initialisation of core modules. * Removed placeholder values for $wgTitle and $wgArticle, these variables will now be null during the initialisation process, until they are set by index.php or another entry point. * Added DBA cache type, for BDB-style caches. * Removed custom date format functions, replacing them with a format string in the style of PHP's date(). Used string identifiers instead of integer identifiers, in both the language files and user preferences. Migration should be transparent in most cases. * Simplified the initialisation API for LoadBalancer objects. * Removed the broken altencoding feature. * Moved default user options and toggles from Language to User. Language objects are still able to define default preference overrides and extra user toggles, via a slightly different interface. * Don't include the date option in the parser cache rendering hash unless $wgUseDynamicDates is enabled. * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php. * Removed inclusion of language files from the bottom of Language.php. This is now consistently done from Language::factory(). * Add the name of the executing maintenance script to the debug log. Start the profiler during maintenance scripts. * Added "serialized" directory, for storing precompiled data in serialized form.
2006-07-26 07:15:39 +00:00
$datePreferenceMigrationMap = [
Merged localisation-work branch: * Made lines from initialiseMessages() appear as list items during installation * Moved the bulk of the localisation data from the Language*.php files to the Messages*.php files. Deleted most of the Languages*.php files. * Introduced "stub global" framework to provide deferred initialisation of core modules. * Removed placeholder values for $wgTitle and $wgArticle, these variables will now be null during the initialisation process, until they are set by index.php or another entry point. * Added DBA cache type, for BDB-style caches. * Removed custom date format functions, replacing them with a format string in the style of PHP's date(). Used string identifiers instead of integer identifiers, in both the language files and user preferences. Migration should be transparent in most cases. * Simplified the initialisation API for LoadBalancer objects. * Removed the broken altencoding feature. * Moved default user options and toggles from Language to User. Language objects are still able to define default preference overrides and extra user toggles, via a slightly different interface. * Don't include the date option in the parser cache rendering hash unless $wgUseDynamicDates is enabled. * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php. * Removed inclusion of language files from the bottom of Language.php. This is now consistently done from Language::factory(). * Add the name of the executing maintenance script to the debug log. Start the profiler during maintenance scripts. * Added "serialized" directory, for storing precompiled data in serialized form.
2006-07-26 07:15:39 +00:00
'default',
'dmyt',
'short dmyt',
'tdmy',
'short tdmy',
];
2007-08-29 13:15:44 +00:00
$defaultDateFormat = 'dmyt';
Merged localisation-work branch: * Made lines from initialiseMessages() appear as list items during installation * Moved the bulk of the localisation data from the Language*.php files to the Messages*.php files. Deleted most of the Languages*.php files. * Introduced "stub global" framework to provide deferred initialisation of core modules. * Removed placeholder values for $wgTitle and $wgArticle, these variables will now be null during the initialisation process, until they are set by index.php or another entry point. * Added DBA cache type, for BDB-style caches. * Removed custom date format functions, replacing them with a format string in the style of PHP's date(). Used string identifiers instead of integer identifiers, in both the language files and user preferences. Migration should be transparent in most cases. * Simplified the initialisation API for LoadBalancer objects. * Removed the broken altencoding feature. * Moved default user options and toggles from Language to User. Language objects are still able to define default preference overrides and extra user toggles, via a slightly different interface. * Don't include the date option in the parser cache rendering hash unless $wgUseDynamicDates is enabled. * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php. * Removed inclusion of language files from the bottom of Language.php. This is now consistently done from Language::factory(). * Add the name of the executing maintenance script to the debug log. Start the profiler during maintenance scripts. * Added "serialized" directory, for storing precompiled data in serialized form.
2006-07-26 07:15:39 +00:00
$dateFormats = [
Merged localisation-work branch: * Made lines from initialiseMessages() appear as list items during installation * Moved the bulk of the localisation data from the Language*.php files to the Messages*.php files. Deleted most of the Languages*.php files. * Introduced "stub global" framework to provide deferred initialisation of core modules. * Removed placeholder values for $wgTitle and $wgArticle, these variables will now be null during the initialisation process, until they are set by index.php or another entry point. * Added DBA cache type, for BDB-style caches. * Removed custom date format functions, replacing them with a format string in the style of PHP's date(). Used string identifiers instead of integer identifiers, in both the language files and user preferences. Migration should be transparent in most cases. * Simplified the initialisation API for LoadBalancer objects. * Removed the broken altencoding feature. * Moved default user options and toggles from Language to User. Language objects are still able to define default preference overrides and extra user toggles, via a slightly different interface. * Don't include the date option in the parser cache rendering hash unless $wgUseDynamicDates is enabled. * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php. * Removed inclusion of language files from the bottom of Language.php. This is now consistently done from Language::factory(). * Add the name of the executing maintenance script to the debug log. Start the profiler during maintenance scripts. * Added "serialized" directory, for storing precompiled data in serialized form.
2006-07-26 07:15:39 +00:00
'dmyt time' => 'H:i',
'dmyt date' => 'j. F Y',
'dmyt both' => 'j. F Y "kl." H:i',
'short dmyt time' => 'H:i',
'short dmyt date' => 'j. M. Y',
'short dmyt both' => 'j. M. Y "kl." H:i',
'tdmy time' => 'H:i',
'tdmy date' => 'j. F Y',
'tdmy both' => 'H:i, j. F Y',
'short tdmy time' => 'H:i',
'short tdmy date' => 'j. M. Y',
'short tdmy both' => 'H:i, j. M. Y',
];
Merged localisation-work branch: * Made lines from initialiseMessages() appear as list items during installation * Moved the bulk of the localisation data from the Language*.php files to the Messages*.php files. Deleted most of the Languages*.php files. * Introduced "stub global" framework to provide deferred initialisation of core modules. * Removed placeholder values for $wgTitle and $wgArticle, these variables will now be null during the initialisation process, until they are set by index.php or another entry point. * Added DBA cache type, for BDB-style caches. * Removed custom date format functions, replacing them with a format string in the style of PHP's date(). Used string identifiers instead of integer identifiers, in both the language files and user preferences. Migration should be transparent in most cases. * Simplified the initialisation API for LoadBalancer objects. * Removed the broken altencoding feature. * Moved default user options and toggles from Language to User. Language objects are still able to define default preference overrides and extra user toggles, via a slightly different interface. * Don't include the date option in the parser cache rendering hash unless $wgUseDynamicDates is enabled. * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php. * Removed inclusion of language files from the bottom of Language.php. This is now consistently done from Language::factory(). * Add the name of the executing maintenance script to the debug log. Start the profiler during maintenance scripts. * Added "serialized" directory, for storing precompiled data in serialized form.
2006-07-26 07:15:39 +00:00
/** @phpcs-require-sorted-array */
$magicWords = [
'currentday' => [ '1', 'NÚDAGUR', 'CURRENTDAY' ],
'currentday2' => [ '1', 'NÚDAGUR2', 'CURRENTDAY2' ],
'currentdayname' => [ '1', 'NÚDAGNAFN', 'CURRENTDAYNAME' ],
'currenthour' => [ '1', 'NÚKTÍMI', 'CURRENTHOUR' ],
'currenttime' => [ '1', 'NÚTÍMI', 'CURRENTTIME' ],
'currentweek' => [ '1', 'NÚVIKA', 'CURRENTWEEK' ],
'currentyear' => [ '1', 'NÚÁR', 'CURRENTYEAR' ],
'displaytitle' => [ '1', 'SÝNATITIL', 'DISPLAYTITLE' ],
'fullpagename' => [ '1', 'FULLTSÍÐUNF', 'FULLPAGENAME' ],
'grammar' => [ '0', 'MÁLFRÆÐI:', 'GRAMMAR:' ],
'img_bottom' => [ '1', 'neðst', 'bottom' ],
'img_center' => [ '1', 'miðja', 'center', 'centre' ],
'img_left' => [ '1', 'vinstri', 'left' ],
'img_manualthumb' => [ '1', 'þumall', 'thumbnail=$1', 'thumb=$1' ],
'img_none' => [ '1', 'engin', 'none' ],
'img_right' => [ '1', 'hægri', 'right' ],
'img_sub' => [ '1', 'undir', 'sub' ],
'img_super' => [ '1', 'yfir', 'super', 'sup' ],
'img_text_bottom' => [ '1', 'texti-neðst', 'text-bottom' ],
'img_top' => [ '1', 'efst', 'top' ],
'img_width' => [ '1', '$1dp', '$1px' ],
'language' => [ '0', '#TUNGUMÁL', '#LANGUAGE:' ],
'localday' => [ '1', 'STDAGUR', 'LOCALDAY' ],
'localday2' => [ '1', 'STDAGUR2', 'LOCALDAY2' ],
'localdayname' => [ '1', 'STDAGNAFN', 'LOCALDAYNAME' ],
'localhour' => [ '1', 'STKTÍMI', 'LOCALHOUR' ],
'localmonth' => [ '1', 'STMÁN', 'LOCALMONTH', 'LOCALMONTH2' ],
'localmonthabbrev' => [ '1', 'STMÁNST', 'LOCALMONTHABBREV' ],
'localmonthname' => [ '1', 'STMÁNNAFN', 'LOCALMONTHNAME' ],
'localtime' => [ '1', 'STTÍMI', 'LOCALTIME' ],
'localweek' => [ '1', 'STVIKA', 'LOCALWEEK' ],
'localyear' => [ '1', 'STÁR', 'LOCALYEAR' ],
'namespace' => [ '1', 'NAFNSVÆÐI', 'NAMESPACE' ],
'nogallery' => [ '0', '__EMSAFN__', '__NOGALLERY__' ],
'ns' => [ '0', 'NR:', 'NS:' ],
'numberofarticles' => [ '1', 'FJLGREINA', 'NUMBEROFARTICLES' ],
'numberofedits' => [ '1', 'FJLBREYT', 'NUMBEROFEDITS' ],
'numberoffiles' => [ '1', 'FJLSKJALA', 'NUMBEROFFILES' ],
'numberofpages' => [ '1', 'FJLSÍÐA', 'NUMBEROFPAGES' ],
'numberofusers' => [ '1', 'FJLNOT', 'NUMBEROFUSERS' ],
'pagename' => [ '1', 'SÍÐUNAFN', 'PAGENAME' ],
'plural' => [ '0', 'FLTALA:', 'PLURAL:' ],
'raw' => [ '0', 'HRÁ:', 'RAW:' ],
'redirect' => [ '0', '#tilvísun', '#TILVÍSUN', '#REDIRECT' ],
'server' => [ '0', 'VEFÞJ', 'SERVER' ],
'servername' => [ '0', 'VEFÞJNF', 'SERVERNAME' ],
'special' => [ '0', 'kerfissíða', 'special' ],
'talkspace' => [ '1', 'SPJALLSVÆÐI', 'TALKSPACE' ],
];
/** @phpcs-require-sorted-array */
$specialPageAliases = [
'Activeusers' => [ 'Virkir_notendur' ],
'Allmessages' => [ 'Meldingar' ],
'Allpages' => [ 'Allar_síður' ],
'Ancientpages' => [ 'Elstu_síður' ],
'Blankpage' => [ 'Auð_síða' ],
'Block' => [ 'Banna_vistföng' ],
'BlockList' => [ 'Bönnuð_vistföng' ],
'Booksources' => [ 'Bókaheimildir' ],
'BrokenRedirects' => [ 'Brotnar_tilvísanir' ],
'Categories' => [ 'Flokkar' ],
'ChangeEmail' => [ 'Breyta_netfangi' ],
'ChangePassword' => [ 'Endurkalla_aðgangsorðið' ],
'ComparePages' => [ 'Bera_saman_síður' ],
'Confirmemail' => [ 'Staðfesta_netfang' ],
'Contributions' => [ 'Framlög' ],
'CreateAccount' => [ 'Búa_til_aðgang' ],
'Deadendpages' => [ 'Botnlangar' ],
'DeletedContributions' => [ 'Eydd_framlög' ],
'DoubleRedirects' => [ 'Tvöfaldar_tilvísanir' ],
'EditWatchlist' => [ 'Breyta_vaktlista' ],
'Emailuser' => [ 'Senda_tölvupóst' ],
'Export' => [ 'Flytja_út' ],
'Fewestrevisions' => [ 'Fæstar_útgáfur' ],
'FileDuplicateSearch' => [ 'Afritunarskráarleit' ],
'Filepath' => [ 'Skráarslóð' ],
'Import' => [ 'Flytja_inn' ],
'Invalidateemail' => [ 'Rangt_netfang' ],
'Listadmins' => [ 'Stjórnendalisti' ],
'Listbots' => [ 'Vélmennalisti' ],
'Listfiles' => [ 'Myndalisti' ],
'Listgrouprights' => [ 'Réttindalisti' ],
'Listredirects' => [ 'Tilvísanalisti' ],
'Listusers' => [ 'Notendalisti' ],
'Lockdb' => [ 'Læsa_gagnagrunni' ],
'Log' => [ 'Aðgerðaskrár' ],
'Lonelypages' => [ 'Munaðarlausar_síður' ],
'Longpages' => [ 'Langar_síður' ],
'MergeHistory' => [ 'Sameina_breytingaskrá' ],
'MIMEsearch' => [ 'MIME-leit' ],
'Mostcategories' => [ 'Flestir_flokkar' ],
'Mostimages' => [ 'Flestar_myndir' ],
'Mostlinked' => [ 'Mest_ítengt' ],
'Mostlinkedcategories' => [ 'Mest_ítengdu_flokkar' ],
'Mostlinkedtemplates' => [ 'Mest_ítengdu_snið' ],
'Mostrevisions' => [ 'Flestar_útgáfur' ],
'Movepage' => [ 'Færa_síðu' ],
'Mycontributions' => [ 'Framlög_mín' ],
'Mypage' => [ 'Notandasíða_mín' ],
'Mytalk' => [ 'Spjallasíða_mín' ],
'Myuploads' => [ 'Upplöðin_mín' ],
'Newimages' => [ 'Nýjar_myndir' ],
'Newpages' => [ 'Nýjustu_greinar' ],
'PasswordReset' => [ 'Endursetja_lykilorð' ],
'Preferences' => [ 'Stillingar' ],
'Prefixindex' => [ 'Forskeyti' ],
'Protectedpages' => [ 'Verndaðar_síður' ],
'Protectedtitles' => [ 'Verndaðir_titlar' ],
'Randompage' => [ 'Handahófsvalin_síða' ],
'Randomredirect' => [ 'Handahófsvalin_tilvísun' ],
'Recentchanges' => [ 'Nýlegar_breytingar' ],
'Recentchangeslinked' => [ 'Nýlegar_breytingar_tengdar' ],
'Revisiondelete' => [ 'Eyðingarendurskoðun' ],
'Search' => [ 'Leit' ],
'Shortpages' => [ 'Stuttar_síður' ],
'Specialpages' => [ 'Kerfissíður' ],
'Statistics' => [ 'Tölfræði' ],
'Tags' => [ 'Tög' ],
'Unblock' => [ 'Afbönnun' ],
'Uncategorizedcategories' => [ 'Óflokkaðir_flokkar' ],
'Uncategorizedimages' => [ 'Óflokkaðar_myndir' ],
'Uncategorizedpages' => [ 'Óflokkaðar_síður' ],
'Uncategorizedtemplates' => [ 'Óflokkuð_snið' ],
'Undelete' => [ 'Endurvekja_eydda_síðu' ],
'Unlockdb' => [ 'Opna_gagnagrunn' ],
'Unusedcategories' => [ 'Ónotaðir_flokkar' ],
'Unusedimages' => [ 'Munaðarlausar_myndir' ],
'Unusedtemplates' => [ 'Ónotuð_snið' ],
'Unwatchedpages' => [ 'Óvaktaðar_síður' ],
'Upload' => [ 'Hlaða_inn' ],
'Userlogin' => [ 'Innskrá' ],
'Userlogout' => [ 'Útskrá' ],
'Userrights' => [ 'Notandaréttindi' ],
'Version' => [ 'Útgáfa' ],
'Wantedcategories' => [ 'Eftirsóttir_flokkar' ],
'Wantedfiles' => [ 'Eftirsóttar_skrár' ],
'Wantedpages' => [ 'Eftirsóttar_síður' ],
'Wantedtemplates' => [ 'Eftirsótt_snið' ],
'Watchlist' => [ 'Vaktlistinn' ],
'Whatlinkshere' => [ 'Síður_sem_tengjast_hingað' ],
'Withoutinterwiki' => [ 'Síður_án_tungumálatengla' ],
];
Merged localisation-work branch: * Made lines from initialiseMessages() appear as list items during installation * Moved the bulk of the localisation data from the Language*.php files to the Messages*.php files. Deleted most of the Languages*.php files. * Introduced "stub global" framework to provide deferred initialisation of core modules. * Removed placeholder values for $wgTitle and $wgArticle, these variables will now be null during the initialisation process, until they are set by index.php or another entry point. * Added DBA cache type, for BDB-style caches. * Removed custom date format functions, replacing them with a format string in the style of PHP's date(). Used string identifiers instead of integer identifiers, in both the language files and user preferences. Migration should be transparent in most cases. * Simplified the initialisation API for LoadBalancer objects. * Removed the broken altencoding feature. * Moved default user options and toggles from Language to User. Language objects are still able to define default preference overrides and extra user toggles, via a slightly different interface. * Don't include the date option in the parser cache rendering hash unless $wgUseDynamicDates is enabled. * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php. * Removed inclusion of language files from the bottom of Language.php. This is now consistently done from Language::factory(). * Add the name of the executing maintenance script to the debug log. Start the profiler during maintenance scripts. * Added "serialized" directory, for storing precompiled data in serialized form.
2006-07-26 07:15:39 +00:00
$separatorTransformTable = [ ',' => '.', '.' => ',' ];
Merged localisation-work branch: * Made lines from initialiseMessages() appear as list items during installation * Moved the bulk of the localisation data from the Language*.php files to the Messages*.php files. Deleted most of the Languages*.php files. * Introduced "stub global" framework to provide deferred initialisation of core modules. * Removed placeholder values for $wgTitle and $wgArticle, these variables will now be null during the initialisation process, until they are set by index.php or another entry point. * Added DBA cache type, for BDB-style caches. * Removed custom date format functions, replacing them with a format string in the style of PHP's date(). Used string identifiers instead of integer identifiers, in both the language files and user preferences. Migration should be transparent in most cases. * Simplified the initialisation API for LoadBalancer objects. * Removed the broken altencoding feature. * Moved default user options and toggles from Language to User. Language objects are still able to define default preference overrides and extra user toggles, via a slightly different interface. * Don't include the date option in the parser cache rendering hash unless $wgUseDynamicDates is enabled. * Merged LanguageUtf8 with Language. Removed LanguageUtf8.php. * Removed inclusion of language files from the bottom of Language.php. This is now consistently done from Language::factory(). * Add the name of the executing maintenance script to the debug log. Start the profiler during maintenance scripts. * Added "serialized" directory, for storing precompiled data in serialized form.
2006-07-26 07:15:39 +00:00
$linkPrefixExtension = true;
$linkTrail = '/^([áðéíóúýþæöa-z-]+)(.*)$/sDu';
Remove linkprefix message, add $linkPrefixCharset The existing "linkprefix" message is unlikely to be accurately customized by message translators (as shown by the fact that, of the 10 distinct customizations prior to Iaa7eaa44 (which made them even more complicated), 3 were broken or entirely ineffective, 1 was half ineffective, and 2 more seem to have included the Latin-1 Supplement by accident) or by local wiki admins. So, like linktrail before it, let's move it out of the system messages and into a separate language variable. At the same time, let's make it a simple character set (like $wgLegalTitleChars) rather than a complicated regular expression. The complicated regex now lives in the parser. This also adjusts the output of the API's action=query&meta=siteinfo and adds an accessor parallel to the linkTrail accessor to Language. Note the following changes that are not simply extracting the existing charset from the linkprefix message for $linkPrefixCharset: * The En message matched all non-ASCII UTF-8 characters by matching the component bytes (\\x80-\\xff). The new character set is equivalent. * Various languages were identical to En and so have no $linkPrefixCharset set. These are: Ary Az Ce Ga Id Ka Kiu Km Ltg Mk Ms Ne Nn Ro Roa_tara Sc Si Sr_ec Sr_el Tl Tt_cyrl Tt_latn Ug_arab War * Cu, Uk, and Udm are changed to match any number of „ or « in the prefix. * Cv tried to include "«" that was redundant to the range \\x80-\\xff (see En comment). This was removed. * Diq was entirely bogus, and so was removed. * Gu included many additional UTF-8 characters that are redundant to the range \\x80-\\xff (see En comment). These were removed, and the resulting character set is equivalent to En. * Mt has been broken since it was introduced in r37242. The charset used is equivalent to the broken regex. Bug: 56031 Change-Id: I3369851b33113fc118a1bace38f3ac310cdd9725
2013-10-23 18:06:19 +00:00
$linkPrefixCharset = 'áÁðÐéÉíÍóÓúÚýÝþÞæÆöÖA-Za-z-';