osdir.com
mailing list archive

Subject: Re: multi language mediawiki site - msg#00183

List: org.wikimedia.mediawiki

Date: Prev Next Index Thread: Prev Next Index
On Fri, 11 Mar 2005 22:22:58 +0100, solo turn
<soloturn-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
> hi,
>
> i searched the web on how to set up mediawiki multilanguage site. but
> the only thing i could find was "use a dedicated database scheme per
> language".
>
> what would be the best strategy to have the mediawiki installed once,
> and use it for en.site.com and fr.site.com?

The way the Wikimedia projects (Wikipedia, Wiktionary, etc) do it is
[I think, approximately] by installing a seperate database for each
one, and a seperate LocalSettings.php, but then including a
CommonSettings.php (for things which should be the same for all
languages) and one central copy of the actual MediaWiki PHP files. I'm
not sure if they use symlinks or PHP includes or what for this, but
that's the basic idea. Then, of course, you set up the interwiki
tables in each database to let you do inter-language links like
[[en:Page title]] / [[fr:Titre de page]]

I think there's various bits and pieces about this on
http://meta.wikimedia.org, but I don't know of a single page that
gives a complete guide I'm afraid.

--
Rowan Collins BSc
[IMSoP]


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: Trying to get dynamic content on a page

At 3/13/2005 11:53 AM, Jan Steinman wrote: On 13 Mar 2005, at 03:27, Mike wrote: The extension does not get called because the browser has cached it locally. The content is no longer dynamic. Is there anything I can do on the server side to cause the browser to not use its cached version? The extension looks like a nice feature accept it can't deliver dynamic content. The solutions I've seen proposed is 1) make your dynamic content a Special page, or 2) have pages conditionally set a "no cache flag" when saved, then add spaghetti code throughout the known universe to do different things based on this bit. Or use the following piece of code/hack in your extension, it works just fine for me to adress this "problem" (yes, it is a problem). Again, a hack, but does the trick until a clean solution is found. $ts = mktime(); $now = gmdate("YmdHis", $ts + 120); $ns = $wgTitle->getNamespace(); $ti = wfStrencode($wgTitle->getDBkey()); $sql = "UPDATE cur SET cur_touched='$now' WHERE cur_namespace=$ns AND cur_title='$ti'"; wfQuery($sql, DB_WRITE, "kwBreadCrumbsNoCache"); -- Sebastien Barre

Next Message by Date: click to view message preview

Trying to remove hostname from URLs

{Newbie to the list, so please forgive if this has been answered many times before. We have been unable to track down a solution.} We installed mediawiki several months ago and it's become a tool we use every day. We have encountered a challenge with links that would seem common enough to have already been solved by someone but we cannot find a solution anywhere. Specifically, our installation is on our intranet and we have added links to other internal web applications that we use daily. These links are of the form http://host.domain.local/path/to/app We would like to add access to our installation of mediawiki from the Internet, just like we already have for our other web applications. All of the links on pages when viewed from the Internet are of the form: https://host.domain.com/path/to/app We have looked at using rewrite rules and other methods, but they all seem to be a sledgehammer solution. What we would prefer is something simple like: [/path/to/app | Application Name] This would seem the obvious solution (at least to us), but unfortunately it does not work. We have also tried to force an anchor into the page like this: <nowiki><a href="/path/to/app">Application Name</a></nowiki> But the page parser strips it out. Finally, we have looked at the interwiki linking mechanism, but it appears to be a one-way mapping of a name to a specific site, which would not work for what we are trying to accomplish. If we have overlooked the obvious or if anyone has solved this dilemma, we would appreciate some pointers. Many thanks, George

Previous Message by Thread: click to view message preview

Re: multi language mediawiki site

I used a browser language detection for my mediawiki, but it works only for the dynamic menu on the left(default english, but different for french and german). I really would like it to work also for the whole site, but I found the discussion page namespace a big a big problem in my attempt to internationalize the wiki (so I droped the idea for now) François http://www.fxparlant.net solo turn wrote: hi, i searched the web on how to set up mediawiki multilanguage site. but the only thing i could find was "use a dedicated database scheme per language". what would be the best strategy to have the mediawiki installed once, and use it for en.site.com and fr.site.com? solo.

Next Message by Thread: click to view message preview

what-you-see-is-what-you-get edit program?

Can anyone tell me if there is already in existence an editor program that enables one to edit mediawiki pages in a "what you see is what you get" mode (editing for dummies)? I have an associate who says he could build such a program quite easily. I'm thinking, if it's so easy why hasn't it been done; surely it has been done; if so, where? Thanks Sterling D. Allan Executive Director, PES Network Inc http://pureenergysystems.com http://freeenergynews.com http://peswiki.com http://pesn.com
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by