Fix some issues pointed out by IDE.
* Update .gitignore to ignore .idea. * Removed unused local variables. * use local context and Message class instead of deprecated wfMsg* methods. * Remove redundant px in CSS where possible. * Combine CSS statements where possible. * Replace b by strong. Change-Id: I9d5ed7b7ce585a1c101044254bcbdfc33d42afc1
This commit is contained in:
@@ -64,7 +64,6 @@ class LanguageNameSearch {
|
||||
* @return integer Code point of first letter of string
|
||||
*/
|
||||
static function getCodepoint( $str ) {
|
||||
$unicode = array();
|
||||
$values = array();
|
||||
$lookingFor = 1;
|
||||
for ( $i = 0; $i < strlen( $str ); $i++ ) {
|
||||
@@ -104,7 +103,6 @@ class LanguageNameSearch {
|
||||
return 0;
|
||||
}
|
||||
$prevRow = range( 0, $length2 );
|
||||
$currentRow = array();
|
||||
for ( $i = 0; $i < $length1; $i++ ) {
|
||||
$currentRow = array();
|
||||
$currentRow[0] = $i + 1;
|
||||
|
||||
Reference in New Issue
Block a user