stable

Clone or download

Read-only

feat: 301 when initialization is finished

When the initialization of a MW standalone is finished (after a creation or a migration), then we can indicate to the browser that the url is moved permanently to the MW instead of doing a regular redirection. Part of story #26041: migrate mediwiki from 1.23 to 1.35.X Change-Id: Idde8ab38a7d34d0c68dc40df4e51db84a0f60f64

Modified Files

Name
M plugins/mediawiki_standalone/include/Service/UnderConstructionController.php +1 −1 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Service/UnderConstructionControllerTest.php +2 −2 Go to diff View file
M tests/lib/Builders/LayoutInspector.php +5 −0 Go to diff View file
A tests/lib/Builders/LayoutInspectorPermanentRedirection.php +31 −0 Go to diff View file
M tests/lib/Builders/TestLayout.php +5 −0 Go to diff View file