Followup r103945 - @since and whitespace
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 24 Dec 2011 14:40:59 +0000 (14:40 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 24 Dec 2011 14:40:59 +0000 (14:40 +0000)
includes/Export.php

index 0dc0ad9..695a7f7 100644 (file)
@@ -685,6 +685,7 @@ class XmlDumpWriter {
         *
         * @param Title $title
         * @return string
+        * @since 1.18
         */
        public static function canonicalTitle( Title $title ) {
                if ( $title->getInterwiki() ) {
@@ -694,7 +695,7 @@ class XmlDumpWriter {
                global $wgContLang;
                $prefix = str_replace( '_', ' ', $wgContLang->getNsText( $title->getNamespace() ) );
 
-               if ($prefix !== '') {
+               if ( $prefix !== '' ) {
                        $prefix .= ':';
                }