Re: [Wikitech-l] Visualising CSS debt - cleaning up our messy codebase

2013-10-28 Thread Derk-Jan Hartman
It would be cool if we could have a jenkins tool or something keeping eye on the site and reporting about addition and removals of such 'similar' rules. DJ ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] Visualising CSS debt - cleaning up our messy codebase

2013-10-25 Thread Antoine Musso
Le 24/10/13 23:43, Jon Robson a écrit : I think we are all in agreement that the CSS in MediaWiki is a mess but it's not clear how to solve the mess. I think I've created a useful bit of JS to visualise this mess and make a path to solving it clearer. If you visit:

Re: [Wikitech-l] Visualising CSS debt - cleaning up our messy codebase

2013-10-25 Thread James Forrester
On 24 October 2013 18:12, Matthew Flaschen mflasc...@wikimedia.org wrote: VE has special issues since they want it to be usable as a stand-alone editor, but they are making progress in factoring out oojs-ui (a new UI library) from ve.ui

[Wikitech-l] Visualising CSS debt - cleaning up our messy codebase

2013-10-24 Thread Jon Robson
I think we are all in agreement that the CSS in MediaWiki is a mess but it's not clear how to solve the mess. I think I've created a useful bit of JS to visualise this mess and make a path to solving it clearer. If you visit: http://jonrobson.me.uk/lsg/ You will see in the dropdown mediawiki

Re: [Wikitech-l] Visualising CSS debt - cleaning up our messy codebase

2013-10-24 Thread MZMcBride
Jon Robson wrote: This script is still very much a proof of concept so if anyone is interested in improving the visualisation I'd encourage you to send me a pull request on github :) https://github.com/jdlrobson/LivingStyleGuide I tried this tool very quickly and it seemed to only generate a

Re: [Wikitech-l] Visualising CSS debt - cleaning up our messy codebase

2013-10-24 Thread Jon Robson
Yeh it's bizarre Ori had the same one. It's really strange as I have the exact same browser as Ori and can't reproduce it. I'm trying to work out what's going on and push a fix. The version on my website has a workaround around this issue in the meantime! On Thu, Oct 24, 2013 at 4:08 PM,

Re: [Wikitech-l] Visualising CSS debt - cleaning up our messy codebase

2013-10-24 Thread Steven Walling
Thanks for doing this Jon. When I used the Vector version, at first I got an all black screen, which made me think it was broken. I guess that was just a CSS rule to click and delete? :) On Thu, Oct 24, 2013 at 2:43 PM, Jon Robson jdlrob...@gmail.com wrote: 1) We have 6 ways of describing

Re: [Wikitech-l] Visualising CSS debt - cleaning up our messy codebase

2013-10-24 Thread Matthew Flaschen
On 10/24/2013 05:43 PM, Jon Robson wrote: I think we are all in agreement that the CSS in MediaWiki is a mess but it's not clear how to solve the mess. I think I've created a useful bit of JS to visualise this mess and make a path to solving it clearer. If you visit:

Re: [Wikitech-l] Visualising CSS debt - cleaning up our messy codebase

2013-10-24 Thread Matthew Flaschen
On 10/24/2013 08:27 PM, Steven Walling wrote: Thanks for doing this Jon. When I used the Vector version, at first I got an all black screen, which made me think it was broken. I guess that was just a CSS rule to click and delete? :) Yes. Yeah, if we don't have a bug about settling on one