We would like to let users select electron or OCG and run both in parallel to see the performance of electron within the books feature (collections extension) prior to OCG sunsetting.
- Add an option to the "Format" select box on Special:Book. (See screenshot below.)
- Option will read: "Single column (includes tables and infoboxes)"
- Change name of ocg option to read: "Double column (without tables and infoboxes)"
- Make the new option default
- Feature flag the option
- Do a SWAT deploy so we can sign this off:
$wgCollectionFormats['electron'] = 'PDF';
Make sure it comes before other similar formats because we want this option to be displayed first in the drop-down list.