Extensions/zh-tw

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

 安裝擴展

Global Extensions
一些擴展默認情況下在所有Miraheze的維基上全局開啟，並且不能在本地維基上禁用. 下面列舉了這些擴展，以及簡短的關於為什麼全局開啟的理由.
 * AbuseFilter – 重要的反垃圾廣告和反破壞行為的擴展；允許管理員阻止符合特定正則表達式的編輯.
 * AntiSpoof – 防止創建虛假帳號.
 * BetaFeatures – 測試功能是全域安裝的，但是用戶可以根據個人喜好來關閉.
 * CentralAuth – 定義了全域用戶帳號系統，沒有這個，用戶的帳號會崩潰.
 * CentralNotice – 用於傳播Miraheze的重要通知，比如計劃當機.
 * CheckUser – 重要的防破壞擴展，允許Miraheze監管員查找並封禁特定破壞賬戶的IP段.
 * CreateWiki – 這就是創建新 wiki 的方式（也許是最重要的擴展！）. 全局安裝但僅在 Meta 上使用.  由於技術原因，該擴展已在全球範圍內啟用，因為 ManageWiki 需要此擴展，如果未啟用，wiki 將中斷.
 * CookieWarning – 因為法律/隱私原因而需要.
 * ConfirmEdit – 重要的反濫用工具，生成一個驗證碼以避免未授權的自動化行為.
 * DataDump – 允許從 wiki 中獲取備份.
 * DiscordNotifications – 用於記錄對不和諧的#wiki-feed 的編輯.
 * DismissableSiteNotice – 使站點通告可以關閉.
 * Echo – 該擴展實現用戶通知系統.
 * EventLogging – Required dependency for CentralNotice
 * EventStreamConfig – Required dependency for EventLogging
 * GlobalBlocking – 重要的反破壞和反濫用擴展，允許Miraheze監管員和全域管理員封禁破壞多個維基的IP地址.
 * GlobalCssJS – 全域帳號系統的一部分，允許用戶有適用於所有維基的用戶界面樣式.
 * GlobalNewFiles –
 * GlobalPreferences – 全域帳號系統的一部分，允許用戶在所有維基上都有默認偏好設置.
 * IncidentReporting – Used internally by Miraheze system administrators for reporting incidents such as downtime. Installed globally but only has a function on Meta
 * Interwiki – Used to provide direct links from one Miraheze Wiki to another, and to other MediaWiki sites (such as these links to MediaWiki.org)
 * LocalisationUpdate – Essential/core part of MediaWiki interface
 * LoginNotify – Important security feature, notifies users about suspicious attempts to login to their accounts
 * ManageWiki – The extension used for managing wiki settings, including extensions. Turning this off would remove the ability to enable/disable other extensions
 * MatomoAnalytics – Internal Miraheze extension
 * MobileDetect – Adds  and   tags
 * Nuke – Important anti-vandalism extension, allows site administrators to mass delete multiple pages at once
 * OATHAuth – Important security feature, used for implementing 2-factor authentication
 * OAuth – Internal Miraheze extension, used for linking wiki accounts with accounts for Miraheze Phabricator
 * ParserFunctions – Essential/core part of MediaWiki interface
 * RemovePII – Enables removing private information
 * RenameUser – Implements the ability for Miraheze Stewards to rename user accounts on request (otherwise this would be impossible)
 * RottenLinks – Internal Miraheze extension that checks for dead or broken external links on wiki pages
 * Scribunto – Essential/core part of MediaWiki interface
 * SecureLinkFixer – Make sure all wikis using HTTPS
 * SpamBlacklist – Important anti-spam feature, allows administrators to blacklist spam websites from being mentioned
 * TitleBlacklist – Important anti-vandalism extension, allows administrators to prevent pages with certain titles and certain usernames from being created
 * TorBlock – Important anti-vandalism and anti-spam extension, prevents vandals from using Tor to rapidly change IP addresses
 * UserMerge – Allows Miraheze Stewards to merge contributions of one user account into another. Not used frequently but is used for various maintenance purposes
 * WikiDiscover – Internal Miraheze extension that shows all Miraheze wikis with some general information about them
 * WikiEditor – Essential/core part of MediaWiki interface
 * CLDR – Provides 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:
 * CategoryTree – Popular extension used by multiple wikis
 * Cite & CiteThisPage – Important and popular extension used for generating citations for wiki pages
 * DarkMode – Enables a dark user interface. Used for accessibility reasons and for personal preferences
 * GlobalUserPage – Allows users to display the content from their userpage on Miraheze Login Wiki on all wikis if they have not created a local userpage
 * MobileFrontend – Important MediaWiki feature for wikis that wish to support editing from mobile devices (which is the vast majority of wikis)
 * Purge – Adds in a purge button instead of needing to edit the URL to have "?action=purge"
 * SyntaxHighlight – Highlights syntax
 * UrlShortener – Adds the Get shortened URL to the sidebar
 * WikiSEO – Improves 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:

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.


 * AccessControl – Doesn't work on MediaWiki 1.29+, and also has privacy issues
 * BlockBatch – Not actively maintained, see T7303
 * BlueSpice – Security risk
 * Configure – No longer maintained upstream (hasn't worked since MediaWiki 1.18), and ManageWiki essentially does the same thing
 * ConfirmAccount – Incompatible with CentralAuth - Since user accounts exist globally it is not possible to have individual wikis require accounts be approved
 * DeleteBatch – Technical limitations, see T956
 * DisableAccount – Declined due to privacy reasons
 * Drafts – Not actively maintained; no known alternative
 * EditAccount – Incompatible with CentralAuth - Since user accounts are global, editing a user's information on one wiki would affect all wikis. Also allowing other users to change email addresses and passwords is a major privacy and security risk
 * EditUser – Same reasons at EditAccount
 * EmbedAnything – Security risk
 * ExternalLinks – Security risk, see T1555
 * Globaluserrights – Incompatible with Special:CentralAuth
 * Html2Wiki - Unreadable code making a review by Miraheze technical volunteers difficult, see T2740
 * Html5mediator – Declined due to security issues (arbitrary JS insertion), T1640.
 * Markdown – Not actively maintained upstream
 * MiniInvite – Security risk
 * MultiUpload – Not maintained upstream. You can use MsUpload, which provides similar functionality.
 * OpenID Connect – Security risk
 * PageViewInfo – Incompatible with Miraheze, specific for Wikimedia
 * Replace Text – Incompatible with database compression
 * PluggableAuth – Security risk
 * SecurePoll – Reveals private information
 * Site settings – ManageWiki does the same thing (actually even more), and up until recently this extension had a major security flaw
 * SpecialNamespaces – ManageWikiNamespaces does the same thing.
 * Tasks Extension – Flagged as unstable, indicating one or more parts, or even the entire extension, is broken
 * UserGroups – ManageWikiPermissions does the same thing
 * Widgets – Security risk, see 2020-12-23 Security Disclosure
 * WikiBanner – We don't accept ads
 * Extensions made by Fandom without independent documentation on mediawiki.org—such as Special:Withoutimages, MediaWiki:ImportJS, and Special:AdminDashboard—and considered too specific for Fandom. Use similar extensions instead.

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.