How to change title representation of page in web browser tab?

Version 1.1 by Nikita Petrenko on 2024/07/02

From XWiki WebPreferences page: Global Administration → Look & Feel → Presentation → subsection Header → Title.

Replace the default value with your desire

$tdoc.getRenderedTitle('plain/1.0') - XWiki

For instance, to have only title of the page in browser tab, put this

$tdoc.getDisplayTitle()

Helpful information:

Get Connected