Apparently we can commit code that doesn't compile but I am not allowed to have commi...
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 11 Jan 2012 19:47:21 +0000 (19:47 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 11 Jan 2012 19:47:21 +0000 (19:47 +0000)
includes/Wiki.php

index 8bb6055..f0aa4ae 100644 (file)
@@ -38,13 +38,13 @@ class MediaWiki {
         */
        private $performedAction = 'nosuchaction';
 
-       public function request( WebRequest $x = null ){
+       public function request( WebRequest $x = null ) {
                $old = $this->context->getRequest();
                $this->context->setRequest( $x );
                return $old;
        }
 
-       public function output( OutputPage $x = null ){
+       public function output( OutputPage $x = null ) {
                $old = $this->context->getOutput();
                $this->context->setOutput( $x );
                return $old;
@@ -119,7 +119,7 @@ class MediaWiki {
         * Get the Title object that we'll be acting on, as specified in the WebRequest
         * @return Title
         */
-       public function getTitle(){
+       public function getTitle() {
                if( $this->context->getTitle() === null ){
                        $this->context->setTitle( $this->parseTitle() );
                }
@@ -556,7 +556,7 @@ class MediaWiki {
         *
         * @return string: action
         */
-       public function getPerformedAction(){
+       public function getPerformedAction() {
                return $this->performedAction;
        }