Extension:Page Forms/Special pages

From MediaWiki.org
Jump to: navigation, search
Language:Project:Language policy English  • français
Page Forms - navigation (viewTemplate:Page Forms navigation)
Basics Main pageExtension:Page Forms (talk) · Download and installationExtension:Page Forms/Download and installation · Quick start guideExtension:Page Forms/Quick start guide · HostingExtension:Page Forms/Hosting · Special pagesExtension:Page Forms/Special pages
Using Page Forms PF and templatesExtension:Page Forms/Page Forms and templates · Defining formsExtension:Page Forms/Defining forms   (Input typesExtension:Page Forms/Input types) · The "⧼formedit⧽" tabExtension:Page Forms/The "edit with form" tab · Linking to formsExtension:Page Forms/Linking to forms · Creating query formsExtension:Page Forms/Creating query forms
Resources for help Common problemsExtension:Page Forms/Common problems · Known bugs and planned featuresExtension:Page Forms/Known bugs and planned features · Getting supportExtension:Page Forms/Getting support · Developers' documentationExtension:Page Forms/Developers' documentation · TestingExtension:Page Forms/Testing
About Page Forms Authors and creditsExtension:Page Forms/Authors and credits · Version historyExtension:Page Forms/Version history · Sites that use Page FormsExtension:Page Forms/Sites that use Page Forms · Related extensionsExtension:Page Forms/Related extensions

Page Forms defines various special pages, used for a variety of purposes.

Five special pages are defined that serve as "helper forms", to help users create parts of the data structure:

  • Special:CreateForm - lets a user create a new form. (See example of page)
  • Special:CreateTemplate - lets a user create a new template. (See example of page)
  • Special:CreateProperty - lets a user create a new Semantic MediaWiki property. Available only when Semantic MediaWiki is installed. (See example of page)
  • Special:CreateCategory - lets a user create a new category. (See example of page)
  • Special:CreateClass - a page that creates all the elements for a single "class" at the same time - template, form, category and (if Semantic MediaWiki is installed) properties. (See example of page). Access to this page is dictated by the 'createclass' MediaWiki permission; by default, it is available to all logged-in users.

See the page "Quick start guide" for a brief tutorial on using these helper forms.

The first four of these special pages can also be accessed directly from the page for a form, template, property, or category, respectively, if such a page has not been created yet. Any such page should have, in addition to the standard "Create" tab, a "Create with form" tab that brings users to an interface for creating that page with the appropriate helper form.

This "Create with form" tab can be disabled for templates and categories, if you don't want users to always create those using the helper forms. To do that, add the following to LocalSettings.php, after the inclusion of Page Forms:

$wgPageFormsShowTabsForAllHelperForms = false;

Two special pages provide lists of the data-structure pages within the wiki:

Finally, four special pages are used in the standard running of Page Forms:

  • Special:FormEdit - lets a user either create or edit a page using a user-created form. (See example of page.)
  • Special:FormStart - used to route a user to either 'FormEdit' or the relevant page's "edit with form" tab. This page should not be accessed directly by users.
  • Special:RunQuery - lets a user run a query, using a form; see "Creating query forms" for more information.
  • Special:UploadWindow - lets a user upload a file; very similar to the standard Special:Upload page, but without the skin. This page is called from within a form, and should not be accessed directly by users.