Topic on Talk:XTools/ArticleInfo.js

Summary by MusikAnimal

no longer minified :)

TheDJ (talkcontribs)

Why is this 'minified' on whitespace ? Makes it harder to read the code etc. Probably also want to clarify the copyright status btw. Usually WMF work is GPL by default, MIT or multi licensed, whereas gadgets are CC by-SA 3.0 by default.

MusikAnimal (talkcontribs)

Good to know, I wasn't sure if we were allowed to change the license. It is intentionally minified to prevent meddling. There will however be a comment with a link to the full source, just waiting on a PR to get merged for that to happen.

TheDJ (talkcontribs)

Yeah, just put whatever licenses you want in the comment at the top of the file.

> It is intentionally minified to prevent meddling

Honestly, to me that sounds like a terrible reason to get rid of whitespace. Copy paste, http://jsbeautifier.org and bypassed :)

MusikAnimal (talkcontribs)

Well, it's not meant to be foolproof, just a deterrent =P We've included a link back to the original source, just remove the ?uglify=1 to see the full source. It has one problem of querying XTools via http instead of https, but we're working on that. I've also indicated it is released under GPL v3.