Extensions/zh-cn

这是一个所有Miraheze上安装的扩展的列表，分三类：全域扩展（它们安装在所有维基上，并且不能被禁用，各有一个简短的原因）、默认扩展（在新维基上默认启用，但是可以被禁用）、普通扩展（不默认启用，但是可以在自己的维基上启用）. 这个页面同时也包括了一些被请求但不能安装的扩展，以及为什么不能的简要原因.

全域扩展
一些扩展默认情况下在所有Miraheze的维基上全局开启，并且不能在本地维基上禁用. 这些扩展在下面被列出，并且有一条简短的关于为什么全局开启的理由.


 * AbuseFilter – 重要的反垃圾广告和反破坏行为的扩展
 * AntiSpoof – 防止创建虚假账户
 * BetaFeatures – 测试功能是全域安装的，但是用户可以根据个人喜好来关闭
 * CentralAuth – Defines the global user account system, without it user accounts would break
 * CentralNotice – Used for distribution of important notices about Miraheze, such as planned downtime
 * CheckUser – Important anti-vandalism extension that allows Miraheze Staff to block the underlying IP ranges of vandalism accounts
 * CreateWiki – This is how new wikis are created (perhaps the most important extension!). Installed globally but only used on Meta. The extension is enabled globally due to technical reasons as ManageWiki requires this extension and wikis will break if it is not enabled.
 * CookieWarning – Required for legal/privacy reasons
 * ConfirmEdit – Important anti-spam tool, generates a CAPTCHA to prevent unauthorized automated actions
 * Echo – This extension implements the user notification system
 * EventLogging – Required dependency for CentralNotice
 * GlobalBlocking – Important anti-spam and anti-vandalism extension, allows Miraheze Staff to block IP addresses that vandalize multiple wikis
 * GlobalCssJS – Part of the global account system, allows users to have custom interface styling applied to all wikis
 * GlobalPreferences – Part of the global account system, allows users to have default preferences (settings) on all wikis
 * 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
 * Nuke – Important anti-vandalism extension, allows site administrators to mass delete multiple pages at once
 * OAuth – Internal Miraheze extension, used for linking wiki accounts with accounts for Miraheze Phabricator
 * OATHAuth – Important security feature, used for implementing 2-factor authentication
 * ParserFunctions – Essential/core part of MediaWiki interface
 * ParsoidBatchAPI – Required dependency for VisualEditor and Flow
 * RenameUser – Implements the ability for Miraheze Staff 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
 * SpamBlacklist – Important anti-spam feature, allows administrators to blacklist spam websites from being mentioned
 * SyntaxHighlight – Essential/core part of MediaWiki interface
 * 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 Staff 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

默认扩展
这些扩展在所有新维基上默认启用，但是可以通过Special:ManageWiki/extensions:来禁用


 * CategoryTree – 许多维基上使用的流行扩展
 * 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)

其他扩展
这些扩展安装在Miraheze上，可以通过Special:ManageWiki/extensions来在您的维基上启用，但并不默认启用：


 * AddThis
 * AdminLinks
 * AJAXPoll
 * ApprovedRevs
 * Arrays
 * ArticleFeebackV5
 * ArticleRatings
 * AuthorProtect
 * AutoCreateCategoryPages
 * BetaFeatures
 * BlogPage
 * Calendar-Wikivoyage
 * Capiunto
 * Cargo
 * CharInsert
 * CollapsibleVector
 * Comments
 * ContactPage
 * CookieWarning
 * CreatePage
 * CSS
 * CustomHeader
 * CustomNavBlocks
 * DPLForum
 * DynamicPageList
 * DynamicPageList3
 * Editcount
 * EducationProgram
 * FancyBoxThumbs
 * FlaggedRevs
 * Flow
 * FeaturedFeeds
 * GroupsSidebar
 * HeaderTabs
 * HideSection
 * HighlightLinksInCategory
 * ImageMap
 * JavascriptSlideshow
 * Josa
 * JsCalendar
 * Labeled Section Transclusion
 * LinkSuggest
 * Loops
 * Maps
 * MassEditRegex
 * MediaWikiChat
 * Moderation
 * MSCalender
 * MsCatSelect
 * MsUpload
 * MsLinks
 * MultiBoilerPlate
 * MultimediaViewer
 * NewestPages
 * Newsletter
 * NewUserMessage
 * NoTitle
 * PageForms
 * PageTitle
 * PDFEmbed
 * PDFHandler
 * Poll
 * Popups
 * Preloader
 * ProtectSite
 * Purge
 * Quiz
 * RandomSelection
 * RelatedArticles
 * Replace Text
 * RSS
 * SandboxLink
 * ScratchBlocks
 * SimpleTooltip
 * SiteScout
 * SocialProfile
 * Subpage Fun
 * SubPageList3
 * SyntaxHighlight
 * Tabber
 * Tabs
 * TemplateStyles
 * Translate
 * TimedMediaHandler
 * TitleKey
 * TwoColConflict
 * UserFunctions
 * Variables
 * VisualEditor
 * WebChat


 * WikiBase
 * WikiForum
 * WikiHiero
 * WikiLove
 * WikiTextLoggedInOut
 * YouTube

被拒绝的扩展
许多扩展被请求加入但出于各种原因没有被安装. 最常见的原因是这个扩展带来了不能忽视的安全（或/和）隐私风险、这个扩展没有被上游积极维护或是这个扩展与不能被删除的全域扩展冲突. 下面是被拒绝的扩展列表以及为什么被拒绝的原因.


 * AccessControl – 不能在MediaWiki 1.29+版本上使用，并且有隐私风险.
 * BlueSpice – 安全风险
 * Configure – 上游不再维护（不能在MediaWiki 1.18及以上的版本中使用），并且本质上和ManageWiki作用是一样的
 * ConfirmAccount – 与CentralAuth不兼容——用户账户是全域存在的，因此在其不可能在单独维基上需要被批准.
 * DeleteBatch – 技术限制，请见T956
 * DNSlookup – 侵犯用户隐私
 * EditAccount – 与CentralAuth不兼容——用户账户是全域存在的，因此在一个维基上编辑用户信息会影响所有维基，此外，允许其他用户更改电子邮件地址和密码也是重大的安全和隐私风险.
 * EditUser – 与EditAccount相同原因
 * EmbedAnything – 安全风险
 * EmbedVideo – 安全风险
 * External Data – 安全风险（写入数据库）
 * ExternalLinks – 安全风险，请见T1555
 * Html2Wiki - 代码不可读，请见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
 * Page Schemas - Unmaintained, likely requires Semantic MediaWiki, which is also declined (See the relevant task)
 * PluggableAuth – Security risk
 * SecurePoll – Reveals private information
 * Semantic MediaWiki – Miraheze does not currently have the resources to support SMW. You can use Cargo instead.
 * Semantic Text Annotator – Requires Semantic MediaWiki
 * Site settings – ManageWiki does the same thing (actually even more), and up until recently had a major security flaw
 * Tasks Extension – Flagged as unstable, indicating one or more parts, or even the entire extension, is broken
 * UploadWizard – Extension is too specific for Wikimedia. Unsuitable for independent wikis to be using it. See T288.
 * UserGroups – ManageWikiPermissions does the same thing.
 * Widgets – See 23-12-2020 Security Disclosure
 * WikiBanner – We don't accept ads
 * Extensions made by Fandom that do not have independent on mediawiki.org – extensions such as Special:Withoutimages, MediaWiki:ImportJS, and Special:AdminDashboard are 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 vulnurabilities that would expose either Miraheze as a whole and/or individual users of the extension to security and/or privacy risks. Unfortunately, this review process is severely backlogged, and therefore extension reviews can take several weeks to in some cases several months.


 * 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 the Miraheze Staff team - either 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.