Jump to content

Extension:RottenLinks/ko

From mediawiki.org
This page is a translated version of the page Extension:RottenLinks and the translation is 4% complete.
미디어위키 확장 기능 설명서
RottenLinks
출시 상태: 안정
설명 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

  • $wgRottenLinksBadCodes
  • $wgRottenLinksCurlTimeout
  • $wgRottenLinksExcludeProtocols
  • $wgRottenLinksExcludeWebsites
  • $wgRottenLinksExternalLinkTarget
Licence GNU General Public License 3.0 or later
다운로드
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.

For reporting an issue or a bug, please use Miraheze Phabricator. See here for the workboard.

설치

  • 파일을 Download하고 RottenLinks 폴더를 extensions/ 디렉토리에 넣어 주세요.
  • 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
    wfLoadExtension( 'RottenLinks' );
    
  • 갱신 스크립트를 실행합니다. 이 스크립트는 이 확장기능을 필요로 하는 데이터 베이스 테이블을 자동적으로 작성합니다.
  • Configure as required.
  • Run the following script to populate the special page "Special:RottenLinks":
    php maintenance/run.php RottenLinks:UpdateExternalLinks
    
Or, for MediaWiki before 1.40:
php extensions/RottenLinks/maintenance/updateExternalLinks.php
Since the REL1_42 branch, the filename has been UpdateExternalLinks.php, with a capital "U".
  • Yes 완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.
If you would like to use RottenLinks with MediaWiki 1.39, you have to use the REL1_39 branch. For MediaWiki 1.43, use the REL1_42 branch.

Configuration

$wgRottenLinksBadCodes
Holds a list of HTTP codes that are considered bad. Defaults to [ "0", "400", "401", "403", "404", "405", "502", "503", "504" ].
$wgRottenLinksCurlTimeout
Sets the timeout for cURL in seconds. Defaults to 30.
$wgRottenLinksHTTPProxy
Sets a proxy to use for requests. Defaults to "" (use no proxy). Example: $wgRottenLinksHTTPProxy = "http://username:password@proxy.example.com:8080";
$wgRottenLinksExcludeProtocols
Holds a list of protocols that should not be checked for validity. Defaults to [ "tel", "mailto" ].
$wgRottenLinksExternalLinkTarget
Sets the external link target (_self for the current tab or _blank for new tab). Defaults to _self.
$wgRottenLinksExcludeWebsites
List of websites to blacklist checking of response codes for. Defaults to false. Omit the protocol, e.g. use $wgRottenLinksExcludeWebsites = [ "www.example.com" ];

Usage

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 the special page "Special:RottenLinks".