From: Sam Reed Date: Sun, 16 May 2010 20:00:25 +0000 (+0000) Subject: Add extra newline between permissions (nicer formatting) X-Git-Tag: 1.31.0-rc.0~36821 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=7162b329b6a0bca981402f1407c8ccb752576a1f;p=lhc%2Fweb%2Fwiklou.git Add extra newline between permissions (nicer formatting) --- diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 43f4fc07c7..49cee0af25 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -726,7 +726,7 @@ class ApiMain extends ApiBase { foreach ( self::$mRights as $right => $rightMsg ) { $groups = User::getGroupsWithPermission( $right ); $msg .= "* " . $right . " *\n " . wfMsgReplaceArgs( $rightMsg[ 'msg' ], $rightMsg[ 'params' ] ) . - "\nGranted to:\n " . str_replace( '*', 'all', implode( ', ', $groups ) ) . "\n"; + "\nGranted to:\n " . str_replace( '*', 'all', implode( ', ', $groups ) ) . "\n\n"; }