Extension:AnonPrivacy/ja

Category:GPL licensed extensions/ja
MediaWiki 拡張機能マニュアル
AnonPrivacy
リリースの状態: 安定Category:Stable extensions/ja
実装 ユーザー インターフェイスCategory:User interface extensions/ja
説明 Hides the IPs of anonymous users to everyone but admins.
作者 Sophivorusトーク
最新バージョン 1.1 (2020-03-15)
MediaWiki 1.35+Category:Extensions with manual MediaWiki version/ja
ライセンス GNU 一般公衆利用許諾書 3.0
ダウンロード Category:Extensions in Wikimedia version control/ja
  • anonprivacy
translatewiki.net で翻訳を利用できる場合は、AnonPrivacy 拡張機能の翻訳にご協力ください
Category:All extensions/ja

The AnonPrivacy extension hides the IPs of anonymous users to everyone but admins, in the recent changes, related changes, watchlists, page histories, etc. IPs can still be found via the API.

AnonPrivacy can also hide IP addresses in the block list or the target in the logs.

Limitations

If an anonymous user moves a page, their IP address will be shown even with anonprivacy turned on.

Any unblocked user who clicks the "Undo" button on an anonymous user can see the IP address of the unregistered user unless the edit can't be undone due to conflicting intermediate edits.

If you export the page history then import it to a different wiki or open the xml file, you can see the IP addresses.

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のAnonPrivacyという名前のディレクトリ内に配置します。
    開発者とコード寄稿者は、上記の代わりに以下を使用してGitからインストールします:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/AnonPrivacy
    
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'AnonPrivacy' );
    
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

設定

The extension introduces an extra user right called "anonprivacy". Any user with this right is able to see the IPs, while any user without it is not able to see them. Admins are given the right by default. To give the right to any other user groups, add the following to your LocalSettings.php:

$wgGroupPermissions['groupname'] = 'anonprivacy';

IPs can still be seen through the API via for example api.php?action=feedrecentchanges. Syndication feeds can be disabled by adding the following to the bottom of your LocalSettings.php:

$wgFeed = false;

However, IPs will still visible through other API methods. Solving this issue should be a priority for future development. In the meantime, a workaround is to disable the API entirely by adding the following to the bottom of your LocalSettings.php:

$wgEnableAPI = false;

Please notice that this feature is deprecated and was removed in MediaWiki 1.32.

関連項目

Category:All extensions/ja Category:Extensions in Wikimedia version control/ja Category:Extensions with manual MediaWiki version/ja Category:GPL licensed extensions/ja Category:HtmlPageLinkRendererEnd extensions/ja Category:Stable extensions/ja Category:User interface extensions/ja