User:PerfektesChaos/js/editToolStrIns/User Customization

Users might customize the standard appearance of their local project configuration.

JS items beginning with a period are references to the particular application object.

User JS
Personal JS settings may be defined in common.js or skin related.

.user object
If users define a  object they are able to provide the following properties: Requires particular language code which takes a  into effect. Permits removing, changing or appending elements on the standard  object. Set this list as authoritative. See Details. Provide group definitions or put only some attributes on top. With exception of these properties the system will not touch any element here. Users are free to store related data, function definitions and more in this branch without any conflict.
 * is an object that assigns a modification of some items.
 * The following values might be allocated by id:
 * string – displayed as title in selection
 * – take selection title from standard list
 * – discard item from list
 * Items may be selected from global repository just by id.
 * The non-false assignments appear on top of the selection list.

Cookie
In addition users can recall the most recent selection of a subset on previous edit pages. The state will be stored by cookie.

By default no cookies are used.
 * Use this name for a cookie:
 * Revocate a project wide standard setting:

Disengaging
By creating an  property the generation of the entire tool is prevented, if provided by local project.

CSS
Decorative styles can be applied. See Details.

API
Three functions are offered, mainly to the user: Refresh definition, e.g. since the user changed customization during the edit. Select a different menu, e.g. instead of the first one in the list. Show a message box with all available definitions for informative purpose.

Individual loading
If the script is not yet supported by the current project, it can be imported by

Conflicting tools
If the local project provides another edit tool, the script tries to hide the competitor, if already known.

If not yet known please drop a note on the talk page. The script will be told after a while.

If you are familiar with HTML, CSS and page sources, you may provide the followig statement to help yourself immediately: with other edit tool identifiable by #someselector.


 * German translation