WikiMANNia / MediaWiki-Extension-WimaAdvertising

Adds four possible advertising spaces for the Skins Cologne Blue, Modern, MonoBook, and Vector that are filled by LocalSettings.php. - MediaWiki is hostile to Men, see https://phabricator.wikimedia.org/T323956
GNU General Public License v2.0
3 stars 0 forks source link

Ads are not shown in the Sidebar #1

Closed WikiMANNia closed 2 weeks ago

WikiMANNia commented 3 years ago
  1. Don't forget to add AD1 and AD2 in the sidebar ("MediaWiki:Sidebar").
  2. Skin Vector in revision 1.35 needs a hack:

In file "includes/VectorTemplate.php" change line 450:

$props['class'] = trim( "$class $extraClasses[$type]" );

into:

$props['class'] = trim( "$extraClasses[$type]" );

WikiMANNia commented 2 weeks ago

The hack regarding Skin Vector in revision 1.35 is ONLY necessary in the REL1_25 branch.

This is no longer necessary in the current branch.