18,700
edits
(→Common.js: documenting ModifySidebar()) |
(→Common.js: adding note on "sep" argument to ModifySidebar()) |
||
Line 18: | Line 18: | ||
* A function called ModifySidebar() is made available for customizing the items listed in the sections on the left of all wiki pages. See Iritscen's [[User:Iritscen/monobook.js|custom JS page]] for a sample usage. | * A function called ModifySidebar() is made available for customizing the items listed in the sections on the left of all wiki pages. See Iritscen's [[User:Iritscen/monobook.js|custom JS page]] for a sample usage. | ||
** Parameter 1: The string "add" or " | ** Parameter 1: The string "add", "remove", or "sep" (which adds a separator line). | ||
** Parameter 2: The name of the section; "navigation", "languages" (not displayed on this wiki), or "toolbox". | ** Parameter 2: The name of the section; "navigation", "languages" (not displayed on this wiki), or "toolbox". | ||
** Parameter 3: The display name of the URL you will be adding. | ** Parameter 3: The display name of the URL you will be adding. |