[01:23:39] New patchset: Mwjames; "\SMW\Collector improve exception tests" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72472 [01:24:11] New patchset: Mwjames; "\SMW\Collector improve exception tests" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72472 [01:31:47] Change merged: jenkins-bot; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72472 [02:51:14] New patchset: Mwjames; "\SMW\HashIdGenerator (separate responsibility)" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72474 [03:08:16] Change merged: jenkins-bot; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72474 [04:24:38] New patchset: Mwjames; "\SMW\Settings extends ArrayAccessor" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72475 [04:29:40] Change merged: jenkins-bot; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72475 [08:03:42] hi. I'm something of a SMW newbie with a question or two. [08:03:55] I have a page where I am creating some stats on my SMW. What is the recommended mechanism for "reusing" calculated values? Like if I want one calculated figure from an #ask with a format=count output to figure in several places on the page, is there a way to define the calculation once and refer to it from other places in the page? [13:49:23] hi [13:49:39] I'd like to have a form for creating dates for a calendar [13:49:48] is it possible to have an arbitrary amount of dates for a certain entry? i.e. for recurring dates [13:49:59] so that I don't have to create a separate page for each date [13:50:32] I know this is possible with editing the source of the page and just adding the semantic attribute for the date multiple times [13:50:39] but is it also possible with semantic forms? [15:48:07] Hi! I'm playing around with the SMW API and after some hits and misses, https://wikitech.wikimedia.org/w/api.php?action=askargs&format=xmlfm&conditions=%5b%5bCategory%3aTools%20Access%20Requests%5d%5d%20%5b%5bIs%20Completed%3a%3aNo%5d%5d&printouts=User%20Name¶meters= is now consistently giving me 500 Server Errors with *no* explaining content at all. What am I doing wrong? [15:55:02] https://wikitech.wikimedia.org/w/api.php?action=ask&query=%5b%5bCategory%3aTools%20Access%20Requests%5d%5d%20%5b%5bIs%20Completed%3a%3aNo%5d%5d%7c%3fUser%20Name&format=xmlfm works, so there seems to be an error in action=askquery. [16:28:04] Okay, another try: If I switch to JSON, I get the result: [16:28:06] {"query":{"printrequests":[{"label":"","typeid":"_wpg","mode":2},{"label":"User Name","typeid":"_wpg","mode":1}],"results":{"Nova Resource:Tools/Access Request/Marian 520219":{"printouts":{"User Name":[]},"fulltext":"Nova Resource:Tools/Access Request/Marian 520219","fullurl":"https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/Marian_520219"},"Nova Resource:Tools/Access Request/Mattsenate":{"printouts":{"User [16:28:06] Name":[]},"fulltext":"Nova Resource:Tools/Access Request/Mattsenate","fullurl":"https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/Mattsenate"}}}} [16:28:25] Why is the User Name printout empty in both cases? [16:30:02] Because I didn't realize that there was a template in between - d'oh! [16:30:33] FTR: "?Tools Request User Name" instead of "?User Name" does the trick. [19:42:31] New patchset: Foxtrott; "added support for synonyms in Semantic Glossary, added .idea to gitignore" [mediawiki/extensions/SemanticGlossary] (master) - https://gerrit.wikimedia.org/r/71969 [19:42:51] Change merged: Foxtrott; [mediawiki/extensions/SemanticGlossary] (master) - https://gerrit.wikimedia.org/r/71969 [19:44:44] I just added a semantic property to an existing template. How can I have mediawiki actually generate the semantic data from all the pages that use the template?