Skip to content

Releases: wiki-gg-oss/mediawiki-extensions-ThemeToggle

1.3.4

23 May 12:23
5dcc6c8
Compare
Choose a tag to compare
  • Resolved a theme initialisation issue.
  • Localisation updates from translatewiki.net.

1.3.3

30 Apr 20:10
f75746e
Compare
Choose a tag to compare
  • bundled has been renamed to in-site-css, for clarity. Previous name is still supported.
  • Themes with IDs starting with light-, dark- now have their kinds inferred.
  • Simplified a line-splitting regular expression to rid of a potential and unlikely DoS vector.

1.3.2

30 Apr 20:08
63bef38
Compare
Choose a tag to compare
  • Localisation updates from translatewiki.net.
  • Fixed short day/night switcher message not attached to script bundle.
  • Updated wiki.gg styling.

1.3.1

03 Apr 14:16
e31fcaf
Compare
Choose a tag to compare
  • #30: Added a kind theme property, and a view-dark/view-light/view-unknown class to <html>. This should allow unifying shared CSS rules on wikis with multiple themes falling into the two categories.
  • Resolved Theme-definitions overview message having escaped HTML.
  • Resolved extra JavaScript being emitted for a yet unfinished feature.

1.2.1

22 Mar 02:33
7aecba3
Compare
Choose a tag to compare
  • #29: Links to theme name messages and CSS are now shown above the MediaWiki:Theme-definitions page. (contribution from @RheingoldRiver)
  • Fixed a sort ordering issue on wiki.gg with the dropdown switcher.

1.2.0

19 Mar 22:34
a984bec
Compare
Choose a tag to compare
  • Dropdown switcher no longer depends on Vector.
  • Day/night switcher no longer depends on Vector or jQuery.
  • Updated the dropdown switcher's UI. Now behaves properly on mobile wiki.gg visits, and its purpose should be clearer to readers.
    • Non-wiki.gg styles will be fully updated at a later date.
  • rights= option has been removed. user-groups= (self-explanatory, comma-separated) has been added to replace it. It is also supported by switchers.
  • ResourceLoader debugging mode should no longer have any asset delivery issues.
  • Skin-specific theme styles are now supported (MediaWiki:Theme-id-skin.css).
  • Theme preference is now hidden from Special:Preferences if there are no themes to pick from.
    • Empty switchers will be hidden in a later update.
  • CSS loading logic is now only emitted when needed.
  • Core script will now run a bit sooner on newly rendered pages.

v1.1.1

18 Sep 09:44
17e0a2d
Compare
Choose a tag to compare
  • Fixed script generation under MediaWiki 1.41.

v1.1.0

05 Sep 13:49
d81b3cc
Compare
Choose a tag to compare
  • Day/night (tap) switcher tooltip now mentions what theme is used at the moment for accessibility.
  • Reskinned the tap switcher, now reacts to mouse over events.
  • Built-in light theme icon is now fit to bounds.
  • Built-in icons no longer inlined in CSS.

v1.0.0

26 Jul 18:17
5f3b25a
Compare
Choose a tag to compare
  • First stable release.
  • Registry cache no longer uses PHP object serialisation.
  • Registry is now a service.
  • Config helper is now a service.
  • Service injection is now used whenever possible.
  • elements are now created server-side if the default or selected theme is not bundled with site CSS.
  • $wgThemeToggleSiteCssBundled dropped; specify bundled in MediaWiki:Theme-definitions instead.
  • $wgThemeToggleDeadCodeEliminationExperiment dropped: initial payload will now always be reduced server-side.