sweble / sweble-wikitext

The Sweble Wikitext Components module provides a parser for MediaWiki's wikitext and an engine trying to emulate the behavior of a MediaWiki.
http://sweble.org/sites/swc-devel/develop-latest/tooling/sweble/sweble-wikitext
70 stars 27 forks source link

Experimental automatic language configuration generator #28

Closed pumpadump closed 10 years ago

pumpadump commented 10 years ago

This class automatically generates a language specific wikiConfig via the wiki api sites. I think it would be a nice experimental feature for the sweble parser. It is just a first prototype and i only manually tested it a little bit with the german, english and french wikipedia.

hannesd commented 10 years ago

Hi! I found away to get around the license header problem: The license checker plugin now accepts a second header type without any copyright information. So if you move your copyright and author information into a comment at the class and just keep the apache license header information it should work.

Your last commit would have technically worked as well, but it would be legally incorrect since we do not own the copyright for that code. So if you just remove 3 lines (copyright info + empty line) from the header it should work.

Sorry for making this so complicated :(

pumpadump commented 10 years ago

No problem, i changed it as you requested.

hannesd commented 10 years ago

Thanks! It's in branch alpha