Jump to content

Validate External Links: Difference between revisions

m
changing link from http->https
m (changing link from http->https)
m (changing link from http->https)
Line 4: Line 4:
While MediaWiki makes it easy to find bad links to pages on our own wiki, marking them in red and providing tools like [[Special:Wantedpages|Wantedpages]], there is no automatic check of external links. MediaWiki compiles external links into a table, but it does not ping the URLs to see if they give any response. Over the years, many links on our wiki went dead as the Web changed and various file hosts went out of business. ValExtLinks has been used to fix over 1,000 link issues on OniGalore.
While MediaWiki makes it easy to find bad links to pages on our own wiki, marking them in red and providing tools like [[Special:Wantedpages|Wantedpages]], there is no automatic check of external links. MediaWiki compiles external links into a table, but it does not ping the URLs to see if they give any response. Over the years, many links on our wiki went dead as the Web changed and various file hosts went out of business. ValExtLinks has been used to fix over 1,000 link issues on OniGalore.


Here's how the process works: at 6:20am and 2:20pm (GMT) each day, a script written by [[User:Admin|Alloc]] dumps the wiki's external links table to [http://wiki.oni2.net/w/extlinks.csv this location]. Val, which Iritscen runs on his computer periodically, walks through the exported table and looks for URLs that return problematic codes such as 404. It also detects other lesser problems with links. Val then makes suggestions for fixing these links and uploads its report to the location above (note that an RTF and TXT version are also uploaded). A wiki editor reviews the report and acts accordingly.
Here's how the process works: at 6:20am and 2:20pm (GMT) each day, a script written by [[User:Admin|Alloc]] dumps the wiki's external links table to [https://wiki.oni2.net/w/extlinks.csv this location]. Val, which Iritscen runs on his computer periodically, walks through the exported table and looks for URLs that return problematic codes such as 404. It also detects other lesser problems with links. Val then makes suggestions for fixing these links and uploads its report to the location above (note that an RTF and TXT version are also uploaded). A wiki editor reviews the report and acts accordingly.


==How to fix link issues==
==How to fix link issues==
1,985

edits