From 1fb1fae9a2592edd585298b9e42c69b68140077e Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Wed, 4 Jan 2012 09:06:05 +0000 Subject: [PATCH] Stylize. --- languages/Language.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/languages/Language.php b/languages/Language.php index 691c43b453..56367dbf7a 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -2742,7 +2742,7 @@ class Language { if ( intval( $_ ) < 0 ) { // For negative numbers apply the algorithm like positive number and add sign. $sign = "-"; - $_ = substr( $_,1 ); + $_ = substr( $_, 1 ); } $numberpart = array(); $decimalpart = array(); @@ -3902,7 +3902,7 @@ class Language { # Make 'previous' link $prev = wfMessage( 'prevn' )->inLanguage( $this )->title( $title )->numParams( $limit )->text(); - if( $offset > 0 ) { + if ( $offset > 0 ) { $plink = $this->numLink( $title, max( $offset - $limit, 0 ), $limit, $query, $prev, 'prevn-title', 'mw-prevlink' ); } else { @@ -3911,7 +3911,7 @@ class Language { # Make 'next' link $next = wfMessage( 'nextn' )->inLanguage( $this )->title( $title )->numParams( $limit )->text(); - if( $atend ) { + if ( $atend ) { $nlink = htmlspecialchars( $next ); } else { $nlink = $this->numLink( $title, $offset + $limit, $limit, @@ -3920,7 +3920,7 @@ class Language { # Make links to set number of items per page $numLinks = array(); - foreach( array( 20, 50, 100, 250, 500 ) as $num ) { + foreach ( array( 20, 50, 100, 250, 500 ) as $num ) { $numLinks[] = $this->numLink( $title, $offset, $num, $query, $this->formatNum( $num ), 'shown-title', 'mw-numlink' ); } -- 2.20.1