[00:24:49] Now that we have labels, I still don't really understand what this means. For example Z39682 emits warnings of Z592. Where should I be looking to cut back the size of the result in the executor? The result of the function test is very short. (re @Mateo: If I'm going to guess, the first bullet point means the "actual" size reached, and the second bullet point is the [00:24:49] "recommended" ...) [03:15:57] If you are writing language functions, and are ever even 1% in doubt, always include a parameter to pass in the language variant. I've just found Z39741 which will be hard to untangle, because I didn't put a language parameter in Z32645. [03:18:53] (On Wikidata the en label is "Australian continent" but the en-gb label used by en-au is "Australia". Perhaps I'll just end up changing one of these, the point is, the presence of the definite article depends which particular alias you're using, which may differ for different variants.) [04:05:41] Do not use "zh" without specifying the script "Hans"/"Hant", as you would get unexpected mixed-script string, especially when getting Wikidata labels. (re @u99of9: Now that we have labels, I still don't really understand what this means. For example Z39682 emits warnings of Z592. Where shoul...) [08:52:09] I've added a language variant/script argument for this function. @cvictorovich FYI (re @Winston_Sung: Do not use "zh" without specifying the script "Hans"/"Hant", as you would get unexpected mixed-script string, especially when ge...) [13:42:42] I'm thinking of placing a "please use non-mixed-script language" warning, especially for reducing misplaced labels/descriptions, what do you think? [13:42:43] Samples: [13:42:45] https://www.wikifunctions.org/wiki/Template:Main_page/sandbox?uselang=sh [13:42:46] https://www.wikifunctions.org/wiki/Template:Main_page/sandbox?uselang=zh [15:50:37] The new Special:FunctionUsage feature is quite fascinating [15:50:51] It shows that functions are used at least a bit more than I thought they were [15:51:09] And I suspect that I am finding some strange bugs thanks to it [15:51:53] It's possible that I'm misunderstanding something, of course, and that I'm trying to dig straight into the guts, though [15:52:23] So wrap everything that I'm saying here (and elsewhere) in "correct me if I'm wrong" [15:52:51] As far as I can see, the special page frontend only allows seeing the usage of a particular function whose ZID I am giving [15:55:52] But what if I want to see which functions are used the most? For that, I tried querying the database table that was created as part of building that special page. It is accessible through Quarry: https://quarry.wmcloud.org/query/108485 [15:56:38] There's an entry there for `Z27861
Text
`. This looks wrong. Should I report a bug? [16:05:38] Here's what I think is a list of entries in that table that have an invalid ZID: https://quarry.wmcloud.org/query/108494 [18:49:19] Another oddity... https://www.wikifunctions.org/wiki/Special:FunctionUsage?function=Z13473 says that Z13473 is used on https://dag.wikipedia.org/wiki/Wasawasa , but I cannot see how exactly is it used. Maybe it's not used now, and it's shown on Special:FunctionUsage because it got stuck in cache? [18:59:36] Yes, it seems to have been removed as soon as it was added: [18:59:37] https://dag.wikipedia.org/w/index.php?title=Wasawasa&oldid=122799&useparsoid=0 (re @amire80: Another oddity... https://www.wikifunctions.org/wiki/Special:FunctionUsage?function=Z13473 says that Z13473 is used on https://d...) [19:15:31] I don’t think my embedded functions page ever had a "Z14329#QQ", but there are many calls to Z14329. (re @amire80: Here's what I think is a list of entries in that table that have an invalid ZID: https://quarry.wmcloud.org/query/108494)