From: Aaron Schulz Date: Mon, 27 Aug 2007 00:37:24 +0000 (+0000) Subject: *Add a space if we already have subtitle content X-Git-Tag: 1.31.0-rc.0~51649 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=2390c5f8f03ccbf81675c0f65439427b405223ee;p=lhc%2Fweb%2Fwiklou.git *Add a space if we already have subtitle content --- diff --git a/includes/Article.php b/includes/Article.php index 41d988d73f..4ae280a814 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -922,6 +922,8 @@ class Article { } else { $msg = wfMsg( 'protected-subtitle-each', $editGroups, $moveGroups ); } + if( $wgOut->getSubtitle() ) + $msg = " $msg"; $wgOut->setSubtitle( $wgOut->getSubtitle() . $msg ); }