[01:46:36] (PS1) Yaron Koren: Added check for null $title to getDefaultForm() [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/238664 [01:50:19] (CR) Yaron Koren: [C: 2 V: 1] Added check for null $title to getDefaultForm() [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/238664 (owner: Yaron Koren) [01:50:31] (Merged) jenkins-bot: Added check for null $title to getDefaultForm() [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/238664 (owner: Yaron Koren) [02:01:10] Hi! Could anyone point me to an example how to store some extra data (a list of string values) with Semantic that can be retrieved and updated through the MediaWiki API? [02:09:33] pavonia: that's really two questions in one - how to store data, and how to retrieve it. [02:09:45] Any data that's stored can be retrieved. [02:11:52] Right. So the first step would be creating a the data structure somehow [02:14:04] From the docs I only see how to add properties to wiki pages, but that doesn't really looks like what I want [02:14:49] pavonia: what kind of data are you trying to store? [02:15:23] Unicode strings [02:15:39] How many? [02:16:39] Arbitrarily many, I want to to be able to add and remove strings through the HTTP API [02:17:04] And get the current list [02:17:07] You mean, by editing a wiki page? [02:19:40] No, I want to access the data through HTTP requests from a bot. Maybe at some point of the project modifying the data through a wiki form would be added [02:20:31] You said, "I want to to be able to add and remove strings through the HTTP API" - that's later, though? [02:21:07] ....if at all? [02:21:17] That's now [02:23:28] Oh, you're saying that the "write" API might at some point change from just modifying the data to modifying the data by editing wiki pages. (?) [02:24:05] The point is, I could use an extra database for storing the data of the bot, but as the whole project is related to a creating a wiki site with tools for it, I thought it makes more sense to use the same database layer the site uses [02:24:18] Yaron: Yes [02:24:37] Alright. [02:25:16] Well, as far as I know, there's no way currently to arbitrarily store and display data via MediaWiki that doesn't involve editing wiki pages. [02:25:29] If I were you, I would just implement this outside MediaWiki. [02:26:02] Oh, okay [02:29:15] Say I would (mis)use a wiki page as a text representation of the data, would it be possible to update the page only at certain locations without sending the complete page over and over again? [02:31:16] Possibly, using the "sfautoedit" API action, if you're also using templates and Semantic Forms. [02:32:33] Although "sending the complete page" is probably the easier solution. [02:34:54] Yeah, the data isn't updated that often, so a lot of traffic shouldn't be a big problem [02:35:57] Okay, I need to play a bit with the API, thanks for now! [02:36:34] By the way, you might not need SMW (or Cargo) at all... you could presumably just get the full text of the page, via "action=raw". [02:38:27] [SemanticMediaWiki] mwjames created exp-stable-prefix (+1 new commit): http://git.io/vZbXN [02:38:27] SemanticMediaWiki/exp-stable-prefix c2a569e mwjames: Use canonical identifiers in export... [02:46:07] [SemanticMediaWiki] mwjames opened pull request #1152: Use canonical identifiers in export (master...exp-stable-prefix) http://git.io/vZbMJ [03:03:04] [SemanticMediaWiki] mwjames pushed 1 new commit to master: http://git.io/vZbyx [03:03:04] SemanticMediaWiki/master 6f6dfd3 mwjames: Quick RELEASE-NOTES update... [03:26:26] [SemanticMediaWiki] mwjames pushed 1 new commit to master: http://git.io/vZbQV [03:26:26] SemanticMediaWiki/master 7f06ecb mwjames: Merge pull request #1152 from SemanticMediaWiki/exp-stable-prefix... [03:56:50] SemanticMediaWiki/SemanticMediaWiki#4326 (master - 6f6dfd3 : mwjames): The build has errored. [03:56:50] Change view : https://github.com/SemanticMediaWiki/SemanticMediaWiki/compare/fc8915101d96...6f6dfd33410b [03:56:50] Build details : https://travis-ci.org/SemanticMediaWiki/SemanticMediaWiki/builds/80560894 [04:15:27] [SemanticMediaWiki] mwjames created imp (+1 new commit): http://git.io/vZbAS [04:15:27] SemanticMediaWiki/imp bf5cc00 mwjames: Re-use InMemoryPoolCache, refs 1149 [05:24:15] [SemanticMediaWiki] mwjames opened pull request #1153: Re-use InMemoryPoolCache, refs 1149 (master...imp) http://git.io/vZNkm [05:24:21] [SemanticMediaWiki] mwjames deleted imp at bf5cc00: http://git.io/vZNk3 [06:10:48] [SemanticMediaWiki] mwjames force-pushed triples-chunk from fe33394 to 00744e3: http://git.io/vGFhT [06:10:48] SemanticMediaWiki/triples-chunk 00744e3 mwjames: Add TurtleTriplesBuilder::getChunkedTriples, refs 1110... [07:02:49] [SemanticMediaWiki] mwjames deleted triples-chunk at 00744e3: http://git.io/vZNWV [07:05:36] [SemanticMediaWiki] mwjames pushed 1 new commit to master: http://git.io/vZNlL [07:05:36] SemanticMediaWiki/master c07e6b5 mwjames: Update RELEASE-NOTES.md... [07:07:36] [SemanticMediaWiki] mwjames created blazegraph (+1 new commit): http://git.io/vZNlu [07:07:36] SemanticMediaWiki/blazegraph 129c30f mwjames: Add Travis/Blazegraph [07:42:52] [SemanticMediaWiki] mwjames opened pull request #1154: Add Travis/Blazegraph 1.5.1 (master...blazegraph) http://git.io/vZNuZ [08:13:59] [SemanticMediaWiki] mwjames deleted blazegraph at 129c30f: http://git.io/vZNrd [08:16:03] [SemanticMediaWiki] mwjames created blazegraph (+1 new commit): http://git.io/vZNo0 [08:16:03] SemanticMediaWiki/blazegraph ba256f6 mwjames: Travis/Blazegraph 1.5.2 [08:16:37] [SemanticMediaWiki] mwjames opened pull request #1155: Travis/Blazegraph 1.5.2 (master...blazegraph) http://git.io/vZNor [09:22:17] [SemanticMediaWiki] mwjames closed pull request #1155: Travis/Blazegraph 1.5.2 (master...blazegraph) http://git.io/vZNor [09:23:22] [SemanticMediaWiki] JeroenDeDauw pushed 2 new commits to master: http://git.io/vZNb9 [09:23:22] SemanticMediaWiki/master 65e757c Translation updater bot: Localisation updates from https://translatewiki.net.... [09:23:22] SemanticMediaWiki/master 6b287c7 jeroendedauw: Merge branch 'master' of ssh://wmfgerrit/mediawiki/extensions/SemanticMediaWiki [12:07:26] how can i modify a form with graphic help, like when i create class [12:27:32] afternoon [12:28:21] SMW is great - but..... I've got an #ask query which seems to have been cached and I can't get it to clear. I don't actually want queries cached at all. Can one turn this off completely? [14:44:30] (PS1) Yaron Koren: Version 3.4 [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/238751 [14:47:27] (CR) Yaron Koren: [C: 1 V: 2] Version 3.4 [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/238751 (owner: Yaron Koren) [15:00:57] (CR) Yaron Koren: [C: 2 V: 1] Version 3.4 [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/238751 (owner: Yaron Koren) [15:01:20] (Merged) jenkins-bot: Version 3.4 [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/238751 (owner: Yaron Koren) [20:04:01] how can i modify a form with graphic help, like when i "create class"?