# the regex in MagicWord::initRegex
/* private */ $wgAllMessagesTh = array(
+'special_version_prefix' => '',
+'special_version_postfix' => '',
# User Toggles
#
"tog-showtoolbar" => "Show edit toolbar",
"tog-editondblclick" => "แก้ไขหน้าโดยใช้ double click (ผ่าน JavaScript)",
"tog-editsection"=>"สามารถแก้ไขเฉพาะส่วนโดยใช้ลิงก์ [แก้ไข]",
-"tog-editsectiononrightclick"=>"สามารถแก้ไขเฉพาะส่วนโดยใช้ right click<br> บนชื่อส่วนย่อย (ผ่าน JavaScript)",
-"tog-showtoc"=>"แสดงสารบัญ<br>(สำหรับบทความที่มีมากกว่า 3 หัวข้อ)",
+"tog-editsectiononrightclick"=>"สามารถแก้ไขเฉพาะส่วนโดยใช้ right click<br /> บนชื่อส่วนย่อย (ผ่าน JavaScript)",
+"tog-showtoc"=>"แสดงสารบัญ<br />(สำหรับบทความที่มีมากกว่า 3 หัวข้อ)",
"tog-rememberpassword" => "จำ password ระหว่าง session",
"tog-editwidth" => "กล่องสำหรับการแก้ไขกว้างเต็มหน้าจอ",
"tog-watchdefault" => "นำหน้าที่แก้ไขไปใส่ watchlist",
"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" => "ค้นหา",
#
"error" => "Error",
"databaseerror" => "Database error",
-"dberrortext" => "A database query syntax error has occurred.
-This could be because of an illegal search query (see $5),
-or it may indicate a bug in the software.
-The last attempted database query was:
-<blockquote><tt>$1</tt></blockquote>
-from within function \"<tt>$2</tt>\".
-MySQL returned error \"<tt>$3: $4</tt>\".",
"dberrortextcl" => "A database query syntax error has occurred.
The last attempted database query was:
\"$1\"
because it slows the database down to the point that no one can use
the wiki.",
"perfdisabledsub" => "Here's a saved copy from $1:",
-"wrong_wfQuery_params" => "Incorrect parameters to wfQuery()<br>
-Function: $1<br>
+"wrong_wfQuery_params" => "Incorrect parameters to wfQuery()<br />
+Function: $1<br />
Query: $2
",
"viewsource" => "View source",
"yourpasswordagain" => "พิมพ์รหัสผ่านอีกครั้ง",
"newusersonly" => " (เฉพาะผู้ใช้ใหม่)",
"remembermypassword" => "Remember my password across sessions.",
-"loginproblem" => "<b>There has been a problem with your login.</b><br>Try again!",
-"alreadyloggedin" => "<font color=red><b>User $1, you are already logged in!</b></font><br>\n",
+"loginproblem" => "<b>There has been a problem with your login.</b><br />Try again!",
+"alreadyloggedin" => "<font color=red><b>User $1, you are already logged in!</b></font><br />\n",
"login" => "ล็อกอิน",
"loginprompt" => "ต้อง enable cookie เพื่อล็อกอินสู่ $wgSitename ได้",
"showpreview" => "Show preview",
"blockedtitle" => "User is blocked",
"blockedtext" => "Your user name or IP address has been blocked by $1.
-The reason given is this:<br>''$2''<p>You may contact $1 or one of the other
+The reason given is this:<br />''$2''<p>You may contact $1 or one of the other
[[$wgMetaNamespace:Administrators|administrators]] to discuss the block.
Note that you may not use the \"email this user\" feature unless you have a valid email address registered in your [[Special:Preferences|user preferences]].
"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.
considered to be released under the GNU Free Documentation License
(see $1 for details).
If you don't want your writing to be edited mercilessly and redistributed
-at will, then don't submit it here.<br>
+at will, then don't submit it here.<br />
You are also promising us that you wrote this yourself, or copied it from a
public domain or similar free resource.
<strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
# Search results
#
"searchresults" => "Search results",
-"searchhelppage" => "$wgMetaNamespace:Searching",
-"searchingwikipedia" => "Searching $wgSitename",
-"searchresulttext" => "For more information about searching $wgSitename, see $1.",
+"searchresulttext" => "For more information about searching {{SITENAME}}, see [[Project:Searching|Searching {{SITENAME}}]].",
"searchquery" => "For query \"$1\"",
"badquery" => "Badly formed search query",
"badquerytext" => "We could not process your query.
containing all of the search terms will appear in the result).",
"powersearch" => "Search",
"powersearchtext" => "
-Search in namespaces :<br>
-$1<br>
+Search in namespaces :<br />
+$1<br />
$2 List redirects Search for $3 $9",
"searchdisabled" => "<p>Sorry! Full text search has been disabled temporarily, for performance reasons. In the meantime, you can use the Google search below, which may be out of date.</p>
<INPUT TYPE=text name=q size=31 maxlength=255 value=\"$1\">
<INPUT type=submit name=btnG VALUE=\"Google Search\">
<font size=-1>
-<input type=hidden name=domains value=\"{$wgServer}\"><br><input type=radio name=sitesearch value=\"\"> WWW <input type=radio name=sitesearch value=\"{$wgServer}\" checked> {$wgServer} <br>
+<input type=hidden name=domains value=\"{$wgServer}\"><br /><input type=radio name=sitesearch value=\"\"> WWW <input type=radio name=sitesearch value=\"{$wgServer}\" checked> {$wgServer} <br />
<input type='hidden' name='ie' value='$2'>
<input type='hidden' name='oe' value='$2'>
</font>
"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",
-"uploadtext" => "<strong>STOP!</strong> Before you upload here,
-make sure to read and follow the <a href=\"" .
-wfLocalUrlE( "$wgMetaNamespace:Image_use_policy" ) . "\">image use policy</a>.
-<p>If a file with the name you are specifying already
-exists on the wiki, it'll be replaced without warning.
-So unless you mean to update a file, it's a good idea
-to first check if such a file exists.
-<p>To view or search previously uploaded images,
-go to the <a href=\"" . wfLocalUrlE( "Special:Imagelist" ) .
-"\">list of uploaded images</a>.
-Uploads and deletions are logged on the <a href=\"" .
-wfLocalUrlE( "$wgMetaNamespace:Upload_log" ) . "\">upload log</a>.
-<p>Use the form below to upload new image files for use in
-illustrating your articles.
-On most browsers, you will see a \"Browse...\" button, which will
-bring up your operating system's standard file open dialog.
-Choosing a file will fill the name of that file into the text
-field next to the button.
-You must also check the box affirming that you are not
-violating any copyrights by uploading the file.
-Press the \"Upload\" button to finish the upload.
-This may take some time if you have a slow internet connection.
-<p>The preferred formats are JPEG for photographic images, PNG
-for drawings and other iconic images, and OGG for sounds.
-Please name your files descriptively to avoid confusion.
-To include the image in an article, use a link in the form
-<b>[[image:file.jpg]]</b> or <b>[[image:file.png|alt text]]</b>
-or <b>[[media:file.ogg]]</b> for sounds.
-<p>Please note that as with wiki pages, others may edit or
-delete your uploads if they think it serves the encyclopedia, and
-you may be blocked from uploading if you abuse the system.",
"uploadlog" => "upload log",
"uploadlogpage" => "Upload_log",
"deleteimgcompletely" => "del",
"imghistlegend" => "Legend: (cur) = this is the current image, (del) = delete
this old version, (rev) = revert to this old version.
-<br><i>Click on date to see image uploaded on that date</i>.",
+<br /><i>Click on date to see image uploaded on that date</i>.",
"imagelinks" => "Image links",
"linkstoimage" => "The following pages link to this image:",
"nolinkstoimage" => "There are no pages that link to this image.",
"maintenancebacklink" => "Back to Maintenance Page",
"disambiguations" => "Disambiguation pages",
"disambiguationspage" => "$wgMetaNamespace:Links_to_disambiguating_pages",
-"disambiguationstext" => "The following articles link to a <i>disambiguation page</i>. They should link to the appropriate topic instead.<br>A page is treated as dismbiguation if it is linked from $1.<br>Links from other namespaces are <i>not</i> listed here.",
+"disambiguationstext" => "The following articles link to a <i>disambiguation page</i>. They should link to the appropriate topic instead.<br />A page is treated as dismbiguation if it is linked from $1.<br />Links from other namespaces are <i>not</i> listed here.",
"doubleredirects" => "Double Redirects",
-"doubleredirectstext" => "<b>Attention:</b> This list may contain false positives. That usually means there is additional text with links below the first #REDIRECT.<br>\nEach row contains links to the first and second redirect, as well as the first line of the second redirect text, usually giving the \"real\" taget article, which the first redirect should point to.",
+"doubleredirectstext" => "<b>Attention:</b> This list may contain false positives. That usually means there is additional text with links below the first #REDIRECT.<br />\nEach row contains links to the first and second redirect, as well as the first line of the second redirect text, usually giving the \"real\" taget article, which the first redirect should point to.",
"brokenredirects" => "Broken Redirects",
"brokenredirectstext" => "The following redirects link to a non-existing article.",
"selflinks" => "Pages with Self Links",
#
"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.",
Please confirm that you intend to do this, that you understand the
consequences, and that you are doing this in accordance with
[[$wgMetaNamespace:Policy]].",
-"confirmcheck" => "Yes, I really want to delete this.",
"actioncomplete" => "Action complete",
"deletedtext" => "\"$1\" has been deleted.
See $2 for a record of recent deletions.",
"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",
"noblockreason" => "You must supply a reason for the block.",
"blockipsuccesssub" => "Block succeeded",
"blockipsuccesstext" => "\"$1\" has been blocked.
-<br>See [[Special:Ipblocklist|IP block list]] to review blocks.",
+<br />See [[Special:Ipblocklist|IP block list]] to review blocks.",
"unblockip" => "Unblock user",
"unblockiptext" => "Use the form below to restore write access
to a previously blocked IP address or username.",
"lockdbsuccesssub" => "Database lock succeeded",
"unlockdbsuccesssub" => "Database lock removed",
"lockdbsuccesstext" => "The database has been locked.
-<br>Remember to remove the lock after your maintenance is complete.",
+<br />Remember to remove the lock after your maintenance is complete.",
"unlockdbsuccesstext" => "The database has been unlocked.",
# SQL query
"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()