Re: [SMW-devel] cargo issues

2015-03-31 Thread John McClure
Ok, thanks for making the change for $wgDBprefix -- tested out okay. I hope you decide to allow cargo_declare to be on a page that is not a template. - separates declaration from use, a good thing to do On 3/31/2015 1:09 PM, Yaron Koren wrote: Hi, On Tue, Mar 31, 2015 at 3:54 PM, John McClur

Re: [SMW-devel] cargo issues

2015-03-31 Thread John McClure
On 3/31/2015 12:43 PM, Yaron Koren wrote: Hi, Ah, I didn't think about multiple wikis using the same database. I just checked in a fix so that the prefix for Cargo tables is not $wgDBprefix + "cargo__", instead of just "cargo__". I honestly dont understand where this "cargo__" prefix comes

Re: [SMW-devel] cargo issues

2015-03-31 Thread Yaron Koren
Hi, Ah, I didn't think about multiple wikis using the same database. I just checked in a fix so that the prefix for Cargo tables is not $wgDBprefix + "cargo__", instead of just "cargo__". Each template that stores data needs its own #cargo_declare call. If more than one template stores data to th

Re: [SMW-devel] cargo issues

2015-03-31 Thread John McClure
If there are multiple templates that store data, which one does the declare go into? If any, that is it doesn't matter which, then is this constraint you're imposing actually necessary? thanks On 3/31/2015 11:00 AM, Yaron Koren wrote: Oh, I missed your other question - Cargo is built around tem

Re: [SMW-devel] cargo issues

2015-03-31 Thread Yaron Koren
Oh, I missed your other question - Cargo is built around templates; they are responsible for storing data, so it made sense to put both the table declaration and the table storage go into the template page. On Tue, Mar 31, 2015 at 1:47 PM, Yaron Koren wrote: > Hi John, > > How does the absence o

Re: [SMW-devel] cargo issues

2015-03-31 Thread John McClure
On 3/31/2015 10:47 AM, Yaron Koren wrote: Hi John, How does the absence of the main MediaWiki DB prefix affect the running of the wiki farm - are you using one database for all the wikis, with a different table prefix for each? yes And why do you want leading underscores in Cargo table na

Re: [SMW-devel] cargo issues

2015-03-31 Thread Yaron Koren
Hi John, How does the absence of the main MediaWiki DB prefix affect the running of the wiki farm - are you using one database for all the wikis, with a different table prefix for each? And why do you want leading underscores in Cargo table names? -Yaron On Tue, Mar 31, 2015 at 1:17 PM, John Mc

Re: [SMW-devel] cargo issues

2015-03-31 Thread John McClure
Curious why cargo_declare must be in a template? thanks On 3/31/2015 10:17 AM, John McClure wrote: Hi Yaron I am unable to use Cargo in wikifarms (or with prefixed tables of any sort for that matter) It appears $wgDBprefix is not used in Cargo code, rather it uses its own prefix "Cargo__" (?) Al

[SMW-devel] cargo issues

2015-03-31 Thread John McClure
Hi Yaron I am unable to use Cargo in wikifarms (or with prefixed tables of any sort for that matter) It appears $wgDBprefix is not used in Cargo code, rather it uses its own prefix "Cargo__" (?) Also plz do not prevent table names with leading underscores. thanks/john ---