Topic on Extension talk:DarkMode/Flow

Not working on mobile site

3
Ryoya3 (talkcontribs)

This extension does not work on mobile sites.

To be more specific, first of all, there is no button to enable or disable dark mode on the mobile site, and even if you log in with the same account and turn it on on the desktop site, it will not apply to mobile.

ArchATempAcct (talkcontribs)

Can confirm. Does not work on mobile. Disappointing.

Steff-X (talkcontribs)

I could manage to make it work with the skin Minerva but it is limited to $wgDarkModeTogglePosition = 'personal'.

In the DarkMode extension folder, go to includes and open the file Hooks.php. On line 179, change

"return $skin->getSkinName() !== 'minerva';"

with

return $skin->getSkinName() !== 'minervaXX';

Though I would appreciate some feedback from the devs.

Reply to "Not working on mobile site"