Skip to content

Commit

Permalink
Merge pull request #26 from Krinkle/cleanup
Browse files Browse the repository at this point in the history
Remove IE6 support via csshover.htc hack
  • Loading branch information
nasirkhan committed Jul 2, 2024
2 parents ae9358d + 11a5c94 commit 90e6779
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 308 deletions.
12 changes: 0 additions & 12 deletions MediaWikiBootstrap.skin.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,8 @@ class SkinMediaWikiBootstrap extends SkinTemplate
*/
public function initPage(OutputPage $out)
{
global $wgLocalStylePath;

parent::initPage($out);

// Append CSS which includes IE only behavior fixes for hover support -
// this is better than including this in a CSS fille since it doesn't
// wait for the CSS file to load before fetching the HTC file.
$min = $this->getRequest()->getFuzzyBool('debug') ? '' : '.min';
$out->addHeadItem(
'csshover',
'<!--[if lt IE 7]><style type="text/css">body{behavior:url("' .
htmlspecialchars($wgLocalStylePath) .
"/{$this->stylename}/csshover{$min}.htc\")}</style><![endif]-->"
);
$out->addHeadItem('viewport', '<meta name="viewport" content="width=device-width, initial-scale=1">');

$styles = [];
Expand Down
284 changes: 0 additions & 284 deletions csshover.htc

This file was deleted.

12 changes: 0 additions & 12 deletions csshover.min.htc

This file was deleted.

0 comments on commit 90e6779

Please sign in to comment.