Page MenuHomeDevCentral

Allow to set a wiki in read-only mode
ClosedPublic

Authored by dereckson on Sun, Oct 12, 14:11.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 23, 22:16
Unknown Object (File)
Thu, Oct 23, 13:10
Unknown Object (File)
Thu, Oct 23, 02:17
Unknown Object (File)
Thu, Oct 23, 01:20
Unknown Object (File)
Tue, Oct 21, 08:36
Unknown Object (File)
Tue, Oct 21, 08:36
Unknown Object (File)
Tue, Oct 21, 05:39
Unknown Object (File)
Tue, Oct 21, 03:33
Subscribers
None

Diff Detail

Repository
rSAASMW SaaS MediaWiki
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
dereckson added inline comments.
config/CommonSettings.php
93

Actually, we receive the array as defined in Settings.php

The method need to return an array of the settings for all wikis.

For example for URL:

Array
(
    [wgArticlePath] => Array
        (
            [default] => /wiki/$1
            [nasqueron_wiki] => /$1
            [arsmagica] => /$1
            [inidal_wiki] => /$1
        )

    [wgScriptPath] => Array
        (
            [default] => /w
            [nasqueron_wiki] => 
            [arsmagica] => 
            [inidal_wiki] => 
        )

)

Alternatively, fixGroupPermissions-like logic can be used here to avoid redefine default cache values.

This revision is now accepted and ready to land.Sun, Oct 12, 14:42
This revision was automatically updated to reflect the committed changes.