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

78 lines
3 KiB
PHP
Raw Normal View History

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
<?php
/** Abkhazian (Аҧсшәа)
*
* To improve a translation please visit https://translatewiki.net
*
* @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
$fallback = 'ru';
$namespaceNames = [
NS_MEDIA => 'Амедиа',
NS_SPECIAL => 'Цастәи',
NS_TALK => 'Ахцәажәара',
NS_USER => 'Алахәыла',
NS_USER_TALK => 'Алахәыла_ахцәажәара',
NS_PROJECT_TALK => '$1_ахцәажәара',
NS_FILE => 'Афаил',
NS_FILE_TALK => 'Афаил_ахцәажәара',
NS_MEDIAWIKI => 'Амедиавики',
NS_MEDIAWIKI_TALK => 'Амедиавики_ахцәажәара',
NS_TEMPLATE => 'Ашаблон',
NS_TEMPLATE_TALK => 'Ашаблон_ахцәажәара',
NS_HELP => 'Ацхыраара',
NS_HELP_TALK => 'Ацхыраара_ахцәажәара',
NS_CATEGORY => 'Акатегориа',
NS_CATEGORY_TALK => 'Акатегориа_ахцәажәара',
];
$namespaceAliases = [
'Иалахә' => NS_USER,
// Backward compat. Fallbacks from 'ru'.
'Медиа' => NS_MEDIA,
'Служебная' => NS_SPECIAL,
'Обсуждение' => NS_TALK,
'Участник' => NS_USER,
'Обсуждение_участника' => NS_USER_TALK,
'Обсуждение_$1' => NS_PROJECT_TALK,
'Файл' => NS_FILE,
'Обсуждениеайла' => NS_FILE_TALK,
'MediaWiki' => NS_MEDIAWIKI,
'Обсуждение_MediaWiki' => NS_MEDIAWIKI_TALK,
'Шаблон' => NS_TEMPLATE,
'Обсуждениеаблона' => NS_TEMPLATE_TALK,
'Справка' => NS_HELP,
'Обсуждение_справки' => NS_HELP_TALK,
'Категория' => NS_CATEGORY,
'Обсуждениеатегории' => NS_CATEGORY_TALK
];
// Remove Russian aliases
$namespaceGenderAliases = [];
$specialPageAliases = [
'Categories' => [ 'Акатегориақәа' ],
'Mycontributions' => [ 'Архиарақәа' ],
'Mypage' => [ 'Садаҟьа' ],
'Mytalk' => [ 'Сахцәажәара' ],
'Newimages' => [ 'АфаилқәаҾыц' ],
'Newpages' => [ 'АдаҟьақәаҾыц' ],
'Randompage' => [ 'Машәырлатәи' ],
'Recentchanges' => [ 'АрҽеираҾыцқәа' ],
'Search' => [ 'Аҧшаара' ],
'Specialpages' => [ 'ЦастәиАдаҟьақәа' ],
'Upload' => [ 'Аҭагалара' ],
];
$magicWords = [
'language' => [ '0', '#АБЫЗШӘА:', '#ЯЗЫК:', '#LANGUAGE:' ],
'special' => [ '0', 'цастәи', 'служебная', 'special' ],
'index' => [ '1', '__АИНДЕКС__', '__ИНДЕКС__', '__INDEX__' ],
];
$linkTrail = '/^([a-zабвгҕдежзӡикқҟлмнопҧрстҭуфхҳцҵчҷҽҿшыҩџьә]+)(.*)$/sDu';