stable
Clone or download
Read-only
story #8433: Have a warning message and a welcome page choice if no language defined in Mediawiki
If your Mediawiki instance does not have a language set, when trying to access the plugin you are redirected to a page that: 1) warns you that no language is set 2) asks you to choose where you want to go If you try to access a specific page or if you have a language defined for your mediawiki instance you should access with the normal behaviour. Change-Id: I9370ae6c4c4f386a7a049cc7dc45c6e674a4b4d1
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/mediawiki/include/AlternativePagePresenter.php | +61 | −0 | Go to diff View file |
A | plugins/mediawiki/include/MediawikiFusionForgeProjectRetriever.php | +48 | −0 | Go to diff View file |
M | plugins/mediawiki/include/MediawikiLanguageManager.php | +8 | −2 | Go to diff View file |
A | plugins/mediawiki/include/MediawikiWelcomePageManager.php | +88 | −0 | Go to diff View file |
M | plugins/mediawiki/site-content/en_US/mediawiki.tab | +4 | −0 | Go to diff View file |
M | plugins/mediawiki/site-content/fr_FR/mediawiki.tab | +4 | −0 | Go to diff View file |
A | plugins/mediawiki/templates/alternative-welcome-page.mustache | +15 | −0 | Go to diff View file |
A | plugins/mediawiki/tests/MediawikiWelcomePageManagerTest.php | +68 | −0 | Go to diff View file |
M | plugins/mediawiki/www/LocalSettings.php | +16 | −24 | Go to diff View file |
M | plugins/mediawiki/www/index.php | +4 | −1 | Go to diff View file |