Page MenuHomePhabricator

Consistently use Special:MyLanguage links for outgoing on-wiki links
Closed, ResolvedPublic

Description

Though this is already the case in the content draft, creating this task to doublecheck.

Ideally create an automated validator

Event Timeline

Aklapper triaged this task as Lowest priority.Aug 3 2021, 5:29 PM
bd808 renamed this task from Consistently use Special:My:Language links for outgoing on-wiki links to Consistently use Special:MyLanguage links for outgoing on-wiki links.Dec 19 2021, 4:23 AM
apaskulin raised the priority of this task from Lowest to High.Apr 21 2022, 12:47 AM
apaskulin updated the task description. (Show Details)
apaskulin lowered the priority of this task from High to Medium.Apr 21 2022, 12:53 AM
Aklapper changed the task status from Open to Stalled.May 12 2022, 9:36 AM
Aklapper claimed this task.

I assume it's sufficient to go to data/documents/ in a fresh https://gerrit.wikimedia.org/g/wikimedia/developer-portal/ checkout and run
grep -r "org/w" . | grep -v "/Special:MyLanguage/" to get wiki-only URLs.
Command output currently only list results from wikitech.wikimedia.org so we're fine if we don't make further URL changes/additions.

Should check one more time when being close to launch so keeping this open.

apaskulin changed the task status from Stalled to Open.May 25 2022, 6:08 PM
apaskulin added a subscriber: apaskulin.

I think we're close enough to launch to evaluate and close this

LGTM:

$:acko\> cd ~/coding/wikimedia-git/wikimedia/developer-portal/
$:acko\> git branch 
* main
$:acko\> git pull
Already up to date.
$:acko\> cd data/documents/
$:acko\> grep -r "org/w" . | grep -v "/Special:MyLanguage/"
./software-deployments.yaml:  - url: https://wikitech.wikimedia.org/wiki/Deployments
./infrastructure-contribute.yaml:  - url: https://wikitech.wikimedia.org/wiki/Get_involved
./toolforge.yaml:  - url: https://wikitech.wikimedia.org/wiki/Portal:Toolforge
./toolforge-quickstart.yaml:  - url: https://wikitech.wikimedia.org/wiki/Portal:Toolforge/Quickstart
./blubber.yaml:  - url: https://wikitech.wikimedia.org/wiki/Blubber
./successful-tools.yaml:  - url: https://wikitech.wikimedia.org/wiki/Help:Toolforge/Developing_successful_tools
./technical-infra.yaml:  - url: https://wikitech.wikimedia.org/wiki/Wikimedia_infrastructure
./mediawiki-action-api.yaml:  - url: https://www.mediawiki.org/wiki/Special:ApiSandbox
./cloud.yaml:  - url: https://wikitech.wikimedia.org/wiki/Help:Cloud_Services_introduction
./paws.yaml:  - url: https://wikitech.wikimedia.org/wiki/PAWS
$:acko\>