Jump to content

MediaWiki Language Extension Bundle/th: Difference between revisions

shortcut: MLEB
From mediawiki.org
Content deleted Content added
Created page with "ส่วนขยาย Clean Changes ช่วยให้หน้าการเปลี่ยนแปลงล่าสุดของคุณไม่กระจัดกระจายจากกิจกรรมการแปลและความยุ่งเหยิงอื่นๆ"
Created page with "อย่าพลาดโอกาสในการฝึกฝนทักษะทางภาษาที่ล้าสมัย: ใช้ Babel extension เพื่อทำเครื่องหมายภาษาที่คุณพูดและค้นหาผู้พูดภาษาเดียวกันคนอื่น ๆ ในวิกิของคุณ"
Line 27: Line 27:
[[Special:MyLanguage/Extension:CleanChanges|ส่วนขยาย Clean Changes]] ช่วยให้หน้าการเปลี่ยนแปลงล่าสุดของคุณไม่กระจัดกระจายจากกิจกรรมการแปลและความยุ่งเหยิงอื่นๆ
[[Special:MyLanguage/Extension:CleanChanges|ส่วนขยาย Clean Changes]] ช่วยให้หน้าการเปลี่ยนแปลงล่าสุดของคุณไม่กระจัดกระจายจากกิจกรรมการแปลและความยุ่งเหยิงอื่นๆ


อย่าพลาดโอกาสในการฝึกฝนทักษะทางภาษาที่ล้าสมัย: ใช้ [[Special:MyLanguage/Extension:Babel|Babel extension]] เพื่อทำเครื่องหมายภาษาที่คุณพูดและค้นหาผู้พูดภาษาเดียวกันคนอื่น ๆ ในวิกิของคุณ
<span lang="en" dir="ltr" class="mw-content-ltr">Don't miss the chance to practice your rusty language skills: Use the [[Special:MyLanguage/Extension:Babel|Babel extension]] to mark the languages you speak and find other speakers of the same language in your wiki.</span>
<span lang="en" dir="ltr" class="mw-content-ltr">And, finally, the [[Special:MyLanguage/Extension:CLDR|cldr extension]] is a database of language and country translations.</span>
<span lang="en" dir="ltr" class="mw-content-ltr">And, finally, the [[Special:MyLanguage/Extension:CLDR|cldr extension]] is a database of language and country translations.</span>



Revision as of 17:32, 15 May 2022


ชุดส่วนขยายภาษามีเดียวิกิ (MLEB) คือชุดส่วนขยายมีเดียวิกิที่ดูแลจัดการอย่างดีซึ่งนำเสนอคุณลักษณะหลายภาษา พยายามจัดหาวิธีง่าย ๆ ในการสนับสนุนภาษาอย่างครอบคลุมไปยังมีเดียวิกิ

ภาพรวมของส่วนขยาย

MLEB เวอร์ชันปัจจุบันมีส่วนขยายหกรายการ:

MLEB มีกำหนดการเผยแพร่รายไตรมาส ดังนั้นคุณจึงไม่พลาดทุกความเคลื่อนไหวด้วยการสนับสนุนภาษาที่ปรับปรุงอย่างต่อเนื่อง บันเดิลได้รับการทดสอบเทียบกับเวอร์ชันล่าสุดของมีเดียวิกิ ดังนั้นคุณจึงสามารถหลีกเลี่ยงการหยุดชั่วคราวส่วนใหญ่ที่จะเกิดขึ้นหากคุณใช้เวอร์ชันการพัฒนาล่าสุดของแต่ละส่วนขยาย

แรงจูงใจ

ตัวเลือกภาษาสากล เป็นสิ่งที่ต้องมีเพราะมันมีฟังก์ชั่นที่จำเป็นสำหรับผู้ใช้ใด ๆ โดยไม่คำนึงถึงจำนวนภาษาที่พวกเขาพูด: การเลือกภาษา, การสนับสนุนแบบอักษร สำหรับการแสดงสคริปต์ที่รองรับไม่ดีโดยระบบปฏิบัติการทั่วไปและ วิธีการป้อนข้อมูล สำหรับการพิมพ์ภาษาที่ไม่ใช้ตัวอักษรละติน ประกอบด้วยฟอนต์ลิขสิทธิ์ฟรี ซึ่งครอบคลุมภาษาหลักส่วนใหญ่ในอเมริกา ยุโรป ตะวันออกกลาง อินเดีย และเอเชียตะวันออกเฉียงใต้

การดูแลรักษาเนื้อหาหลายภาษาในวิกิเป็นเรื่องยุ่งเหยิงหากไม่มีส่วนขยาย การแปล ซึ่งใช้โดยมูลนิธิวิกิมีเดีย, KDE, translatewiki.net และไซต์อื่น ๆ ด้วย Localisation Update ผู้ใช้ของคุณจะได้รับการแปลล่าสุดที่สดใหม่เสมอเสมือนเพิ่งออกจากเตาอบ ส่วนขยาย Clean Changes ช่วยให้หน้าการเปลี่ยนแปลงล่าสุดของคุณไม่กระจัดกระจายจากกิจกรรมการแปลและความยุ่งเหยิงอื่นๆ

อย่าพลาดโอกาสในการฝึกฝนทักษะทางภาษาที่ล้าสมัย: ใช้ Babel extension เพื่อทำเครื่องหมายภาษาที่คุณพูดและค้นหาผู้พูดภาษาเดียวกันคนอื่น ๆ ในวิกิของคุณ And, finally, the cldr extension is a database of language and country translations.


Release notes and downloads

Latest release (2026.02)

Previous releases

2025.07
Highlights
  • CleanChanges extension is no longer part of MLEB releases. See T379896. The Language filter has been integrated into the Translate extension. The User filter will be deprecated; use the standard Special:Contributions page as an alternative.
    • To enable the language filter on Special:RecentChanges, set $wgTranslateRecentChangesLanguageFilter = true;
2025.03
Highlights
  • Future releases of MLEB will no longer include the CleanChanges extension. The Language filter has been integrated into the Translate extension. The User filter will be deprecated; use the standard Special:Contributions page as an alternative.
    • To enable the language filter on Special:RecentChanges, set $wgTranslateRecentChangesLanguageFilter = true;
2024.07
Highlights
  • As per discussion on phab:T356847 this is the last release to support MediaWiki 1.41 and MediaWiki 1.42. Moving forward, MLEB will be released semi-annually after the new MediaWiki release and will only support the latest MediaWiki version.
  • Support has been dropped for MediaWiki 1.40. MLEB 2024.07 supports >= MediaWiki 1.41.

Show all releases .

Downloading with Git

In your extensions directory do the following to get or update to the latest release and follow configuration instructions below.

 for ext in Babel cldr CleanChanges LocalisationUpdate Translate UniversalLanguageSelector
 do
   if [ ! -d "$ext" ]
   then
     git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/$ext.git
   fi
   cd $ext; git fetch --tags; git checkout 2026.02; cd ..
 done


Installation

Installation requirements

Installation requirements of each piece of provided software are included in the respective documentation. See in particular the installation requirements.

Add/update your LocalSettings.php

Near the end of LocalSettings.php, you have to place this configuration:

wfLoadExtension( 'Babel' );

wfLoadExtension( 'cldr' );

$wgDefaultUserOptions['usenewrc'] = 1;

wfLoadExtension( 'Translate' );
$wgGroupPermissions['user']['translate'] = true;
$wgGroupPermissions['user']['translate-messagereview'] = true;
$wgGroupPermissions['user']['translate-groupreview'] = true;
$wgGroupPermissions['user']['translate-import'] = true;
$wgGroupPermissions['sysop']['pagetranslation'] = true;
$wgGroupPermissions['sysop']['translate-manage'] = true;
$wgTranslateDocumentationLanguageCode = 'qqq';
$wgExtraLanguageNames['qqq'] = 'Message documentation'; # No linguistic content. Used for documenting messages

wfLoadExtension( 'UniversalLanguageSelector' );

Update database tables

Command line

In the directory where your LocalSettings.php is located, run the following command:

php maintenance/run.php update

Web browser

Go to example.com/mediawiki/mw-config/ (see Manual:Upgrading#Web browser) by using your domain and path and rerun install.

Configuring and using extensions

See the respective extension documentation pages.

Background

MLEB does not use version-specific branches of extensions. It's a snapshot from master which is verified to be working with the specified MediaWiki releases. This means all MLEB extensions must follow the compatibility policy of supporting two latest stable MediaWiki releases in the master branch.

MLEB releases are created with a tool called Melange. If you are interested in that code (e.g. you want to change its code), see the Melange repository in Git.