On Wed, Aug 28, 2013 at 5:40 PM, K. Peachey <p858snake(a)gmail.com> wrote:
On Thu, Aug 29, 2013 at 6:41 AM, Luis Villa
<lvilla(a)wikimedia.org> wrote:
Just out of curiosity, what code are you using to
do license parsing? If
you want seriously robust parsing, you might take a peek at
https://github.com/dmgerman/ninka
Luis
standard parser functions via the template
{{lc:{{{license|}}} }}
|gpl|gplv2|gplv2 or later|gpl v2|gpl v2 or later|gplv2+|gplv3|gpl v3 = GPL
licensed extensions
|agpl|agplv2|agplv3 = AGPL licensed extensions
|mit|expat|expat (mit)|x11 = MIT licensed extensions
|bsd|new bsd|revised bsd|modified bsd|freebsd = BSD licensed extensions
|mpl|mplv2|mpl v2 = MPL licensed extensions
|#default = Extensions with unknown license
}}]]}}}}
Oh, the template, not the code itself. Makes sense; ignore lil 'ol me ;)
Luis
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
Luis Villa
Deputy General Counsel
Wikimedia Foundation
415.839.6885 ext. 6810
NOTICE: *This message may be confidential or legally privileged. If you
have received it by accident, please delete it and let us know about the
mistake. As an attorney for the Wikimedia Foundation, for legal/ethical
reasons I cannot give legal advice to, or serve as a lawyer for, community
members, volunteers, or staff members in their personal capacity.*