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
F25656872: D3742.diff
Fri, Apr 17, 10:58
F25580017: D3742.id9679.diff
Thu, Apr 16, 20:07
Unknown Object (File)
Wed, Apr 15, 02:16
Unknown Object (File)
Tue, Apr 14, 22:30
Unknown Object (File)
Sun, Apr 12, 16:34
Unknown Object (File)
Fri, Apr 10, 08:53
Unknown Object (File)
Fri, Apr 10, 02:53
Unknown Object (File)
Wed, Apr 8, 21:57
Subscribers
None

Diff Detail

Repository
rSAASMW SaaS MediaWiki
Lint
Lint Passed
Unit
No Test Coverage
Branch
read-only
Build Status
Buildable 5999
Build 6281: 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.