Last modified: 2011-01-25 01:12:31 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 T4314, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2314 - Users custom CSS and JS not linked from Special:Preferences
Users custom CSS and JS not linked from Special:Preferences
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks: css
  Show dependency treegraph
Reported: 2005-06-04 03:12 UTC by lɛʁi לערי ריינהארט
Modified: 2011-01-25 01:12 UTC (History)
6 users (show)

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


Description lɛʁi לערי ריינהארט 2005-06-04 03:12:59 UTC

[[User:foo/Monobook.css]] and [[User:foo/Monobook.js]] are part of user
preferences. A new section in [[Special:Preferences]] should include these links
and inform in a few words about their usage.

I did run into this because I reaslised that a wiki does not use
[[MediaWiki:Monobook.js]] of the content language but of the one selected in the
user interface.

This has many implications about viewing a page (or a Mediawiki page). What you
will see with the English interface looking at
is not the same as if you select the Finnish one.

Probably diffs between two pages are not supported at the moment. The new
section could contain links to the relevant diffs comparing the default
[[MediaWiki:Monobook.js]] with the MediaWiki:Monobook.js/<language code> and
also with [[User:foo/Monobook.js]].

Regards Reinhardt [[user:gangleri]]
Comment 1 lɛʁi לערי ריינהארט 2005-06-09 07:38:23 UTC
I see a handling problem ofering links to the user before he / she has *saved*
the preferenced. The links about skin ".css", ".js" user page and user talk page
should apear *after* saving the preferences / creating an account but probably
not after log in.

See also bug 2359: "New user page - reminder of talk page"
Comment 2 Brian Jason Drake 2005-09-10 11:25:48 UTC
What's the problem? If the user changes the language in 
preferences without saving them, two links should appear - 
one for the old language, one for the new language.
Comment 3 Antoine "hashar" Musso (WMF) 2007-05-20 21:15:26 UTC
Marking it as a bug.
Comment 4 Raimond Spekking 2008-08-04 18:44:57 UTC
Links to the .css/.js in the skin tab added with r38587.
Comment 5 Brion Vibber 2008-08-05 04:51:08 UTC
I've reverted r38587, r38589 for now in r38610.

This clutters up the prefs UI with a lot of links which don't currently apply, most of which will never be used. It also isn't clear how it would apply to proposed non-skin-specific pages such as User:X/common.css/.js and User:X/print.css
Comment 6 Raimond Spekking 2009-01-24 07:53:25 UTC
Fixed by Aaron with r46117
Comment 7 Brion Vibber 2009-01-26 22:50:50 UTC
Fails to check site config if user js/css are enabled; produces useless links if they're not.
Comment 8 Aaron Schulz 2009-02-24 16:23:57 UTC
(In reply to comment #7)
> Fails to check site config if user js/css are enabled; produces useless links
> if they're not.

This was fixed.

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