From: Laurent A. <la...@al...> - 2010-10-15 17:21:43
|
Or if you can place your categories under a top level category, you can create a simple page with this query : {{#ask:[[Category::Top level]]|format=count}} And then call that page from a remote wiki using the External Data extension. - Laurent On Fri, Oct 15, 2010 at 12:06 PM, Jeroen De Dauw <jer...@gm...>wrote: > Hey, > > You can get the page count from SMW installs via Special:ExportRDF?stats. > See this example [0]. > > [0] http://mapping.referata.com/wiki/Special:ExportRDF?stats > > Cheers > -- > Jeroen De Dauw > * http://blog.bn2vs.com > * http://wiki.bn2vs.com > Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 > 66 65! > -- > > > On 15 October 2010 16:29, Yaron Koren <ya...@gm...> wrote: > > > Hi, > > > > I don't think so, but you can at least get the approximate number of > > pages in SMW-enabled namespaces, with a query like: > > > > {{#ask:[[Modification date::+]]|format=count}} > > > > -Yaron > > > > On Fri, Oct 15, 2010 at 2:36 AM, Katkov Juriy <kat...@gm...> > > wrote: > > > Hello! > > > On a related issue - is it possible to ask another wiki about the > number > > of > > > articles it contains? > > > > > > > > > 2010/10/14 Yaron Koren <ya...@gm...> > > >> > > >> I just realized that that page uses #get_web_data, a new function that > > >> isn't in the documentation yet. You can see here for the version that > > >> uses #get_external_data instead - that's the very similar function > > >> that has been in place for a long time: > > >> > > >> http://discoursedb.org/w/index.php?title=Germany&oldid=11107 > > >> > > >> -Yaron > > >> > > >> 2010/10/14 Yaron Koren <ya...@gm...>: > > >> > Hi, > > >> > > > >> > It's great to see the growing number of solutions to this > > >> > (increasingly common?) problem. Since everyone is plugging their > > >> > extensions, let me note that this is also possible using the > External > > >> > Data extension: > > >> > > > >> > http://www.mediawiki.org/wiki/Extension:External_Data > > >> > > > >> > Here's an example of a page that uses External Data to display > values > > >> > from another wiki's SMW data: > > >> > > > >> > http://discoursedb.org/wiki/Germany > > >> > > > >> > -Yaron > > >> > > > >> > > > >> > 2010/10/14 Jan Makovička <jan...@fg...>: > > >> >> Hello guys, > > >> >> > > >> >> > > >> >> > > >> >> please, if I have two wikis, is there a way to run a inline query > > >> >> (#show) on > > >> >> first wiki which will lookup up in properties of the second wiki? > Or > > >> >> some > > >> >> other way how I can run queries from first wiki searching in > > properties > > >> >> of > > >> >> the second wiki? > > >> >> > > >> >> > > >> >> > > >> >> Thanks a lot. > > >> >> > > >> >> > > >> >> > > > ------------------------------------------------------------------------------ > > >> >> Beautiful is writing same markup. Internet Explorer 9 supports > > >> >> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > > >> >> Spend less time writing and rewriting code and more time creating > > >> >> great > > >> >> experiences on the web. Be a part of the beta today. > > >> >> http://p.sf.net/sfu/beautyoftheweb > > >> >> _______________________________________________ > > >> >> Semediawiki-user mailing list > > >> >> Sem...@li... > > >> >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > >> >> > > >> > > > >> > > > >> > > > >> > -- > > >> > WikiWorks · MediaWiki Consulting · http://wikiworks.com > > >> > > > >> > > >> > > >> > > >> -- > > >> WikiWorks · MediaWiki Consulting · http://wikiworks.com > > >> > > >> > > >> > > > ------------------------------------------------------------------------------ > > >> Beautiful is writing same markup. Internet Explorer 9 supports > > >> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > > >> Spend less time writing and rewriting code and more time creating > great > > >> experiences on the web. Be a part of the beta today. > > >> http://p.sf.net/sfu/beautyoftheweb > > >> _______________________________________________ > > >> Semediawiki-user mailing list > > >> Sem...@li... > > >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > > > > > > > > > > > > > -- > > WikiWorks · MediaWiki Consulting · http://wikiworks.com > > > > > > > ------------------------------------------------------------------------------ > > Download new Adobe(R) Flash(R) Builder(TM) 4 > > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > > Flex(R) Builder(TM)) enable the development of rich applications that run > > across multiple browsers and platforms. Download your free trials today! > > http://p.sf.net/sfu/adobe-dev2dev > > _______________________________________________ > > Semediawiki-user mailing list > > Sem...@li... > > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > -- - Laurent Alquier http://www.linfa.net |