As suggested by @Christine_Domgoergen_WMDE. It would be nice, if the link of every task would use the Wartungsbaustein or the unchecked link as an anchor. Like this the user is guided to the specific place where he or she is expected to edit and does not get lost in scrolling and searching for the unchecked link etc.
Description
Event Timeline
Thanks for this suggestion! I personally can not tell how complex this would be to implement. With Cirdan on vacation, could you, @RazShuty, help in giving us an idea whether this would be a small or large addition/ alteration to the existing code? (Not asking you to do it, just asking you to get an idea of how much work it would be, if you can estimate it. :))
Update after meeting with Software Engineering Team at WMDE on August 15th:
Whether this task is doable depends on the backend stuff: ” Does the entry for the Wartungsbaustein knows the section of the article it is in?"
@RazShuty , at our meeting you mentioned that @JeroenDeDauw could know this and that you wanted to ask him when he's back from vacation. Jeroen, maybe you could help us out and answer this question, if you're back from vacation? :)
Your answer would tell us
- whether this would be possible with the existing code
- if it would be a small enough task for the first launch, or if we put it in the backlog for further updates in the future
To give you some background: Mitmachen never looks at the article text at all. It queries a database table which records which template is used in which article. In that table, it looks for articles it knows to be within the category the user selected.
There is an easy solution which works for most articles: We can add HTML anchors to the Wartungsbausteine on dewiki so that we can jump to the Wartungsbaustein the same way we can jump to section headings (e.g. https://de.wikipedia.org/wiki/Wollschlaeger#Wappen goes to the "Wappen" section). As of right now, the "Lückenhaft" template already has an anchor (https://de.wikipedia.org/wiki/Biografie#Vorlage_Lueckenhaft), as does "Überarbeiten", but "Belege fehlen" does not. I will add the missing anchors. This solution will of course not work for articles where there is more than one Wartungsbaustein of a certain kind, but these cases are rare and Mitmachen does not signal a specific instance of a Wartungsbaustein anyway (actually, I'm not sure what happens if an article has two "Belege fehlen" templates, they might show up twice in Mitmachen).
The more difficult solution would be to search for the template location in the article text and then link to the section it is in, but this is quite tricky to get right and expensive (we need to retrieve and inspect at least the 10 articles we show at a given time). At least from my perspective, this would be beyond the scope of Mitmachen.
Works with all issues except unchecked dead link/archive links. Perhaps we need to change the cursor design again to indicate that we have links now.