Index: trunk/extensions/StyleGuideDemo/HTMLStyleForm.php |
— | — | @@ -534,7 +534,7 @@ |
535 | 535 | ), $errorstr ); |
536 | 536 | return Html::rawElement( 'div', array( |
537 | 537 | 'class' => 'mw-htmlform-errors' |
538 | | - ), $errorTitle . $errorContent ); |
| 538 | + ), $errorTitle . $errorContent ); |
539 | 539 | } else { |
540 | 540 | return ''; |
541 | 541 | } |
— | — | @@ -638,7 +638,7 @@ |
639 | 639 | */ |
640 | 640 | function getTitle() { |
641 | 641 | return $this->mTitle === false |
642 | | - ? $this->getContext()->title |
| 642 | + ? $this->getContext()->getTitle() |
643 | 643 | : $this->mTitle; |
644 | 644 | } |
645 | 645 | |
— | — | @@ -655,21 +655,21 @@ |
656 | 656 | * @return OutputPage |
657 | 657 | */ |
658 | 658 | public function getOutput(){ |
659 | | - return $this->getContext()->output; |
| 659 | + return $this->getContext()->getOutput(); |
660 | 660 | } |
661 | 661 | |
662 | 662 | /** |
663 | 663 | * @return WebRequest |
664 | 664 | */ |
665 | 665 | public function getRequest(){ |
666 | | - return $this->getContext()->request; |
| 666 | + return $this->getContext()->getRequest(); |
667 | 667 | } |
668 | 668 | |
669 | 669 | /** |
670 | 670 | * @return User |
671 | 671 | */ |
672 | 672 | public function getUser(){ |
673 | | - return $this->getContext()->user; |
| 673 | + return $this->getContext()->getUser(); |
674 | 674 | } |
675 | 675 | |
676 | 676 | /** |