Extension:CleanChanges/zh

From Linux Web Expert

Revision as of 09:11, 4 December 2023 by 163.13.9.60 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MediaWiki扩展手册
CleanChanges
发行状态: 稳定版
File:CleanChanges.png
实现 用户界面
描述 More compact display of changes list
作者 Niklas Laxström (Nikerabbittalk)
最新版本 2019-01-17
兼容性政策 master分支维持向后兼容。
MediaWiki 1.30+
数据库更改
许可协议 未指定许可协议
下載 包含在语言扩展包中
示例 translatewiki.net
季度下載量 Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
正在使用的公开wiki数 Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
前往translatewiki.net翻譯CleanChanges-{zh-hans:扩展; zh-hant:擴充功能}-
問題 开启的任务 · 报告错误

The CleanChanges extension is based on enhanced changes list, but it tries to be more concise by hiding less important information by default. 需要JavaScript以使其功能齐全。 It works best in wikis where the number of changes per user is high.

It also provides two extra filters: by user and by language code suffix.

安裝

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/CleanChanges/zh</tvar>|Download]] and move the extracted <tvar name=name>CleanChanges/zh</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CleanChanges%2Fzh
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'CleanChanges/zh' );
    $wgDefaultUserOptions['usenewrc'] = 1;
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

配置

Parameters provided
  • $wgCCUserFilter - 默认为“true”。 It is needed to filter by user.
  • $wgCCTrailerFilter - 默认值为“false”。 It is needed to filter by language (code suffix).
  • $wgCCFiltersOnly - defaults to "true". TODO: document what to do with it.