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
F34209644: D3742.id9682.diff
Fri, Jun 26, 16:48
F34206220: D3742.id9681.diff
Fri, Jun 26, 15:22
F34202685: D3742.diff
Fri, Jun 26, 13:59
F34171265: D3742.diff
Thu, Jun 25, 21:10
Unknown Object (File)
Thu, Jun 25, 11:43
Unknown Object (File)
Thu, Jun 25, 10:36
Unknown Object (File)
Wed, Jun 24, 09:38
Unknown Object (File)
Wed, Jun 24, 08:28
Subscribers
None

Diff Detail

Repository
rSAASMW SaaS MediaWiki
Lint
Lint Passed
Unit
No Test Coverage
Branch
read-only
Build Status
Buildable 5997
Build 6279: arc lint + arc unit

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.