Last modified: 2004-08-27 05:30:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 169 - Please add support for skin plugins
Please add support for skin plugins
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 202
  Show dependency treegraph
 
Reported: 2004-08-19 00:50 UTC by SJ
Modified: 2004-08-27 05:30 UTC (History)
1 user (show)

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


Attachments

Description SJ 2004-08-19 00:50:39 UTC
So reusers don't have to hack the code to provide new skins, and so that people
not trusted with CVS access can still use their own private skins (beyond what's
provided for with the stylesheet!).
Comment 1 Timwi 2004-08-19 10:31:26 UTC
I suppose it would theoretically be possible to create a PHPTal-based skin which
pulls its XML template (the .pt file) from a user sub-page rather than a fixed file.
Comment 2 Brion Vibber 2004-08-19 17:25:18 UTC
Restored the summary. Timwi completely changed the meaning of the request -- this is about site administrators customizing their wikis' display, not 
end-users.
Comment 3 Timwi 2004-08-20 10:21:35 UTC
Huh? But site administrators can already customise their wiki (either by
modifying xhtml-slim.pt, or by writing an entirely new skin).
Comment 4 Brion Vibber 2004-08-20 10:25:27 UTC
Right now adding a new skin requires hacking up a bunch of code in Language.php, Skin.php, User.php etc. That's a 
royal pain in the neck -- and you have to carefully preserve your changes on even minor version upgrades.

It should be as easy as dropping in an extension: copy in a new directory and add an include() to your 
LocalSettings.php. Particularly for skins that simply use new styles and/or a new PHPTal template, this should be a 
relatively painless affair for a site administrator.

However, it's not that easy yet. That's why we have an enhancement request. :)
Comment 5 Brion Vibber 2004-08-24 06:13:48 UTC
Really want this for 1.4 release, skin customization is a very frequently asked-about issue and right now 
there's no easy answer.
Comment 6 JeLuF 2004-08-27 05:30:05 UTC
Added a module "sampleskin" to the extensions package. It documents how to write
a skin extension. Also added the neccessary hooks to the main module.

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


Navigation
Links