Extension:Listings

Installation
To install this extension, add the following to LocalSettings.php:

Tags
The Listings extension implements the following tags:



Attributes
All tags can be used with the same attributes:


 * Name of the destination.
 * Additional information on the destination. This string can contain Wiki markups.
 * Address the destination. This string can contain Wiki markups.
 * Way to or region of the destination. This string can contain Wiki markups.
 * Phone number(s) of the destination.
 * Toll-free phone number(s) of the destination.
 * Email of the destination.
 * Fax number(s) of the destination.
 * URL of the destination.
 * Opening hours of the destination.
 * Price for the entrance or for accomodation of the destination.
 * Check-in time of the hotels.
 * Check-out-time of the hotels.
 * Position latitude of the destination. This information will be show only if,   attributes and the   string are specified.
 * Position longitude of the destination. This information will be show only if,   attributes and the   string are specified.
 * Additional tags (specifications) of the destination. This information is not shown.

Text
The text included by the starting and closing tags is shown at the end. This string can contain Wiki markups.

Deprecation
The use of an extension to perform a task otherwise possible using standard templates appears to have been intended as a means to retain compatibility with a listings editor which is no longer in use. The default behaviour effectively hard-codes a template-like design and field names into the extension's PHP code; this must be overridden if new fields are to be added without changing the code.


 * 43220 implemented a patch which overrides the generated output for this extension by redirecting processing to a template.
 * Some individual-language Wikivoyage projects have used or proposed robot scripts to edit every page, replacing the XML tags with voy:template:listing or its local equivalent.

Feedback
Open tickets in Wikimedia's Bugzilla under the "Listings" component in the "MediaWiki extensions" product.
 * Open Listings tickets