[12:34:34] I guess there is no way to access properties from older revisions... [13:45:19] Please help, when testing SMW, after creating the test [[Property name::Property value]], the Special:Browse page has nothing [13:45:36] other than a search box saying "enter the name of the page to start browsing from" [14:26:54] sven^: no; I'd say that's good, but others may disagree. [15:40:48] Yaron: well, I am trying to build semantic comparison trees [15:41:07] What does that mean? [15:41:27] comparing different objects by their properties [15:41:35] including subobjects etc [15:41:58] the point is, I need the possibility to compare each object with "its older self" [15:42:15] Why? [15:42:44] well, objects change over time, sometimes it's interessting what properties an object had earlier [15:42:53] in my case it's still my big ITSM project [15:43:12] Well, it depends on what you mean by "interesting". :) [15:43:23] determining for example what changes were made to a computer in the past [15:43:38] to debug and see which of the changes may have caused the problems the user has [15:44:13] The thing is, in a wiki, the state of information about an object at time X doesn't necessarily reflect the state of that object at time X. [15:44:13] There can be mistakes, delays, etc. [15:44:38] So if you really want to look at historical information, I think the only real approach is to actually store that historical information as data. [15:45:11] well, the information about the "real objects" is always in sync with reality in my case [15:45:27] so as long as I can extract property values for a certain revision, I am fine [15:45:53] Always in sync meaning, it's generated automatically? [15:45:57] yes [15:46:42] cronjobs extracting 800 users, 700 groups, 600 computers from ActiveDirectory, scanning the computers and creating wiki pages for everything [15:48:02] the code for the comparison trees was part of a diploma thesis. The problem is he only did that for a very small amount of computers/users and assumed all properties were set by [[prop::value]] [15:48:20] he parses the old revision text by manually and then creates a tree [15:49:35] right now I have a huge workaround to parse templates for the parts that set properties, match them to the field names in the revision text and determine which properties were set to what values [15:49:48] it's just a mess ;) [15:50:11] I mean, it works, but it's neither pretty not very robust [15:51:58] Well, in that case, perhaps the better approach is to store that data outside the wiki, and then use something like External Data to get it... [15:51:58] There are various ways to do that that don't require a lot of overhead - one is to store all the info in a CSV file. [15:53:10] hmm, ok.. maybe I will do that later [16:47:16] is there any way to find out the property type of a "value"? [16:54:46] Click on "Browse properties" in the sidebar, and then click on the name of the property for that value. [17:35:29] oh, sorry, my question was stupid, Yaron. That way is obvious. I rather meant "in Code" [17:36:30] Oh. If you do a print_r on the value, you should see it in there somewhere, I think... [17:37:55] I'll have to recheck.. I tried that yesterday and at some point gave up, but now I realize that it is a big problem [17:39:16] when building the tree there are properties that are plain text that represent page names but have no real connection to the page so there should be no sub trees starting at that value (e.g. if the page has a property "has name {{PAGENAME}}" it just doubles the whole tree) [18:28:50] Folks, is it possible that a page is automatically created the moment that a link is created towards it? [18:53:27] robolobster: it shouldn't [18:54:45] there's connecting Semantic Forms to a redlink: http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Linking_to_forms#Pointing_red_links_to_a_form [19:42:04] robolobster: do you mean, is it possible to have a page be automatically created? [19:47:40] Yaron: ah, I hadn't read it like that [19:47:42] duh [19:47:42] If so, see here: https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Linking_to_forms#Populating_red-linked_pages_automatically (assuming you're using forms) [19:48:03] Hey, we posted at almost the same time! [19:48:17] I'm still not sure that's the right meaning... [19:58:08] yep [19:58:50] we'll just wait and see if robolobster has something to add or ask