Topic on Extension talk:Semantic Title

Zabien (talkcontribs)

I really like the way the semantic and the page title are displayed out of the box. However, in a wiki we would like to show the semantic title as part of the page content in a table (the semantic title is a reference code) and therefore hide it underneath the page title. Is there a setting for hiding or do we have to hide it via CSS?

Cindy.cicalese (talkcontribs)

Just to be sure I understand, you want to hide the "real" page title, which is displayed as a subtitle under the semantic page title, right? If so, you need to set

$wgSemanticTitleHideSubtitle = true;

in your configuration file.

Or, are you trying to hide both page titles at the top of the page so you can show them in an InfoBox instead? In that case, you could try one of the suggestions at https://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_hide_the_main_page_title.3F . Or set

{{DISPLAYTITLE:<span style="display:none"></span>}}

on individual pages on which you want to hide the title.

Zabien (talkcontribs)

That information is what I've been looking for, I meant the former. Was it already there? I must have missed it. Thank you!

Reply to "Hide page title"