Ticket #224 (new defect)
Chapter Name Creation when importing from Wikibooks
|Reported by:||john||Owned by:||douglas|
|Cc:||adam, aco, douglas, j|
A book I imported recently from wikibooks, (UK Constitution and Government) shows how a book imported from wikibooks names it's chapters. Every chapter name is preceded by the title of the book and also the names of different sections precede the actual chapter title. Examples:
UK Constitution and Government Print Version Stephen of England
Uk Constitution and Government British Monarchs Canute the Great
The bold sections are the book title, the italicised sections are names of different sections. The books title should be removed from the chapter title during import and preferably a new section created using the section name in the chapter and then all chapter titles containing that section name be placed under said section and have the section name removed from the title. I know the last part could be difficult to implement but the first request is important (removing the book title from the chapter title). It is important to note that the first chapter in the book has the same title as the book so while removing the book title from chapter titles, we would need to leave chapter 1 alone otherwise it's title would be blank.