扩展

From Miraheze Meta, Miraheze's central coordination wiki
This page is a translated version of the page Extensions and the translation is 49% complete.
Outdated translations are marked like this.
Extensions

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

可用扩展

全域扩展

一些扩展默认情况下在所有Miraheze的维基上全局开启,并且不能在本地维基上禁用。下面列举了这些扩展,以及简短的关于为什么全局开启的理由。

  • AbuseFilter – 重要的反垃圾广告和反破坏行为的扩展;允许管理员阻止符合特定正则表达式的编辑
  • AntiSpoof – 防止创建虚假账户
  • BetaFeatures – 测试功能是全域安装的,但是用户可以根据个人喜好来关闭
  • CentralAuth – 定义了全域用户账户系统,没有这个,用户账户会崩溃
  • CentralNotice – 用于传播Miraheze的重要通知,比如计划停机
  • CheckUser – 重要的防破坏扩展,允许Miraheze监管员查找并封禁特定破坏账户的IP段
  • CreateWikiThis 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 – 因为法律/隐私原因而需要
  • ConfirmEdit – 重要的反滥用工具,生成一个验证码以避免未授权的自动化行为
  • DataDumpEnables backups to be taken from wikis
  • DiscordNotificationsIs used to log edits to #wiki-feed on discord
  • DismissableSiteNotice – 使站点通告可以关闭
  • Echo – 该扩展实现用户通知系统
  • EventLogging – CentralNotice需要的依赖
  • EventStreamConfig – Required dependency for EventLogging
  • GlobalBlocking – 重要的反破坏和反滥用扩展,允许Miraheze监管员和全域管理员封禁破坏多个维基的IP地址
  • GlobalCssJS – 全域账户系统的一部分,允许用户有适用于所有维基的用户界面样式
  • GlobalNewFiles
  • GlobalPreferences – 全域账户系统的一部分,允许用户在所有维基上都有默认偏好设置
  • 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 Issue Tracker
  • 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

默认扩展

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

  • CategoryTree – 许多维基上使用的流行扩展
  • Cite & CiteThisPage – 用于给Wiki页面生成引文的重要流行扩展
  • DarkMode – 启用暗黑用户界面。考虑到无障碍原因以及个人喜好,因此使用。
  • GlobalUserPage – 允许用户在所有维基上显示Miraheze Login Wiki上的用户页内容,如果没有创建本地用户页
  • 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

其他扩展

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

{{{1}}}

被拒绝的扩展

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

免责声明

  • 申请新扩展:如果你想要申请新的扩展,请在phab:Phabricator创建任务。请注意,任何未被至少一个维基媒体基金会项目使用的扩展都需要在安装前进行安全检查,检查的目的是核查代码以确保不会导致Miraheze或者扩展用户出现安全或者隐私风险。
  • 受限扩展:全域启用的扩展列表中的一些扩展是受限制的,不能由单独的维基或用户使用,且可以由Miraheze监管员和/或系统管理员单独使用。这通常是出于以下原因:扩展可能会暴露一般情况下访问不到的隐私信息,但可能需要被访问以阻止滥用和破坏;扩展影响Miraheze的全局操作,因此在Meta Wiki之外使用扩展可能会造成破坏。
  • 关于MultiUpload:该扩展不再受到活跃维护,因此对于Miraheze来说不合适,不过对另一个维基托管服务ShoutWiki熟悉的用户可能注意到那里使用了。该扩展仅由ShoutWiki开发者作为副本维护,用于他们专门的服务,而且即使那些开发者也指出,如果最终崩溃,他们可能会停止维护。因此,还是应该使用MsUpload,功能都是类似的。