"mainpage" => "หน้าหลัก",
"mainpagetext" => "Wiki software ถูกติดตั้งเรียบร้อยแล้ว",
"about" => "เกี่ยวกับ",
-"aboutwikipedia" => "เกี่ยวกับ $wgSitename",
+"aboutsite" => "เกี่ยวกับ $wgSitename",
"aboutpage" => "$wgMetaNamespace:เกี่ยวกับ",
"help" => "ความช่วยเหลือ",
"helppage" => "$wgMetaNamespace:ความช่วยเหลือ",
"currentevents" => "เหตุการณ์ปัจจุบัน",
"errorpagetitle" => "ความผิดพลาด",
"returnto" => "กลับไปยัง $1.",
-"fromwikipedia" => "จาก $wgSitename, สารานุกรมฟรี",
+"tagline" => "จาก $wgSitename, สารานุกรมฟรี",
"whatlinkshere" => "หน้าที่ลิงก์มายังที่นี่",
"help" => "ความช่วยเหลือ",
"search" => "ค้นหา",
"previewconflict" => "This preview reflects the text in the upper
text editing area as it will appear if you choose to save.",
"editing" => "Editing $1",
-"sectionedit" => " (section)",
-"commentedit" => " (comment)",
+"editingsection" => "Editing $1 (section)",
+"editingcomment" => "Editing $1 (comment)",
"editconflict" => "Edit conflict: $1",
"explainconflict" => "Someone else has changed this page since you
started editing it.
"preferences" => "Preferences",
"prefsnologin" => "Not logged in",
"prefsnologintext" => "You must be <a href=\"" .
- wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+ "{{localurle:Special:Userlogin}}\">logged in</a>
to set user preferences.",
"prefslogintext" => "You are logged in as \"$1\".
Your internal ID number is $2.
"reuploaddesc" => "Return to the upload form.",
"uploadnologin" => "Not logged in",
"uploadnologintext" => "You must be <a href=\"" .
- wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+ "{{localurle:Special:Userlogin}}\">logged in</a>
to upload files.",
"uploadfile" => "Upload images, sounds, documents etc.",
"uploaderror" => "Upload error",
#
"mailnologin" => "No send address",
"mailnologintext" => "You must be <a href=\"" .
- wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+ "{{localurle:Special:Userlogin}}\">logged in</a>
and have a valid e-mail address in your <a href=\"" .
- wfLocalUrl( "Special:Preferences" ) . "\">preferences</a>
+ "{{localurle:Special:Preferences}}\">preferences</a>
to send e-mail to other users.",
"emailuser" => "E-mail this user",
"emailpage" => "E-mail user",
"nowatchlist" => "You have no items on your watchlist.",
"watchnologin" => "Not logged in",
"watchnologintext" => "You must be <a href=\"" .
- wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+ "{{localurle:Special:Userlogin}}\">logged in</a>
to modify your watchlist.",
"addedwatch" => "Added to watchlist",
"addedwatchtext" => "The page \"$1\" has been added to your <a href=\"" .
- wfLocalUrl( "Special:Watchlist" ) . "\">watchlist</a>.
+ "{{localurle:Special:Watchlist}}\">watchlist</a>.
Future changes to this page and its associated Talk page will be listed there,
and the page will appear <b>bolded</b> in the <a href=\"" .
- wfLocalUrl( "Special:Recentchanges" ) . "\">list of recent changes</a> to
+ "{{localurle:Special:Recentchanges}}\">list of recent changes</a> to
make it easier to pick out.</p>
<p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
"protectlogpage" => "Protection_log",
"protectlogtext" => "Below is a list of page locks/unlocks.
See [[$wgMetaNamespace:Protected page]] for more information.",
-"protectedarticle" => "protected [[$1]]",
-"unprotectedarticle" => "unprotected [[$1]]",
+"protectedarticle" => "protected $1",
+"unprotectedarticle" => "unprotected $1",
# Undelete
"undelete" => "Restore deleted page",
"movearticle" => "Move page",
"movenologin" => "Not logged in",
"movenologintext" => "You must be a registered user and <a href=\"" .
- wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+ "{{localurle:Special:Userlogin}}\">logged in</a>
to move a page.",
"newtitle" => "To new title",
"movepagebtn" => "Move page",
function getMessage( $key )
{
global $wgAllMessagesTh;
- return $wgAllMessagesTh[$key];
+ if( isset( $wgAllMessagesTh[$key] ) ) {
+ return $wgAllMessagesTh[$key];
+ } else {
+ return Language::getMessage( $key );
+ }
}
function getAllMessages()