Collin | 14 Mar 2004 12:02
Picon

The interlanguage link just does not work in my MediaWiki..

i.e. if I input [[zh:Title]]  in the body of a page, "Other Language:" bar
is not displayed.

Can you give me some adivice about this?

Thank you very much!

BTW: I am using the latest version of mediawiki.

Collin
Brion Vibber | 15 Mar 2004 00:34
Picon
Favicon
Gravatar

Re: The interlanguage link just does not work in my MediaWiki..

On Mar 14, 2004, at 03:02, Collin wrote:
> i.e. if I input [[zh:Title]]  in the body of a page, "Other Language:" 
> bar
> is not displayed.

By default no language codes are defined as interwiki link prefixes.

Wikipedia defines a bunch for linking between Wikipedia's projects. If 
you're not Wikipedia, then these aren't probably what you want... but 
you can load them from maintenance/wikipedia-interwiki.sql.

-- brion vibber (brion  <at>  pobox.com)
_______________________________________________
Intlwiki-l mailing list
Intlwiki-l@...
http://mail.wikipedia.org/mailman/listinfo/intlwiki-l
Collin | 15 Mar 2004 04:20
Picon

RE: The interlanguage link just does not work in my MediaWiki..


Thank you!

I've solved the problem. 

I think I 'll never find out the answer without your kind
help. :-)

I 've another problem with regard to the multilanguage wiki.

Is it required to build several separate wiki(with different
domainname, separate database and separate MediaWiki
sourcecode files) to support multilanguage?

i.e. I have to create several different web directories for
each langauge, to bind each directory to a sub-domainname,
and to install MediaWiki in each web directory with
different language setting in the LocalSettings.php ?

Couldn't they share one database and one web directory ?

Thank you very much!

Collin
Brion Vibber | 15 Mar 2004 04:42
Picon
Favicon
Gravatar

Re: The interlanguage link just does not work in my MediaWiki..

On Mar 14, 2004, at 19:20, Collin wrote:
> Is it required to build several separate wiki(with different
> domainname, separate database and separate MediaWiki
> sourcecode files) to support multilanguage?
>
> i.e. I have to create several different web directories for
> each langauge, to bind each directory to a sub-domainname,
> and to install MediaWiki in each web directory with
> different language setting in the LocalSettings.php ?
>
> Couldn't they share one database and one web directory ?

Linking to pages with namespaces, munging of the searchindex, and the 
messages pulled from the MediaWiki namespace are dependant on the 
language setting of the wiki. These wouldn't mix very well in a single 
database at present.

-- brion vibber (brion  <at>  pobox.com)
_______________________________________________
Intlwiki-l mailing list
Intlwiki-l@...
http://mail.wikipedia.org/mailman/listinfo/intlwiki-l
Collin | 16 Mar 2004 05:09
Picon

RE: The interlanguage link just does not work in myMediaWiki..

Dear Brion,

Thank you for your help!

I 've another question.

May I set the namespace URL for each language to the same
URL like "www.mywiki.org", i.e. the namespace URL for en is
www.mywiki.org, and the namespaces URL for fr, de, zh, etc.
are all www.mywiki.org. 

I 've tried this way. It seems to work well, except that the
interface langauge is always English(will not change as
different language is selected.).

I wonder if this way has an potential danger. 

If no, may I make do this: to include languageXX.php
according to the which domain name(xx.mywiki.org) is used by
the user to access website, while every
domainnames(xx.mywiki.org) are bound to the same web
directory. 

Is this way OK to accomplish a multilanguage wiki with a
single database and web directory?

Thank you for your advice!

Collin
(Continue reading)

Andre Engels | 14 Mar 2004 22:43
Picon
Favicon

RE: The interlanguage link just does not work in my MediaWiki..

"Collin" <collin@...> schrieb:
> Thank you Andre!
> 
> The link "zh:text" does appear in the body of the text, but
> it appears to be different from what is described in 
> http://en.wikipedia.org/wiki/Wikipedia:Interlanguage_links.
> (*)

Yes, this means that it is not recognized as an interlanguage link.
Now I wish I had not reacted here, because I know hardly anything
of the code, there are people who know much more.

Do you have a file wikipedia-interwiki.sql, and is 'zh' defined
on it? That's the part I _do_ know. See
http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/maintenance/wikipedia-interwiki.sql
for Wikipedia's version of the file.

If that's not the one, then someone else will probably have to answer you...

Andre Engels

"Collin" <collin-SrpM76qZ5QjF11Dp+j+f1g@public.gmane.orgn> schrieb:
> Thank you Andre!
>
> The link "zh:text" does appear in the body of the text, but
> it appears to be different from what is described in
> http://en.wikipedia.org/wiki/Wikipedia:Interlanguage_links.
> (*)

Yes, this means that it is not recognized as an interlanguage link.
Now I wish I had not reacted here, because I know hardly anything
of the code, there are people who know much more.

Do you have a file wikipedia-interwiki.sql, and is 'zh' defined
on it? That's the part I _do_ know. See
http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/maintenance/wikipedia-interwiki.sql
for Wikipedia's version of the file.

If that's not the one, then someone else will probably have to answer you...

Andre Engels

_______________________________________________
Intlwiki-l mailing list
Intlwiki-l@...
http://mail.wikipedia.org/mailman/listinfo/intlwiki-l
(Continue reading)


Gmane