Template:Drafting site properties

From Wiki
Jump to: navigation, search

Template drafting site properties sets the variable properties for a drafting site, together with the standard properties Category:Place and Property:Purpose as defined by Concept:Drafting site.

Usage

All properties are optional. Property changes will usually propagate to redirection services such as MyDraft within four hours.

{{drafting site properties
 | design = the design name of the drafting site without the leading "Stuff"
     namespace.  The value will be assigned to Property:Design.  See also the
     list of known designs.
 | script URL = the base location for script execution, without a trailing
     slash (/).  The value will be assigned to Property:Script URL.  This is
     for drafting sites of MediaWiki design.  Requests to the wiki may be
     constructed by appending the script path and parameters, as in
     "Script URL/index.php?oldid=1138".  The script URL may be obtained by
     clicking an action tab (e.g. "edit" or "history") in the wiki and
     inspecting the resulting action URL; it is based on the script URL.
 | URL = the base location for requesting pages from the remote wiki.  The
     value will be assigned to Property:URL.  For MediaWiki sites, this is
     either the standard access URL such as "Script URL/index.php", or an alias
     without a trailing slash (/).  In the latter case, $wgUsePathInfo is
     assumed to be true.  Page requests formed on this base should generally
     not be redirected by the wiki, or certain services may fail.1
 }}

Example

{{drafting site properties
 | design = MediaWiki
 | script URL = http://metagovernment.org/w
 | URL = http://metagovernment.org/wiki
 }}

Notes

  1. ^ Relays of Crossforum Theatre state, for example, will fail on any mismatch between requested and actual URL. http://reluk.ca/project/votorola/_/javadoc/votorola/s/gwt/stage/ReferrerRelayer.html#KEY_HREF