Last modified: 2010-05-15 15:29:12 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 T2512, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 512 - User styles don't update on login or prefs change
User styles don't update on login or prefs change
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
1.3.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 202
  Show dependency treegraph
 
Reported: 2004-09-17 21:07 UTC by Brion Vibber
Modified: 2010-05-15 15:29 UTC (History)
1 user (show)

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


Attachments

Description Brion Vibber 2004-09-17 21:07:25 UTC
Several preferences such as "justify paragraphs" affect the user stylesheet
that's generated and imported by each page. The style sheet is not reloaded on
login or preferences change.

Example:
* Login to http://en.wikipedia.org/
* Change your preferences to "Justify paragraphs"
* Go to the main page, notice that paragraphs are still left-justified
* Force a total reload (shift/control+reload), now it looks good.
* LOG OUT.
* Force a total reload (shift/control+reload), you're looking at the page as an
anon, left-justified.
* LOG IN.
* Go to the main page. It is marked with your user account, but the paragraphs
are still left justified.
* Force a total reload (shift/control+reload), now you see fully justified
paragraphs again.

Sigh.

This bug probably causes a number of problems with preferences that have been
reported. The simplest solution is to do what we used to do and include these in
the generated HTML so it actually updates; an alternative is to force the style
to be rechecked separately like the pages are, though this requires more HTTP
traffic.
Comment 1 Tom Gilder 2005-01-17 21:21:56 UTC
Fixed with the addition of a timestamp to CSS URL.

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


Navigation
Links