Re: [xwiki-users] Languages & preferences

2007-09-03 Thread Marc Lijour
>> It will be my pleasure to help but my knowledge is quite empirical
>> and I
>> should not be trusted at this point ;)
>
> ;)
>
> Users can participate just a little bit at a time. No need to have
> the full knowledge.
>
> Thanks
> -Vincent

That's sound like something I can do ;)
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Languages & preferences

2007-09-03 Thread Vincent Massol

On Sep 4, 2007, at 1:01 AM, Marc Lijour wrote:

> Thank you Vincent. Currently "Skol" is working on it... (the page is
> unavailable).
>
> I found the old one:
> http://old.xwiki.org/xwiki/bin/view/DevGuide/Database+Schema .
> I can find most of this information just by looking at the database  
> schema
> myself. I wonder which tables are affected when I create a page (for
> example). My problem was actually the reverse because I needed to  
> fix it,
> hence I needed to know how it should look.

I know, but once you figure out what you're looking for... :)

> It will be my pleasure to help but my knowledge is quite empirical  
> and I
> should not be trusted at this point ;)

;)

Users can participate just a little bit at a time. No need to have  
the full knowledge.

Thanks
-Vincent

>
>> Hi Marc,
>>
>> On Sep 4, 2007, at 12:23 AM, Marc Lijour wrote:
>>
>> [snip]
>>
>>> It would really be helpful if the datamodel were documented
>>> somewhere (so
>>> that Sergiu could do something else than repeat the same things
>>> over and
>>> over...). Just my 0.02$.
>>
>> There was a try done there a long time ago:
>> http://www.xwiki.org/xwiki/bin/view/DevGuide/DatabaseSchema
>>
>> Only issues is that it's no longer up to date.
>>
>> But anyone is free to update it...
>>
>> Thanks
>> -Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Languages & preferences

2007-09-03 Thread Marc Lijour
Thank you Vincent. Currently "Skol" is working on it... (the page is
unavailable).

I found the old one:
http://old.xwiki.org/xwiki/bin/view/DevGuide/Database+Schema .
I can find most of this information just by looking at the database schema
myself. I wonder which tables are affected when I create a page (for
example). My problem was actually the reverse because I needed to fix it,
hence I needed to know how it should look.

It will be my pleasure to help but my knowledge is quite empirical and I
should not be trusted at this point ;)

> Hi Marc,
>
> On Sep 4, 2007, at 12:23 AM, Marc Lijour wrote:
>
> [snip]
>
>> It would really be helpful if the datamodel were documented
>> somewhere (so
>> that Sergiu could do something else than repeat the same things
>> over and
>> over...). Just my 0.02$.
>
> There was a try done there a long time ago:
> http://www.xwiki.org/xwiki/bin/view/DevGuide/DatabaseSchema
>
> Only issues is that it's no longer up to date.
>
> But anyone is free to update it...
>
> Thanks
> -Vincent
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Languages & preferences

2007-09-03 Thread Vincent Massol
Hi Marc,

On Sep 4, 2007, at 12:23 AM, Marc Lijour wrote:

[snip]

> It would really be helpful if the datamodel were documented  
> somewhere (so
> that Sergiu could do something else than repeat the same things  
> over and
> over...). Just my 0.02$.

There was a try done there a long time ago:
http://www.xwiki.org/xwiki/bin/view/DevGuide/DatabaseSchema

Only issues is that it's no longer up to date.

But anyone is free to update it...

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Languages & preferences

2007-09-03 Thread Marc Lijour
> Hi
>
> I have a couple of questions.
>
> 1) in XWiki.XWikiPreferences > parameters > language, can I add many
> languages separated by a comma (such as "fr,en")? (My default language is
> "en".)

Still don't know... :(

> 2) I have a page that shows "en" "en" and "fr" on top (I run a pre-1.0
> version, more on that later). Exploring MySQL DB shows effectively 3
> documents:
>
> mysql> select XWD_ID, XWD_LANGUAGE, XWD_TRANSLATION, XWD_DEFAULT_LANGUAGE
> from xwikidoc where XWD_NAME='WebHome' AND XWD_WEB='Main';
> ++--+-+--+
> | XWD_ID | XWD_LANGUAGE | XWD_TRANSLATION | XWD_DEFAULT_LANGUAGE |
> ++--+-+--+
> | 1807025832 | fr   |   1 |  |
> | 1807025797 | en   |   1 |  |
> | -114121954 |  |   0 | en   |
> ++--+-+--+
>
> The only one I care about is the French (fr) one. I could easily delete
> the other two to start with. How can I fix this?
> Is is enough to delete all three rows and start over from XWiki('s
> interface)?

Ok. After some digging I got lucky and I found a JIRA entry with a nice
explanation from Sergiu: http://jira.xwiki.org/jira/browse/XWIKI-181 .

For the record, I deleted the first 2 documents as you should know that a
1 in XWD_TRANSLATION means it is not the "main" document but a
translation. I just had to copy back my info et voila!

It would really be helpful if the datamodel were documented somewhere (so
that Sergiu could do something else than repeat the same things over and
over...). Just my 0.02$.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Languages & preferences

2007-09-02 Thread Marc Lijour
Hi

I have a couple of questions.

1) in XWiki.XWikiPreferences > parameters > language, can I add many
languages separated by a comma (such as "fr,en")? (My default language is
"en".)

2) I have a page that shows "en" "en" and "fr" on top (I run a pre-1.0
version, more on that later). Exploring MySQL DB shows effectively 3
documents:

mysql> select XWD_ID, XWD_LANGUAGE, XWD_TRANSLATION, XWD_DEFAULT_LANGUAGE
from xwikidoc where XWD_NAME='WebHome' AND XWD_WEB='Main';
++--+-+--+
| XWD_ID | XWD_LANGUAGE | XWD_TRANSLATION | XWD_DEFAULT_LANGUAGE |
++--+-+--+
| 1807025832 | fr   |   1 |  |
| 1807025797 | en   |   1 |  |
| -114121954 |  |   0 | en   |
++--+-+--+

The only one I care about is the French (fr) one. I could easily delete
the other two to start with. How can I fix this?
Is is enough to delete all three rows and start over from XWiki('s
interface)?

3) I migrated successfully to  1.1rc1. I followed all the instructions
from the website (very thorough explanations, kudos!). That includes
importing the panel application, some pages from the full XAR package. I
also replaced the core jar file. Everything went fine data-wise, as far as
I can see. I have noticed 1 issue though:

- for some reason I can't use the albatross skin. This skin is defined in
xwiki.cfg, XWiki.DefaultSkin is in preferences (I also tried to replace it
with xwikibu10 or so, following the documentation steps). In the current
system it is the default skin is used ("default" is set in preferences).
However, I had done some work on a customized Skin and it is this custom
skin that shows up on the migrated wiki (I have no idea why). I can't see
it from the HTML source code but I have no clue why XWiki decides to use
this skin when something else is defined in preferences (and in
xwiki.cfg). I give up. Where should I look?

Thanks. XWiki has really improved from last year. Great job!

Marc

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users