Extension:Page Forms

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Extension:Page Forms and the translation is 39% complete.

Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎日本語 • ‎polski • ‎русский • ‎sicilianu • ‎中文
ページ フォーム - ナビゲーション (閲覧Template:Page Forms navigation)
基礎 メインページExtension:Page Forms (トーク) · ダウンロードとインストールExtension:Page Forms/Download and installation · Quick start guideExtension:Page Forms/Quick start guide · ホスティングExtension:Page Forms/Hosting · 特別ページExtension:Page Forms/Special pages
ページ フォームの使用 ページ フォームとテンプレートExtension:Page Forms/Page Forms and templates · フォームを定義するExtension:Page Forms/Defining forms   (入力の種類Extension:Page Forms/Input types) · 「⧼formedit⧽」タブExtension:Page Forms/The "edit with form" tab · フォームにリンクするExtension:Page Forms/Linking to forms · クエリ フォームの作成Extension:Page Forms/Creating query forms
助けとなるリソース よくある問題点Extension:Page Forms/Common problems · 既知のバグと計画されている機能Extension:Page Forms/Known bugs and planned features · 支援を受けるExtension:Page Forms/Getting support · 開発者向け説明文書Extension:Page Forms/Developers' documentation · 動作テストExtension:Page Forms/Testing
ページ フォームについて 作者とクレジット情報Extension:Page Forms/Authors and credits · バージョン履歴Extension:Page Forms/Version history · ページ フォームを使用しているサイトExtension:Page Forms/Sites that use Page Forms · 関連する拡張機能Extension:Page Forms/Related extensions
MediaWiki 拡張機能マニュアルManual:Extensions
Crystal Clear action run.png
Page Forms

リリースの状態:Extension status 安定

実装Template:Extension#type Special page, API
説明Template:Extension#description An extension that can be used with Semantic MediaWikiExtension:Semantic MediaWiki or CargoExtension:Cargo (or by itself), that allows users to create forms for creating and editing pages that use infobox-style templates. Forms are defined within wiki pages, written in a custom markup language, and are parsed on-the-fly when a form is displayed.
作者Template:Extension#username Yaron Koren <yaron57@gmail.com>、Stephan Gambke、他
最新バージョンTemplate:Extension#version 4.1.2 (2017年6月(2017-06))
MediaWikiTemplate:Extension#mediawiki 1.21+
ComposerComposer mediawiki/page-forms
ライセンスTemplate:Extension#license GNU General Public License 2.0 or later
ダウンロード こちらを参照
Template:Extension#example An auto-generated form allowing the user to edit an opinion item
使用するフックTemplate:Extension#hook
MakeGlobalVariablesScriptManual:Hooks/MakeGlobalVariablesScript
LinkEndManual:Hooks/LinkEnd
UnknownActionManual:Hooks/UnknownAction
SkinTemplateTabsManual:Hooks/SkinTemplateTabs
SkinTemplateNavigationManual:Hooks/SkinTemplateNavigation
AdminLinksManual:Hooks/AdminLinks
ParserBeforeStripManual:Hooks/ParserBeforeStrip
ParserFirstCallInitManual:Hooks/ParserFirstCallInit
ResourceLoaderRegisterModulesManual:Hooks/ResourceLoaderRegisterModules

translatewiki.net で翻訳を利用できる場合は、Page Forms 拡張機能の翻訳にご協力ください

使用状況とバージョン マトリクスを確認してください。

問題点Phabricator

未解決のタスク · バグを報告

Semantic Forms は、利用者によるフォームを利用したデータの追加・編集・問い合わせを可能にする MediaWiki 拡張機能です。

It was originally created as an offshoot of the Semantic MediaWikiExtension:Semantic MediaWiki extension, to be able to edit templates that store their parameters via SMW, which is why it was originally called "Semantic Forms". However, it can now also work with the alternative CargoExtension:Cargo extension, or with neither extension installed.

簡単に言えば、Page Forms はデータを問い合わせるためのフォームはもちろんページを作成・編集するためのフォームをも、すべて一切のプログラミングなしで ウィキに設置することを可能にします。 フォームは管理者だけでなく利用者自身でも作成したり編集したりすることができます。

Page Forms の機能の主要な要素はフォームページの定義で、これは独立した名前空間 'Form:' に存在します。 These are pages consisting of markup code which gets parsed when a user goes to a form. Since forms are defined strictly through these definition pages, users can themselves create and edit forms, without the need for any actual programming.

The Page Forms extension is mostly used to add and edit calls to infobox-style templates within pages. A form allows a user to populate a pre-defined set of templates, as well as page sections, for any page; if Cargo or Semantic MediaWiki are used, the data within the templates can then be stored and queried.

Forms can also be used to edit the data in an existing page, and you can enable an "⧼formedit⧽" tab to show up on any page.

Page Forms also supports autocompletion of fields, so users can easily see what the previously-entered values were for a given field. This greatly helps to avoid issues of naming ambiguity, spelling, etc.

Data in a page that doesn't fit into the form, like a free-form text description of the page's subject, isn't ignored when the page is edited with a form; rather, it is placed into a separate input box called "free text".

Page Forms also includes a wide variety of other functionality related to forms.

以下は完全な説明書へのリンクです。

How to download Page Forms via either Git, a standard download, or a software package; and how to install it.
How to get started with Page Forms right away.
Wiki hosting sites that support Page Forms, plus public wikis that can be used for trying out the software.
All the "special pages" that Page Forms defines: the ones that provide helper forms (Special:CreateProperty, Special:CreateTemplate, Special:CreateForm, Special:CreateCategory, Special:CreateClass), the ones that display lists (Special:Templates, Special:Forms) and the ones used to display actual forms (Special:FormEdit, Special:FormStart, Special:RunQuery, Special:UploadWindow).
The template-based philosophy of Page Forms - plus information on the two parser functions that PF defines for templates: #arraymap and #arraymaptemplate.
This is the first of the two major sections. How to define a form via a page within the "Form:" namespace. Covers the entire form-definition syntax, including the {{{info}}}, {{{for template}}}, {{{end template}}}, {{{field}}}, {{{section}}} and {{{standard input}}} tags. Also covers how to add tabs and tooltips.
The second major section. A listing of all allowed input types, as well as parameters for each, and the set of SMW and Cargo data types that each can be used with. Also includes complete information on autocompletion options.
How to get the "⧼formedit⧽" tab to appear on pages, using the #default_form parser function. Plus, how to rename the tab to simply "edit", and how to remove the standard "edit" tab (if you want to).
How to bring users to forms, via the #forminput, #formlink, #formredlink and #queryformlink functions. Also, how to use #formredlink to have red-linked pages created automatically. Also, how to create links that directly modify a page, via the #autoedit function.
Creating forms to query data, instead of to modify data, via the Special:RunQuery page.
Common issues people have run into, and their solutions, relating to forms, data structure design, and the use of Page Forms with other extensions.
Known bugs in the software, and potential workarounds for them; plus features that are planned in the current "development roadmap".
Where to ask questions, submit bug reports, submit feature requests, submit fixes, and add new translations.
Information for developers who want to modify Page Forms, or create an extension that works in tandem with it.
The main authors, others who have contributed to the code, and credits to other organizations and software projects.
A version history of Page Forms, from May 2007 to the present.
A small sampling of the wikis that use Page Forms, plus links to more comprehensive lists.
Extensions that require the presence of Page Forms, extensions that can be used together with Page Forms, and extensions that have a similar purpose to Page Forms.
Cheat sheet
リンク SMW quick reference · Cargo quick referenceExtension:Cargo/Other documentation · Scratchpad · サンドボックス
パーサー関数 {{#arraymap:value|delimiter|var|formula|new_delimiter}}
{{#arraymaptemplate:value|template|delimiter|new_delimiter}}
{{#forminput:form=|size=|default value=|button text=|query string=|autocomplete on category=|autocomplete on namespace=|placeholder=|popup|no autofocus|query string parameters}}
{{#formlink:form=|link text=|link type=|query string=|target=|tooltip=|popup|new window|query string parameters}}
{{#formredlink:form=|link text=|existing page link text=|query string=|target=|popup|new window|create page|query string parameters}}
{{#queryformlink:form=|link text=|link type=|query string=|tooltip=|popup|new window|query string parameters}}
{{#autoedit:form=|target=|link text=|link type=|query string=|reload|tooltip=|query string parameters}}
{{#default_form:form name}}
入力の種類

text, text with autocomplete, textarea, textarea with autocomplete, tokens, combobox, date, datetime, year, datepicker, datetimepicker, checkbox, dropdown, radiobutton, checkboxes, listbox, tree, rating, regexp, googlemaps, openlayers