Deeplink to the #list-of-retracted-articles section of the /author/ aspect #2710
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implements the first idea of #2709
Description
Before this path, the author list on the
/retraction/aspect links to the/author/aspect (only forP50), but it now links directly to the section on that aspect where the articles by that author that have been retracted are listed.Caveats
It assumes that that section always exist. The
/author/aspect only shows that section when retractions are discovered, but both aspects should use the same logic. That said, there are several models (and both aspect support several aspects) and noting that one is predominant, this is not expected to give a lot of problems. If it does, it basically is a curation event in Wikidata. BTW, if the section does not exist, it will just default to the author page, so there is no impact on the user experience.Testing
Checklist