You are viewing an old version of this page. Return to the latest version.
Difference between revisions of "Reference:Page Forms"
(Changed categories.) |
(Changed categories.) |
(Changed categories.) |
(Changed categories.) |
Forms for adding and editing semantic data
You can have a page-input form create pages within a specific namespace (like 'User:') by default, without forcing users to type in that namespace every time. To do that, add 'namespace=namespace-name' to the "query string=" parameter.
(Note that, if you want to use SMW on a custom namespace, you need to add the namespace to $smwgNamespacesWithSemanticLinks.)
Forms for adding and editing semantic data ==Use Cases== ===Use a special Namespace=== You can have a page-input form create pages within a specific namespace (like 'User:') by default, without forcing users to type in that namespace every time. To do that, add 'namespace=namespace-name' to the "query string=" parameter. (Note that, if you want to use SMW on a custom namespace, you need to add the namespace to $smwgNamespacesWithSemanticLinks.) https://www.mediawiki.org/wiki/Extension:Page_Forms/Linking_to_forms#Adding_pages_of_a_specific_namespace [[en:{{FULLPAGENAME}}]][[de:Semantic Forms]] [[Category:Export]] [[Category:Extension]]
Line 9: | Line 9: | ||
https://www.mediawiki.org/wiki/Extension:Page_Forms/Linking_to_forms#Adding_pages_of_a_specific_namespace | https://www.mediawiki.org/wiki/Extension:Page_Forms/Linking_to_forms#Adding_pages_of_a_specific_namespace | ||
[[en:{{FULLPAGENAME}}]][[de:Semantic Forms]] | [[en:{{FULLPAGENAME}}]][[de:Semantic Forms]] | ||
+ | |||
[[Category:Export]] | [[Category:Export]] | ||
+ | [[Category:Extension]] |