Открыть меню
Открыть персональное меню
Вы не представились системе
Your IP address will be publicly visible if you make any edits.

Семантическая вики

Материал из Энциклопедия Тренерон
Версия от 13:27, 19 октября 2023; Vasiliy Gorodeckiy (обсуждение | вклад) (Новая страница: «<languages/> {{Page Forms navigation}} <translate> <!--T:1--> Page Forms defines various [[<tvar name=1>Special:MyLanguage/Help:Special pages</tvar>|special pages]], used for a variety of purposes. <!--T:2--> Five special pages are defined that serve as "helper forms", to help users create parts of the data structure: </translate> *'''Special:CreateForm''' - <translate><!--T:9--> lets a user create a new form.</translate> <translate><!--T:10--> ([<tvar nam...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

<languages/> Шаблон:Page Forms navigation <translate> Page Forms defines various [[<tvar name=1>Special:MyLanguage/Help:Special pages</tvar>|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: </translate>

  • Special:CreateForm - <translate> lets a user create a new form.</translate> <translate> ([<tvar name=url>http://discoursedb.org/wiki/Special:CreateForm</tvar> See example of page])</translate>
  • Special:CreateTemplate - <translate> lets a user create a new template.</translate> <translate> ([<tvar name=url>http://discoursedb.org/wiki/Special:CreateTemplate</tvar> See example of page])</translate>
  • Special:CreateProperty - <translate> lets a user create a new Semantic MediaWiki property.</translate> <translate> Available only when Semantic MediaWiki is installed.</translate>
  • Special:CreateCategory - <translate> lets a user create a new category.</translate> <translate> ([<tvar name=url>http://discoursedb.org/wiki/Special:CreateCategory</tvar> See example of page])</translate>
  • Special:CreateClass - <translate> 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.</translate> <translate> Access to this page is dictated by the '<tvar name=1>createclass</tvar>' MediaWiki permission; by default, it is available to all logged-in users.</translate>

<translate> See the page [[<tvar name=1>Special:MyLanguage/Extension:Page Forms/Quick start guide</tvar>|Quick start guide]] for a brief tutorial on using these helper forms. </translate>

<translate> 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.</translate> <translate> 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.</translate>

<translate> 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.</translate> <translate> To do that, add the following to LocalSettings.php, after the inclusion of Page Forms:</translate>

$wgPageFormsShowTabsForAllHelperForms = false;

<translate> Two special pages provide lists of the data-structure pages within the wiki: </translate>

<translate> Finally, four special pages are used in the standard running of Page Forms: </translate>

  • Special:FormEdit - <translate> lets a user either create or edit a page using a user-created form.</translate> <translate> ([<tvar name=url>http://discoursedb.org/wiki/Special:FormEdit/Magazine/Some_Magazine</tvar> See example of page].)</translate>
  • Special:FormStart - <translate> 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.</translate>
  • Special:RunQuery - <translate> lets a user run a query, using a form; see [[<tvar name=1>Special:MyLanguage/Extension:Page Forms/Creating query forms</tvar>|Creating query forms]] for more information.</translate>
  • Special:UploadWindow - <translate> 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.</translate>
  • Special:MultiPageEdit - <translate> lets a user select a template and edit all the pages that contain it using a spreadsheet-like interface.</translate> <translate> The user can also create new pages and rename existing ones.</translate> <translate> Other features of the special page include pagination and a selector for selecting the number of rows to display at once.</translate> <translate> It currently supports text, text area, checkbox, date, combobox and tokens input types.</translate> <translate> ([<tvar name=url>http://discoursedb.org/wiki/Special:MultiPageEdit</tvar> See example of page].)</translate>