Il 16/07/2014 08:31, Rainer Rillke ha scritto:
We have a number of contributors who do prefer contributing through web-interfaces or minimal installations to MediaWiki's code base. Often they run -1 with MediaWiki's coding conventions and do not have the time to set up commit hooks [1]. To save them some work re-indenting or adding a space between braces, I have decided to expose the excellent stylize.php from wikimedia tools-code-utils and js-beautifier as a web service at WMF labs.
The result is a web interface: http://tools.wmflabs.org/stylize/
If you find a security vulnerable in the source code[2], you get a barnstar by me personally.
I've found a spelling "vulnerable" in the sentence ;-)
Happy coding and don't forget to recommend it when -1ing for whitespace reasons!
-- Rillke
[1] https://www.mediawiki.org/wiki/Chemical_Markup_support_for_Wikimedia_Commons... [2] https://github.com/Rillke/stylize
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Could it be used for bug 60619 https://bugzilla.wikimedia.org/show_bug.cgi?id=60619? PS: it would be great to have in other languages as well! (CSS, Python, etc.)