stable

Clone or download

Read-only

story #7886: site admin can select a project to migrate

Once the admin select the project to be migrated, MW-1.23 is loaded instead of 1.20 Change-Id: I35b5da4c5c9cbb88cd5530f4cf567e23a9889e40

Modified Files

Name
A plugins/mediawiki/bin/migrate_to_123.php +30 −0 Go to diff View file
M plugins/mediawiki/db/install.sql +7 −1 Go to diff View file
A plugins/mediawiki/db/mysql/updates/2015/20150408_add_site_restricted_features_table.php +62 −0 Go to diff View file
M plugins/mediawiki/db/uninstall.sql +2 −1 Go to diff View file
A plugins/mediawiki/include/MediawikiSiteAdminAllowedProjectsPresenter.class.php +91 −0 Go to diff View file
A plugins/mediawiki/include/MediawikiSiteAdminController.class.php +99 −0 Go to diff View file
A plugins/mediawiki/include/MediawikiSiteAdminResourceRestrictor.php +52 −0 Go to diff View file
A plugins/mediawiki/include/MediawikiSiteAdminResourceRestrictorDao.php +64 −0 Go to diff View file
A plugins/mediawiki/include/Migration/MediawikiMigrator.php +38 −0 Go to diff View file
A plugins/mediawiki/include/events/SytemEvent_MEDIAWIKI_SWITCH_TO_123.class.php +64 −0 Go to diff View file
M plugins/mediawiki/include/mediawikiPlugin.class.php +43 −2 Go to diff View file
M plugins/mediawiki/site-content/en_US/mediawiki.tab +13 −0 Go to diff View file
M plugins/mediawiki/site-content/fr_FR/mediawiki.tab +12 −0 Go to diff View file
A plugins/mediawiki/www/DatabaseForgeMysql123.php +20 −0 Go to diff View file
M plugins/mediawiki/www/LocalSettings.php +24 −8 Go to diff View file
M plugins/mediawiki/www/forge_admin.php +16 −6 Go to diff View file
M plugins/mediawiki/www/setpath.php +13 −6 Go to diff View file
A plugins/mediawiki/www/upgrade_sample.php +4 −0 Go to diff View file
A src/templates/resource_restrictor/grant-only-allowed-projects.mustache +51 −0 Go to diff View file