Table of contents

From Redazione
Jump to navigation Jump to search

The system automatically creates a Table of contents for each organization (as well as for all the other pages of this wiki not belonging to an organization) containing the pages' structure of all its subpages, at a location like the following:

https://culturaitaliana.org/wiki/[organization name]/Table of contents

The Table of contents can be interactively edited through the related form (pages can be shown/hidden and rearranged) and will be used as reference to create the organization' page on the front-end, which will include all the pages present in the Table of contents of the back-end, in the same order.

Also, because where the page language is not directly specified on the back-end (for instance through an annotated semantic property, or using the language code suffix on the page title as foreseen by the template Languages, the system will try to detect it using some external libraries, we plan to extend the Table of content's form in order to allow to set the page language through it when the language detection has failed.

This way, the menu on the top right on the front-end, allowing to filter the contents by languages will always contain the complete set of languages, and all the articles will be included/excluded consistently from the navigation.