The common use case is when using XWiki as a public Web Site. Their are some elements that we don't want to be displayed and currently it is a real pain to work on those elements since we need to override a couple of templates before we can start to play.
I propose the following 4 variables, which I think are a good start when using XWiki as a public web site :
- $displayContentMenu // display or not the content menu (view, edit links, etc.) true by default
- $displayMainMenu // display or not the main menu (wiki and space links, user profile) true by default
- $displayDocExtra // display or not the tabs with doc extra links (comments, attachments, etc.) true by default
- $displayShortcuts // display or not the document shortcuts (those are in the line written under the document title)
Note that in the future, this would be handled through the use of Interface eXtensions.