Page MenuHomePhabricator

InternetArchiveBot breaks certain links on Turkish Wikipedia
Closed, ResolvedPublic

Description

Some links on the pages are not inside brackets. InternetArchiveBot is breaking those links while adding webarchive and dead link templates. It affects thousands of pages and the bot removes every fix as seen in https://tr.wikipedia.org/wiki/1977_Wimbledon_Tenis_Turnuvas%C4%B1_-_Tek_Kad%C4%B1nlar and https://tr.wikipedia.org/w/index.php?title=1977_Wimbledon_Tenis_Turnuvas%C4%B1_-_Tek_Kad%C4%B1nlar&action=history. The bot reverts the fixes.

The bot adds template as follows:

http://en.wikipedia.org/wiki/1977_Wimbledon_Championships_-_Women%27s_Singles{{Webarşiv|url=https://web.archive.org/web/20090805180835/http://en.wikipedia.org/wiki/1977_Wimbledon_Championships_-_Women%27s_Singles |tarih=5 Ağustos 2009 }}

MediaWiki parses this link as follows:

http://en.wikipedia.org/wiki/1977_Wimbledon_Championships_-_Women%27s_Singles5 Ağustos 2009 tarihinde Wayback Machine sitesinde arşivlendi.

Hence, the link becomes http://en.wikipedia.org/wiki/1977_Wimbledon_Championships_-_Women%27s_Singles5

Solution:

InternetArchiveBot should add a space between dead link and webarchive templates, and link; as follows:

http://en.wikipedia.org/wiki/1977_Wimbledon_Championships_-_Women%27s_Singles {{Webarşiv|url=https://web.archive.org/web/20090805180835/http://en.wikipedia.org/wiki/1977_Wimbledon_Championships_-_Women%27s_Singles |tarih=5 Ağustos 2009 }}

And, MediaWiki would parse:

http://en.wikipedia.org/wiki/1977_Wimbledon_Championships_-_Women%27s_Singles 5 Ağustos 2009 tarihinde Wayback Machine sitesinde arşivlendi.