On Wed, Aug 28, 2013 at 5:40 PM, K. Peachey p858snake@gmail.com wrote:
On Thu, Aug 29, 2013 at 6:41 AM, Luis Villa lvilla@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l