Jump to content

Module:Editnotice load/config

From Wikipedia, the free encyclopedia
--[=[===========================================================================
- WARNING: THIS IS THE CONFIGURATION FILE FOR [[Module:Editnotice load]]
- DO NOT EDIT THIS FILE UNLESS IF YOU KNOW WHAT YOU ARE DOING!
- THIS FILE PROVIDES CONFIGURATION SETTINGS FOR HOW [[Module:Editnotice load]]
- SHOULD RUN. MODIFYING THIS FILE HAS THE POTENTIAL TO BREAK EDITNOTICES ON
- HUNDREDS OF PAGES.
-
- I18N SETTINGS SHOULD BE ADDED TO THE APPROPRIATE FILE ON
- [[Module:Editnotice load/i18n]].
=============================================================================]=]

return {
	pseudo_ns_name = "Template:Editnotices", --the name of the pseudo-namespace for the editnotice loader
	editnotice_classes = "sysop-show templateeditor-show extendedmover-show", --Additional classes to add to the editnotice loader for those who cannot edit editnotices
	editnotice_types = {
		protection = "Protection",
		protection_id = "ProtectionID",
		title = "Page", -- historical reasons
		page = "PageID",
		group = "Group",
		category = "Category",
		namespace = "Namespace"
	},
	user_editnotice = "Editnotice",
	links = "Editnotice links",
	editnotice_names = {
		protection = "Title protection notice",
		protection_id = "Page protection notice",
		title = "Title notice",
		page = "Page notice",
		group = "Group notice",
		category = "Category notice",
		namespace = "Namespace notice",
		user = "User page notice"
	},
	noEditnoticePage = "Warning: $1 does not exist. Creating this will help improve performance for loading editnotices in this namespace. Use the following syntax: $2",
	mainspace = "Main",
	templateStyles = "Template:Hlist/styles.css"
}