Wikimedia

Banners should support extraClassNames parameter for adding extra css classes

Banners added by WikidataPageBanner extension are styled using a single stylesheet in ext.WikidataPageBanner.styles.less. Sometimes due to dark banners, the text would be obscured. Therefore it should be possible to specify extra css classes/class on the banner such as 'darkOnWhite' which would alter the general color of the banner(mainly flipping colors ) to suit dark banners. The extra classes could be added as part of a paremeter to {{PAGEBANNER}}. Look at other parameters to {{PAGEBANNER}} such as "toc","tooltip"... to see how parameters could be added and used.

Read more about WikidataPageBanner extension

My irc nick: codezee

In case you need any help, just comment on T110904

Task tags

  • wikidatapagebanner extension
  • php
  • html
  • css

Students who completed this task

Victor Barbu

Task type

  • code Code
  • web Design
close

2015