*Add a space if we already have subtitle content
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 27 Aug 2007 00:37:24 +0000 (00:37 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 27 Aug 2007 00:37:24 +0000 (00:37 +0000)
includes/Article.php

index 41d988d..4ae280a 100644 (file)
@@ -922,6 +922,8 @@ class Article {
                } else {
                        $msg = wfMsg( 'protected-subtitle-each', $editGroups, $moveGroups );
                }
+               if( $wgOut->getSubtitle() )
+                       $msg = " $msg";
                
                $wgOut->setSubtitle( $wgOut->getSubtitle() . $msg );
        }