擴展

From Meta
This page is a translated version of the page Extensions and the translation is 21% complete.
Outdated translations are marked like this.
OOjs UI icon articleNew-ltr-invert.svgExtensions

這是一個Miraheze上安裝的大部分擴展的列表,分三類:全域擴展(它們安裝在所有維基上,並且不能被禁用,各有一個簡短的原因)、默認擴展(在新維基上默認啟用,但是可以被禁用)、普通擴展(不默認啟用,但是可以在自己的維基上啟用)。這個頁面同時也包括了一些被請求但不能安裝的擴展,以及為什麼不能的簡要原因。

安裝擴展

一些擴展默認情況下在所有Miraheze的維基上全局開啟,並且不能在本地維基上禁用。下面列舉了這些擴展,以及簡短的關於為什麼全局開啟的理由。

  • AbuseFilter – 重要的反垃圾廣告和反破壞行為的擴展;允許管理員阻止符合特定正則表達式的編輯。
  • AntiSpoof – 防止創建虛假帳號。
  • BetaFeatures – 測試功能是全域安裝的,但是用戶可以根據個人喜好來關閉。
  • CentralAuth – 定義了全域用戶帳號系統,沒有這個,用戶的帳號會崩潰。
  • CentralNotice – 用於傳播Miraheze的重要通知,比如計劃當機。
  • CheckUser – 重要的防破壞擴展,允許Miraheze監管員查找並封禁特定破壞賬戶的IP段。
  • CreateWiki – 這就是創建新 wiki 的方式(也許是最重要的擴展!)。 全局安裝但僅在 Meta 上使用。 由於技術原因,該擴展已在全球範圍內啟用,因為 ManageWiki 需要此擴展,如果未啟用,wiki 將中斷。
  • CookieWarning – 因為法律/隱私原因而需要。
  • ConfirmEdit – 重要的反濫用工具,生成一個驗證碼以避免未授權的自動化行為。
  • DataDump – 允許從 wiki 中獲取備份。
  • DiscordNotifications – 用於記錄對不和諧的#wiki-feed 的編輯。
  • DismissableSiteNotice – 使站點通告可以關閉。
  • Echo – 該擴展實現用戶通知系統。
  • EventLoggingRequired dependency for CentralNotice
  • EventStreamConfig – Required dependency for EventLogging
  • GlobalBlocking – 重要的反破壞和反濫用擴展,允許Miraheze監管員和全域管理員封禁破壞多個維基的IP地址。
  • GlobalCssJS – 全域帳號系統的一部分,允許用戶有適用於所有維基的用戶界面樣式。
  • GlobalNewFiles
  • GlobalPreferences – 全域帳號系統的一部分,允許用戶在所有維基上都有默認偏好設置。
  • IncidentReportingUsed internally by Miraheze system administrators for reporting incidents such as downtime. Installed globally but only has a function on Meta
  • InterwikiUsed to provide direct links from one Miraheze Wiki to another, and to other MediaWiki sites (such as these links to MediaWiki.org)
  • LocalisationUpdateEssential/core part of MediaWiki interface
  • LoginNotifyImportant security feature, notifies users about suspicious attempts to login to their accounts
  • ManageWikiThe extension used for managing wiki settings, including extensions. Turning this off would remove the ability to enable/disable other extensions
  • MatomoAnalyticsInternal Miraheze extension
  • MobileDetectAdds <nomobile> and <mobileonly> tags
  • NukeImportant anti-vandalism extension, allows site administrators to mass delete multiple pages at once
  • OATHAuthImportant security feature, used for implementing 2-factor authentication
  • OAuthInternal Miraheze extension, used for linking wiki accounts with accounts for Miraheze Phabricator
  • ParserFunctionsEssential/core part of MediaWiki interface
  • RemovePIIEnables removing private information
  • RenameUserImplements the ability for Miraheze Stewards to rename user accounts on request (otherwise this would be impossible)
  • RottenLinksInternal Miraheze extension that checks for dead or broken external links on wiki pages
  • ScribuntoEssential/core part of MediaWiki interface
  • SecureLinkFixerMake sure all wikis using HTTPS
  • SpamBlacklistImportant anti-spam feature, allows administrators to blacklist spam websites from being mentioned
  • TitleBlacklistImportant anti-vandalism extension, allows administrators to prevent pages with certain titles and certain usernames from being created
  • TorBlockImportant anti-vandalism and anti-spam extension, prevents vandals from using Tor to rapidly change IP addresses
  • UserMergeAllows Miraheze Stewards to merge contributions of one user account into another. Not used frequently but is used for various maintenance purposes
  • WikiDiscoverInternal Miraheze extension that shows all Miraheze wikis with some general information about them
  • WikiEditorEssential/core part of MediaWiki interface
  • CLDRProvides localised language names based on CLDR data

Default Extensions

These extensions are enabled by default on all new wikis but can be disabled in Special:ManageWiki/extensions:

  • CategoryTreePopular extension used by multiple wikis
  • Cite & CiteThisPageImportant and popular extension used for generating citations for wiki pages
  • DarkModeEnables a dark user interface. Used for accessibility reasons and for personal preferences
  • GlobalUserPageAllows users to display the content from their userpage on Miraheze Login Wiki on all wikis if they have not created a local userpage
  • MobileFrontendImportant MediaWiki feature for wikis that wish to support editing from mobile devices (which is the vast majority of wikis)
  • PurgeAdds in a purge button instead of needing to edit the URL to have "?action=purge"
  • SyntaxHighlightHighlights syntax
  • UrlShortenerAdds the Get shortened URL to the sidebar
  • WikiSEOImproves search results to the wiki

Other Extensions

These extensions are installed on Miraheze and can be enabled in Special:ManageWiki/extensions on any wiki but are not enabled by default:

{{{1}}}

Declined extensions

Many extensions have been requested but are not able to be installed for various reasons. The most common reasons are that the extension introduces security and/or privacy risks that cannot be mitigated, that the extension is not being actively maintained upstream, or that the extension conflicts with a global extension that cannot be removed. The following is a list of declined extensions, and a brief reason why they are declined.

Disclaimers

  • Requesting new extensions: If you would like to request a new extension, please create a task on Phabricator. Please be aware that any extensions which are not in use by one or more Wikimedia Foundation projects will require a security review before being installed. The purpose of this review is to check the code to make sure there are no vulnerabilities that would expose either Miraheze as a whole and/or individual users of the extension to security and/or privacy risks.
  • Restricted extensions: Some extensions in the list of globally enabled extensions are restricted and cannot be used by individual wikis and users, and can be used exclusively by members of either Miraheze Stewards and/or System administrators. This is usually for either or both of the following reasons: the extension reveals private information that under most circumstances should not be accessed, but may need to be accessed in order to stop spam and vandalism; and/or the extension has effects on the overall operation of Miraheze and therefore use of the extension outside of Meta Wiki would break things.
  • Note about MultiUpload: This extension is no longer being actively maintained upstream and therefore is unsuitable for Miraheze. However, users who are familiar with another wiki hosting service, ShoutWiki, may be aware that the extension in use there. The extension is only being maintained as a local copy by ShoutWiki developers for their specific service, and even these developers have indicated that they will not continue to maintain it if it ultimately breaks down. Therefore, please use MsUpload instead, which provides similar functionality.