Jump to content

Module talk:SDcat

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by IceWelder (talk | contribs) at 16:44, 16 August 2020 (Wikidata is unavailable: Replying to Pppery (using reply-link)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Testing

Check whether local short description matches that on Wikidata
Article Wikidata description Short description Category
Douglas Adams (Q42) English science fiction writer and humorist (1952–2001) English author and humorist (1952–2001) Category:Short description is different from Wikidata
Christian art (Q645717) art genre Art genre Category:Short description matches Wikidata
Resultado do tratamento das fístulas enterovesicais para doença de Crohn (Q58861153) Category:Short description with empty Wikidata description

Wikidata is unavailable

@IceWelder: What is the point of this edit? Why would this module be used on a wiki where Wikidata is unavailable, and why would it be a good idea to populate the "different" tracking category with every single use if that were the case? * Pppery * it has begun... 16:37, 16 August 2020 (UTC)[reply]

Pppery, there is no guarantee that Wikidata is always available, and when it is not, this template produces an error displayed in red and bold on every single article using shortdescs. I use a local MediaWiki instance for preparing some of the articles I write and export/import the pages I intend to rewrite, which is how I noticed the issue. There are no trade-offs to this change. I assumed that the "different" category was the default, based on how the template was previously set up. If this is incorrect, I would be fine with changing it to another (I'm yet to test whether it works with none at all). IceWelder [] 16:44, 16 August 2020 (UTC)[reply]