Hallo,
If I link to a section (anchor) that doesn't exist, for example [[Valentina Tereshkova#There's no such section]], the link will still be blue.
Did anybody ever consider showing them in a different color, for example?
I cannot find anything like that in Phabricator.
-- Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי http://aharoni.wordpress.com “We're living in pieces, I want to live in peace.” – T. Moore
2014-12-31 11:54 GMT+01:00 Amir E. Aharoni amir.aharoni@mail.huji.ac.il:
Hallo,
If I link to a section (anchor) that doesn't exist, for example [[Valentina Tereshkova#There's no such section]], the link will still be blue.
Did anybody ever consider showing them in a different color, for example?
And what about coloring interwiki links to other language wikis or side projects? I understand that it may be an inappropriate wish for general MW-installations, but perhaps solveable within WM. I just write it here because I don't see if these are connected or independent tasks.
I wrote a bot to fix broken section links based on history of target article, I ran it in several wikis including English Wikipedia. https://en.wikipedia.org/wiki/Wikipedia:Bots/Requests_for_approval/Dexbot_1
I can run it in any wikis, It uses fuzzy logic and it should calibrated with the target wiki.
But technically showing broken section links with different color or element id is not easy (AFAIK) since sections of pages are not being stored in database.
Best
On Wed, Dec 31, 2014 at 2:32 PM, Bináris wikiposta@gmail.com wrote:
2014-12-31 11:54 GMT+01:00 Amir E. Aharoni amir.aharoni@mail.huji.ac.il:
Hallo,
If I link to a section (anchor) that doesn't exist, for example
[[Valentina
Tereshkova#There's no such section]], the link will still be blue.
Did anybody ever consider showing them in a different color, for example?
And what about coloring interwiki links to other language wikis or side projects? I understand that it may be an inappropriate wish for general MW-installations, but perhaps solveable within WM. I just write it here because I don't see if these are connected or independent tasks. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
2014-12-31 12:07 GMT+01:00 Amir Ladsgroup ladsgroup@gmail.com:
I wrote a bot to fix broken section links based on history of target article, I ran it in several wikis including English Wikipedia. < https://en.wikipedia.org/wiki/Wikipedia:Bots/Requests_for_approval/Dexbot_1
I can run it in any wikis, It uses fuzzy logic and it should calibrated with the target wiki.
Thanks, I like it. :-)
Amir Ladsgroup wrote:
I wrote a bot to fix broken section links based on history of target article, I ran it in several wikis including English Wikipedia. https://en.wikipedia.org/wiki/Wikipedia:Bots/Requests_for_approval/Dexbot
I can run it in any wikis, It uses fuzzy logic and it should calibrated with the target wiki.
There's also this database report: https://en.wikipedia.org/wiki/Wikipedia:DBR/Broken_section_anchors
Fixing broken section anchors is difficult as it typically requires human judgment. Some cases are trivial (section heading was lightly edited), but many cases require re-thinking where the redirect is targeted to altogether. For example, "No good deed goes unpunished" points to "The road to hell is paved with good intentions#Similar aphorisms", but that section is now completely removed from the article as is any mention of that phrase. Perhaps the redirect should point elsewhere, perhaps it should be deleted, etc. In other cases, it sometimes makes sense to revert the section heading change as it was wrong and sometimes it makes sense to add an additional {{anchor}} in order to support the == heading == and alternate plausible anchors to the same section. Implementing artificial intelligence to resolve broken section anchors is... difficult. :-)
But technically showing broken section links with different color or element id is not easy (AFAIK) since sections of pages are not being stored in database.
https://www.mediawiki.org/wiki/Manual:Redirect_table has rd_fragment. https://www.mediawiki.org/wiki/Manual:Pagelinks_table does not have a similar field. A fragment field for pagelinks would probably only make sense if we also tracked individual link instances on a particular page. Currently it's binary tracking (page links to another page or not).
MZMcBride
Aim of the bot is not fixing ALL broken section links, but to make human work as low as possible.
Best
On Sun, Jan 4, 2015 at 9:16 AM, MZMcBride z@mzmcbride.com wrote:
Amir Ladsgroup wrote:
I wrote a bot to fix broken section links based on history of target article, I ran it in several wikis including English Wikipedia. https://en.wikipedia.org/wiki/Wikipedia:Bots/Requests_for_approval/Dexbot
I can run it in any wikis, It uses fuzzy logic and it should calibrated with the target wiki.
There's also this database report: https://en.wikipedia.org/wiki/Wikipedia:DBR/Broken_section_anchors
Fixing broken section anchors is difficult as it typically requires human judgment. Some cases are trivial (section heading was lightly edited), but many cases require re-thinking where the redirect is targeted to altogether. For example, "No good deed goes unpunished" points to "The road to hell is paved with good intentions#Similar aphorisms", but that section is now completely removed from the article as is any mention of that phrase. Perhaps the redirect should point elsewhere, perhaps it should be deleted, etc. In other cases, it sometimes makes sense to revert the section heading change as it was wrong and sometimes it makes sense to add an additional {{anchor}} in order to support the == heading == and alternate plausible anchors to the same section. Implementing artificial intelligence to resolve broken section anchors is... difficult. :-)
But technically showing broken section links with different color or element id is not easy (AFAIK) since sections of pages are not being stored in database.
https://www.mediawiki.org/wiki/Manual:Redirect_table has rd_fragment. https://www.mediawiki.org/wiki/Manual:Pagelinks_table does not have a similar field. A fragment field for pagelinks would probably only make sense if we also tracked individual link instances on a particular page. Currently it's binary tracking (page links to another page or not).
MZMcBride
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org