Page MenuHomePhabricator

Can't download PDF of Lexeme data
Open, LowPublic

Description

Steps to reproduce:

https://www.wikidata.org/api/rest_v1/page/pdf/Lexeme%3AL10 returns an HTTP 404 error and the following JSON,

{"type":"https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route","title":"Not found.","method":"get","uri":"/www.wikidata.org/v1/page/pdf/Lexeme%3AL10"}

Event Timeline

I've hidden the "Download as PDF" option last year as it also doesn't work for regular items, but it seems the CSS has changed.

Lydia_Pintscher subscribed.

Can we then just hide the link for Lexemes as well?

I've updated MediaWiki:Common.css (diff) to consistently hide the link because it didn't work for any namespace I tried. It's not a proper fix though - the links shouldn't be generated in the first place if they don't work.