r66546 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66545‎ | r66546 | r66547 >
Date:20:00, 16 May 2010
Author:reedy
Status:ok
Tags:
Comment:
Add extra newline between permissions (nicer formatting)
Modified paths:
  • /trunk/phase3/includes/api/ApiMain.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiMain.php
@@ -726,7 +726,7 @@
727727 foreach ( self::$mRights as $right => $rightMsg ) {
728728 $groups = User::getGroupsWithPermission( $right );
729729 $msg .= "* " . $right . " *\n " . wfMsgReplaceArgs( $rightMsg[ 'msg' ], $rightMsg[ 'params' ] ) .
730 - "\nGranted to:\n " . str_replace( '*', 'all', implode( ', ', $groups ) ) . "\n";
 730+ "\nGranted to:\n " . str_replace( '*', 'all', implode( ', ', $groups ) ) . "\n\n";
731731
732732 }
733733

Status & tagging log