It sounds like you have a installation managed through git.
I'd recommend implementing your color change by editing the Less files from the Vector
skin (be sure to modified files to git and make a commit in a branch of your own).
Then upgrading should be as easy as (while in your non-master branch) "git pull
--rebase origin master".
In most cases git will be able to re-apply the patch for you. And in case it's not,
it'll put <<< and >>> markings in the relevant file(s) for you to
resolve and then 'git add' the resolved files and continue the rebase.
— Krinkle
On 22 Nov 2014, at 03:51, Adam Nielsen <a.nielsen(a)shikadi.net> wrote:
Hi all,
I'd like to change some colours in the Vector skin, but if I do this
in CSS I will have to put hundreds of lines of code into
MediaWiki:Vector.css. It looks like the colours I want to change are
defined as Less variables, so if I could just override those then it
would be only a handful of lines. I don't really want to clone the
skin and modify the duplicate copy, because I will have to redo it on
every upgrade to make sure I get the latest updates to the Vector skin.
I tried putting the Less overrides in MediaWiki:Vector.css but it looks
like this content gets included separately, so it can't override any
Less variables.
Is there any way to tweak the Less code via an article page in this
manner, before it gets processed into CSS?
Many thanks,
Adam.
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l