Module talk:SDC tracking

Latest comment: 1 year ago by Jarekt in topic Tracking broken

require('strict') edit

{{Edit protected}} As per the new lua feature mentioned at m:Tech/News/2022/42, could require('Module:No globals') be replaced with require('strict') -- WOSlinker (talk) 17:26, 25 October 2022 (UTC)Reply

✓ Done Jonesey95 (talk) 16:09, 26 October 2022 (UTC)Reply

Tracking broken edit

@Jarekt: I undid your change because categories like Category:Creative Commons Attribution-Share Alike 4.0 missing SDC copyright license were no longer added. Not sure what is going on here. Multichill (talk) 10:31, 25 November 2022 (UTC)Reply

@Multichill: That code change relates to how the code behaves when the entity does not exist (yet). Current code assigns a category to such a case and the previous one did not. I do not remember what issue was my change trying to solve. --Jarekt (talk) 18:12, 25 November 2022 (UTC)Reply
@Jarekt: this version we had for several years. You changed it to this version and seem to have completely removed the namespace filter. Why? I noticed because categories like Category:Rijksmonumenten missing SDC depicts are filled up with subcategories. Multichill (talk) 14:05, 1 January 2023 (UTC)Reply
@Multichill: , I think what I was aiming for was ability to test and debug as in Module:SDC tracking/testcases, so I set up the code so that it works when there is SDC data (file namespace) or I provide M-code or Q-code. What I forgot was that pages like categories are connected to Wikidata the same way files are connected to SDC. I could add "namespace" parameter set to "file" by default, which I can flip to "all" when testing. --Jarekt (talk) 21:32, 1 January 2023 (UTC)Reply
@Jarekt: can you fix this? Multichill (talk) 17:49, 11 March 2023 (UTC)Reply
@Multichill: , should be fixed now. Let me know if there are issues. --Jarekt (talk) 02:16, 13 March 2023 (UTC)Reply
@Jarekt: thanks! I forgot to mention I also added a filter so I guess we have a double fail safe now. Multichill (talk) 20:41, 13 March 2023 (UTC)Reply
@Multichill: , I like your filter in the template. It is simpler then the logic I put in lua code. I am also purging subcategories of Category:Rijksmonumenten missing SDC depicts, but there might be other categories full of subcats. --Jarekt (talk) 12:29, 14 March 2023 (UTC)Reply
Return to "SDC tracking" page.