mediawiki

edit

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


can we talk regarding this here for pages import and export related?? Sachinpatel393 (talk) 13:07, 2 September 2020 (UTC)Reply

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
edit

Just FYI, since you did the work of tracking down Bhamwiki for me, I asked them via their support email to update their help link. MarkAHershberger(talk) 14:18, 17 October 2020 (UTC)Reply

That's a good idea, I'll start doing that also :) TiltedCerebellum (talk) 18:00, 17 October 2020 (UTC)Reply

Please help me expedite T267132

edit

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


It's been >2month since reported, no one have said anything. Goodman Andrew (talk) 06:33, 16 November 2020 (UTC)Reply

I'm just a user of the MediaWiki software like you, I can't help you to expedite anything I'm afraid. TiltedCerebellum (talk) 06:34, 16 November 2020 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Place GoogleAdsense in the sidebar

edit

Hi Tilted Cerebellum,

I've seen that you've managed to manually place a Google AdSense ad into the footer of a MW page by using this code:

$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-XXXXXXXXXXXXXXXX"
            data-ad-slot="XXXXXXXXXX"></ins>';
		$data .= '<script>
        (adsbygoogle = window.adsbygoogle || []).push({});
        </script>';
		$data .= '</div>';
        return true;
};
## -- Adsense footer end -- ##

It works fine, thanks for that! Could you edit the code so I can use it in the sidebar also? I'm sitting for hours and am not able to manage this :-/ Thanks a lot!!! Weejan91 (talk) 10:29, 3 April 2022 (UTC)Reply

Sorry, we ended up editing our skin to add that bit to the sidebar as hooks were always funky (we use a non-standard, non-MediaWiki skin). The drawback there is each time the skin is updated, we need to put the code back. It's definitely not ideal, but it works since most of the extensions have gone defunct. TiltedCerebellum (talk) 20:35, 7 May 2022 (UTC)Reply