Page MenuHomeDevCentral

Allow to set a wiki in read-only mode
ClosedPublic

Authored by dereckson on Oct 12 2025, 14:11.
Tags
None
Referenced Files
F52546058: D3742.id9681.diff
Sat, Oct 3, 06:06
Unknown Object (File)
Tue, Sep 29, 21:27
Unknown Object (File)
Mon, Sep 28, 02:16
Unknown Object (File)
Sun, Sep 27, 00:15
Unknown Object (File)
Fri, Sep 25, 23:38
Unknown Object (File)
Fri, Sep 25, 23:34
Unknown Object (File)
Fri, Sep 25, 19:42
Unknown Object (File)
Tue, Sep 22, 23:49
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.Oct 12 2025, 14:42
This revision was automatically updated to reflect the committed changes.