•  
     
    story #8433 define a language for mediawiki
Summary
project admin
define a language for mediawiki
Medawiki Language Translation extension will work fine.
  • Mediawiki language is saved in db
  • How it works?
    • If a language is set, set the $wgLanguage in LocalSettings.php with that value
    • If a language is not set :
      • if only one language is defined in local.inc ($sys_supported_language), language saved in DB
      • if two languages are defined in local.inc, user is redirected to a page with two urls, one to Accueil page and one to Main_Page indicating that language has to be set
    • In the MW administration, we add a Language tab, in which a radio button let the project admin choose the mediawiki language
      • if the language is not set, no language is chosen by default.
Empty
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#8433
Sandra Echinard (sechinard)
2018-07-17 11:40
2015-09-21 12:08
8075

References
Referencing story #8433

Artifact Tracker v5

epic #7970 Mediawiki

Git commit

tuleap/tuleap/stable

Merge commit 'refs/changes/10/4510/5' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD 5a46a835af
story #8433: define a language for mediawiki 81559e1e80
Merge commit 'refs/changes/18/4518/1' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD af844d6eab
story #8433: Use language defined for mediawiki 8e97cf17ac
Merge commit 'refs/changes/22/4522/7' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD cbd3454338
story #8433: Have a warning message and a welcome page choice if no language defined in Mediawiki fce7dd1739
Merge commit 'refs/changes/31/4531/1' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD 8ed14ab2c6
story #8433: automatically set language for mediawiki if there is only one possibility adaa5921a2
Merge commit 'refs/changes/32/4532/1' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD e366887f33
story #8433: On project creation, inherit mediawiki language f812880d36
Merge commit 'refs/changes/45/4545/7' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD 54fd80d723
story #8433: redirect admin to language choice 35c05166dd

Follow-ups