Main components:
- MediaWiki abuse filter
Problem:
An error message from Wikidata's abuse filter contains links that point to local pages instead of Wikidata pages when accessed via the Wikibase client.
Steps to reproduce:
Go to pi:Module:Documentation/styles.css > Click on "add links" under the languages section of the left sidebar > Select enwiki and try to add en:Module:Documentation/styles.css > Error notice appears that have links to two locally non-existent pages.
If triggered directly on Wikidata the message points to the right pages.
Example that triggered this task:
- AbuseFilter: https://www.wikidata.org/wiki/Special:AbuseFilter/36
- Message: https://www.wikidata.org/wiki/MediaWiki:Abusefilter-warning-subpages
- Discussion: https://www.wikidata.org/wiki/Wikidata:Report_a_technical_problem/Archive/2022/05#Non-existent_links_in_error_notice
Notes:
It’s arguable whether [[Xyz]] should automatically use an absolute href when used in an AbuseFilter or not, but the community should at least be able to solve this issue by explicitly marking the link as an interwiki link with [[d:Xyz]] (where d: is an interwiki prefix for the current wiki).
Screenshots:
Acceptance criteria:
- Links in abuse filter messages point to the right places if triggered locally as well as if triggered via Wikibase client.
Open questions: