MediaWiki:Vector.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
||
| Zeile 45: | Zeile 45: | ||
} | } | ||
$wgHooks['SkinAfterContent'][] = function(&$data, $skin) { | |||
$data = '<div class="gas-bottom">'; | |||
$data .= '<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>'; | |||
$data .= '<ins class="adsbygoogle gas-bottom-first" | |||
style="display:table; width:728px; height:90px; margin:1em auto; clear:both;" | |||
data-ad-client="ca-pub-1836625107371348" | |||
} | data-ad-slot="4628542976"></ins>'; | ||
$data .= '<script> | |||
(adsbygoogle = window.adsbygoogle || []).push({}); | |||
</script>'; | |||
$data .= '</div>'; | |||
return true; | |||
}; | |||