Hi Bill,
Unfortunately, I think that there is a gap in the public documentation
regarding this. I am in the same jam as you. The Redworks tutorial teaches
us how to clone a skin to add CSS, but if I remember correctly it does
nothing if we want to add actual content such as a custom header, footer,
or sidebar.
You can read my thoughts on the issue here:
http://wikimedia.7.x6.nabble.com/MediaWiki-l-Cloning-Vector-to-modify-its-P…
Part of me wonders if the reason that no one responded to it is that the
people who could answer it prefer a more elegant approach. To me, though,
it seems like the most natural thing in the world to clone a skin and the
edit it's code. I'm more than happy to do the extra work when it is time to
upgrade. Mediawiki is such a mature product that I can skip a lot of
upgrades anyway.
I think that the best approach is just to follow the directions in the
following tutorial on a nonpublic installation of your wiki:
https://www.mediawiki.org/wiki/Manual:Skinning/Vector
Just do experiments. I found that the html comments were helpful in
identifying which sections of the code corresponded to which sections of
the final html. I don't know if you've ever made a development server
before, but it's only a couple hours of work to figure out. You just copy
the filesystem to a new location, use mysqldump to clone the database, and
then edit the appropriate files to point the code in the new filesystem
toward the new mysql database.
Forest
Use Google technology to search 10,000 pages about TMS:
search.tmswiki.org<http://Search.tmswiki.org>
.
Want to see what I'm working on? Click
here<http://www.tmswiki.org/forum/threads/3368/>8/>.
(link fixed)
On Thu, Jan 23, 2014 at 11:17 AM, Bill Traynor <btraynor(a)gmail.com> wrote:
In an old vector based skin on a 1.16 version of MW,
the skin author added
custom html and css directly into the skin.php code to add a custom header
above the personal tools links.
Where do I put that code in a vector subskin in MW 1.22? Do I add it
directly to myskin.php again, or to myskin.skin.php? Do I separate the
html and css and add the html to myskin.skin.php and the css to screen.css?
Thanks
Bill
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l