Jump to content

Custom edit button bar: Difference between revisions

From Squirrel's Lair
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..."
 
(No difference)

Latest revision as of 08:13, 2023 May 20

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