跳转到内容

维基百科:檢測連結

维基百科,自由的百科全书

檢測連結(英語:Checklinks)由英文維基百科用戶Dispenser所開發的專案,專門為主條目進行檢測。

檢測連結模式

模式 編碼 解釋 動作
運作中 (White) 0 發現連結正在運作中。 沒必要運作。
訊息 (Green) 1 連結可能重定向(HTTP Move (redirect))。 連結可能還有效,但需再確認。 如果服務器顯示HTTP 301(連結已經被永久改變了位置),則更新此連結。
警告 (Yellow) 2 Link that could pose a problem to users. This includes expiring News sources, subscription required, or low signal to noise of links to text. If the link is expiring ensure that all critical detail are fill in to allow someone to find an offline copy.
試著判斷 (Orange) 4 The tool thinks that the link is dead. 404 in redirects or redirection / of the website. Check the link, if dead attempt to use archiveurl with an archived copy from the Internet Archive, otherwise tag with {{dead link}}.
失效連結 (Red) 5 連結確定失效。 Ensure the link is correct and doesn't have any bits of wiki markup. If possible use archiveurl with an archived copy from the Internet Archive, otherwise tag with {{dead link}}.
服務器錯誤或連接問題 (Blue) 3 Five hundred Server Error or Connection Issue If a Server Error contact the webmaster to fix the problem. If a connection issue check to see if the Whois is still valid.
不良連結 (Purple) 6 Spamlink or Google Cache link Parking links should be removed. Google Cache links should be converted back to the regular link or archiveurl

安裝

您的common.js頁面加入以下代碼,並更新服务器缓存

$(function () {
	mw.util.addPortletLink(
		"p-tb",
		"https://dispenser.info.tm/~dispenser/cgi-bin/webchecklinks.py?page=" + mw.config.get('wgContentLanguage') + ":" + encodeURIComponent(mw.config.get('wgPageName')),
		"检测链接"
	);
});

在瀏覽任何頁面,點選左方工具底下的CHECKLINKS即可使用。