ส่วนขยาย:เมเนจวิกิ

This page is a translated version of the page Extension:ManageWiki and the translation is 29% complete.
Outdated translations are marked like this.
MediaWiki extensions manual
ManageWiki
Release status: stable
Description Allows wiki administrators to change many aspects of their configuration.
Author(s) Southparkfan, John Lewis, MacFan4000, Reception123, Universal Omega
Maintainer(s) Miraheze system administrators
Latest version continuous updates
MediaWiki 1.36.0+
PHP 7.2+
Database changes Yes
Composer miraheze/manage-wiki
Tables mw_namespaces
mw_permissions
mw_settings
License GNU General Public License 3.0
Download
  • $wgManageWikiPermissionsDisallowedGroups
  • $wgManageWikiPermissionsAdditionalAddGroupsSelf
  • $wgManageWikiNamespacesDisallowedNames
  • $wgManageWikiExtensions
  • $wgManageWikiPermissionsAdditionalRights
  • $wgManageWikiExtensionsDefault
  • $wgManageWikiHelpUrl
  • $wgManageWiki
  • $wgManageWikiNamespacesAdditional
  • $wgManageWikiForceSidebarLinks
  • $wgManageWikiPermissionsAdditionalRemoveGroups
  • $wgManageWikiPermissionsPermanentGroups
  • $wgManageWikiPermissionsDefaultPrivateGroup
  • $wgManageWikiPermissionsDisallowedRights
  • $wgManageWikiPermissionsAdditionalRemoveGroupsSelf
  • $wgManageWikiSettings
  • $wgManageWikiPermissionsAdditionalAddGroups

  • managewiki-core
  • managewiki-editdefault
  • managewiki-extensions
  • managewiki-namespaces
  • managewiki-permissions
  • managewiki-restricted
  • managewiki-settings
  • remotewiki
Translate the ManageWiki extension

ส่วนขยายเมเนจวิกิเอื้ออำนวยหน้าพิเศษหลายหน้าสำหรับการจัดการวิกิ ได้แก่ Special:ManageWiki, Special:ManageWiki/extensions, Special:ManageWiki/settings, Special:ManageWiki/namespaces และ Special:ManageWiki/permissions โดยมีชื่อเป็นตัวอธิบาย

  • Special:ManageWiki/core
  • Special:ManageWiki/extensions
  • Special:ManageWiki/settings
  • Special:ManageWiki/namespaces
  • Special:ManageWiki/permissions

สำหรับข้อมูลโดยละเอียดโปรดดูที่หน้ารายละเอียดนี้

Warning Warning: ManageWiki was designed and created specifically for the Miraheze wiki farm, and as such, may not always work on different sites or configurations. While efforts have been made to make it more usable by non-Miraheze wiki sites, this extension is still a primarily Miraheze-focused extension and aligns to Miraheze's configuration and style.

Issues and bug reporting

สำหรับการรายงานปัญหาหรือบั๊ก โปรดใช้มิราเฮซฟาบริเคเตอร์ ดูที่นี่สำหรับเวิร์กบอร์ด

การติดตั้ง

  • ขั้นแรก ให้ดาวน์โหลดและติดตั้งส่วนขยาย CreateWiki ที่แยกต่างหาก
  • ดาวน์โหลด และวางไฟล์ในไดเร็กทอรีชื่อ ManageWiki ในโฟลเดอร์ $ex ของคุณ
  • เพิ่มโค้ดต่อไปนี้ไว้ที่ด้านล่างของ LocalSettings.php ของคุณ:
    wfLoadExtension( 'ManageWiki' );
    
  • รันสคริปต์อัปเดต เพื่อสร้างตารางฐานข้อมูลที่จำเป็นสำหรับส่วนขยายนี้
  •   สำเร็จ – ตรวจสอบที่ Special:Version บนวิกิของคุณเพื่อตรวจการติดตั้งส่วนขยาย

การใช้งาน

หน้าเมเนจวิกิใช้เพื่อจัดการการตั้งค่าของวิกิในหลาย ๆ ด้าน ดังที่ได้กล่าวมาแล้ว ผู้ใช้ที่มีสิทธิ์ที่เหมาะสมสามารถจัดการการตั้งค่าบนวิกิของตนได้ เปิด/ปิดส่วนขยายและเปลี่ยนสิทธิ์ (wgGroupPermissions) ได้โดยตรงจากวิกิของตน

การเปลี่ยนแปลงการตั้งค่าทั้งหมดจะแสดงไว้ที่ Special:Log/managewiki ทุกคนมีสิทธิ์ "จัดการวิกิ" สามารถเปลี่ยนการตั้งค่าวิกิ และใช้ Special:ManageWiki แต่คุณต้องมีสิทธิ์ "อ่าน" เท่านั้นเพื่อดูการกำหนดค่า Anyone who has the managewiki-core right can change wiki settings and use Special:ManageWiki/core but you only need the "read" right to view configuration. As indicated in the table below, each of the other rights corresponds to a respective special page.

Right Special page
managewiki-core Special:ManageWiki/core
managewiki-extensions Special:ManageWiki/extensions
managewiki-namespaces Special:ManageWiki/namespaces
managewiki-permissions Special:ManageWiki/permissions
managewiki-settings Special:ManageWiki/settings

การกำหนดค่า

พารามิเตอร์ ค่าเริ่มต้น ความคิดเห็น
$wgManageWiki [ 'cdb' => false, 'core' => false, 'extensions' => false, 'namespaces' => false, 'permissions' => false, 'settings' => false, ]; ซึ่งมอดูลของเมเนจวิกิควรเปิดใช้งานบนวิกิ
$wgManageWikiCDBDirectory false This will enable CDB capabilities in ManageWiki.
$wgManageWikiExtensions false An array of extensions enabled within the wiki farm.
$wgManageWikiExtensionsDefault false An array of default extensions.
$wgManageWikiSettings false An array of settings that can be managed through Special:ManageWiki/settings
$wgManageWikiPermissionsAdditionalAddGroups false ManageWiki's version of $wgAddGroups.
$wgManageWikiPermissionsAdditionalRemoveGroups false ManageWiki's version of $wgRemoveGroups.
$wgManageWikiPermissionsAdditionalRights false ManageWiki's version of $wgGroupPermissions.
$wgManageWikiPermissionsDisallowedGroups false An array of usergroups which ManageWiki can't manage. Will prevent users creating same named groups as well.
$wgManageWikiPermissionsDisallowedRights [ 'managewiki-restricted', ]; An array of user rights that ManageWiki can not manage and assign on wiki.
$wgManageWikiPermissionsDefaultPrivateGroup false Name of a group to add to private wikis. False disables this function.
$wgManageWikiHelpUrl false URL of a help page for ManageWiki on the local wiki farm.
$wgManageWikiSidebarLinks false Whether to show quick links to ManageWiki pages in the sidebar.

ดูเพิ่ม