Custom edit button bar

From Squirrel's Lair
Revision as of 09:13, 2023 May 20 by Ttenbergen (talk | contribs) (Created page with "This page explains how the extra buttons in the edit bar above (e.g. the collapsable button) are added and how we would go about adding more. See Custom system messages for info on modifying other user interface components. == Steps == # make up an icon you want to use; this should be a png of XXX x XXX pixels size. # upload the icon to this wiki. # The next steps need to be done by a [https://wiki.umintmed.ca/index.php?username=&group=interface-admin&wpsubmit=&wp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This page explains how the extra buttons in the edit bar above (e.g. the collapsable button) are added and how we would go about adding more. See Custom system messages for info on modifying other user interface components.

Steps

  1. make up an icon you want to use; this should be a png of XXX x XXX pixels size.
  2. upload the icon to this wiki.
  3. The next steps need to be done by a wiki interface administrator. (if you want to become one, talk to Tina Tenbergen)
    1. edit MediaWiki:Common.js
    2. copy and paste one of the other button generators and update it with the new button and what you want it to do
    3. see https://www.mediawiki.org/wiki/Extension:WikiEditor/Toolbar_customization for more info on how
  4. announce any newly added functionality on Wiki News