Difference between revisions of "Reference:Page Forms"

(Created page with "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:')...")
 

Forms for adding and editing semantic data

Use Cases[edit | edit source]

Use a special Namespace[edit | edit source]

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

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]]
Line 2: Line 2:
  
 
==Use Cases==
 
==Use Cases==
 
 
===Use a special Namespace===
 
===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.
 
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.
Line 9: Line 8:
  
 
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]]

Attachments

Discussions