Last modified: 2011-04-22 17:49:41 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 T30035, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28035 - User CSS/JS removes _ from page skin name
User CSS/JS removes _ from page skin name
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-14 01:21 UTC by Joshua Dickerson
Modified: 2011-04-22 17:49 UTC (History)
1 user (show)

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


Attachments

Description Joshua Dickerson 2011-03-14 01:21:34 UTC
The user CSS/JS file names are being stripped of the underscores making them useless. The only way to change that is by removing the underscore from the skin name, but that makes it harder to read. It should work with any PHP and URL allowed characters.

smf_curve.css gets rewritten as smfcurve.css but the skin name is smf_curve.
Comment 1 Brion Vibber 2011-03-31 23:32:31 UTC
I don't seem to be encountering such a problem testing locally on trunk, r85093. I created a copy of the 'Simple' skin called 'Simple_foo' and edited my matching pages (sample URLs included):

  http://lazarus.local/trunk/index.php/Uzanto:WikiSysop/simple_foo.css
  http://lazarus.local/trunk/index.php/Uzanto:WikiSysop/simple_foo.js

by following the links from the prefs page.

Both appear to work ok.

Can you clarify what you mean by 'stripped' and 'rewritten'? Is this something that happens specifically to smf_curve or to other skins?
Comment 2 Mark A. Hershberger 2011-04-22 17:49:41 UTC
No reply, so lowering priority.

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


Navigation
Links