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:
Siebrand Mazeland
2012-08-15 17:32:49 +02:00
parent dbcdd63e69
commit 72d2519c4d
8 changed files with 16 additions and 21 deletions

View File

@@ -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;