r21198 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21197‎ | r21198 | r21199 >
Date:12:10, 12 April 2007
Author:ivanlanin
Status:old
Tags:
Comment:
$magicWords for Indonesian (id) localisation
Modified paths:
  • /trunk/phase3/languages/messages/MessagesId.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/messages/MessagesId.php
@@ -1,21 +1,21 @@
22 <?php
3 -/** Indonesian (Bahasa Indonesia)
 3+/**
 4+ * Indonesian (Bahasa Indonesia)
45 *
56 * @addtogroup Language
 7+ *
 8+ * @author Ivan Lanin (since March 2006)
69 */
710
8 -$skinNames = array(
9 - 'standard' => 'Standar',
10 -);
 11+/**
 12+ * Transform table for decimal point '.' and thousands separator ','
 13+ */
 14+$separatorTransformTable = array(',' => '.', '.' => ',' );
1115
12 -$bookstoreList = array(
13 - 'AddALL' => 'http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN',
14 - 'Amazon.com' => 'http://www.amazon.com/exec/obidos/ISBN=$1',
15 - 'Barnes & Noble' => 'http://search.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1',
16 - 'Bhinneka.com bookstore' => 'http://www.bhinneka.com/Buku/Engine/search.asp?fisbn=$1',
17 - 'Gramedia Cyberstore (via Google)' => 'http://www.google.com/search?q=%22ISBN+:+$1%22+%22product_detail%22+site:www.gramediacyberstore.com+OR+site:www.gramediaonline.com+OR+site:www.kompas.com&hl=id',
18 - 'PriceSCAN' => 'http://www.pricescan.com/books/bookDetail.asp?isbn=$1',
19 -);
 16+/**
 17+ * Namespace names. NS_PROJECT is always set to $wgMetaNamespace after the
 18+ * settings are loaded, it will be ignored even if you specify it here.
 19+ */
2020 $namespaceNames = array(
2121 NS_MEDIA => 'Media',
2222 NS_SPECIAL => 'Istimewa',
@@ -37,6 +37,9 @@
3838 NS_CATEGORY_TALK => 'Pembicaraan_Kategori'
3939 );
4040
 41+/**
 42+ * Array of namespace aliases, mapping from name to NS_xxx index
 43+ */
4144 $namespaceAliases = array(
4245 'Gambar_Pembicaraan' => NS_IMAGE_TALK,
4346 'MediaWiki_Pembicaraan' => NS_MEDIAWIKI_TALK,
@@ -49,8 +52,154 @@
5053 'Bicara_Pengguna' => NS_USER_TALK,
5154 );
5255
53 -$separatorTransformTable = array(',' => '.', '.' => ',' );
 56+/**
 57+ * Skin names. If any key is not specified, the English one will be used.
 58+ */
 59+$skinNames = array(
 60+ 'standard' => 'Klasik',
 61+ 'simple' => 'Sederhana',
 62+);
5463
 64+/**
 65+ * Default list of book sources
 66+ */
 67+$bookstoreList = array(
 68+ 'AddALL' => 'http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN',
 69+ 'Amazon.com' => 'http://www.amazon.com/exec/obidos/ISBN=$1',
 70+ 'Barnes & Noble' => 'http://search.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1',
 71+ 'Bhinneka.com bookstore' => 'http://www.bhinneka.com/Buku/Engine/search.asp?fisbn=$1',
 72+ 'Gramedia Cyberstore (via Google)' => 'http://www.google.com/search?q=%22ISBN+:+$1%22+%22product_detail%22+site:www.gramediacyberstore.com+OR+site:www.gramediaonline.com+OR+site:www.kompas.com&hl=id',
 73+ 'PriceSCAN' => 'http://www.pricescan.com/books/bookDetail.asp?isbn=$1',
 74+);
 75+
 76+/**
 77+ * Magic words
 78+ * Customisable syntax for wikitext and elsewhere
 79+ */
 80+$magicWords = array(
 81+# ID CASE SYNONYMS
 82+ 'redirect' => array( 0, '#ALIH', '#REDIRECT' ),
 83+ 'notoc' => array( 0, '__TANPADAFTARISI__', '__NOTOC__' ),
 84+ 'nogallery' => array( 0, '__TANPAGALERI__', '__NOGALLERY__' ),
 85+ 'forcetoc' => array( 0, '__PAKSADAFTARISI__', '__FORCETOC__' ),
 86+ 'toc' => array( 0, '__DAFTARISI__', '__TOC__' ),
 87+ 'noeditsection' => array( 0, '__TANPASUNTINGANBAGIAN__', '__NOEDITSECTION__' ),
 88+ 'start' => array( 0, '__MULAI__', '__START__' ),
 89+ 'currentmonth' => array( 1, 'BULANKINI', 'CURRENTMONTH' ),
 90+ 'currentmonthname' => array( 1, 'NAMABULANKINI', 'CURRENTMONTHNAME' ),
 91+ 'currentmonthnamegen' => array( 1, 'NAMASINGKATBULANKINI', 'CURRENTMONTHNAMEGEN' ),
 92+ 'currentmonthabbrev' => array( 1, 'BULANINISINGKAT', 'CURRENTMONTHABBREV' ),
 93+ 'currentday' => array( 1, 'HARIKINI', 'CURRENTDAY' ),
 94+ 'currentday2' => array( 1, 'HARIKINI2', 'CURRENTDAY2' ),
 95+ 'currentdayname' => array( 1, 'NAMAHARIKINI', 'CURRENTDAYNAME' ),
 96+ 'currentyear' => array( 1, 'TAHUNKINI', 'CURRENTYEAR' ),
 97+ 'currenttime' => array( 1, 'WAKTUKINI', 'CURRENTTIME' ),
 98+ 'currenthour' => array( 1, 'JAMKINI', 'CURRENTHOUR' ),
 99+ 'localmonth' => array( 1, 'BULANLOKAL', 'LOCALMONTH' ),
 100+ 'localmonthname' => array( 1, 'NAMABULANLOKAL', 'LOCALMONTHNAME' ),
 101+ 'localmonthnamegen' => array( 1, 'NAMAJENDERBULANLOKAL', 'LOCALMONTHNAMEGEN' ),
 102+ 'localmonthabbrev' => array( 1, 'NAMASINGKATBULANLOKAL', 'LOCALMONTHABBREV' ),
 103+ 'localday' => array( 1, 'HARILOKAL', 'LOCALDAY' ),
 104+ 'localday2' => array( 1, 'HARILOKAL2', 'LOCALDAY2' ),
 105+ 'localdayname' => array( 1, 'HARILOKAL', 'LOCALDAYNAME' ),
 106+ 'localyear' => array( 1, 'TAHUNLOKAL', 'LOCALYEAR' ),
 107+ 'localtime' => array( 1, 'WAKTULOKAL', 'LOCALTIME' ),
 108+ 'localhour' => array( 1, 'JAMLOKAL', 'LOCALHOUR' ),
 109+ 'numberofpages' => array( 1, 'JUMLAHHALAMAN', 'NUMBEROFPAGES' ),
 110+ 'numberofarticles' => array( 1, 'JUMLAHARTIKEL', 'NUMBEROFARTICLES' ),
 111+ 'numberoffiles' => array( 1, 'JUMLAHBERKAS', 'NUMBEROFFILES' ),
 112+ 'numberofusers' => array( 1, 'JUMLAHPENGGUNA', 'NUMBEROFUSERS' ),
 113+ 'pagename' => array( 1, 'NAMAHALAMAN', 'PAGENAME' ),
 114+ 'pagenamee' => array( 1, 'NAMAHALAMANE', 'PAGENAMEE' ),
 115+ 'namespace' => array( 1, 'RUANGNAMA', 'NAMESPACE' ),
 116+ 'namespacee' => array( 1, 'RUANGNAMAE', 'NAMESPACEE' ),
 117+ 'talkspace' => array( 1, 'RUANGBICARA', 'TALKSPACE' ),
 118+ 'talkspacee' => array( 1, 'RUANGBICARAE', 'TALKSPACEE' ),
 119+ 'subjectspace' => array( 1, 'RUANGUTAMA', 'SUBJECTSPACE', 'ARTICLESPACE' ),
 120+ 'subjectspacee' => array( 1, 'RUANGUTAMAE', 'SUBJECTSPACEE', 'ARTICLESPACEE' ),
 121+ 'fullpagename' => array( 1, 'NAMALENGKAPHALAMAN', 'FULLPAGENAME' ),
 122+ 'fullpagenamee' => array( 1, 'NAMALENGKAPHALAMANE', 'FULLPAGENAMEE' ),
 123+ 'subpagename' => array( 1, 'NAMASUBHALAMAN', 'SUBPAGENAME' ),
 124+ 'subpagenamee' => array( 1, 'NAMASUBHALAMANE', 'SUBPAGENAMEE' ),
 125+ 'basepagename' => array( 1, 'NAMADASARHALAMAN', 'BASEPAGENAME' ),
 126+ 'basepagenamee' => array( 1, 'NAMADASARHALAMANE', 'BASEPAGENAMEE' ),
 127+ 'talkpagename' => array( 1, 'NAMAHALAMANBICARA', 'TALKPAGENAME' ),
 128+ 'talkpagenamee' => array( 1, 'NAMAHALAMANBICARAE', 'TALKPAGENAMEE' ),
 129+ 'subjectpagename' => array( 1, 'NAMAHALAMANARTIKEL', 'SUBJECTPAGENAME', 'ARTICLEPAGENAME' ),
 130+ 'subjectpagenamee' => array( 1, 'NAMAHALAMANARTIKELE', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ),
 131+ 'msg' => array( 0, 'PESAN:', 'MSG:' ),
 132+ 'subst' => array( 0, 'GANTI:', 'SUBST:' ),
 133+ 'msgnw' => array( 0, 'MSGNW:' ),
 134+ 'img_thumbnail' => array( 1, 'thumbnail', 'thumb' ),
 135+ 'img_manualthumb' => array( 1, 'thumbnail=$1', 'thumb=$1'),
 136+ 'img_right' => array( 1, 'kanan', 'right' ),
 137+ 'img_left' => array( 1, 'kiri', 'left' ),
 138+ 'img_none' => array( 1, 'tanpa', 'none' ),
 139+ 'img_width' => array( 1, '$1px' ),
 140+ 'img_center' => array( 1, 'tengah', 'center', 'centre' ),
 141+ 'img_framed' => array( 1, 'bingkai', 'framed', 'enframed', 'frame' ),
 142+ 'img_page' => array( 1, 'halaman=$1', 'page=$1', 'page $1' ),
 143+ 'img_baseline' => array( 1, 'baseline' ),
 144+ 'img_sub' => array( 1, 'sub' ),
 145+ 'img_super' => array( 1, 'super', 'sup' ),
 146+ 'img_top' => array( 1, 'atas', 'top' ),
 147+ 'img_text-top' => array( 1, 'atas-teks', 'text-top' ),
 148+ 'img_middle' => array( 1, 'tengah', 'middle' ),
 149+ 'img_bottom' => array( 1, 'bawah', 'bottom' ),
 150+ 'img_text-bottom' => array( 1, 'bawah-teks', 'text-bottom' ),
 151+ 'int' => array( 0, 'INT:' ),
 152+ 'sitename' => array( 1, 'NAMASITUS', 'SITENAME' ),
 153+ 'ns' => array( 0, 'RN:', 'NS:' ),
 154+ 'localurl' => array( 0, 'URLLOKAL', 'LOCALURL:' ),
 155+ 'localurle' => array( 0, 'URLLOKALE', 'LOCALURLE:' ),
 156+ 'server' => array( 0, 'SERVER' ),
 157+ 'servername' => array( 0, 'NAMASERVER', 'SERVERNAME' ),
 158+ 'scriptpath' => array( 0, 'LOKASISKRIP', 'SCRIPTPATH' ),
 159+ 'grammar' => array( 0, 'TATABAHASA', 'GRAMMAR:' ),
 160+ 'notitleconvert' => array( 0, '__TANPAKONVERSIJUDUL__', '__NOTITLECONVERT__', '__NOTC__'),
 161+ 'nocontentconvert' => array( 0, '__TANPAKONVERSIISI__', '__NOCONTENTCONVERT__', '__NOCC__'),
 162+ 'currentweek' => array( 1, 'MINGGUKINI', 'CURRENTWEEK' ),
 163+ 'currentdow' => array( 1, 'HARIDALAMMINGGU', 'CURRENTDOW' ),
 164+ 'localweek' => array( 1, 'MINGGULOKAL', 'LOCALWEEK' ),
 165+ 'localdow' => array( 1, 'HARIDALAMMINGGULOKAL', 'LOCALDOW' ),
 166+ 'revisionid' => array( 1, 'IDREVISI', 'REVISIONID' ),
 167+ 'revisionday' => array( 1, 'HARIREVISI', 'REVISIONDAY' ),
 168+ 'revisionday2' => array( 1, 'HARIREVISI2', 'REVISIONDAY2' ),
 169+ 'revisionmonth' => array( 1, 'BULANREVISI', 'REVISIONMONTH' ),
 170+ 'revisionyear' => array( 1, 'TAHUNREVISI', 'REVISIONYEAR' ),
 171+ 'revisiontimestamp' => array( 1, 'REKAMWAKTUREVISI', 'REVISIONTIMESTAMP' ),
 172+ 'plural' => array( 0, 'JAMAK:', 'PLURAL:' ),
 173+ 'fullurl' => array( 0, 'URLLENGKAP:', 'FULLURL:' ),
 174+ 'fullurle' => array( 0, 'URLLENGKAPP', 'FULLURLE:' ),
 175+ 'lcfirst' => array( 0, 'AWALKECIL:', 'LCFIRST:' ),
 176+ 'ucfirst' => array( 0, 'AWALBESAR:', 'UCFIRST:' ),
 177+ 'lc' => array( 0, 'KECIL:', 'LC:' ),
 178+ 'uc' => array( 0, 'BESAR:', 'UC:' ),
 179+ 'raw' => array( 0, 'MENTAH:', 'RAW:' ),
 180+ 'displaytitle' => array( 1, 'JUDULTAMPILAN', 'DISPLAYTITLE' ),
 181+ 'rawsuffix' => array( 1, 'M', 'R' ),
 182+ 'newsectionlink' => array( 1, '__PRANALABAGIANBARU__', '__NEWSECTIONLINK__' ),
 183+ 'currentversion' => array( 1, 'VERSIKINI', 'CURRENTVERSION' ),
 184+ 'urlencode' => array( 0, 'KODEURL:', 'URLENCODE:' ),
 185+ 'anchorencode' => array( 0, 'KODEJANGKAR', 'ANCHORENCODE' ),
 186+ 'currenttimestamp' => array( 1, 'STEMPELWAKTUKINI', 'CURRENTTIMESTAMP' ),
 187+ 'localtimestamp' => array( 1, 'STEMPELWAKTULOKAL', 'LOCALTIMESTAMP' ),
 188+ 'directionmark' => array( 1, 'MARKAARAH', 'DIRECTIONMARK', 'DIRMARK' ),
 189+ 'language' => array( 0, '#BAHASA:', '#LANGUAGE:' ),
 190+ 'contentlanguage' => array( 1, 'BAHASAISI', 'CONTENTLANGUAGE', 'CONTENTLANG' ),
 191+ 'pagesinnamespace' => array( 1, 'HALAMANDIRUANGNAMA:', 'PAGESINNAMESPACE:', 'PAGESINNS:' ),
 192+ 'numberofadmins' => array( 1, 'JUMLAHPENGURUS', 'NUMBEROFADMINS' ),
 193+ 'formatnum' => array( 0, 'FORMATANGKA', 'FORMATNUM' ),
 194+ 'padleft' => array( 0, 'ISIKIRI', 'PADLEFT' ),
 195+ 'padright' => array( 0, 'ISIKANAN', 'PADRIGHT' ),
 196+ 'special' => array( 0, 'istimewa', 'special', ),
 197+ 'defaultsort' => array( 1, 'URUTANBAKU:', 'DEFAULTSORT:' ),
 198+);
 199+
 200+/**
 201+ * Alternate names of special pages. All names are case-insensitive. The first
 202+ * listed alias will be used as the default.
 203+ */
55204 $specialPageAliases = array(
56205 'DoubleRedirects' => array( 'Pengalihanganda' ),
57206 'BrokenRedirects' => array( 'Pengalihanrusak' ),