https://bugzilla.wikimedia.org/show_bug.cgi?id=61577

Jack Phoenix <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Jack Phoenix <[email protected]> ---
(In reply to Isarra from comment #3)
> This is unintuitive and stupid, as it results in poorly named modules
> and an unclear hierarchy, and also comes with no assurance that the load
> order will not break down the road.
Forwards-compatibility -- or documentation for that matter -- has never been
MediaWiki's strongest suit. You can live with it when you have only one site to
fix after upgrading, but when you have tens or hundreds of sites to fix, it
gets kinda old really fast.

> You can see this, for instance, in the
> bluesky skin, which has special mainpage formatting; the theme extension,
> which applies theme css on top of the skin css;
Theme used previously (MW 1.22 and older versions) the naming schema
skins.skinname.themename, i.e. skins.monobook.dark for a Dark MonoBook theme.
This worked fine, because in 1.22 MonoBook's main.css etc. was loaded by a
module called "skins.monobook". Come 1.23, the skins.monobook module was
renamed skins.monobook.styles and because the letter d (as in the word "dark")
sorts alphabetically before the letter s (as in "styles"), the skin defaults
ended up overriding the theme-defined rules, and the end result was a horribly
butchered MonoBook on the sites, unhappy users and unhappy developers.

Nobody saw this coming, given that the Theme extension worked consistently from
MediaWiki 1.16 to 1.22.
This particular issue was "fixed" by prefixing Theme's modules with
themeloader., since t sorts alphabetically after s, but if history's anything
to go by, it'll only be so long until it breaks again.

> wikihow's custom styling of the mobilefrontend extension
wikiHow essentially had the same issue with their MobileFrontend customizations
(/extensions/wikihow/MobileFrontendWikihow) as ShoutWiki had with the Theme
extension, and the solution was, obviously, similar: certain modules were
prefixed with zzz. to ensure the correct loading order. Hardly the ideal
solution, but for the time being, it works. It's not intuitive, obvious or
otherwise ideal in any case.

> These are all stacks of cards just waiting to topple.
"to topple *again*", you mean.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to