mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 20:09:44 +00:00
14 lines
322 B
PHP
14 lines
322 B
PHP
<?php
|
|
|
|
class PortableInfoboxHooks {
|
|
static public function onBeforePageDisplay( OutputPage $out, Skin $skin ) {
|
|
if ( F::app()->checkSkin( 'monobook', $skin ) ) {
|
|
Wikia::addAssetsToOutput( 'portable_infobox_monobook_scss' );
|
|
} else {
|
|
Wikia::addAssetsToOutput( 'portable_infobox_scss' );
|
|
}
|
|
|
|
return true;
|
|
}
|
|
}
|