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: Permits removing, changing or appending elements on the standard  object, which equippes the dropdown gadget. Set this list as authoritative for available menus. See Details. Collateral use of "custom" is possible but confusing. Provide a menu (group definitions) or put only some attributes on top. Requires particular language code which takes a  into effect. is an object for general configuration issues. See Details. 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 array that assigns a modification of some items.
 * Even index numbers are pointing to the id.
 * Odd index numbers indicate the title information of the preceding id.
 * 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.
 * IDs with leading  are reserved for user definitions.
 * The user definition takes precedence over other definitions with the same ID.

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.

Individual loading
If the script is not yet supported by the current project, it can be imported by If details shall be configured by user, the following practice is independent from current project constellation. Otherwise the object may be overwritten either by project or by user. Possibly repeated call of load does not matter at all.

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. Note that multiple assigments to  need to be combined.

Example

 * Example


 * German translation