- /**
- * Return pretty name which is display name if given and different from prefix text or
- * the unprefixed page name.
- *
- * @return string HTML safe name.
- */
- function getPrettyPageNameHtml() {
- $displayTitle = $this->getOutput()->getPageTitle();
- if ( $displayTitle === $this->getTitle()->getPrefixedText() ) {
- return htmlspecialchars( $this->getTitle()->getText() );
- } else {
- return $displayTitle;
- }
- }
-