Look & Feel - Presentation Settings


I was wondering if I could get some assistance regarding the Look & Feel - Presentation settings. One of the settings is Title (under Header) which allows you to change the web-browsers title. How do I then add a variable into that field so it dynamically changes when it goes to a new page in the wiki and puts the title of the page into the web-browser header and tab?

Thanks in advance.


This is the default :slight_smile:

Default value is $tdoc.getRenderedTitle('plain/1.0') - XWiki and $tdoc.getRenderedTitle('plain/1.0') is the current page’s title.

Hope it helps

Thanks for that. The default value for all the settings for me are all blank. Is there a list of variables that can be used that you can provide?


If they’re blank then it probably means that someone removed them from your side.

You can check the history of the XWiki.XWikiPreferences document. For ex http://localhost:8080/xwiki/bin/view/XWiki/XWikiPreferences?viewer=history.

All the values that you can use in velocity scripting. See https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Scripting/

Thanks, but it’s a fresh install that only I have access to so no one has removed anything. Strange.

If it’s a fresh install you should have the following (I don’t see how it’s possible that you have something different unless something was changed):

Screenshot 2020-07-30 at 09.08.56

Can you show the history of your XWiki.XWikiPreferences (e.g. http://localhost:8080/xwiki/bin/view/XWiki/XWikiPreferences?viewer=history)? And do compares if you have several revisions.

Can you also show your screenshot to make sure we’re talking about the same thing?



Yeah, we’re definitely talking about the same thing. My HTTP META INFO is also empty.

The history entries are just all of the following:
Install extension [org.xwiki.platform:xwiki-platform-distribution-ui-base/12.5.1]

So no revisions?

For example for me locally I have (for http://localhost:8080/xwiki/bin/view/XWiki/XWikiPreferences?viewer=history):

Screenshot 2020-07-30 at 09.20.43

Can you show yours and show the diff (compare)?