## semediawiki-user — Support mailing list for users and administrators of Semantic MediaWiki websites

You can subscribe to this list here.

2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 Jan Feb Mar Apr May Jun Jul Aug Sep Oct (2) Nov (2) Dec (9) Jan (1) Feb (5) Mar (38) Apr (16) May (70) Jun (80) Jul (55) Aug (34) Sep (50) Oct (30) Nov (52) Dec (34) Jan (41) Feb (38) Mar (91) Apr (143) May (104) Jun (47) Jul (141) Aug (151) Sep (73) Oct (101) Nov (49) Dec (64) Jan (64) Feb (82) Mar (91) Apr (82) May (84) Jun (120) Jul (140) Aug (241) Sep (154) Oct (92) Nov (115) Dec (154) Jan (288) Feb (238) Mar (143) Apr (121) May (148) Jun (89) Jul (170) Aug (219) Sep (192) Oct (208) Nov (354) Dec (242) Jan (156) Feb (398) Mar (388) Apr (259) May (268) Jun (225) Jul (338) Aug (278) Sep (249) Oct (311) Nov (212) Dec (267) Jan (291) Feb (205) Mar (249) Apr (180) May (212) Jun (206) Jul (285) Aug (228) Sep (276) Oct (212) Nov (313) Dec (153) Jan (245) Feb (267) Mar (169) Apr (120) May (165) Jun (93) Jul (152) Aug (180) Sep (102) Oct (123) Nov (164) Dec (171) Jan (255) Feb (224) Mar (194) Apr (223) May (179) Jun (168) Jul (147) Aug (200) Sep (195) Oct (162) Nov (191) Dec (173) Jan (221) Feb (206) Mar (235) Apr (181) May (108) Jun (131) Jul (142) Aug (212) Sep (149) Oct (179) Nov (136) Dec (94) Jan (124) Feb (138) Mar (99) Apr (84) May (99) Jun (103) Jul (33) Aug (63) Sep (125) Oct (88) Nov (122) Dec (56) Jan (94) Feb (44) Mar Apr May Jun Jul Aug Sep Oct Nov Dec
S M T W T F S
1
(6)
2
(7)
3
(6)
4
(7)
5
(8)
6
(13)
7
(1)
8
(1)
9
(8)
10
(6)
11
(13)
12
(11)
13
(15)
14
(5)
15
(7)
16
(7)
17
(5)
18
(8)
19
(3)
20
(5)
21
(6)
22
(1)
23
(6)
24
(6)
25
(8)
26
(7)
27
(1)
28
(4)
29
(10)
30
(4)

Showing results of 195

<< < 1 .. 6 7 8 (Page 8 of 8)
 Re: [Semediawiki-user] SMF: "show on select" does not work on form using multi-instance template From: Ralf - 2013-09-04 06:35:30 Hi Yaron, many thanks, great stuff. Works! I was already assuming that it has to do with JavaScript/jQuery/HTML. And it's in deed true that a div container (that is needed for "show on select") can't just enclose some table rows. Best Regards Ralf On Tuesday 03 September 2013 Yaron Koren wrote: > Hi Ralf, > > Sorry for the delay on this. Having looked into the example on your public > wiki, it appears that the issue was that the the div that was being > hidden/shown looked like this: > >
> > |- > | > | Approved By: > ... > > In other words, the div was part of the same table; that represents invalid > HTML, and so the Javascript stuff didn't work. In order for it to work, the > div needs to contain a separate table - I fixed it on the public wiki, and > now "show on select" seems to work. The SF documentation should probably be > clearer about that... > > -Yaron > > On Thu, Aug 29, 2013 at 9:38 AM, Ralf wrote: > > Hi Yaron, > > > > in the meantime I have mirrored the pages to a public available wiki. > > > > The wiki has German language by default. If that is a problem or you want > > to > > edit something I could of course also create a user for you. > > > > Form: > > http://www.kruedewagen.de/wiki/Form:Glossary > > > > Templates: > > http://www.kruedewagen.de/wiki/Template:Glossary > > http://www.kruedewagen.de/wiki/Template:Glossary_Definition(multi-instance > > ) > > > > Sample page: > > http://www.kruedewagen.de/wiki/SandboxGlossary > > > > The form contains: > > #### > > show on > > select=approved=>showApprovedByAndTime;updated=>showApprovedByAndTime > > > >
> > ... > >
> > #### > > > > But the corresponding fields are displayed even the status is "new". 
 [Semediawiki-user] [SD] Version 1.3: filter values and inputs set automatically From: Yaron Koren - 2013-09-03 20:47:30 Hi all, Version 1.3 of Semantic Drilldown has been released. I don't usually announce releases of SD, but this one has a fairly major change: filter values and input types are now set automatically, based on the size and the schema of the data, instead of manually. That means the following: - For properties of type "Page", "Text" or "String", if there are more than a certain number of values (by default, 50) for a filter, the values will be shown in a combo box, instead of one by one on the page - which will eliminate the situation where hundreds of values show up on the page, making the interface cleaner and possibly improving performance considerably. - For "Date" properties, values are automatically aggregated by either day, month, year or decade, depending on how spread out the values are. - For "Number" properties, the number ranges are set automatically, with the goal of having an approximately equal number of pages in each range. And for "Date" and "Number" properties, users can now keep drilling down using the same filter, instead of doing so only once. As part of this change, the three SD special properties "Has input type", "Has time period" and "Has value" were all deprecated - for version 1.3 and later, these properties will simply be ignored on the page. If you're curious about this approach, it's based in large part on my "data is data" theory: http://wikiworks.com/blog/2013/02/06/data-is-data/ Version 1.3 also includes some unrelated fixes to SD's database querying. You can read more about Semantic Drilldown, and download the new version, here: https://www.mediawiki.org/wiki/Extension:Semantic_Drilldown -Yaron -- WikiWorks · MediaWiki Consulting · http://wikiworks.com 
 Re: [Semediawiki-user] [SM] Custom Markers derived from query From: Hans Faynmann - 2013-09-03 15:35:51 That's a pity. Probably a feature for future versions of Semantic Maps / Maps ?!? I tried to use #arraydefine and #arrayprint in a template to concatenate the variables for a compound query but had a problem with #arrayprint as it did not print the array's entries without a line break between each. I tried to use this approach ( http://smw.referata.com/wiki/Use_the_ask_template_format_to_create_tabular_output ) , but used it to create a compound query. It created one, but being in three different templates(header: {{#compound_query: , template [[Category...]], footer }} ) it created just a text output, not a parseable one (you can have a look at it here: ( http://wlw.referata.com/wiki/CompQuerTest ): {{#compound_query: | Audi Werk Dingolfing;?has coordinates;icon=Audi-Icon.png | BMW Werk 1.1 ;?has coordinates;icon=BMW-Icon.png | Werk 2.4 ;?has coordinates;icon=BMW-Icon.png | Werk Ingolstadt ;?has coordinates;icon=Audi-Icon.png | format=map }} I want to create a compound_query dynamically as when the wiki grows, more and more different corporations (that's what I want to display on a map) will be added... 2013/9/3 Leonard Wallentin > I do that with compound queries (see > http://xn--ssongsmat-v2a.nu/ssm/Fruktkarta) which is easy if you have a > fixed set of icons, as Yaron points out. However, it MIGHT be possible to > query for all icons, and use a template to dynamically build a compound > query. Haven't tried it. Would require some increadibly messy template > code... > > /Leo > > _______________ > Leonard Wallentin > leo_wallentin@... > @leo_wallentin > +46 (0) 735 - 933 543 > > > > Date: Tue, 3 Sep 2013 10:14:27 -0400 > > From: yaron@... > > To: hans.faynmann@... > > CC: semediawiki-user@... > > Subject: Re: [Semediawiki-user] [SM] Custom Markers derived from query > > > > > Hi Hans, > > > > I don't believe that's possible, though it may be nice. If there's a > > specific pattern to the icon display - as in, all the pages in a certain > > category, or all pages that fit certain criteria, have a certain icon - > > then you could probably use the Semantic Compound Queries extension to > > achieve that same display: > > > > https://www.mediawiki.org/wiki/Extension:Semantic_Compound_Queries > > > > -Yaron > > > > > > On Mon, Sep 2, 2013 at 12:55 PM, Hans Faynmann >wrote: > > > > > I have a property that points to an icon: has icon::Iconname.png > > > > > > Is it possible to use this icon as a marker when using Semantic Maps? > > > Probably something like this: > > > > > > {{#ask: [[Category:XYZ]] > > > | ?Has coordinates > > > | ?Has icon=ICONPARAMETER > > > | format=map > > > | icon=ICONPARAMETER > > > }} > > > > > > or > > > > > > {{#ask: [[Category:XYZ]] > > > | ?Has coordinates > > > | format=map > > > | icon=?has icon > > > }} > > > > > > > ------------------------------------------------------------------------------ > > > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > > > Discover the easy way to master current and previous Microsoft > technologies > > > and advance your career. Get an incredible 1,500+ hours of step-by-step > > > tutorial videos with LearnDevNow. Subscribe today and save! > > > > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > > > _______________________________________________ > > > Semediawiki-user mailing list > > > Semediawiki-user@... > > > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > > > > > > > > > > -- > > WikiWorks · MediaWiki Consulting · http://wikiworks.com > > > ------------------------------------------------------------------------------ > > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > > Discover the easy way to master current and previous Microsoft > technologies > > and advance your career. Get an incredible 1,500+ hours of step-by-step > > tutorial videos with LearnDevNow. Subscribe today and save! > > > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > > _______________________________________________ > > Semediawiki-user mailing list > > Semediawiki-user@... > > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > 
 Re: [Semediawiki-user] [SM] Custom Markers derived from query From: Leonard Wallentin - 2013-09-03 14:44:06 I do that with compound queries (see http://xn--ssongsmat-v2a.nu/ssm/Fruktkarta) which is easy if you have a fixed set of icons, as Yaron points out. However, it MIGHT be possible to query for all icons, and use a template to dynamically build a compound query. Haven't tried it. Would require some increadibly messy template code... /Leo _______________Leonard Wallentinleo_wallentin@...@leo_wallentin+46 (0) 735 - 933 543 > Date: Tue, 3 Sep 2013 10:14:27 -0400 > From: yaron@... > To: hans.faynmann@... > CC: semediawiki-user@... > Subject: Re: [Semediawiki-user] [SM] Custom Markers derived from query > > Hi Hans, > > I don't believe that's possible, though it may be nice. If there's a > specific pattern to the icon display - as in, all the pages in a certain > category, or all pages that fit certain criteria, have a certain icon - > then you could probably use the Semantic Compound Queries extension to > achieve that same display: > > https://www.mediawiki.org/wiki/Extension:Semantic_Compound_Queries > > -Yaron > > > On Mon, Sep 2, 2013 at 12:55 PM, Hans Faynmann wrote: > > > I have a property that points to an icon: has icon::Iconname.png > > > > Is it possible to use this icon as a marker when using Semantic Maps? > > Probably something like this: > > > > {{#ask: [[Category:XYZ]] > > | ?Has coordinates > > | ?Has icon=ICONPARAMETER > > | format=map > > | icon=ICONPARAMETER > > }} > > > > or > > > > {{#ask: [[Category:XYZ]] > > | ?Has coordinates > > | format=map > > | icon=?has icon > > }} > > > > ------------------------------------------------------------------------------ > > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > > Discover the easy way to master current and previous Microsoft technologies > > and advance your career. Get an incredible 1,500+ hours of step-by-step > > tutorial videos with LearnDevNow. Subscribe today and save! > > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > > _______________________________________________ > > Semediawiki-user mailing list > > Semediawiki-user@... > > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > > > > > -- > WikiWorks · MediaWiki Consulting · http://wikiworks.com > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Semediawiki-user mailing list > Semediawiki-user@... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user 
 Re: [Semediawiki-user] [SM] Custom Markers derived from query From: Yaron Koren - 2013-09-03 14:14:36 Hi Hans, I don't believe that's possible, though it may be nice. If there's a specific pattern to the icon display - as in, all the pages in a certain category, or all pages that fit certain criteria, have a certain icon - then you could probably use the Semantic Compound Queries extension to achieve that same display: https://www.mediawiki.org/wiki/Extension:Semantic_Compound_Queries -Yaron On Mon, Sep 2, 2013 at 12:55 PM, Hans Faynmann wrote: > I have a property that points to an icon: has icon::Iconname.png > > Is it possible to use this icon as a marker when using Semantic Maps? > Probably something like this: > > {{#ask: [[Category:XYZ]] > | ?Has coordinates > | ?Has icon=ICONPARAMETER > | format=map > | icon=ICONPARAMETER > }} > > or > > {{#ask: [[Category:XYZ]] > | ?Has coordinates > | format=map > | icon=?has icon > }} > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Semediawiki-user mailing list > Semediawiki-user@... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > -- WikiWorks · MediaWiki Consulting · http://wikiworks.com 
 Re: [Semediawiki-user] SMF: "show on select" does not work on form using multi-instance template From: Yaron Koren - 2013-09-03 14:10:59 Hi Ralf, Sorry for the delay on this. Having looked into the example on your public wiki, it appears that the issue was that the the div that was being hidden/shown looked like this:
|- | Approved By: ... In other words, the div was part of the same table; that represents invalid HTML, and so the Javascript stuff didn't work. In order for it to work, the div needs to contain a separate table - I fixed it on the public wiki, and now "show on select" seems to work. The SF documentation should probably be clearer about that... -Yaron On Thu, Aug 29, 2013 at 9:38 AM, Ralf wrote: > Hi Yaron, > > in the meantime I have mirrored the pages to a public available wiki. > > The wiki has German language by default. If that is a problem or you want > to > edit something I could of course also create a user for you. > > Form: > http://www.kruedewagen.de/wiki/Form:Glossary > > Templates: > http://www.kruedewagen.de/wiki/Template:Glossary > http://www.kruedewagen.de/wiki/Template:Glossary_Definition(multi-instance) > > Sample page: > http://www.kruedewagen.de/wiki/SandboxGlossary > > The form contains: > #### > show on > select=approved=>showApprovedByAndTime;updated=>showApprovedByAndTime > >
> ... >
> #### > > But the corresponding fields are displayed even the status is "new". > > Cheers > Ralf > > On Thursday 29 August 2013 Yaron Koren wrote: > > Hi Ralf, > > > > Your form definition looks correct, although your template should not > > contain that div - and calls to #subobject definitely shouldn't contain > > such tags. Is this on a public wiki? If not, could you try to reproduce > the > > problem on a public wiki such as http://scratchpad.referata.com ? > > > > (By the way, it's "SF", not "SMF".) > > > > -Yaron > > > > On Thu, Aug 29, 2013 at 5:13 AM, Ralf wrote: > > > Hi, > > > > > > I was trying to use "show on select" with a form using a multi-instance > > > template. The goal is to hide two fields C and D from the form if a > > > certain > > > value in field B is selected. The multi-instance template defines the > > > values > > > using subobjects. > > > > > > Whatever I tried: It does not work. > > > > > > I have seen the note about using "show on select" with a form using a > > > multi- > > > instance template: > > > > > > > http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTimK4VHEiPLB > > > -LMffOkSfux7R-httiA9_4vYRiCo%40mail.gmail.com > &forum_name=semediawiki-user > > > > > > To be honest: I don't understand what to do in the template regarding > > > placing > > > the "div". > > > > > > My form looks like: > > > > > > {{{for template|temp1|label=Label}}} > > > ... > > > {{{field|Title|mandatory|default={{PAGENAME}} }}} (''mandatory'') > > > ... > > > {{{end template}}} > > > > > > {{{for template|temp2|multiple|label=Label}}} > > > ... > > > ... > > > - > > > > > > | A: > > > > {{{field|A|mandatory|rows=5|cols=70|autogrow|editor=wikieditor|property=Ha > > > s > > > A}}} > > > > > > - > > > > > > | B: > > > | {{{field|B|input type=dropdown|default=new|mandatory|property=Has > B|show > > > > > > on > > > select=approved=>mydiv;updated=>mydiv}}} > > > > > >
> > > > > > |- > > > | > > > | C: > > > | {{{field|C|autocomplete on namespace=User|property=Has C}}} > > > | > > > |- > > > | > > > | D: > > > | {{{field|D|input type=datetime|property=Has D}}} > > > > > >
> > > > > > The multi-instance template "temp2": > > > > > > {{#subobject: > > > |Has A={{{A|}}} > > > |Has B={{{B|}}} > > > > > >
> > > > > > |Has C={{{C|}}} > > > |Has D={{{D|}}} > > > > > >
> > > }} > > > > > > But that does not work. The fields within the "div" are always shown in > > > the > > > form regardless of the value in "B". Maybe there is something with the > > > "property=" definitions not detected as input types that "show on > select" > > > supports? > > > > > > Has B is from type String with some "allowed values". > > > Has C is from type Page. > > > Has C is from type Date. > > > > > > Any hint? > > > > > > Cheers > > > Ralf > > > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Semediawiki-user mailing list > Semediawiki-user@... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > -- WikiWorks · MediaWiki Consulting · http://wikiworks.com 
 Re: [Semediawiki-user] SMW problems after upgrade From: jongfeli - 2013-09-03 06:09:46 We also run the Widgets and SMW extensions on our Wiki but never had an issue with the combination. Maybe we can reproduce the same error if we know what your markup looks like. It should be on the page with *?Thi...* (property to display *{{#ask:...}}* in a semantic search), I assume this is a Template. Is your Wiki accessible from the internet, if so could you post a link to the page with *?Thi...*? If not could you post the complete markup or the line with *?Thi...* in the mailing list? Regards. -- View this message in context: http://wikimedia.7.x6.nabble.com/SMW-problems-after-upgrade-tp5012541p5012560.html Sent from the Semantic Mediawiki - User mailing list archive at Nabble.com. 
 Re: [Semediawiki-user] SMW problems after upgrade From: girlwithglasses - 2013-09-02 23:34:32 Ah, thanks for the tip. It seems to be the Widgets extension that is causing the problem as everything works fine with it commented out. Strange! -- View this message in context: http://wikimedia.7.x6.nabble.com/SMW-problems-after-upgrade-tp5012541p5012550.html Sent from the Semantic Mediawiki - User mailing list archive at Nabble.com. 
 Re: [Semediawiki-user] SMW problems after upgrade From: jongfeli - 2013-09-02 21:39:34 Hello. We had a similar issue using Mathjax and SMW. See: https://www.mediawiki.org/wiki/Extension_talk:MathJax#Semantic_Mediawiki_with_MathJax In our case we used the default pipe "|" to "fix" the problem, well it is not fixed but it works. I did not try to reproduce the problem since then. I am not sure if your problem is SMW. did you try to disable all extension and then run the refresh? If it works start to enable the extensions one by one to find the one that is causing this. Regards, Felipe. -- View this message in context: http://wikimedia.7.x6.nabble.com/SMW-problems-after-upgrade-tp5012541p5012543.html Sent from the Semantic Mediawiki - User mailing list archive at Nabble.com. 
 [Semediawiki-user] SMW problems after upgrade From: girlwithglasses - 2013-09-02 21:09:44 Hello, I recently upgraded to the latest SMW bundle (with SMW 1.8.0.4) and am having problems getting things working properly on MW 1.19.2. I decided to rebuild everything in the hopes that that would magically solve the issue, but on running SWM_refresh.php for the second time, I get the following error: Invalid marker: UNIQ11ba3a1a2d467606-h-3--QINU Backtrace: #0 /var/lib/mediawiki/includes/parser/StripState.php(40): StripState->addItem('general', 'UNIQ11ba3a1a2d...', '') #1 /var/lib/mediawiki/includes/parser/Preprocessor_DOM.php(1128): StripState->addGeneral('UNIQ11ba3a1a2d...', '') #2 /var/lib/mediawiki/includes/parser/Parser.php(2978): PPFrame_DOM->expand(Object(PPNode_DOM), 0) #3 /var/lib/mediawiki/includes/parser/Parser.php(1094): Parser->replaceVariables('?Thi...') #4 /var/lib/mediawiki/includes/parser/Parser.php(345): Parser->internalParse('?Thi...') #5 /var/lib/mediawiki/extensions/SemanticMediaWiki/includes/jobs/SMW_UpdateJob.php(59): Parser->parse('?Thi...', Object(Title), Object(ParserOptions), true, true, 21936) #6 /var/lib/mediawiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_SetupHandlers.php(454): SMWUpdateJob->run() #7 /var/lib/mediawiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(404): SMWSQLStore3SetupHandlers->refreshData(3669, 1, false, false) #8 /var/lib/mediawiki/extensions/SemanticMediaWiki/maintenance/SMW_refreshData.php(147): SMWSQLStore3->refreshData(3669, 1, false, false) #9 {main} Can anyone suggest why this is happening and how to fix it? Thanks for any help! -- View this message in context: http://wikimedia.7.x6.nabble.com/SMW-problems-after-upgrade-tp5012541.html Sent from the Semantic Mediawiki - User mailing list archive at Nabble.com. 
 Re: [Semediawiki-user] jqplotchart format is broken? From: Yury Katkov - 2013-09-02 19:30:52 It seems that donut and pie chart bug has nothing to do with css loading. I tried to debug it and see that the data is corrupted right from the beginning of js execution. ----- Yury Katkov, WikiVote On Mon, Sep 2, 2013 at 11:35 AM, Yury Katkov wrote: > What about not using Resource Loader at all in SRF? Will that help? > ----- > Yury Katkov, WikiVote > > > > On Mon, Sep 2, 2013 at 3:13 AM, James HK wrote: >> Hi, >> >> It is an issue that started with some changes on the RL implementation >> somewhere on the MW 1.21 track which changed the way how CSS/JS >> modules are loaded. I raised this issue [1], [2] twice with WMF >> developers and they say nothing they can do because nothing that has >> changed nor need fixing. >> >> It is not only effecting jqplotchart, you can also see that on other >> occasions where specific CSS rules are required with screen elements >> seem flashy (un-styled content) because rules/scripts are loaded after >> the element is placed which in terms of jqplotchart has a for more >> reaching effect with some charts expecting additional JS modules. >> Those modules have not been loaded (even though the RL loading clearly >> states to load them as dependency which worked very well in >> 1.18/1.19/1.20 and at least for 1.21alpha (3dd2209) ) since RL load >> modules asynchronously causing script error message. Of course once >> those scripts are served from cache un-styled content or non-loaded JS >> module error disappears. >> >> [1] https://gerrit.wikimedia.org/r/#/c/64128/ >> >> [2] https://bugzilla.wikimedia.org/show_bug.cgi?id=46401 >> >> [3] https://bugzilla.wikimedia.org/show_bug.cgi?id=48944 >> >> PS: I'm no longer in the mood to invest any of my time trying the fix >> this issue as WMF is refusing to acknowledge the problem. >> >> Cheers >> >> On 9/2/13, Yury Katkov wrote: >>> Hi guys! >>> >>> Look at the documentation pages for jqplotchart format, for example >>> here: http://www.semantic-mediawiki.org/wiki/Demo:Jqplotchart/Population >>> >>> I have the following effects both on my wiki and on semantic-mediawiki.org: >>> 1) sometimes the result printer actually prints something. In case of >>> piecharts it prints big round pie with sum of the numbers >>> 2) sometimes it prints trobber or nothing and throws TypeErrors to the >>> console >>> >>> Any ideas what causes that? >>> ----- >>> Yury Katkov, WikiVote >>> >>> ------------------------------------------------------------------------------ >>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >>> Discover the easy way to master current and previous Microsoft technologies >>> and advance your career. Get an incredible 1,500+ hours of step-by-step >>> tutorial videos with LearnDevNow. Subscribe today and save! >>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Semediawiki-user mailing list >>> Semediawiki-user@... >>> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >>> 
 [Semediawiki-user] [SM] Custom Markers derived from query From: Hans Faynmann - 2013-09-02 16:55:13 I have a property that points to an icon: has icon::Iconname.png Is it possible to use this icon as a marker when using Semantic Maps? Probably something like this: {{#ask: [[Category:XYZ]] | ?Has coordinates | ?Has icon=ICONPARAMETER | format=map | icon=ICONPARAMETER }} or {{#ask: [[Category:XYZ]] | ?Has coordinates | format=map | icon=?has icon }} 
 Re: [Semediawiki-user] jqplotchart format is broken? From: Yury Katkov - 2013-09-02 07:35:38 What about not using Resource Loader at all in SRF? Will that help? ----- Yury Katkov, WikiVote On Mon, Sep 2, 2013 at 3:13 AM, James HK wrote: > Hi, > > It is an issue that started with some changes on the RL implementation > somewhere on the MW 1.21 track which changed the way how CSS/JS > modules are loaded. I raised this issue [1], [2] twice with WMF > developers and they say nothing they can do because nothing that has > changed nor need fixing. > > It is not only effecting jqplotchart, you can also see that on other > occasions where specific CSS rules are required with screen elements > seem flashy (un-styled content) because rules/scripts are loaded after > the element is placed which in terms of jqplotchart has a for more > reaching effect with some charts expecting additional JS modules. > Those modules have not been loaded (even though the RL loading clearly > states to load them as dependency which worked very well in > 1.18/1.19/1.20 and at least for 1.21alpha (3dd2209) ) since RL load > modules asynchronously causing script error message. Of course once > those scripts are served from cache un-styled content or non-loaded JS > module error disappears. > > [1] https://gerrit.wikimedia.org/r/#/c/64128/ > > [2] https://bugzilla.wikimedia.org/show_bug.cgi?id=46401 > > [3] https://bugzilla.wikimedia.org/show_bug.cgi?id=48944 > > PS: I'm no longer in the mood to invest any of my time trying the fix > this issue as WMF is refusing to acknowledge the problem. > > Cheers > > On 9/2/13, Yury Katkov wrote: >> Hi guys! >> >> Look at the documentation pages for jqplotchart format, for example >> here: http://www.semantic-mediawiki.org/wiki/Demo:Jqplotchart/Population >> >> I have the following effects both on my wiki and on semantic-mediawiki.org: >> 1) sometimes the result printer actually prints something. In case of >> piecharts it prints big round pie with sum of the numbers >> 2) sometimes it prints trobber or nothing and throws TypeErrors to the >> console >> >> Any ideas what causes that? >> ----- >> Yury Katkov, WikiVote >> >> ------------------------------------------------------------------------------ >> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >> Discover the easy way to master current and previous Microsoft technologies >> and advance your career. Get an incredible 1,500+ hours of step-by-step >> tutorial videos with LearnDevNow. Subscribe today and save! >> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >> _______________________________________________ >> Semediawiki-user mailing list >> Semediawiki-user@... >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >> 
 Re: [Semediawiki-user] jqplotchart format is broken? From: Jamie Thingelstad - 2013-09-02 01:47:29 Sadly, in wikis that I use jqplotchart in I've just started adding [1]: $wgResourceLoaderDebug = true; to the LocalSettings for those wikis. After doing that, I have no issues. :-( [1] http://www.mediawiki.org/wiki/Manual:$wgResourceLoaderDebug Jamie Thingelstad jamie@... mobile: 612-810-3699 find me on AIM Twitter Facebook LinkedIn On Sep 1, 2013, at 6:13 PM, James HK wrote: > Hi, > > It is an issue that started with some changes on the RL implementation > somewhere on the MW 1.21 track which changed the way how CSS/JS > modules are loaded. I raised this issue [1], [2] twice with WMF > developers and they say nothing they can do because nothing that has > changed nor need fixing. > > It is not only effecting jqplotchart, you can also see that on other > occasions where specific CSS rules are required with screen elements > seem flashy (un-styled content) because rules/scripts are loaded after > the element is placed which in terms of jqplotchart has a for more > reaching effect with some charts expecting additional JS modules. > Those modules have not been loaded (even though the RL loading clearly > states to load them as dependency which worked very well in > 1.18/1.19/1.20 and at least for 1.21alpha (3dd2209) ) since RL load > modules asynchronously causing script error message. Of course once > those scripts are served from cache un-styled content or non-loaded JS > module error disappears. > > [1] https://gerrit.wikimedia.org/r/#/c/64128/ > > [2] https://bugzilla.wikimedia.org/show_bug.cgi?id=46401 > > [3] https://bugzilla.wikimedia.org/show_bug.cgi?id=48944 > > PS: I'm no longer in the mood to invest any of my time trying the fix > this issue as WMF is refusing to acknowledge the problem. > > Cheers > > On 9/2/13, Yury Katkov wrote: >> Hi guys! >> >> Look at the documentation pages for jqplotchart format, for example >> here: http://www.semantic-mediawiki.org/wiki/Demo:Jqplotchart/Population >> >> I have the following effects both on my wiki and on semantic-mediawiki.org: >> 1) sometimes the result printer actually prints something. In case of >> piecharts it prints big round pie with sum of the numbers >> 2) sometimes it prints trobber or nothing and throws TypeErrors to the >> console >> >> Any ideas what causes that? >> ----- >> Yury Katkov, WikiVote >> >> ------------------------------------------------------------------------------ >> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >> Discover the easy way to master current and previous Microsoft technologies >> and advance your career. Get an incredible 1,500+ hours of step-by-step >> tutorial videos with LearnDevNow. Subscribe today and save! >> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >> _______________________________________________ >> Semediawiki-user mailing list >> Semediawiki-user@... >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >> > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Semediawiki-user mailing list > Semediawiki-user@... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user 
 Re: [Semediawiki-user] jqplotchart format is broken? From: James HK - 2013-09-01 23:13:54 Hi, It is an issue that started with some changes on the RL implementation somewhere on the MW 1.21 track which changed the way how CSS/JS modules are loaded. I raised this issue [1], [2] twice with WMF developers and they say nothing they can do because nothing that has changed nor need fixing. It is not only effecting jqplotchart, you can also see that on other occasions where specific CSS rules are required with screen elements seem flashy (un-styled content) because rules/scripts are loaded after the element is placed which in terms of jqplotchart has a for more reaching effect with some charts expecting additional JS modules. Those modules have not been loaded (even though the RL loading clearly states to load them as dependency which worked very well in 1.18/1.19/1.20 and at least for 1.21alpha (3dd2209) ) since RL load modules asynchronously causing script error message. Of course once those scripts are served from cache un-styled content or non-loaded JS module error disappears. [1] https://gerrit.wikimedia.org/r/#/c/64128/ [2] https://bugzilla.wikimedia.org/show_bug.cgi?id=46401 [3] https://bugzilla.wikimedia.org/show_bug.cgi?id=48944 PS: I'm no longer in the mood to invest any of my time trying the fix this issue as WMF is refusing to acknowledge the problem. Cheers On 9/2/13, Yury Katkov wrote: > Hi guys! > > Look at the documentation pages for jqplotchart format, for example > here: http://www.semantic-mediawiki.org/wiki/Demo:Jqplotchart/Population > > I have the following effects both on my wiki and on semantic-mediawiki.org: > 1) sometimes the result printer actually prints something. In case of > piecharts it prints big round pie with sum of the numbers > 2) sometimes it prints trobber or nothing and throws TypeErrors to the > console > > Any ideas what causes that? > ----- > Yury Katkov, WikiVote > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Semediawiki-user mailing list > Semediawiki-user@... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > 
 [Semediawiki-user] jqplotchart format is broken? From: Yury Katkov - 2013-09-01 21:57:19 Hi guys! Look at the documentation pages for jqplotchart format, for example here: http://www.semantic-mediawiki.org/wiki/Demo:Jqplotchart/Population I have the following effects both on my wiki and on semantic-mediawiki.org: 1) sometimes the result printer actually prints something. In case of piecharts it prints big round pie with sum of the numbers 2) sometimes it prints trobber or nothing and throws TypeErrors to the console Any ideas what causes that? ----- Yury Katkov, WikiVote 
 Re: [Semediawiki-user] Semantic forms, Templates and subobjects From: Hans Faynmann - 2013-09-01 20:03:34 I extended my approach according to this explanation: http://smw.referata.com/wiki/Use_the_ask_template_format_to_create_tabular_output So on the page of Audi I have implemented these queries: {{#ask: [[Category:Cars]] [[has corporation::{{FULLPAGENAME}}]] | format=array | name=Audi-Car-Array | sep={{!}}{{!}} }} {{#ask: [[is building period of::{{#arrayprint:Audi-Car-Array|{{!}}{{!}} }}]] | ?has corporation=corp | ?has facility #=facilityname | ?has build date start=startdatum | format=template | template=CarTableTemplate | named args=yes | mainlabel=carname | introtemplate=CarTableTemplateHeader | outrotemplate=CarTableTemplateFooter | userparam={{FULLPAGENAME}} }} In the resulting table (CarTableTemplate) I added further queries: |{{{?carname}}} || Corporation: {{#ask: [[{{#sub: {{#explode: {{{?carname}}}|#|0}} |3 }}]]|?has corporation= |mainlabel=- |format=list}} || {{#ask: [[{{{?facilityname|}}}]] }} ||{{#ask: [[{{{?facilityname|}}}]] |?has street= |mainlabel=- |format=list}} || {{#ask: [[{{{?facilityname|}}}]] |?has city= |mainlabel=- |format=list}} || {{{?startdatum}}} |- In the field Corporation I want to show the corporation the car is building (later I want to refer to this as "brand", seperating the corporation that builds cars from the corporation the facilities belong to). As I am querying for subobjects, the result I get for {{?carname}} is in the form: http://wlw.referata.com/wiki/Audi_A6#_bcf59e877d93643c972a171740dbc1c7 When I use {{#explode}}, I get "[[:Audi A6" with leading [[:, so I have to parse the string another time with #sub. Why do I get the additional [[:? And isn't there a solution to only get the car name? mainlabel # = carname does not work... 2013/9/1 Hans Faynmann > Next step (nothing to do with Steve Jobs): > I got the same result using Semantic Result Format's arrays: > > {{#ask: > [[Category:Facilities]] > [[has corporation::{{FULLPAGENAME}}]] > | format=array > | name=BMW-Array > | propsep=propsep > | sep={{!}}{{!}} > }} > > {{#arrayprint:BMW-Array|{{!}}{{!}} }} > > {{#ask: > [[has facility::{{#arrayprint:BMW-Array|{{!}}{{!}} }}]] > |?has code name > |?has facility > |?has build date start > |?has build date end > }} > > But I also want to show a column "City"; the parameter "has city" is > located in the facilities. > > How do I get it to show up? > just "|?has city" obviously does not work > > > > 2013/9/1 Hans Faynmann > >> If I hardcode the query on the corporation's page like: >> >> {{#ask: >> [[has facility::Werk 2.4||BMW Werk 1.1]] >> |?has code name >> |?has facility >> |?has build date start >> |?has build date end >> |?has city >> }} >> >> I get everything in a table. >> Is it possible to get something like Werk 2.4||BMW Werk 1.1 out of a >> query and put it into another query? >> Is using the Array-extension useful or is it too much of a hassle for >> something like this? >> >> Or is there another way in putting all information in one table? >> >> >> 2013/8/31 Hans Faynmann >> >>> Okay, I tried naming the parameter with named args=yes and it worked. >>> >>> But as output, I get separate tables for each factory. >>> Is it possible to get all the information in one big table so one could >>> sort it? >>> >>> >>> >>> 2013/8/31 Hans Faynmann >>> >>>> Hi, >>>> thanks again, I think I got it now. >>>> But after displaying the results, I get an error stating: >>>> >>>> The part "|BMW Werk 1.1" of the query was not understood. >>>> Results might not be as expected. >>>> The part "]]" of the query was not understood. Results might not be as >>>> expected. >>>> >>>> >>>> My queries: >>>> In BMW's page (the corporation): >>>> {{#ask: >>>> [[Category:Facilities]] >>>> [[has corporation::{{FULLPAGENAME}}]] >>>> | format=template >>>> | template=QueryForCar >>>> }} >>>> >>>> Query in template "QueryForCar": >>>> {{#ask: >>>> [[has facility::{{{1}}}]] >>>> |?has code name >>>> |?has facility >>>> |?has build date start >>>> |?has build date end >>>> }} >>>> >>>> If I "hardcode" the query like "has facility: Werk 2.4" I don't get an >>>> error... >>>> >>>> I think I have to do something before passing the parameter that goes >>>> into {{{1}}}?!? >>>> >>>> >>>> >>>> 2013/8/29 Yaron Koren >>>> >>>>> Hi, >>>>> >>>>> See my previous answer for that - you either need to hardcode the >>>>> list, or use a templated query result. >>>>> >>>>> >>>>> On Wed, Aug 28, 2013 at 9:29 AM, Hans Faynmann < >>>>> hans.faynmann@...> wrote: >>>>> >>>>>> Thanks to your answer I figured out how to query all the cars that >>>>>> are >>>>>> produced by a facility by putting this query on a facility-page: >>>>>> {{#ask:[[is building period of::+]] [[has >>>>>> facility::{{FULLPAGENAME}}]]| >>>>>> ?has build date start|?has facility}} >>>>>> >>>>>> with "is building period of" being the property pointing back to the >>>>>> page >>>>>> of the car. >>>>>> (You can find a sample facility here: >>>>>> http://wlw.referata.com/wiki/Werk_2.4 >>>>>> ) >>>>>> >>>>>> The subobject "Building period" is being created on the page "Cars". >>>>>> >>>>>> The page cars has - among the subobject and other properties the >>>>>> property >>>>>> "has corporation". >>>>>> >>>>>> The page facility has no subobjects, and among other properties the >>>>>> property "has corporation". >>>>>> >>>>>> You can find samples here: >>>>>> - Sample facility: http://wlw.referata.com/wiki/Werk_2.4 >>>>>> - Sample car: http://wlw.referata.com/wiki/BMW_3er_GT >>>>>> - Sample corporation: http://wlw.referata.com/wiki/BMW >>>>>> >>>>>> What should the query look like if I want to show all the facilities >>>>>> with >>>>>> every car that is produced there and its building period? >>>>>> Or the other way round: Show all the cars that are produced by the >>>>>> corporation with the respective facilities. >>>>>> >>>>>> >>>>>> 2013/8/28 Yaron Koren >>>>>> >>>>>> > Hi, >>>>>> > >>>>>> > Well, each subobject is a "child" of both a car and a facility - so >>>>>> you >>>>>> > could subdivide by either - though since the data is stored on car >>>>>> pages, >>>>>> > it probably makes sense to subdivide by car, not by facility, >>>>>> contrary to >>>>>> > what I said earlier. >>>>>> > >>>>>> > I don't know what your "Building period" template looks like, but >>>>>> the >>>>>> > #subobject call should contain a property pointing back to the >>>>>> page. Then, >>>>>> > it's just a matter of querying on "[[Has car::]]" or some >>>>>> such to >>>>>> > get all the building periods for a certain car. >>>>>> > >>>>>> > -Yaron >>>>>> > >>>>>> > >>>>>> > On Wed, Aug 28, 2013 at 4:27 AM, Hans Faynmann < >>>>>> hans.faynmann@...>wrote: >>>>>> > >>>>>> >> Thanks, that's something I didn't think of doing first: querying >>>>>> every car >>>>>> >> a facility produces first... >>>>>> >> But even then, I need some advice on how to query for another >>>>>> page's >>>>>> >> subobjects. >>>>>> >> How can I query on the facility's page for all the cars that are >>>>>> produced >>>>>> >> there (with date), as the data is stored in the cars's subobjects? >>>>>> >> >>>>>> >> I would like to use "generic" queries instead of hardcoded ones as >>>>>> I would >>>>>> >> like to create a database of all car makers, populated by me and >>>>>> others >>>>>> >> and >>>>>> >> by using forms to fill in the data so that noone has to edit pages >>>>>> >> individually... >>>>>> >> >>>>>> >> Is there probably a possibility to nest queries in others? Like >>>>>> #ask: -has >>>>>> >> subobject:{{first result of query for cars by bmw}} ? >>>>>> >> >>>>>> >> >>>>>> >> 2013/8/27 Yaron Koren >>>>>> >> >>>>>> >> > Hi Hans, >>>>>> >> > >>>>>> >> > This seems like a very reasonable data structure. Do you have >>>>>> such a >>>>>> >> > query, that displays that information (or at least the last three >>>>>> >> columns) >>>>>> >> > for a given facility? If so, you have two options: you can >>>>>> include on >>>>>> >> the >>>>>> >> > BMW page a set of hardcoded queries showing that information, >>>>>> one for >>>>>> >> each >>>>>> >> > facility; or you can have a query on all the facilities, in >>>>>> template >>>>>> >> > format, and then create a template that contains that other >>>>>> query, >>>>>> >> given a >>>>>> >> > passed-in facility name. The main query could look like: >>>>>> >> > >>>>>> >> > {{#ask:[[Facility of::BMW]]|format=template|template=Query for >>>>>> >> facility}} >>>>>> >> > >>>>>> >> > -Yaron >>>>>> >> > >>>>>> >> > >>>>>> >> > On Tue, Aug 27, 2013 at 9:54 AM, Hans Faynmann < >>>>>> hans.faynmann@... >>>>>> >> >wrote: >>>>>> >> > >>>>>> >> >> Thanks, that did the trick (obviously... I had a blackout). And >>>>>> thanks >>>>>> >> for >>>>>> >> >> the advice to use the additional call. >>>>>> >> >> >>>>>> >> >> >>>>>> >> >> I also need some support in building a car maker database: >>>>>> >> >> >>>>>> >> >> Let’s say I have a corporation [[Category:Corporations]] >>>>>> >> >> >>>>>> >> >> Each corporation has facilities [[Category:Facilities]] >>>>>> >> >> >>>>>> >> >> Then there are cars: Each car can be built in various >>>>>> facilities, each >>>>>> >> has >>>>>> >> >> its own building period (like the past and present positions of >>>>>> an >>>>>> >> >> employee >>>>>> >> >> in Yaron’s book) >>>>>> >> >> >>>>>> >> >> >>>>>> >> >> Example: >>>>>> >> >> >>>>>> >> >> - Corporation: BMW (address of headquarter, …) >>>>>> >> >> >>>>>> >> >> - Facility: Werk 1.1 (CORPORATION:BMW, address, …) >>>>>> >> >> >>>>>> >> >> - Car: BMW 3 Series Saloon (CORPORATION: BMW, model range: 3 >>>>>> series, >>>>>> >> ...) >>>>>> >> >> >>>>>> >> >> -- Subobjects Building period: >>>>>> >> >> >>>>>> >> >> --- Facility: Werk 1.1 >>>>>> >> >> >>>>>> >> >> --- Start of production: September 1, 2012 >>>>>> >> >> >>>>>> >> >> --- End of production: >>>>>> >> >> >>>>>> >> >> >>>>>> >> >> --- Facility: Werk 6.1 >>>>>> >> >> >>>>>> >> >> --- Start of production: November 22, 2012 >>>>>> >> >> >>>>>> >> >> --- End of production: >>>>>> >> >> >>>>>> >> >> >>>>>> >> >> How can I show a list on the page of BMW (how should the #ask >>>>>> call look >>>>>> >> >> like) that looks like: >>>>>> >> >> >>>>>> >> >> Facility, Car, Start of Production, End of Production >>>>>> >> >> >>>>>> >> >> >>>>>> >> >> And probably actually much more important: is this a good way >>>>>> to model >>>>>> >> the >>>>>> >> >> data? >>>>>> >> >> >>>>>> >> >> >>>>>> >> >>>>>> ------------------------------------------------------------------------------ >>>>>> >> >> Introducing Performance Central, a new site from SourceForge and >>>>>> >> >> AppDynamics. Performance Central is your source for news, >>>>>> insights, >>>>>> >> >> analysis and resources for efficient Application Performance >>>>>> >> Management. >>>>>> >> >> Visit us today! >>>>>> >> >> >>>>>> >> >> >>>>>> >> >>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk >>>>>> >> >> _______________________________________________ >>>>>> >> >> Semediawiki-user mailing list >>>>>> >> >> Semediawiki-user@... >>>>>> >> >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >>>>>> >> >> >>>>>> >> > >>>>>> >> > >>>>>> >> > >>>>>> >> > -- >>>>>> >> > WikiWorks · MediaWiki Consulting · http://wikiworks.com >>>>>> >> > >>>>>> >> >>>>>> >> >>>>>> ------------------------------------------------------------------------------ >>>>>> >> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, >>>>>> more! >>>>>> >> Discover the easy way to master current and previous Microsoft >>>>>> >> technologies >>>>>> >> and advance your career. Get an incredible 1,500+ hours of >>>>>> step-by-step >>>>>> >> tutorial videos with LearnDevNow. Subscribe today and save! >>>>>> >> >>>>>> >> >>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >>>>>> >> >>>>>> >> _______________________________________________ >>>>>> >> Semediawiki-user mailing list >>>>>> >> Semediawiki-user@... >>>>>> >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >>>>>> >> >>>>>> > >>>>>> > >>>>>> > >>>>>> > -- >>>>>> > WikiWorks · MediaWiki Consulting · http://wikiworks.com >>>>>> > >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >>>>>> Discover the easy way to master current and previous Microsoft >>>>>> technologies >>>>>> and advance your career. Get an incredible 1,500+ hours of >>>>>> step-by-step >>>>>> tutorial videos with LearnDevNow. Subscribe today and save! >>>>>> >>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >>>>>> _______________________________________________ >>>>>> Semediawiki-user mailing list >>>>>> Semediawiki-user@... >>>>>> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> WikiWorks · MediaWiki Consulting · http://wikiworks.com >>>>> >>>> >>>> >>> >> > 
 Re: [Semediawiki-user] Semantic forms, Templates and subobjects From: Hans Faynmann - 2013-09-01 14:33:10 Next step (nothing to do with Steve Jobs): I got the same result using Semantic Result Format's arrays: {{#ask: [[Category:Facilities]] [[has corporation::{{FULLPAGENAME}}]] | format=array | name=BMW-Array | propsep=propsep | sep={{!}}{{!}} }} {{#arrayprint:BMW-Array|{{!}}{{!}} }} {{#ask: [[has facility::{{#arrayprint:BMW-Array|{{!}}{{!}} }}]] |?has code name |?has facility |?has build date start |?has build date end }} But I also want to show a column "City"; the parameter "has city" is located in the facilities. How do I get it to show up? just "|?has city" obviously does not work 2013/9/1 Hans Faynmann > If I hardcode the query on the corporation's page like: > > {{#ask: > [[has facility::Werk 2.4||BMW Werk 1.1]] > |?has code name > |?has facility > |?has build date start > |?has build date end > |?has city > }} > > I get everything in a table. > Is it possible to get something like Werk 2.4||BMW Werk 1.1 out of a query > and put it into another query? > Is using the Array-extension useful or is it too much of a hassle for > something like this? > > Or is there another way in putting all information in one table? > > > 2013/8/31 Hans Faynmann > >> Okay, I tried naming the parameter with named args=yes and it worked. >> >> But as output, I get separate tables for each factory. >> Is it possible to get all the information in one big table so one could >> sort it? >> >> >> >> 2013/8/31 Hans Faynmann >> >>> Hi, >>> thanks again, I think I got it now. >>> But after displaying the results, I get an error stating: >>> >>> The part "|BMW Werk 1.1" of the query was not understood. >>> Results might not be as expected. >>> The part "]]" of the query was not understood. Results might not be as >>> expected. >>> >>> >>> My queries: >>> In BMW's page (the corporation): >>> {{#ask: >>> [[Category:Facilities]] >>> [[has corporation::{{FULLPAGENAME}}]] >>> | format=template >>> | template=QueryForCar >>> }} >>> >>> Query in template "QueryForCar": >>> {{#ask: >>> [[has facility::{{{1}}}]] >>> |?has code name >>> |?has facility >>> |?has build date start >>> |?has build date end >>> }} >>> >>> If I "hardcode" the query like "has facility: Werk 2.4" I don't get an >>> error... >>> >>> I think I have to do something before passing the parameter that goes >>> into {{{1}}}?!? >>> >>> >>> >>> 2013/8/29 Yaron Koren >>> >>>> Hi, >>>> >>>> See my previous answer for that - you either need to hardcode the list, >>>> or use a templated query result. >>>> >>>> >>>> On Wed, Aug 28, 2013 at 9:29 AM, Hans Faynmann >>> > wrote: >>>> >>>>> Thanks to your answer I figured out how to query all the cars that are >>>>> produced by a facility by putting this query on a facility-page: >>>>> {{#ask:[[is building period of::+]] [[has facility::{{FULLPAGENAME}}]]| >>>>> ?has build date start|?has facility}} >>>>> >>>>> with "is building period of" being the property pointing back to the >>>>> page >>>>> of the car. >>>>> (You can find a sample facility here: >>>>> http://wlw.referata.com/wiki/Werk_2.4 >>>>> ) >>>>> >>>>> The subobject "Building period" is being created on the page "Cars". >>>>> >>>>> The page cars has - among the subobject and other properties the >>>>> property >>>>> "has corporation". >>>>> >>>>> The page facility has no subobjects, and among other properties the >>>>> property "has corporation". >>>>> >>>>> You can find samples here: >>>>> - Sample facility: http://wlw.referata.com/wiki/Werk_2.4 >>>>> - Sample car: http://wlw.referata.com/wiki/BMW_3er_GT >>>>> - Sample corporation: http://wlw.referata.com/wiki/BMW >>>>> >>>>> What should the query look like if I want to show all the facilities >>>>> with >>>>> every car that is produced there and its building period? >>>>> Or the other way round: Show all the cars that are produced by the >>>>> corporation with the respective facilities. >>>>> >>>>> >>>>> 2013/8/28 Yaron Koren >>>>> >>>>> > Hi, >>>>> > >>>>> > Well, each subobject is a "child" of both a car and a facility - so >>>>> you >>>>> > could subdivide by either - though since the data is stored on car >>>>> pages, >>>>> > it probably makes sense to subdivide by car, not by facility, >>>>> contrary to >>>>> > what I said earlier. >>>>> > >>>>> > I don't know what your "Building period" template looks like, but the >>>>> > #subobject call should contain a property pointing back to the page. >>>>> Then, >>>>> > it's just a matter of querying on "[[Has car::]]" or some >>>>> such to >>>>> > get all the building periods for a certain car. >>>>> > >>>>> > -Yaron >>>>> > >>>>> > >>>>> > On Wed, Aug 28, 2013 at 4:27 AM, Hans Faynmann < >>>>> hans.faynmann@...>wrote: >>>>> > >>>>> >> Thanks, that's something I didn't think of doing first: querying >>>>> every car >>>>> >> a facility produces first... >>>>> >> But even then, I need some advice on how to query for another page's >>>>> >> subobjects. >>>>> >> How can I query on the facility's page for all the cars that are >>>>> produced >>>>> >> there (with date), as the data is stored in the cars's subobjects? >>>>> >> >>>>> >> I would like to use "generic" queries instead of hardcoded ones as >>>>> I would >>>>> >> like to create a database of all car makers, populated by me and >>>>> others >>>>> >> and >>>>> >> by using forms to fill in the data so that noone has to edit pages >>>>> >> individually... >>>>> >> >>>>> >> Is there probably a possibility to nest queries in others? Like >>>>> #ask: -has >>>>> >> subobject:{{first result of query for cars by bmw}} ? >>>>> >> >>>>> >> >>>>> >> 2013/8/27 Yaron Koren >>>>> >> >>>>> >> > Hi Hans, >>>>> >> > >>>>> >> > This seems like a very reasonable data structure. Do you have >>>>> such a >>>>> >> > query, that displays that information (or at least the last three >>>>> >> columns) >>>>> >> > for a given facility? If so, you have two options: you can >>>>> include on >>>>> >> the >>>>> >> > BMW page a set of hardcoded queries showing that information, one >>>>> for >>>>> >> each >>>>> >> > facility; or you can have a query on all the facilities, in >>>>> template >>>>> >> > format, and then create a template that contains that other query, >>>>> >> given a >>>>> >> > passed-in facility name. The main query could look like: >>>>> >> > >>>>> >> > {{#ask:[[Facility of::BMW]]|format=template|template=Query for >>>>> >> facility}} >>>>> >> > >>>>> >> > -Yaron >>>>> >> > >>>>> >> > >>>>> >> > On Tue, Aug 27, 2013 at 9:54 AM, Hans Faynmann < >>>>> hans.faynmann@... >>>>> >> >wrote: >>>>> >> > >>>>> >> >> Thanks, that did the trick (obviously... I had a blackout). And >>>>> thanks >>>>> >> for >>>>> >> >> the advice to use the additional call. >>>>> >> >> >>>>> >> >> >>>>> >> >> I also need some support in building a car maker database: >>>>> >> >> >>>>> >> >> Let’s say I have a corporation [[Category:Corporations]] >>>>> >> >> >>>>> >> >> Each corporation has facilities [[Category:Facilities]] >>>>> >> >> >>>>> >> >> Then there are cars: Each car can be built in various >>>>> facilities, each >>>>> >> has >>>>> >> >> its own building period (like the past and present positions of >>>>> an >>>>> >> >> employee >>>>> >> >> in Yaron’s book) >>>>> >> >> >>>>> >> >> >>>>> >> >> Example: >>>>> >> >> >>>>> >> >> - Corporation: BMW (address of headquarter, …) >>>>> >> >> >>>>> >> >> - Facility: Werk 1.1 (CORPORATION:BMW, address, …) >>>>> >> >> >>>>> >> >> - Car: BMW 3 Series Saloon (CORPORATION: BMW, model range: 3 >>>>> series, >>>>> >> ...) >>>>> >> >> >>>>> >> >> -- Subobjects Building period: >>>>> >> >> >>>>> >> >> --- Facility: Werk 1.1 >>>>> >> >> >>>>> >> >> --- Start of production: September 1, 2012 >>>>> >> >> >>>>> >> >> --- End of production: >>>>> >> >> >>>>> >> >> >>>>> >> >> --- Facility: Werk 6.1 >>>>> >> >> >>>>> >> >> --- Start of production: November 22, 2012 >>>>> >> >> >>>>> >> >> --- End of production: >>>>> >> >> >>>>> >> >> >>>>> >> >> How can I show a list on the page of BMW (how should the #ask >>>>> call look >>>>> >> >> like) that looks like: >>>>> >> >> >>>>> >> >> Facility, Car, Start of Production, End of Production >>>>> >> >> >>>>> >> >> >>>>> >> >> And probably actually much more important: is this a good way to >>>>> model >>>>> >> the >>>>> >> >> data? >>>>> >> >> >>>>> >> >> >>>>> >> >>>>> ------------------------------------------------------------------------------ >>>>> >> >> Introducing Performance Central, a new site from SourceForge and >>>>> >> >> AppDynamics. Performance Central is your source for news, >>>>> insights, >>>>> >> >> analysis and resources for efficient Application Performance >>>>> >> Management. >>>>> >> >> Visit us today! >>>>> >> >> >>>>> >> >> >>>>> >> >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk >>>>> >> >> _______________________________________________ >>>>> >> >> Semediawiki-user mailing list >>>>> >> >> Semediawiki-user@... >>>>> >> >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >>>>> >> >> >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > -- >>>>> >> > WikiWorks · MediaWiki Consulting · http://wikiworks.com >>>>> >> > >>>>> >> >>>>> >> >>>>> ------------------------------------------------------------------------------ >>>>> >> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, >>>>> more! >>>>> >> Discover the easy way to master current and previous Microsoft >>>>> >> technologies >>>>> >> and advance your career. Get an incredible 1,500+ hours of >>>>> step-by-step >>>>> >> tutorial videos with LearnDevNow. Subscribe today and save! >>>>> >> >>>>> >> >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >>>>> >> >>>>> >> _______________________________________________ >>>>> >> Semediawiki-user mailing list >>>>> >> Semediawiki-user@... >>>>> >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >>>>> >> >>>>> > >>>>> > >>>>> > >>>>> > -- >>>>> > WikiWorks · MediaWiki Consulting · http://wikiworks.com >>>>> > >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >>>>> Discover the easy way to master current and previous Microsoft >>>>> technologies >>>>> and advance your career. Get an incredible 1,500+ hours of step-by-step >>>>> tutorial videos with LearnDevNow. Subscribe today and save! >>>>> >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >>>>> _______________________________________________ >>>>> Semediawiki-user mailing list >>>>> Semediawiki-user@... >>>>> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >>>>> >>>> >>>> >>>> >>>> -- >>>> WikiWorks · MediaWiki Consulting · http://wikiworks.com >>>> >>> >>> >> > 
 Re: [Semediawiki-user] Semantic forms, Templates and subobjects From: Hans Faynmann - 2013-09-01 10:09:13 If I hardcode the query on the corporation's page like: {{#ask: [[has facility::Werk 2.4||BMW Werk 1.1]] |?has code name |?has facility |?has build date start |?has build date end |?has city }} I get everything in a table. Is it possible to get something like Werk 2.4||BMW Werk 1.1 out of a query and put it into another query? Is using the Array-extension useful or is it too much of a hassle for something like this? Or is there another way in putting all information in one table? 2013/8/31 Hans Faynmann > Okay, I tried naming the parameter with named args=yes and it worked. > > But as output, I get separate tables for each factory. > Is it possible to get all the information in one big table so one could > sort it? > > > > 2013/8/31 Hans Faynmann > >> Hi, >> thanks again, I think I got it now. >> But after displaying the results, I get an error stating: >> >> The part "|BMW Werk 1.1" of the query was not understood. >> Results might not be as expected. >> The part "]]" of the query was not understood. Results might not be as >> expected. >> >> >> My queries: >> In BMW's page (the corporation): >> {{#ask: >> [[Category:Facilities]] >> [[has corporation::{{FULLPAGENAME}}]] >> | format=template >> | template=QueryForCar >> }} >> >> Query in template "QueryForCar": >> {{#ask: >> [[has facility::{{{1}}}]] >> |?has code name >> |?has facility >> |?has build date start >> |?has build date end >> }} >> >> If I "hardcode" the query like "has facility: Werk 2.4" I don't get an >> error... >> >> I think I have to do something before passing the parameter that goes >> into {{{1}}}?!? >> >> >> >> 2013/8/29 Yaron Koren >> >>> Hi, >>> >>> See my previous answer for that - you either need to hardcode the list, >>> or use a templated query result. >>> >>> >>> On Wed, Aug 28, 2013 at 9:29 AM, Hans Faynmann wrote: >>> >>>> Thanks to your answer I figured out how to query all the cars that are >>>> produced by a facility by putting this query on a facility-page: >>>> {{#ask:[[is building period of::+]] [[has facility::{{FULLPAGENAME}}]]| >>>> ?has build date start|?has facility}} >>>> >>>> with "is building period of" being the property pointing back to the >>>> page >>>> of the car. >>>> (You can find a sample facility here: >>>> http://wlw.referata.com/wiki/Werk_2.4 >>>> ) >>>> >>>> The subobject "Building period" is being created on the page "Cars". >>>> >>>> The page cars has - among the subobject and other properties the >>>> property >>>> "has corporation". >>>> >>>> The page facility has no subobjects, and among other properties the >>>> property "has corporation". >>>> >>>> You can find samples here: >>>> - Sample facility: http://wlw.referata.com/wiki/Werk_2.4 >>>> - Sample car: http://wlw.referata.com/wiki/BMW_3er_GT >>>> - Sample corporation: http://wlw.referata.com/wiki/BMW >>>> >>>> What should the query look like if I want to show all the facilities >>>> with >>>> every car that is produced there and its building period? >>>> Or the other way round: Show all the cars that are produced by the >>>> corporation with the respective facilities. >>>> >>>> >>>> 2013/8/28 Yaron Koren >>>> >>>> > Hi, >>>> > >>>> > Well, each subobject is a "child" of both a car and a facility - so >>>> you >>>> > could subdivide by either - though since the data is stored on car >>>> pages, >>>> > it probably makes sense to subdivide by car, not by facility, >>>> contrary to >>>> > what I said earlier. >>>> > >>>> > I don't know what your "Building period" template looks like, but the >>>> > #subobject call should contain a property pointing back to the page. >>>> Then, >>>> > it's just a matter of querying on "[[Has car::]]" or some >>>> such to >>>> > get all the building periods for a certain car. >>>> > >>>> > -Yaron >>>> > >>>> > >>>> > On Wed, Aug 28, 2013 at 4:27 AM, Hans Faynmann < >>>> hans.faynmann@...>wrote: >>>> > >>>> >> Thanks, that's something I didn't think of doing first: querying >>>> every car >>>> >> a facility produces first... >>>> >> But even then, I need some advice on how to query for another page's >>>> >> subobjects. >>>> >> How can I query on the facility's page for all the cars that are >>>> produced >>>> >> there (with date), as the data is stored in the cars's subobjects? >>>> >> >>>> >> I would like to use "generic" queries instead of hardcoded ones as I >>>> would >>>> >> like to create a database of all car makers, populated by me and >>>> others >>>> >> and >>>> >> by using forms to fill in the data so that noone has to edit pages >>>> >> individually... >>>> >> >>>> >> Is there probably a possibility to nest queries in others? Like >>>> #ask: -has >>>> >> subobject:{{first result of query for cars by bmw}} ? >>>> >> >>>> >> >>>> >> 2013/8/27 Yaron Koren >>>> >> >>>> >> > Hi Hans, >>>> >> > >>>> >> > This seems like a very reasonable data structure. Do you have such >>>> a >>>> >> > query, that displays that information (or at least the last three >>>> >> columns) >>>> >> > for a given facility? If so, you have two options: you can include >>>> on >>>> >> the >>>> >> > BMW page a set of hardcoded queries showing that information, one >>>> for >>>> >> each >>>> >> > facility; or you can have a query on all the facilities, in >>>> template >>>> >> > format, and then create a template that contains that other query, >>>> >> given a >>>> >> > passed-in facility name. The main query could look like: >>>> >> > >>>> >> > {{#ask:[[Facility of::BMW]]|format=template|template=Query for >>>> >> facility}} >>>> >> > >>>> >> > -Yaron >>>> >> > >>>> >> > >>>> >> > On Tue, Aug 27, 2013 at 9:54 AM, Hans Faynmann < >>>> hans.faynmann@... >>>> >> >wrote: >>>> >> > >>>> >> >> Thanks, that did the trick (obviously... I had a blackout). And >>>> thanks >>>> >> for >>>> >> >> the advice to use the additional call. >>>> >> >> >>>> >> >> >>>> >> >> I also need some support in building a car maker database: >>>> >> >> >>>> >> >> Let’s say I have a corporation [[Category:Corporations]] >>>> >> >> >>>> >> >> Each corporation has facilities [[Category:Facilities]] >>>> >> >> >>>> >> >> Then there are cars: Each car can be built in various facilities, >>>> each >>>> >> has >>>> >> >> its own building period (like the past and present positions of an >>>> >> >> employee >>>> >> >> in Yaron’s book) >>>> >> >> >>>> >> >> >>>> >> >> Example: >>>> >> >> >>>> >> >> - Corporation: BMW (address of headquarter, …) >>>> >> >> >>>> >> >> - Facility: Werk 1.1 (CORPORATION:BMW, address, …) >>>> >> >> >>>> >> >> - Car: BMW 3 Series Saloon (CORPORATION: BMW, model range: 3 >>>> series, >>>> >> ...) >>>> >> >> >>>> >> >> -- Subobjects Building period: >>>> >> >> >>>> >> >> --- Facility: Werk 1.1 >>>> >> >> >>>> >> >> --- Start of production: September 1, 2012 >>>> >> >> >>>> >> >> --- End of production: >>>> >> >> >>>> >> >> >>>> >> >> --- Facility: Werk 6.1 >>>> >> >> >>>> >> >> --- Start of production: November 22, 2012 >>>> >> >> >>>> >> >> --- End of production: >>>> >> >> >>>> >> >> >>>> >> >> How can I show a list on the page of BMW (how should the #ask >>>> call look >>>> >> >> like) that looks like: >>>> >> >> >>>> >> >> Facility, Car, Start of Production, End of Production >>>> >> >> >>>> >> >> >>>> >> >> And probably actually much more important: is this a good way to >>>> model >>>> >> the >>>> >> >> data? >>>> >> >> >>>> >> >> >>>> >> >>>> ------------------------------------------------------------------------------ >>>> >> >> Introducing Performance Central, a new site from SourceForge and >>>> >> >> AppDynamics. Performance Central is your source for news, >>>> insights, >>>> >> >> analysis and resources for efficient Application Performance >>>> >> Management. >>>> >> >> Visit us today! >>>> >> >> >>>> >> >> >>>> >> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk >>>> >> >> _______________________________________________ >>>> >> >> Semediawiki-user mailing list >>>> >> >> Semediawiki-user@... >>>> >> >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >>>> >> >> >>>> >> > >>>> >> > >>>> >> > >>>> >> > -- >>>> >> > WikiWorks · MediaWiki Consulting · http://wikiworks.com >>>> >> > >>>> >> >>>> >> >>>> ------------------------------------------------------------------------------ >>>> >> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, >>>> more! >>>> >> Discover the easy way to master current and previous Microsoft >>>> >> technologies >>>> >> and advance your career. Get an incredible 1,500+ hours of >>>> step-by-step >>>> >> tutorial videos with LearnDevNow. Subscribe today and save! >>>> >> >>>> >> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >>>> >> >>>> >> _______________________________________________ >>>> >> Semediawiki-user mailing list >>>> >> Semediawiki-user@... >>>> >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >>>> >> >>>> > >>>> > >>>> > >>>> > -- >>>> > WikiWorks · MediaWiki Consulting · http://wikiworks.com >>>> > >>>> >>>> ------------------------------------------------------------------------------ >>>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >>>> Discover the easy way to master current and previous Microsoft >>>> technologies >>>> and advance your career. Get an incredible 1,500+ hours of step-by-step >>>> tutorial videos with LearnDevNow. Subscribe today and save! >>>> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> Semediawiki-user mailing list >>>> Semediawiki-user@... >>>> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >>>> >>> >>> >>> >>> -- >>> WikiWorks · MediaWiki Consulting · http://wikiworks.com >>> >> >> > 
 [Semediawiki-user] Wiki of the Month for September 2013: SNPedia From: Yaron Koren - 2013-09-01 05:03:38 Hi everyone, I'm pleased to announce the Semantic MediaWiki wiki of the month for September 2013: SNPedia (pronounced "snipedia"), an important site in the field of human genomics. You can read more about this wiki here: http://semantic-mediawiki.org/wiki/SNPedia ...and view the site itself here: http://www.snpedia.com We're always looking for more wikis of the month, so to nominate your site, just write to wikiofthemonth@... And speaking of contributing, this is my first month as interim administrator for wiki of the month, now that Desiree Gennaro is on "maternity leave" (I put it in quotes because of course it's a volunteer position). We're still looking for someone else to take over this feature, so if you're interested, please write to that same address. If you want to help out the SMW project, this is a great way to do it! -Yaron -- WikiWorks · MediaWiki Consulting · http://wikiworks.com 

Showing results of 195

<< < 1 .. 6 7 8 (Page 8 of 8)