Frank Peters wrote:
http://www.mediawiki.org/wiki/Help:Interwiki_linking, you 'just' have to create some entries in the interwiki tables witch contains data like :

INSERT INTO `interwiki` VALUES ('en', 'http://wiki.services.openoffice.org/wiki/$1', 0, 0); INSERT INTO `interwiki` VALUES ('fr', 'http://wiki.services.openoffice.org/wiki/$1', 0, 0); INSERT INTO `interwiki` VALUES ('es', 'http://wiki.services.openoffice.org/wiki/$1', 0, 0); INSERT INTO `interwiki` VALUES ('de', 'http://wiki.services.openoffice.org/wiki/$1', 0, 0);

After that the wikicode[[fr:Documentation/FR/]] on the page http://wiki.services.openoffice.org/wiki/Documentation will not display but the language bar on the left will show a 'french' that point to Documentation/FR

(work on my test site)

Mmmh, I tested it on my local MW 1.10 installation. I added
the lines for de and en, but only the en is working.

[[en:PageName]] produces the desired result (English shown as Language
on the left), while [[de:SeitenName]] just displays de:Seitenname as
dead link in the page.

Any ideas what's going wrong?

I found the error. The above does not work when you are using
namespaces for the languages that use the language code as name.

For example, if you define a namespace "FR" in LocalSettings.php,
and add "fr" or "FR" (seems to be case insensitive) to the interwiki
links table, then including [[fr: FrenchPageName]] displays the link
on the wiki page and not in the language box on the left.

Otherwise it works fine.

Frank

--
Frank Peters
Documentation Project Co-Lead

The OOo Documentation Project:
SIGN UP - PARTICIPATE - CONTRIBUTE
IT'S FREE! NO OBLIGATIONS!
http://documentation.openoffice.org
http://wiki.services.openoffice.org/wiki/Documentation


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to