hello. I'm using mediawiki 1.33 version and I want to appear Google Ads on my wiki. But all google ads and head script extensions are not for 1.33 version....
how can I add ads or add html head script?
hello. I'm using mediawiki 1.33 version and I want to appear Google Ads on my wiki. But all google ads and head script extensions are not for 1.33 version....
how can I add ads or add html head script?
My mediawiki version is 1.33 and php version is 7.3. so i can't install that extension.
Try the extension version relevant to your MediaWiki core from Special:ExtensionDistributor/GoogleAdSense. It's likely the Extension:Google AdSense page is outdated regarding the supported versions.
I tried. but i can't access wiki because of http error 500. and update.php can't find googleadsense extension.json.
Instead of the wfLoadExtension
line, try with:
require_once "$IP/extensions/GoogleAdSense/GoogleAdSense.php";
Or, you can also try the master version of the extension too, wfLoadExtension
should work for it.
I tried and wiki works without error. but ads not appear. google adsense extension is in mediawiki:special.
I am having the same issues. Tried Both Master version and version 1.34 getting error 500 with both of the following.
wfLoadExtension( 'GoogleAdSense' );
and
require_once "$IP/extensions/GoogleAdSense/googleadsense.php";
Any solutions?
I solved this problem with require_once. but I tested only in Version 1.33
Having same issue...both require_once and wfload options create http 500 error on mediawiki 1.34