Extension:RottenLinks
Appearance
リリースの状態: 安定 |
|
|---|---|
| 説明 | Provides the Special page Special:RottenLinks. |
| 作者 | John Lewis, Paladox, Universal Omega |
| メンテナー | Miraheze system administrators |
| 最新バージョン | continuous updates |
| MediaWiki | 1.39+ |
| PHP | 7.2+ |
| データベースの変更 | はい |
| Composer | miraheze/rotten-links |
| ライセンス | GNU 一般公衆利用許諾書 3.0 以降 |
| ダウンロード | GitHub: README CHANGELOG |
|
|
|
The RottenLinks extension provides the special page "Special:RottenLinks", which shows a table of all external links on your wiki pages, and tells you their status.
問題やバグを報告するには、Miraheze Phabricatorを使用してください。 ワークボードについてはこちらを参照してください。
インストール
- ダウンロードして、ファイルを
extensions/フォルダー内のRottenLinksという名前のディレクトリ内に配置します。 - 以下のコードを LocalSettings.php ファイルの末尾に追加します:
wfLoadExtension( 'RottenLinks' );
- 更新スクリプトを実行します。このスクリプトは、この拡張機能が必要とするデータベーステーブルを自動的に作成します。
- 必要に応じて設定します。
- Run the following script to populate the special page "Special:RottenLinks":
php extensions/RottenLinks/maintenance/updateExternalLinks.php
完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
If you would like to use RottenLinks with MediaWiki 1.39, you have to use the REL1_39 branch.
設定
$wgRottenLinksBadCodes- Holds a list of HTTP codes that are considered bad. 既定値は
[ "0", "400", "401", "403", "404", "405", "502", "503", "504" ]です。 $wgRottenLinksCurlTimeout- Sets the timeout for cURL in seconds. 既定値は
30です。 $wgRottenLinksHTTPProxy- Sets a proxy to use for requests. Defaults to
""(use no proxy). 例:$wgRottenLinksHTTPProxy = "http://username:password@proxy.example.com:8080"; $wgRottenLinksExcludeProtocols- Holds a list of protocols that should not be checked for validity. 既定値は
[ "tel", "mailto" ]です。 $wgRottenLinksExternalLinkTarget- Sets the external link target (
_selffor the current tab or_blankfor new tab). 既定値は_selfです。 $wgRottenLinksExcludeWebsites- List of websites to blacklist checking of response codes for. 既定値は
falseです。 Omit the protocol, e.g. use$wgRottenLinksExcludeWebsites = [ "www.example.com" ];
使用法
Run the "updateExternalLinks.php" script provided with the extension every time you would like to create or update the list of rotten links shown on special page "Special:RottenLinks".
| この拡張機能は以下のウィキ ファーム/ウィキ ホスト/パッケージに含まれています: これは正式な一覧ではありません。 一部のウィキ ファーム/ウィキ ホスト/パッケージは、ここに記載されていなくてもこの拡張機能を含んでいる場合があります。 必ずご利用のウィキ ファーム、ウィキ ホスト、バンドルで確認してください。 |
| この拡張機能は Miraheze が保守しています。 Mirahezeの拡張機能の中にはMirahezeに特化したものも存在し、Mirahezeでは見られない問題に遭遇するかもしれません。 バグの報告や設定変更の依頼は、ウィキメディアの Phabricator ではなく、Miraheze Issue Tracker でお願いします。 |
Categories:
- Stable extensions/ja
- Extensions with invalid or missing type/ja
- Extensions supporting Composer/ja
- GPL licensed extensions/ja
- Extensions in GitHub version control/ja
- LoadExtensionSchemaUpdates extensions/ja
- All extensions/ja
- Extensions included in Canasta/ja
- Extensions included in Miraheze/ja
- Extensions included in WikiForge/ja
- Extensions by Miraheze/ja
- Wiki farm extensions
