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

@@ -53,7 +53,6 @@ class UniversalLanguageSelectorHooks {
*/
static function addTrigger( array &$personal_urls, &$title ) {
global $wgLang;
$tabindex = 2;
$personal_urls = array( 'uls'=> array(
'text' => $wgLang->getLanguageName( $wgLang->getCode() ),
'href' => '#',
@@ -119,7 +118,7 @@ class UniversalLanguageSelectorHooks {
</div>
<div class='row'>
<div class='four columns'>
<h1>" . wfMsgHtml( 'uls-select-content-language' ) . "</h1>
<h1>" . $skin->msg( 'uls-select-content-language' )->escaped() . "</h1>
</div>
<div class='three columns' id='settings-block'></div>
<div class='five columns' id='map-block'>