Module talk:SDcat: Difference between revisions

Content deleted Content added
Line 31:
::: In my case specifically, they are not supposed to "make sense", just work for the purpose of displaying the article approximately like how it would appear here, which it does just fine. Adding this failsafe eases the process of quickly setting up such an instance. It also avoids errors here when Wikidata is offline for whatever reason. I checked on the template again locally and returning an empty string works just fine in this case. Implementing it that way would also avoid mass category-stuffing in the case of a Wikidata outage. [[User:IceWelder|<span style="font-variant: small-caps;">IceWelder</span>]] &#91;[[User talk:IceWelder|<span style="color: #424242;">&#9993;</span>]]&#93; 17:02, 16 August 2020 (UTC)
:::: I reverted the change for now but documented the new approach at [[Module:SDcat/sandbox]]. [[User:IceWelder|<span style="font-variant: small-caps;">IceWelder</span>]] &#91;[[User talk:IceWelder|<span style="color: #424242;">&#9993;</span>]]&#93; 17:14, 16 August 2020 (UTC)
::::: Wikidata was once offline, and the result was that [[phab:T157651|viewing every single non-talk page produced an error]], rendering any tracking category pollution irrelevant. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 17:23, 16 August 2020 (UTC)