r108661 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108660‎ | r108661 | r108662 >
Date:19:47, 11 January 2012
Author:nikerabbit
Status:ok
Tags:
Comment:
Apparently we can commit code that doesn't compile but I am not allowed to have commit summary as "){} -> ) {}"
Modified paths:
  • /trunk/phase3/includes/Wiki.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Wiki.php
@@ -38,13 +38,13 @@
3939 */
4040 private $performedAction = 'nosuchaction';
4141
42 - public function request( WebRequest $x = null ){
 42+ public function request( WebRequest $x = null ) {
4343 $old = $this->context->getRequest();
4444 $this->context->setRequest( $x );
4545 return $old;
4646 }
4747
48 - public function output( OutputPage $x = null ){
 48+ public function output( OutputPage $x = null ) {
4949 $old = $this->context->getOutput();
5050 $this->context->setOutput( $x );
5151 return $old;
@@ -119,7 +119,7 @@
120120 * Get the Title object that we'll be acting on, as specified in the WebRequest
121121 * @return Title
122122 */
123 - public function getTitle(){
 123+ public function getTitle() {
124124 if( $this->context->getTitle() === null ){
125125 $this->context->setTitle( $this->parseTitle() );
126126 }
@@ -556,7 +556,7 @@
557557 *
558558 * @return string: action
559559 */
560 - public function getPerformedAction(){
 560+ public function getPerformedAction() {
561561 return $this->performedAction;
562562 }
563563

Status & tagging log