Skip to content

Load Modern only when it's the wiki's default skin - #567

Merged
dati18 merged 3 commits into
mainfrom
feat/deprecate-modern-skin
Oct 14, 2026
Merged

dati18 merged 3 commits into
mainfrom
feat/deprecate-modern-skin

Conversation

@addshore

@addshore addshore commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Keep the skin packaged and loaded for those wikis that have set it as the default.

Update both the authoritative and generated LocalSettings.php files.

This makes the assumption that users have not specifically selected modern as a user preference, and that if they have we don't worry about it (see my comment in the ticket).

If a wiki user has previously selected Modern as their individual preferred skin on a wiki whose default is another skin, MediaWiki falls back to the wiki's configured default when the Modern skin isn't loaded. It does not cause an error or fallback warning. The saved user preference of "modern" isn't cleared, but it won't take effect while Modern is unavailable.

Bug: T418562

Load Modern only when the wiki default is modern. Keep the skin packaged
for those wikis and update both authoritative and generated
LocalSettings files.

Bug: T418562
@dati18
dati18 force-pushed the feat/deprecate-modern-skin branch from 470723a to 8a620b2 Compare October 12, 2026 15:08
dati18
dati18 previously approved these changes Oct 12, 2026
Comment thread dist-persist/wbstack/src/Settings/LocalSettings.php Outdated
@outdooracorn outdooracorn changed the title Load Modern only for existing defaults Load Modern only when it's the wiki's default skin Oct 13, 2026
outdooracorn
outdooracorn previously approved these changes Oct 13, 2026

@outdooracorn outdooracorn left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Visually LGTM! Not tested locally.

Comment thread dist-persist/wbstack/src/Settings/LocalSettings.php Outdated
@outdooracorn
outdooracorn dismissed stale reviews from dati18 and themself via 633253e October 13, 2026 22:17
Comment thread dist/wbstack/src/Settings/LocalSettings.php Outdated
@dati18
dati18 merged commit f4d61ad into main Oct 14, 2026
9 checks passed
@dati18
dati18 deleted the feat/deprecate-modern-skin branch October 14, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants