Link checker: Difference between revisions

From Freephile Wiki
Created page with "When you have a website, you need to constantly tend the garden of links you have. Links go missing unfortunately. Some tools you can use: # [http://htcheck.sourceforge.net/..."
 
No edit summary
 
Line 4: Line 4:
# [http://search.cpan.org/dist/W3C-LinkChecker/ checklink] is a Validator by the W3C  [https://validator.w3.org/checklink/ Use it online], or download the CPAN module
# [http://search.cpan.org/dist/W3C-LinkChecker/ checklink] is a Validator by the W3C  [https://validator.w3.org/checklink/ Use it online], or download the CPAN module


== Wiki link checkers ==
I want a "link suggester" that scans the article body, and suggests links for words and phrases in the content. Suggestions are for content found in the same wiki.  As a wiki author, I often write up a page of content that will be devoid of any links unless I am familiar with other on-wiki content - and even then I have to manually create the links. I wish there was a 'wizard' that you could invoke while in edit mode where you could just click through a series of link suggestions to add links to the page.
I'm thinking the initial step would be to analyze the content and rank keywords and phrases (leveraging [[mw:Extension:CirrusSearch/CompletionSuggester|CirrusSearch/CompletionSuggester]] no doubt) to create 10 words and phrases that should be linked. Then see if there are Title matches for those.
I discovered a tool on Toolforge that does exactly what I want - except it suggests wikidata items. [https://toolhub.wikimedia.org/tools/autosuggest-linking-wikidata Autosuggest Linking Wikidata]  is a Gadget. ([https://gitlab.wikimedia.org/repos/commtech/autosuggest-sitelink/-/tree/main repo on GitLab]) . I should probably begin using this tool to link to Wikidata items.
== See also ==
[[Linked Data]]
[[Category:Tools]]
[[Category:Tools]]
[[Category:Semantic MediaWiki]]
[[Category:Search]]
[[Category:Javascript]]
[[Category:Gadget]]

Latest revision as of 11:50, 3 June 2025

When you have a website, you need to constantly tend the garden of links you have. Links go missing unfortunately. Some tools you can use:

  1. Ht://Check An oldy but goody.
  2. LinkChecker probably the most modern and easy to use. Written in Python and code is on GitHub https://github.com/wummel/linkchecker There is a package for Ubuntu (and maybe others?)
  3. checklink is a Validator by the W3C Use it online, or download the CPAN module

Wiki link checkers[edit]

I want a "link suggester" that scans the article body, and suggests links for words and phrases in the content. Suggestions are for content found in the same wiki.  As a wiki author, I often write up a page of content that will be devoid of any links unless I am familiar with other on-wiki content - and even then I have to manually create the links. I wish there was a 'wizard' that you could invoke while in edit mode where you could just click through a series of link suggestions to add links to the page.

I'm thinking the initial step would be to analyze the content and rank keywords and phrases (leveraging CirrusSearch/CompletionSuggester no doubt) to create 10 words and phrases that should be linked. Then see if there are Title matches for those.

I discovered a tool on Toolforge that does exactly what I want - except it suggests wikidata items. Autosuggest Linking Wikidata is a Gadget. (repo on GitLab) . I should probably begin using this tool to link to Wikidata items.

See also[edit]

Linked Data