MediaWiki:Gadget-ListingEditor.json

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
SHOW_LAST_EDITED_FIELDtrue
SUPPORTED_SECTIONS
"listing"
"see"
"do"
"buy"
"eat"
"drink"
"go"
"sleep"
iata"{{IATA|%s}}"
listingTypeRegExp"({{\s*(%s)\b)(\s*[\|}])"
REPLACE_NEW_LINE_CHARStrue
LISTING_TEMPLATES_OMIT
Empty array
VALIDATE_CALLBACKS_EMAILfalse
SUBMIT_FORM_CALLBACKS_UPDATE_LAST_EDITtrue
ALLOW_UNRECOGNIZED_PARAMETERS_LOOKUPtrue
LISTING_TYPE_PARAMETER"type"
LISTING_CONTENT_PARAMETER"content"
DEFAULT_LISTING_TEMPLATE"listing"
SLEEP_TEMPLATE_PARAMETERS
hours
hideDivIfEmpty"div_hours"
skipIfEmptytrue
checkin
hideDivIfEmptynull
skipIfEmptyfalse
checkout
hideDivIfEmptynull
skipIfEmptyfalse
LISTING_TEMPLATE_PARAMETERS
type
id"input-type"
hideDivIfEmpty"div_type"
newlinetrue
name
id"input-name"
alt
id"input-alt"
url
id"input-url"
email
id"input-email"
newlinetrue
address
id"input-address"
lat
id"input-lat"
long
id"input-long"
directions
id"input-directions"
newlinetrue
phone
id"input-phone"
tollfree
id"input-tollfree"
fax
id"input-fax"
hideDivIfEmpty"div_fax"
newlinetrue
skipIfEmptytrue
hours
id"input-hours"
checkin
id"input-checkin"
hideDivIfEmpty"div_checkin"
skipIfEmptytrue
checkout
id"input-checkout"
hideDivIfEmpty"div_checkout"
skipIfEmptytrue
price
id"input-price"
newlinetrue
wikipedia
id"input-wikipedia"
skipIfEmptytrue
image
id"input-image"
skipIfEmptytrue
wikidata
id"input-wikidata-value"
newlinetrue
skipIfEmptytrue
lastedit
id"input-lastedit"
newlinetrue
skipIfEmptytrue
content
id"input-content"
newlinetrue
WIKIDATAID"19826574"
SPECIAL_CHARS
Empty array