Template talk:Class doclink
Add topicAppearance
Latest comment: 5 months ago by Skierpage in topic Produces broken links
Produces broken links
[edit]At https://www.mediawiki.org/wiki/Manual:Special_pages#General_Information it says:
All special pages inherit from a class called SpecialPage which is defined in includes/specialpage/SpecialPage.php
where SpecialPage is linked using this template.
The generated link is
- https://doc.wikimedia.org/mediawiki-core/master/php/classSpecialPage.html which is 404 NOT FOUND
- A documentation page does exist at
https://doc.wikimedia.org/mediawiki-core/master/php/SpecialPage_8php.html
Notice the absence of class and the presence of _8php in the existent URL - There is an (even better?) documentation page at
https://doc.wikimedia.org/mediawiki-core/master/php/classMediaWiki_1_1SpecialPage_1_1SpecialPage.html
Greg Rundlett (talk) 14:27, 4 April 2024 (UTC)
- For that matter, all the links on the doc page for this template are also 404 Greg Rundlett (talk) 14:55, 4 April 2024 (UTC)
- I fixed those examples links in the doc table by prepending
Mediawiki\Foo\
. I guess MediaWiki developers made the hierarchy more structured. Maybe the template logic needs to be adjusted? skierpage (talk) 03:29, 13 June 2024 (UTC)
- I fixed those examples links in the doc table by prepending