[Mediawiki-l] langage and personal menus

Mike Valstar mikevalstar at gentoo-wiki.com
Fri Aug 5 19:17:22 UTC 2005


go into the database, add in some rows to the interwiki table...   en,jp,etc

make sure iw_local is set to 1 for those rows then you can simply add to 
the page something to the effect of: 
<http://pma.gentoo-wiki.com/sql.php?lang=en-iso-8859-1&server=1&db=wiki&table=interwiki&pos=90&session_max_rows=30&disp_direction=horizontal&repeat_cells=100&dontlimitchars=0&sql_query=SELECT+%2A+FROM+%60interwiki%60++ORDER+BY+%60iw_local%60+ASC>

[[en:my page is the best]]

Mike Valstar

jdd wrote:

> Hello :-)
>
> my first post here :-)
>
> I'm editor of two or three mediawikis, the most interesting
> (in french) is http://fr.susewiki.org.
>
> I want to setup the language menu, because there are three
> brother wikis (en, de and fr). I went extensively in de doc,
> and read Monobook.php.
>
> I know little more than nothing about php, but have been a
> programmer long time agos and can read a source code.
>
> I managed to build my own little menu (see the home page
> given, "mon menu"). But doing this I have seen some code,
> probably aimed at "otherlangages"
>
> <?php if( $this->data['language_urls'] ) { ?><div
> id="p-lang" class="portlet">
>           <h5><?php $this->msg('otherlanguages') ?></h5>
>           <div class="pBody">(...)
>
> Do you know how to activate this array? where can I fill it?
>
> thanks
> jdd
>




More information about the MediaWiki-l mailing list