[00:07:05] <17WABJFFS> [SemanticMediaWiki] mwjames pushed 6 new commits to master: http://git.io/jc0R [00:07:06] <17WABJFFS> SemanticMediaWiki/master e6c1481 jongfeli: Fix sniffs=Squiz.WhiteSpace.LanguageConstructSpacing in tests/ [00:07:06] <17WABJFFS> SemanticMediaWiki/master b7eb6af jongfeli: Fix sniffs=Generic.Files.EndFileNewline in tests/ [00:07:06] <17WABJFFS> SemanticMediaWiki/master d61d3d5 jongfeli: Fix sniffs=Generic.PHP.ForbiddenFunctions in tests/ [00:07:06] <21WABQWEZ> [SemanticMediaWiki] mwjames closed pull request #925: Fix coding style issues #899 (master...master) http://git.io/jnil [00:08:35] [SemanticMediaWiki] mwjames closed pull request #924: Add query-import-001-foaf.json (master...import-query-foaf) http://git.io/jmyE [00:10:49] [SemanticMediaWiki] mwjames pushed 1 new commit to master: http://git.io/jcEL [00:10:49] SemanticMediaWiki/master f010f9d mwjames: Update RELEASE-NOTES.md... [05:55:14] (CR) JoelKP: "Thanks! Tested with the latest version (but not the older ones), and for that it indeed works." [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/193821 (owner: Yaron Koren) [14:49:27] hey folks, could somebody help me fix the semantic mediawiki page https://wiki.hackerspaces.org/Biggest ? [14:49:34] It needs the property "Size" which is / should be linked to individual pages like this one http://hackerspaces.org/wiki/Cyberhippietotalism [14:49:42] I did the new property https://wiki.hackerspaces.org/Property:Size ... but don't really know how to connect it to values specified on individual pages etc [14:50:10] tips appreciated D: [14:51:06] dcht00: It looks like, at least for that page, you're setting a property called "Size of rooms", but not one called "Size". [14:51:14] See https://wiki.hackerspaces.org/Special:Browse/Cyberhippietotalism [14:53:14] Yaron : win! [14:53:25] thanks. that got me to the right property name... [14:53:32] Yay! [14:53:47] Are you a maintainer? [14:53:57] Of what? [14:54:05] sem mediawiki [14:54:09] No. [14:54:29] contributor / something... [14:54:45] I've contributed patches to it over the years, yes. [14:54:48] I was looking for a page like that, thought there had to be some proper ... property mapping to objects [14:55:18] It's the template that sets the mapping to the properties. [14:55:27] I see the link on the left now [14:55:29] (Assuming you're using templates, which you are.) [14:55:35] Looked into the template but didn't really see that.. [14:55:40] Oh, okay. [15:10:33] [SemanticMediaWiki] jongfeli opened pull request #926: Fix coding style issues #899 in tests/ (master...master) http://git.io/jla0 [17:04:37] Semwiki wizards, another question: [17:05:10] https://wiki.hackerspaces.org/Biggest Here's a big list of spaces with "Size" value ... as string [17:05:21] people entered all sorts of stuff in there. How would you sanitize this? [17:05:37] Doesn't need to be perfect, but I think some regexes would do ... [17:05:49] Python script directly hacking the sql db? Some other way? [17:58:34] dcht00: you definitely shouldn't ever directly modify the DB, unless you really know what you're doing. [17:58:44] What do you mean by "sanitize"? [17:59:07] yaron : look at that page :) [17:59:11] I saw it. [17:59:19] "Size" was given as something people could enter [17:59:28] as a string [17:59:41] I get the basic idea. Anyway, if it could really be done by regex, this may be helpful: https://www.mediawiki.org/wiki/Extension:Replace_Text [17:59:43] now we have "100m2" "about 500 sqft" "~400m^2"