Well, I added these two entries in the database.... +----+---------------------------------------------+---+---+ | de | http://www.example.com/wiki/index.php/de_$1 | 1 | 0 | | en | http://www.example.com/wiki/index.php/$1 | 1 | 0 | +----+---------------------------------------------+---+---+
Now I can have two versions of a page, one in English, and one in German.
But now if I want to link to the German page "de_Beispiel" and have the text be Beispiel, I need to do this... [[de_Beispiel|Beispiel]]
I tried making a template called de so I could just do {{de|Beispiel}} but haven't got it to work, it just makes the text bold. Here is what I have in Template:de
[[de_{{{1}}}|{{{1}}}]]
Any ideas?
Thanks, ~Eric
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Frederich, Eric P21322 Sent: Friday, January 12, 2007 2:56 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] In Other Languages
Okay, I found it. I guess you were talking about a database table. Silly me. I think I understand what iw_local is for, not too sure about iw_trans.
Lets say my wiki is at....
http://www.example.com/wiki/index.php/
I'm not sure that I can set up a http://de.www.example.com/wiki/index.php/
...because wouldn't that have to be a separate wiki installation?
Can I just put in the interwiki table
values (de,http://www.example.com/wiki/index.php/de:$1,1,0) ?
Would that work okay? Has this been done successfully? Should I set up a namespace for German or leave it all in one namespace? I thought if I set up a new namespace then I couldn't search all by default and I'd have to search one, then the other. It would be nice if I could just do the /index.php/de:$1 thing and it'd work, but I don't want to mess things up.
Thanks, ~Eric
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Frederich, Eric P21322 Sent: Friday, January 12, 2007 2:27 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] In Other Languages
Where is this interwiki table? Is this done in some php file or via the web interface?
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Rob Church Sent: Friday, January 12, 2007 12:54 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] In Other Languages
On 12/01/07, Frederich, Eric P21322 eric.frederich@siemens.com wrote:
Hello everyone. I am trying to figure out how to get that side bar
"in
other languages" working on my Wiki site. In a page called sandbox, I put at the bottom a link [[de:Sandbox]]
but
it just stayed as a link on the bottom of the page instead of making
its
way into a new sidebar on the left. What do I have to do to get this working? Is it just a matter of creating the sidebar? If so, how do I do that. Any help is appreciated, I tried looking around but couldn't find much of anything.
Create an interwiki table entry with a prefix corresponding to a language code, e.g. "de".
Rob Church
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l