global $wgEnotifMaxRecips, $wgAdditionalMailParams;
if ( is_array( $to ) ) {
+ $emails = '';
// This wouldn't be necessary if implode() worked on arrays of
// objects using __toString(). http://bugs.php.net/bug.php?id=36612
foreach ( $to as $t ) {
* @return Array of parameters for transform.
*/
protected function mergeThumbParams ( $image, $thumbParams, $otherParams ) {
- if ( !$otherParams ) return $thumbParams;
+ if ( !$otherParams ) {
+ return $thumbParams;
+ }
$p = $this->getModulePrefix();
$h = $image->getHandler();
'prop' => array(
'Which properties to get',
' timestamp - Adds the timestamp of when protection was added',
- ' user - Adds the user to add the protection',
- ' userid - Adds the user id to add the protection',
+ ' user - Adds the user that added the protection',
+ ' userid - Adds the user id that added the protection',
' comment - Adds the comment for the protection',
' parsedcomment - Adds the parsed comment for the protection',
' expiry - Adds the timestamp of when the protection will be lifted',