On Fri, Jan 24, 2014 at 9:10 AM, Forest S <[email protected]> wrote:

> 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.
>

I agree.  Daniel's subskin tutorial is great as a starting point, but
what's I need is the next steps to make customizations.


>
> You can read my thoughts on the issue here:
>
> http://wikimedia.7.x6.nabble.com/MediaWiki-l-Cloning-Vector-to-modify-its-PHP-td5018300.html
>
> 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 actually prefer the subskin concept in my particular instance as the old
skin I'm trying to replicate was also based on the Vector skin.


>
> 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.
>

Thanks, I do indeed have a development server running already and am
experimenting continuously.  Hopefully, I'll have a solution soon.

Thanks for your response, it's very much appreciated.


>
> 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/>.
> (link fixed)
>
>
> On Thu, Jan 23, 2014 at 11:17 AM, Bill Traynor <[email protected]> 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
> > [email protected]
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to