Last modified: 2014-05-09 13:31:07 UTC
At the request of Amir Ladsgroup and Amir Aharoni, a RTL wiki with both ULS and VE in place for beta would be useful. VE is working now in beta labs as of very recently https://bugzilla.wikimedia.org/show_bug.cgi?id=49963 dkwiki was suggested. See email from Amir Ladsgroup for more details.
first of all thank you for filing this bug but I think we don't need a dv wiki (because it has to be a global but English wiki) I described more how to make it possible in E-mail. My request is please make a wiki in "others" section in site matrix http://deployment.wikimedia.beta.wmflabs.org/wiki/Special:SiteMatrix#mw-sitematrix-others. I think "test-rtl" is a good name but If you have other suggestions I would be happy to hear make default language dv, change l10n settings of dv (MessagesDv.php) and change essential parts to English equals or give me the access and I'll do it. If we can move database of wikitest-rtl to the new wiki, that would be great http://tools.wmflabs.org/wikitest-rtl/w/index.php I think it's possible via mysql dumps (but correct me if I'm wrong) in order to avoid wasting people edits. Thanks
So we can get a 'rtllabswiki' configured that would be available at rtllabs.wikimedia.beta.wmflabs.org. The 'labs' prefix would be to make it obvious this is only for the beta cluster and not for production. Then we need all the MediaWiki config to be made in operations/mediawiki-config.git (adding an entry in all-labs.dblist , editing the wmf-config/*-labs.php files). And finally the Jenkins jobs that update the database need to be updated.
That's very great but can you add file MessagesDv.php to the gerrit, too? beside the LocalSettings.php
Antoine, what's the next step here?
I have no real idea about what is needed. I guess the idea is to create a new wiki and tweak its configuration setting to match whatever it is expected to handle. There is doc to create a new wiki at https://wikitech.wikimedia.org/wiki/Nova_Resource:Deployment-prep/Add_a_wiki Then one will have to fill in configuration parameters in operations/mediawiki-config.git.
I found something that might helps you: http://hexmode.com/2011/04/mediawiki-needs-rtl-developers/ What do you think? can you set the language en-rtl? I really doesn't understand what this page is telling https://wikitech.wikimedia.org/wiki/Nova_Resource:Deployment-prep/Add_a_wiki I know how to make it if it's a simple wiki (I did it in wikitest-rtl) but in the server...
Finally giving a poke at it :-)
Change 132396 had a related patch set uploaded by Hashar: beta: create a RTL english wiki https://gerrit.wikimedia.org/r/132396
Change 132396 merged by jenkins-bot: beta: create a RTL english wiki https://gerrit.wikimedia.org/r/132396
mwdeploy@deployment-bastion:~$ mwscript extensions/WikimediaMaintenance/addWiki.php --wiki=aawiki en wikipedia en_rtlwiki en-rtl.wikipedia.beta.wmflabs.org Creating database en_rtlwiki for en.wikipedia (English) Initialising tables Writing main page to Main_Page Writing sidebar donate link to MediaWiki:Sitesupport-url Adding to dblists PHP Notice: Undefined variable: wmfRealm in /mnt/srv/scap-stage-dir/wmf-config/db-labs.php on line 5 PHP Notice: Undefined variable: wgLBFactoryConf in /mnt/srv/scap-stage-dir/refresh-dblist on line 105 content index... Fetching Elasticsearch version...1.1.0...ok Scanning available plugins... elasticsearch-analysis-hebrew, analysis-icu, experimental highlighter, swift-repository, head whatson Infering index identifier...en_rtlwiki_content_first Picking analyzer...default Creating index...ok Validating analyzers...ok Validating mappings... Validating mapping for page type...different...corrected Validating aliases... Validating content alias...alias is free...corrected Validating all alias...alias not already assigned to this index...corrected Updating tracking indexes...done general index... Fetching Elasticsearch version...1.1.0...ok Scanning available plugins... elasticsearch-analysis-hebrew, analysis-icu, experimental highlighter, swift-repository, head whatson Infering index identifier...en_rtlwiki_general_first Picking analyzer...default Creating index...ok Validating analyzers...ok Validating mappings... Validating mapping for page type...different...corrected Validating aliases... Validating general alias...alias is free...corrected Validating all alias...alias not already assigned to this index...corrected Updating tracking indexes...done warning: commands will be executed using /bin/sh job 7 at Fri May 9 12:24:00 2014 Script ended. You still have to: * Add any required settings in InitialiseSettings.php * Run sync-common-all mwdeploy@deployment-bastion:~$
Change 132400 had a related patch set uploaded by Hashar: beta: automatically update en_rtlwiki database https://gerrit.wikimedia.org/r/132400
Change 132400 merged by jenkins-bot: beta: automatically update en_rtlwiki database https://gerrit.wikimedia.org/r/132400
So the localization cache for en-rtl was not being generated because that language is not listed in Names.php Sam figured out we can inject new language names with $wgExtraLanguageNames : https://gerrit.wikimedia.org/r/#/c/132415/ That made MediaWiki to generate the language code. The new wiki is http://en-rtl.wikipedia.beta.wmflabs.org/ \O/