mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 11:59:56 +00:00
0fee93ec6d
And resolved conflicts in: * AdEngine/js/AdLogicPageDimensions.js, * AdEngine/js/provider/directGpt.js, * AdEngine/js/run/desktop.run.js.
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;
|
|
}
|
|
}
|