// won't pick it up. This is probably expected behavior.
if ( $wgContLang->getConvRuleTitle() ) {
$this->mOutput->setTitleText( $wgContLang->getConvRuleTitle() );
- } elseif ( !( $wgDisableLangConversion
- || isset( $this->mDoubleUnderscores['notitleconvert'] ) ) ) {
- if ( $title->getNamespace() == NS_SPECIAL ) {
- $this->setTitle( $wgContLang->convert( $title ) );
- } else {
- $this->mOutput->setTitleText( $wgContLang->convert( $title->getPrefixedText() ) );
- }
}
$text = $this->mStripState->unstripNoWiki( $text );
'wgHtml5' => true,
'wgWellFormedXml' => true,
'wgAllowMicrodataAttributes' => true,
+ 'wgAllowDisplayTitle' => true,
+ 'wgRestrictDisplayTitle' => false,
);
if ($config) {
</p>
!! end
+!! test
+Verify that displaytitle works (bug #22501) no displaytitle
+!! options
+showtitle
+!! input
+this is not the the title
+!! result
+
+<p>this is not the the title
+</p>
+!! end
+!! test
+Verify that displaytitle works (bug #22501)
+!! options
+showtitle
+!! input
+this is not the the title
+{{DISPLAYTITLE:screen}}
+!! result
+screen
+<p>this is not the the title
+</p>
+!! end
TODO:
more images