4 * To improve a translation please visit https://translatewiki.net
13 NS_SPECIAL
=> 'Arbennig',
15 NS_USER
=> 'Defnyddiwr',
16 NS_USER_TALK
=> 'Sgwrs_Defnyddiwr',
17 NS_PROJECT_TALK
=> 'Sgwrs_$1',
19 NS_FILE_TALK
=> 'Sgwrs_Delwedd',
20 NS_MEDIAWIKI
=> 'MediaWici',
21 NS_MEDIAWIKI_TALK
=> 'Sgwrs_MediaWici',
22 NS_TEMPLATE
=> 'Nodyn',
23 NS_TEMPLATE_TALK
=> 'Sgwrs_Nodyn',
25 NS_HELP_TALK
=> 'Sgwrs_Cymorth',
26 NS_CATEGORY
=> 'Categori',
27 NS_CATEGORY_TALK
=> 'Sgwrs_Categori',
31 'redirect' => [ '0', '#ail-cyfeirio', '#ailgyfeirio', '#REDIRECT' ],
32 'notoc' => [ '0', '__DIMTAFLENCYNNWYS__', '__DIMRHESTRGYNNWYS__', '__DIMRHG__', '__NOTOC__' ],
33 'noeditsection' => [ '0', '__DIMADRANGOLYGU__', '__DIMGOLYGUADRAN__', '__NOEDITSECTION__' ],
34 'currentmonth' => [ '1', 'MISCYFOES', 'MISCYFREDOL', 'CURRENTMONTH', 'CURRENTMONTH2' ],
35 'currentmonthname' => [ '1', 'ENWMISCYFOES', 'ENWMISCYFREDOL', 'CURRENTMONTHNAME' ],
36 'currentmonthnamegen' => [ '1', 'GENENWMISCYFOES', 'CURRENTMONTHNAMEGEN' ],
37 'currentday' => [ '1', 'DYDDIADCYFOES', 'DYDDCYFREDOL', 'CURRENTDAY' ],
38 'currentdayname' => [ '1', 'ENWDYDDCYFOES', 'ENWDYDDCYFREDOL', 'CURRENTDAYNAME' ],
39 'currentyear' => [ '1', 'FLWYDDYNCYFOES', 'BLWYDDYNGYFREDOL', 'CURRENTYEAR' ],
40 'currenttime' => [ '1', 'AMSERCYFOES', 'AMSERCYFREDOL', 'CURRENTTIME' ],
41 'currenthour' => [ '1', 'AWRGYFREDOL', 'CURRENTHOUR' ],
42 'numberofarticles' => [ '1', 'NIFEROERTHYGLAU', 'NIFERYRERTHYGLAU', 'NUMBEROFARTICLES' ],
43 'numberoffiles' => [ '1', 'NIFERYFFEILIAU', 'NUMBEROFFILES' ],
44 'numberofusers' => [ '1', 'NIFERYDEFNYDDWYR', 'NUMBEROFUSERS' ],
45 'numberofedits' => [ '1', 'NIFERYGOLYGIADAU', 'NUMBEROFEDITS' ],
46 'pagename' => [ '1', 'ENWTUDALEN', 'PAGENAME' ],
47 'pagenamee' => [ '1', 'ENWTUDALENE', 'PAGENAMEE' ],
48 'namespace' => [ '1', 'PARTH', 'NAMESPACE' ],
49 'namespacee' => [ '1', 'NAMESPACE', 'PARTHE', 'NAMESPACEE' ],
50 'fullpagename' => [ '1', 'ENWLLAWNTUDALEN', 'FULLPAGENAME' ],
51 'fullpagenamee' => [ '1', 'ENWLLAWNTUDALENE', 'FULLPAGENAMEE' ],
52 'subpagename' => [ '1', 'ENWISDUDALEN', 'SUBPAGENAME' ],
53 'subpagenamee' => [ '1', 'ENWISDUDALENE', 'SUBPAGENAMEE' ],
54 'talkpagename' => [ '1', 'ENWTUDALENSGWRS', 'TALKPAGENAME' ],
55 'talkpagenamee' => [ '1', 'ENWTUDALENSGWRSE', 'TALKPAGENAMEE' ],
56 'img_thumbnail' => [ '1', 'bawd', 'ewin_bawd', 'mân-lun', 'thumb', 'thumbnail' ],
57 'img_manualthumb' => [ '1', 'mân-lun=$1', 'bawd=$1', 'thumbnail=$1', 'thumb=$1' ],
58 'img_right' => [ '1', 'de', 'right' ],
59 'img_left' => [ '1', 'chwith', 'left' ],
60 'img_none' => [ '1', 'dim', 'none' ],
61 'img_center' => [ '1', 'canol', 'center', 'centre' ],
62 'img_page' => [ '1', 'tudalen=$1', 'tudalen_$1', 'page=$1', 'page $1' ],
63 'img_upright' => [ '1', 'unionsyth', 'unionsyth=$1', 'unionsyth_$1', 'upright', 'upright=$1', 'upright $1' ],
64 'img_sub' => [ '1', 'is', 'sub' ],
65 'img_super' => [ '1', 'uwch', 'super', 'sup' ],
66 'img_top' => [ '1', 'brig', 'top' ],
67 'img_bottom' => [ '1', 'gwaelod', 'godre', 'bottom' ],
68 'server' => [ '0', 'GWEINYDD', 'SERVER' ],
69 'servername' => [ '0', 'ENW\'RGWEINYDD', 'SERVERNAME' ],
70 'grammar' => [ '0', 'GRAMMAR', 'GRAMADEG', 'GRAMMAR:' ],
71 'currentweek' => [ '1', 'WYTHNOSGYFREDOL', 'CURRENTWEEK' ],
72 'revisionid' => [ '1', 'IDYGOLYGIAD', 'REVISIONID' ],
73 'revisionday' => [ '1', 'DIWRNODYGOLYGIAD', 'REVISIONDAY' ],
74 'revisionday2' => [ '1', 'DIWRNODYGOLYGIAD2', 'REVISIONDAY2' ],
75 'revisionmonth' => [ '1', 'MISYGOLYGIAD', 'REVISIONMONTH' ],
76 'revisionyear' => [ '1', 'BLWYDDYNYGOLYGIAD', 'REVISIONYEAR' ],
77 'revisiontimestamp' => [ '1', 'STAMPAMSERYGOLYGIAD', 'REVISIONTIMESTAMP' ],
78 'plural' => [ '0', 'LLUOSOG:', 'PLURAL:' ],
79 'fullurl' => [ '0', 'URLLLAWN:', 'FULLURL:' ],
80 'fullurle' => [ '0', 'URLLLAWNE:', 'FULLURLE:' ],
81 'newsectionlink' => [ '1', '_NEWSECTIONLINK_', '_CYSWLLTADRANNEWYDD_', '__NEWSECTIONLINK__' ],
82 'currentversion' => [ '1', 'GOLYGIADCYFREDOL', 'CURRENTVERSION' ],
83 'currenttimestamp' => [ '1', 'STAMPAMSERCYFREDOL', 'CURRENTTIMESTAMP' ],
84 'localtimestamp' => [ '1', 'STAMPAMSERLLEOL', 'LOCALTIMESTAMP' ],
85 'language' => [ '0', '#IAITH:', '#LANGUAGE:' ],
86 'contentlanguage' => [ '1', 'IAITHYCYNNWYS', 'CONTENTLANGUAGE', 'CONTENTLANG' ],
87 'pagesinnamespace' => [ '1', 'TUDALENNAUYNYPARTH:', 'PAGESINNAMESPACE:', 'PAGESINNS:' ],
88 'numberofadmins' => [ '1', 'NIFERYGWEINYDDWYR', 'NUMBEROFADMINS' ],
89 'formatnum' => [ '0', 'FFORMATIORHIF', 'FORMATNUM' ],
90 'special' => [ '0', 'arbennig', 'special' ],
91 'hiddencat' => [ '1', '_HIDDENCAT_', '_CATCUDD_', '__HIDDENCAT__' ],
92 'pagesincategory' => [ '1', 'TUDALENNAUYNYCAT', 'PAGESINCATEGORY', 'PAGESINCAT' ],
93 'pagesize' => [ '1', 'MAINTTUD', 'PAGESIZE' ],
96 $defaultDateFormat = 'dmy';
99 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
100 "Barnes & Noble" => "http://search.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
101 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1",
102 "Amazon.co.uk" => "http://www.amazon.co.uk/exec/obidos/ISBN=$1"
105 $linkTrail = "/^([àáâèéêìíîïòóôûŵŷa-z]+)(.*)$/sDu";