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

Семантическая вики: различия между версиями

Материал из Энциклопедия Тренерон
(Новая страница: «<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...»)
 
Нет описания правки
Строка 1: Строка 1:
<languages/>
== <h1>PAGE FORMS</h1> ==
{{Page Forms navigation}}
<h2>Специальные страницы для форм</h2>
<translate>
*[[Special:CreateForm]] - Новая форма [http://discoursedb.org/wiki/Special:CreateForm Пример]
<!--T:1-->
*[[Служебная:CreateTemplate|Special:CreateTemplate]] - Новый шаблон. [http://discoursedb.org/wiki/Special:CreateTemplate Пример]
Page Forms defines various [[<tvar name=1>Special:MyLanguage/Help:Special pages</tvar>|special pages]], used for a variety of purposes.
*[[Special:CreateProperty]] - Новое Semantic MediaWiki свойство
*[[Служебная:CreateCategory|Special:CreateCategory]] - Создать новую категорию через формы [http://discoursedb.org/wiki/Special:CreateCategory Пример]
*[[Special:CreateClass]] -  страница, которая одновременно создает все элементы для одного "класса" - шаблон, форму, категорию и (если установлен Semantic MediaWiki) свойства. Доступ к этой странице определяется разрешением MediaWiki "createclass"; по умолчанию оно доступно всем зарегистрированным пользователям.


<!--T:2-->
Гайд от разрабов как этим пользоваться: https://www.mediawiki.org/wiki/Extension:Page_Forms/Quick_start_guide
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 name=url>http://discoursedb.org/wiki/Special:CreateForm</tvar> See example of page])</translate>
==== Еще спец страницы ====
*'''Special:CreateTemplate''' - <translate><!--T:11--> lets a user create a new template.</translate> <translate><!--T:12--> ([<tvar name=url>http://discoursedb.org/wiki/Special:CreateTemplate</tvar> See example of page])</translate>
*[[Special:Forms]] - Все формы вики ([http://discoursedb.org/wiki/Special:Forms типа такого])
*'''Special:CreateProperty''' - <translate><!--T:13--> lets a user create a new Semantic MediaWiki property.</translate> <translate><!--T:14--> Available only when Semantic MediaWiki is installed.</translate>
*[[Служебная:Templates|Special:Templates]] - Шаблоны вики ([http://discoursedb.org/wiki/Special:Templates пример])
*'''Special:CreateCategory''' - <translate><!--T:16--> lets a user create a new category.</translate> <translate><!--T:17--> ([<tvar name=url>http://discoursedb.org/wiki/Special:CreateCategory</tvar> See example of page])</translate>
*'''Special:CreateClass''' - <translate><!--T:18--> 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><!--T:20--> 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>
*[[Special:FormEdit]] - редактированеи с помощью формы ([http://discoursedb.org/wiki/Special:FormEdit/Magazine/Some_Magazine пример с журналом])
<!--T:25-->
*[[Special:FormStart]] - перенаправление
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.
*[[Special:RunQuery]] - Запускай ЗАПРОСЫ. Что это? :)
</translate>
*[[Special:UploadWindow]] - загрузка через формы
 
*[[Special:MultiPageEdit]]- показывает таблицы всех данных и можно их менять в удобном формате. [http://discoursedb.org/wiki/Special:MultiPageEdit Например]
<translate><!--T:3--> 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><!--T:4--> 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><!--T:5--> 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><!--T:6--> To do that, add the following to LocalSettings.php, after the inclusion of Page Forms:</translate>
 
<syntaxhighlight lang="php">
$wgPageFormsShowTabsForAllHelperForms = false;
</syntaxhighlight>
 
<translate>
<!--T:7-->
Two special pages provide lists of the data-structure pages within the wiki:
</translate>
 
*'''Special:Forms''' - <translate><!--T:26--> lists all form pages on the site.</translate> <translate><!--T:21--> ([<tvar name=url>http://discoursedb.org/wiki/Special:Forms</tvar> See example of page])</translate>
*'''Special:Templates''' - <translate><!--T:27--> lists all templates on the site.</translate> <translate><!--T:22--> ([<tvar name=url>http://discoursedb.org/wiki/Special:Templates</tvar> See example of page])</translate>
 
<translate>
<!--T:8-->
Finally, four special pages are used in the standard running of Page Forms:
</translate>
 
*'''Special:FormEdit''' - <translate><!--T:28--> lets a user either create or edit a page using a user-created form.</translate> <translate><!--T:23--> ([<tvar name=url>http://discoursedb.org/wiki/Special:FormEdit/Magazine/Some_Magazine</tvar> See example of page].)</translate>
*'''Special:FormStart''' - <translate><!--T:29--> 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><!--T:35--> 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><!--T:30--> 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><!--T:31--> lets a user select a template and edit all the pages that contain it using a spreadsheet-like interface.</translate> <translate><!--T:32--> The user can also create new pages and rename existing ones.</translate> <translate><!--T:33--> Other features of the special page include pagination and a selector for selecting the number of rows to display at once.</translate> <translate><!--T:34--> It currently supports text, text area, checkbox, date, combobox and tokens input types.</translate> <translate><!--T:24--> ([<tvar name=url>http://discoursedb.org/wiki/Special:MultiPageEdit</tvar> See example of page].)</translate>

Версия от 13:44, 19 октября 2023

PAGE FORMS

Специальные страницы для форм

  • Special:CreateForm - Новая форма Пример
  • Special:CreateTemplate - Новый шаблон. Пример
  • Special:CreateProperty - Новое Semantic MediaWiki свойство
  • Special:CreateCategory - Создать новую категорию через формы Пример
  • Special:CreateClass - страница, которая одновременно создает все элементы для одного "класса" - шаблон, форму, категорию и (если установлен Semantic MediaWiki) свойства. Доступ к этой странице определяется разрешением MediaWiki "createclass"; по умолчанию оно доступно всем зарегистрированным пользователям.

Гайд от разрабов как этим пользоваться: https://www.mediawiki.org/wiki/Extension:Page_Forms/Quick_start_guide

Еще спец страницы