While creating Wiki Page Library from the browser (Site Actions->More Options->Wiki Page Library) is easy, doing it form Visual Studio not so much.
When I create new ListDefinition in VS2010 I use Custom Library or Document library. Then in elements.xml of the ListDefinition I can edit DocumentTemplate (from default for Document Library "101" to "119" for the Wiki Page Library type) but it changes nothing and library stil behaves as normal document library. Is there something more to edit or do I have to generate this library from code?
I want to define my own columns so this is why i need to create ListDefinition. Because if you create new ListInstance you can choose Wiki Pages Library but then you have only Elements.xml in your VS2010 project and can not add custom columns from there (only from Sharepoint Designer).