Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -1666,10 +1666,10 @@ |
1667 | 1667 | # Crazy edit-on-double-click stuff |
1668 | 1668 | $action = $wgRequest->getVal( 'action', 'view' ); |
1669 | 1669 | |
1670 | | - if ( $this->mTitle->getNamespace() != NS_SPECIAL |
| 1670 | + if ( $this->getTitle()->getNamespace() != NS_SPECIAL |
1671 | 1671 | && !in_array( $action, array( 'edit', 'submit' ) ) |
1672 | 1672 | && $wgUser->getOption( 'editondblclick' ) ) { |
1673 | | - $bodyAttrs['ondblclick'] = "document.location = '" . Xml::escapeJsString( $this->mTitle->getEditURL() ) . "'"; |
| 1673 | + $bodyAttrs['ondblclick'] = "document.location = '" . Xml::escapeJsString( $this->getTitle()->getEditURL() ) . "'"; |
1674 | 1674 | } |
1675 | 1675 | |
1676 | 1676 | # Class bloat |
— | — | @@ -1679,15 +1679,15 @@ |
1680 | 1680 | # A <body> class is probably not the best way to do this . . . |
1681 | 1681 | $bodyAttrs['class'] .= ' capitalize-all-nouns'; |
1682 | 1682 | } |
1683 | | - $bodyAttrs['class'] .= ' ns-' . $this->mTitle->getNamespace(); |
1684 | | - if ( $this->mTitle->getNamespace() == NS_SPECIAL ) { |
| 1683 | + $bodyAttrs['class'] .= ' ns-' . $this->getTitle()->getNamespace(); |
| 1684 | + if ( $this->getTitle()->getNamespace() == NS_SPECIAL ) { |
1685 | 1685 | $bodyAttrs['class'] .= ' ns-special'; |
1686 | | - } elseif ( $this->mTitle->isTalkPage() ) { |
| 1686 | + } elseif ( $this->getTitle()->isTalkPage() ) { |
1687 | 1687 | $bodyAttrs['class'] .= ' ns-talk'; |
1688 | 1688 | } else { |
1689 | 1689 | $bodyAttrs['class'] .= ' ns-subject'; |
1690 | 1690 | } |
1691 | | - $bodyAttrs['class'] .= ' ' . Sanitizer::escapeClass( 'page-' . $this->mTitle->getPrefixedText() ); |
| 1691 | + $bodyAttrs['class'] .= ' ' . Sanitizer::escapeClass( 'page-' . $this->getTitle()->getPrefixedText() ); |
1692 | 1692 | $bodyAttrs['class'] .= ' skin-' . Sanitizer::escapeClass( $wgUser->getSkin()->getSkinName() ); |
1693 | 1693 | |
1694 | 1694 | $ret .= Html::openElement( 'body', $bodyAttrs ) . "\n"; |