Re: [SMW-devel] Adding a 'category' format to SMW

2009-04-14 Thread Yaron Koren
Alright - the new 'category' format is now checked in to SMW, and it seems to work fine. There's also a somewhat related change that was made: the SMWSQLStore2Query class now retrieves the 'smw_sortkey' field from the database, and uses that when creating the object for each page to be displayed -

[SMW-devel] mysql optimizations? long runtime on inserts

2009-04-14 Thread Michael Dale
When doing an edit on our metavid.org site the following query takes up to 70 seconds: INSERT /* SMW::makeSMWPageID */ INTO `smw_ids` ( smw_id, smw_title, smw_namespace, after it runs it only takes a fraction of a second to insert the next edit you do. Has anyone else run into this issue and ha

Re: [SMW-devel] Adding a 'category' format to SMW

2009-04-14 Thread Denny Vrandečić
Even though personally I would prefer it to be in SRF, I see your point, and also see that it is not much code. Putting it in SMW core makes sense in my opinion. denny Yaron Koren wrote: > Hi, > > Dave Loomer wrote a 'category' result format, which puts page names in > columns, sorted and under

[SMW-devel] Adding a 'category' format to SMW

2009-04-14 Thread Yaron Koren
Hi, Dave Loomer wrote a 'category' result format, which puts page names in columns, sorted and under their first letter heading, just like MediaWiki's category pages; I'd like to check this in to SMW itself, and not SRF, since I think it should be an integral part of SMW. This was discussed earlie

Re: [SMW-devel] Fwd: [Wikitech-l] Large nested templates (example: NYRepresentatives)

2009-04-14 Thread Yaron Koren
Well, the real problem, reading through the deletion discussion, seems to be just that the template adds too much to the page ("This template adds 163.2 KiB to each of the 1,909 articles to which it is attached, and that is a big problem for anyone who is not using a broadband connection"), as oppo

[SMW-devel] Fwd: [Wikitech-l] Large nested templates (example: NYRepresentatives)

2009-04-14 Thread Sergey Chernyshev
Guys, you have a chance to help Brion explain why SMW can help get rid of Large nested templates. Sergey -- Forwarded message -- From: Domas Mituzas Date: Tue, Apr 14, 2009 at 3:47 AM Subject: Re: [Wikitech-l] Large nested templates (example: NYRepresentatives) To: Wikim