Last modified: 2011-02-08 21:56:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28649, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26649 - Seemingly broken skins under Resource Loader
Seemingly broken skins under Resource Loader
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
1.17.x
All All
: Normal major (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks: 26611
  Show dependency treegraph
 
Reported: 2011-01-10 04:26 UTC by Sam Reed (reedy)
Modified: 2011-02-08 21:56 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
repair quickbar of standard skin (2.40 KB, patch)
2011-01-11 00:46 UTC, Derk-Jan Hartman
Details

Description Sam Reed (reedy) 2011-01-10 04:26:42 UTC
Results of skin tests on SVN head, but expected 1.17 will be all but the same:

Chick - Fine
Classic (Standard) - Sidebar below content
Cologne Blue - Sidebar below content
Modern - Fine
Monobook - Fine
MySkin - Sidebar below content, but is also like that on 1.16wmf4 http://en.wikipedia.org/wiki/Main_Page?useskin=myskin
Nostalgia - Fine
Simple - Fine
Vector - Fine

So for me, 2, possibly 3 skins with the same issues, that need looking at for 1.17
Comment 1 Roan Kattouw 2011-01-10 13:56:29 UTC
I remember the sidebar-below-content issue, and it had a particularly nasty cause, something to do with user preferences-based CSS. I'll poke at this when I have time, but I won't have much time this week I'm afraid.
Comment 2 Derk-Jan Hartman 2011-01-11 00:46:03 UTC
Created attachment 7969 [details]
repair quickbar of standard skin

Patch fixes this for standard. The problem is that cologneblue uses different CSS for the same option. Is it safe to introduce skin-dependant behavior into ResourceLoaderUserOptionsModule.php ?
Comment 3 Roan Kattouw 2011-01-11 14:06:57 UTC
(In reply to comment #2)
> Created attachment 7969 [details]
> repair quickbar of standard skin
> 
> Patch fixes this for standard. The problem is that cologneblue uses different
> CSS for the same option. Is it safe to introduce skin-dependant behavior into
> ResourceLoaderUserOptionsModule.php ?
Safe, yes, good idea, no. Isn't there some existing Skin method that returns this #quickbar stuff?
Comment 4 Derk-Jan Hartman 2011-01-11 20:23:40 UTC
Mostly fixed in r80034

The CSS is now flipped, because the rest of the CSS is flipped as well. This means that default behavior for rtl implementations has changed from left aligned quick bar to right aligned quickbar.

Might require message update for the preferences ?
Comment 5 Derk-Jan Hartman 2011-01-13 11:30:44 UTC
Simple mostly done in r80163. Still requires porting of the highlightbroken user option, probably in the same style as done in r80034
Comment 6 Roan Kattouw 2011-01-19 18:05:47 UTC
(In reply to comment #5)
> Simple mostly done in r80163. Still requires porting of the highlightbroken
> user option, probably in the same style as done in r80034
Was this done yet? What remains to be done for this bug?
Comment 7 Mark A. Hershberger 2011-01-22 00:59:40 UTC
Roan, is it possible you could check see if a problem still exists?
Comment 8 Derk-Jan Hartman 2011-01-22 09:33:41 UTC
I'll try to look at this today.
Comment 9 Derk-Jan Hartman 2011-01-22 21:17:05 UTC
r80771 fixes the Simple skin.
Comment 10 Derk-Jan Hartman 2011-01-22 21:29:54 UTC
r80772 fixes Chick skin
Comment 11 Derk-Jan Hartman 2011-01-22 22:57:07 UTC
r80776 ports Modern to RL

All SkinTemplate generation skins should now be ported.

Stuff that is still broken:
* IE stylesheets of Monobook and Chick
* All non-SkinTemplate skins, although working, are not yet ported to RL

Stuff that needs cleaning up:
* RTL stylesheets: monobook/rtl.css, modern/rtl.css
* myskin/main.css (empty, see no need to keep it)
Comment 12 Derk-Jan Hartman 2011-01-23 01:43:30 UTC
With r80785, all skins should be ported to ResourceLoader

* common_rtl.css needs to be taken care of.

These rtl files of the skins seem to contain mostly redundant declarations atm, with the exception of some styling for lists under older gecko browsers. Perhaps factor this all into one file and only include when in RTL mode ?
Comment 13 Roan Kattouw 2011-01-24 02:35:20 UTC
(In reply to comment #11)
> r80776 ports Modern to RL
> 
Is this needed for Modern to work in 1.17, or can it be left out of the release?

> Stuff that is still broken:
> * IE stylesheets of Monobook and Chick
At least Monobook should be fine in 1.17. Not sure about Chick.

Could you (or someone) identify which skins are broken in REL1_17 right now so I know which fixes to backport?
Comment 14 Derk-Jan Hartman 2011-01-24 08:22:36 UTC
No, these skin ports are not needed for 1.17, they are just ports to RL. I think I marked everything 1.17 that needs porting in order to make the skins work.
Comment 15 Roan Kattouw 2011-01-24 18:09:39 UTC
(In reply to comment #14)
> No, these skin ports are not needed for 1.17, they are just ports to RL. I
> think I marked everything 1.17 that needs porting in order to make the skins
> work.
Thanks
Comment 16 Derk-Jan Hartman 2011-01-25 19:38:36 UTC
I say we can mark this as fixed then. If someone spots an error in the 1.17 branch for these skins, they can reopen.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links