New User Page: Difference between revisions
m (added placeholders) |
m (remove free text) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
if a page with that name already exists, you will be sent to a form to edit that page. | if a page with that name already exists, you will be sent to a form to edit that page. | ||
{{#forminput:form=New User Page|query string=namespace=User|placeholder={{#username:your username}} | {{#forminput:form=New User Page|query string=namespace=User|placeholder=Max Mustermann|default value={{#username:your username}}}} | ||
}} | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
Line 23: | Line 15: | ||
{{{end template}}} | {{{end template}}} | ||
</includeonly> | |||
{{ | {{#get_web_data:url=http://query.graphit.ur.de/proxy/wdqs/bigdata/namespace/wdq/sparql?query=%23defaultView%3ATable%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fgraphit.ur.de%2Fentity%2F%3E%0APREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fgraphit.ur.de%2Fprop%2Fdirect%2F%3E%0ASELECT%20%3Fstudent%20%3FstudentLabel%20%3Fqid%0AWHERE%20%7B%0A%20%20%3Fstudent%20wdt%3AP3%20wd%3AQ167.%0A%20%20MINUS%20%7B%3Fstudent%20a%20wikibase%3AProperty%7D.%0A%20%20BIND(STRAFTER(STR(%3Fstudent)%2C%20STR(wd%3A))%20AS%20%3Fqid)%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D%20ORDER%20BY%20DESC(%3Fqid)%20LIMIT%2010%0A&format=json | ||
|format=json | |||
|use jsonpath | |||
|data=student=$.results.bindings[*].student.value, | |||
description_student=$.results.bindings[*].studentLabel.value, | |||
qid=$.results.bindings[*].qid.value, | |||
}} | |||
<noinclude> | <noinclude> |
Latest revision as of 08:17, 20 December 2023
This is the "New User Page" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.