Difference between revisions of "Making semantic forms"
From Sun Myung Moon Archive
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
==List of pages used to make forms== | ==List of pages used to make forms== | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width:600px"> | <div class="toccolours mw-collapsible mw-collapsed" style="width:600px"> | ||
+ | ===Add pr file=== | ||
+ | *[[Form:Private databox]] | ||
+ | *[[Template:Private databox]] | ||
+ | *[[Private:Test for Private databox]] | ||
+ | ===Create biography=== | ||
+ | *[[Form:Infobox person]] | ||
+ | *[[Template:Infobox person]] | ||
+ | *[[Template:Sections biography]] | ||
+ | *[[Test for biography pages]] | ||
+ | ===Create concepts page=== | ||
+ | *[[Form:Theological concepts]] | ||
+ | *[[Template:Theological concepts]] | ||
+ | *[[Test for Theological concepts pages]] | ||
+ | *[[Create concepts page]] | ||
+ | ===Create event page=== | ||
+ | *[[Form:Event page]] | ||
+ | *[[Template:Event page]] | ||
+ | *[[Template:Sections event page]] | ||
+ | *[[Test for event pages]] | ||
+ | ===Create organizations page=== | ||
+ | *[[Form:Organizations]] | ||
+ | *[[Template:Organizations]] | ||
+ | *[[Template:Sections Organizations]] | ||
+ | *[[Test for Organizations]] | ||
+ | ===Queries=== | ||
*[[Querying SMW data]] | *[[Querying SMW data]] | ||
− | + | ===Special pages=== | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
*[[Special:CreateCategory]] | *[[Special:CreateCategory]] | ||
− | + | *[[Special:CreateClass]] | |
− | + | *[[Special:CreateForm]] | |
− | + | *[[Special:CreateTemplate]] | |
− | + | *[[Special:FormEdit]] | |
− | + | *[[Special:RunQuery]] | |
− | + | *[[Special:FormStart]] | |
</div> | </div> | ||
Latest revision as of 21:38, 16 July 2015
- This page documents making semantic forms in this wiki.
- See also MediaWiki logbook
List of pages used to make forms
Add pr file
Create biography
Create concepts page
- Form:Theological concepts
- Template:Theological concepts
- Test for Theological concepts pages
- Create concepts page
Create event page
Create organizations page
Queries
Special pages
Logbook
160717
Extension added
- Activated in Semantic Bundle
- In the file LocalSettings.php in the main MediaWiki directory, add the following line below the Semantic MediaWiki extension line (both the main 'include_once' line and the 'enableSemantics' line):
include_once "$IP/extensions/SemanticForms/SemanticForms.php";
Using #forminput to make new pages with a form
- See more here:[1]
Make a new page by entering the name of an already existing or new page. Then click 'create or edit' and the form will be added to the new or existing page.
- Form=Name of form
{{#forminput:form=|size=|default value=|button text=|query string=''query string parameters''|autocomplete on category=|autocomplete on namespace=|remote autocompletion|placeholder=|popup}}
160618
Combobox input in form
- We added the code
input type=combobox
to the field definition in the Form:Private databox page in the fieldCopyright status
. The combobox works.[2]
Making a model class
- This was done so we can see the codes that are generated for each of the fields that were made with different properties, types and values. To see this, go to the various pages based on the class 'Model' (for example Form:Model, Template:Model, and the test page made based on this model Testing the Model form).
Make a page with the Model form
Make such a Page
by entering the name of the page you wish to make, or the name of an already existing page. Then click 'create or edit'.