[02:05:31] what's the easiest way to check using the API if a page is a redirect? [02:08:02] Sagan: https://en.wikipedia.org/w/api.php?action=query&titles=Main%20page&redirects=1&formatversion=2 or https://en.wikipedia.org/w/api.php?action=query&titles=Main%20page&prop=info&formatversion=2 [02:10:10] legoktm: what does formatversion=2 do? [02:10:33] Sagan: see https://www.mediawiki.org/wiki/API:JSON_version_2 - in general you should always use formatversion=2 in new code [02:11:42] TIL [02:12:02] Nice to be rid of the pageid within pages [02:12:21] legoktm, thx for your solution, that was what I imagined :) [02:12:34] :) glad to help [02:13:05] and it also solves a problem that I would had in the future :D [02:13:34] "legoktm... solves your problem before you have one" :D [02:13:43] :) [15:39:23] Does anybody know how often tracking categories are updated and/or if purging a page's cache updates the tracking categories it is in? [15:54:57] Sid-G: You need to do not just a normal purge, but a linksupdate [15:55:01] so e.g. Make a null edit [15:58:03] ok [15:59:07] hmm, didn't seem to work [16:00:35] So I fixed a bunch of licensing templates at hiwp to add the machine-readable license tags, but the pages where these templates are used are still showing up in the tracking category [16:01:12] e.g https://hi.wikipedia.org/wiki/File:Hindi-00.png still has the Category:Files with no machine-readable license [16:02:14] Sid-G: Are you sure you modified the template correctly? [16:02:47] pretty much, the html source both on enwp and hiwp seems the same [16:06:45] For example, https://en.wikipedia.org/wiki/File:Caption.gif and https://hi.wikipedia.org/wiki/File:%E0%A4%95%E0%A4%82%E0%A4%98%E0%A4%BE.JPG both use the same template's versions on hiwp and enwp, which gives the same license tag output, but the page at hiwp is in the tracking category [16:07:31] The template in question is https://en.wikipedia.org/wiki/Template:PD-simple and its hiwp counterpart https://hi.wikipedia.org/wiki/%E0%A4%B8%E0%A4%BE%E0%A4%81%E0%A4%9A%E0%A4%BE:%E0%A4%B8%E0%A4%BE%E0%A4%95%E0%A5%8D%E0%A4%B7%E0%A5%87-%E0%A4%AA%E0%A4%BE%E0%A4%A0 [16:19:13] bawolff, could you take a look at it?