From 7162b329b6a0bca981402f1407c8ccb752576a1f Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 16 May 2010 20:00:25 +0000 Subject: [PATCH] Add extra newline between permissions (nicer formatting) --- includes/api/ApiMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- 2.20.1