Links on mediawiki.org using Template:Method doclink and Template:Classdoclink are no longer providing working links to the MediaWiki PHP docs. Instances of these templates need to be modified to support namespaced classes.
To fix:
Links on mediawiki.org using Template:Method doclink and Template:Classdoclink are no longer providing working links to the MediaWiki PHP docs. Instances of these templates need to be modified to support namespaced classes.
To fix:
It looks like this is a result of T166010. For example:
So the class needs to be replaced with the namespaced class and the anchor needs to be updated, as @Wargo pointed out.
It looks like this also impacts https://www.mediawiki.org/wiki/Template:Class_doclink, however those links only need class names updated.
We'll need to update the anchors one by one anyways, but should we add namespaced class names in the class parameter (such as class=MediaWiki\Parser\Parser) or should we add a namespace parameter to these templates (so we'd have namespace=MediaWiki\Parser class=Parser)?