[03:57:27] (PS1) Yaron Koren: Fixed setting of values in "multi-enum" inputs when preloading a page [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/111961 [03:58:22] (CR) Yaron Koren: [C: 2 V: 1] Fixed setting of values in "multi-enum" inputs when preloading a page [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/111961 (owner: Yaron Koren) [03:58:24] (Merged) jenkins-bot: Fixed setting of values in "multi-enum" inputs when preloading a page [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/111961 (owner: Yaron Koren) [11:55:49] I have a strange SMW problem. https://dpaste.de/C9kv [11:56:56] both properties are defined the same way but only one works, I am very confused. [13:39:57] Yaron: maybe you can help: https://dpaste.de/C9kv [13:40:26] omg. [13:40:28] ignore me. [13:40:45] Alright - I'm not surprised you figured it out. :) [13:41:39] I have been staring at it for 30 mins [13:41:50] That sucks. [13:42:03] and now after posting the link a second time and rechecking if I included all the information needed it was just there [13:42:33] It might have been a mistake on my part to pick "x" as the default variable, instead of something longer or more obscure, like "xyz" or "@". [13:42:49] god... I wrote 7000 lines of forms and templates over the last 2 weeks and stil fail at small things ;) [13:43:22] It really is a lot like programming - one missing character or such throws off everything. :) [13:44:14] it's a lot more exhausting [13:45:09] at programming it's more like a language you can read and understand. Templates are often just characters after characters. Most of the errors in my templates are missing } or { [13:46:02] Yeah, those can be really hard to trace. [13:47:34] anyway, I'll need to finish this now.. a few more templates and some backend functionality and the work of 4,5 years will be done... [14:04:53] Wow! [14:22:09] yeah... and as soon as it all works I have to rewrite a lot of stuff... ;) [14:32:39] Saruman Heiya! It's me :) [14:34:40] Another rare situation has occurred: https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/624bc456187356d18b9b255199988aa459309e64#diff-fa850d182e3b6e4e053915284f2492ef [14:34:41] hey [14:35:53] Saruman Another quick translation will be fine [14:35:59] what's the issue then? [14:36:28] are you referring to [14:36:29] + '_MEDIA'=> 'Media type', [14:36:30] + '_MIME' => 'Mime type' [14:36:44] I need the Dutch translation for two more special properties called "Media typ" and "MIME type" [14:36:48] yes [14:36:56] hehe you'll be surprised [14:37:02] + '_MEDIA'=> 'Mediatype', [14:37:02] + '_MIME' => 'Mimetype' [14:37:05] there you go [14:37:35] type is a Dutch word, as well as media [14:37:41] MIME is an abbrebiation [14:37:42] Media returns something like BITMAP and MIME type obviously image/jpeg [14:38:14] Yes, so I wonder if it has to be written in capital letters as in German [14:38:21] well.... [14:38:40] prolly MIME-type is slightly nicer than mimetype [14:38:41] You are the one to decide :) [14:38:50] ouch, the responsibility! [14:38:58] ok lemme ponder a bit [14:38:59] hi hi [14:39:29] There was once as song by David Bowie: "Under pressure" :) [14:39:49] ... and Queen, yes [14:40:15] Yeah, they did the backing vocals :) [14:42:58] alright, Dutch websites don't have consensus on this, they're spelling it in every permutation [14:43:11] then it's style and intent that casts the deciding vote: [14:43:21] + '_MEDIA'=> 'Mediatype', [14:43:33] + '_MIME' => 'MIME-type' [14:43:52] alea iacta est [14:44:16] nlwiki supports your verdict: https://nl.wikipedia.org/wiki/MIME [14:44:27] Great! [14:44:32] Thank you! [14:44:38] np! [14:44:40] :-) [14:44:55] An alias will still be possible. So ... [14:45:07] G'day! [14:52:00] Saruman [14:53:48] would you like to have a "Heeft" in front of these translations. Nl is pedominantly using "Heeft ..." when looking at it. A bit messy as for all languages I guess. [15:00:16] we like our language to be messy [15:00:32] gives us something to complain about in the coffee corner :-D [15:02:37] you know, I now see that languages/SMW_Language.php has a "has" in front of all of them; it'd be consistent to do that for Dutch as well [15:04:28] '_ASKFO'=> 'Heeft zoekopdracht-opmaak', [15:04:28] '_ASKSI'=> 'Heeft zoekopdracht-omvang', [15:04:29] '_ASKDE'=> 'Heeft zoekdiepte', [15:04:29] '_ASKDU'=> 'Heeft zoekduur', [15:04:29] '_MEDIA'=> 'Heeft mediatype', [15:04:29] '_MIME' => 'Heeft MIME-type' [15:20:45] Saruman Was a bit distructed [15:21:15] distracted :| [15:22:13] German translation is a total mess [15:22:27] Well I could do the consistency thing for NL [16:01:58] good [19:09:59] is there a way (script or otherwise) in smw to update values? If I have 137 pages with property::foo and I want to change them to property::bar [19:10:34] I just realized that the Search and Replace extension can probably handle this [23:13:13] freephile: yep, I guess a search and replace on the wikitext would make that happen [23:14:02] drobbins: thanks, it did work [23:15:44] I was able to search for '|Manager=John' and replace with '|Manager=John Smith' for example [23:16:30] Search and Replace extension is really nice [23:16:34] Cool, that's good to know. [23:17:20] trying to figure out the tab highlighting in weechat.