New User Page: Difference between revisions
m (remove autocomplete on form input) |
(added autocomplete from external_data_query (test)) |
||
Line 11: | Line 11: | ||
{| class="formtable" | {| class="formtable" | ||
! My GraphIT Item: | ! My GraphIT Item: | ||
| {{{field|Item|input type= | | {{{field|Item|input type=combobox|values from external data=qid|description=studentLabel}}} | ||
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
Line 21: | Line 21: | ||
<noinclude> | <noinclude> | ||
{{#get_web_data: | {{#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%0A&format=json | ||
|format=json | |||
|use jsonpath | |||
|data=student=$.results.bindings[0].student.value, | |||
studentLabel=$.results.bindings[0].studentLabel.value, | |||
qid=$.results.bindings[0].qid.value, | |||
}} | |||
</noinclude> | </noinclude> |
Revision as of 13:29, 18 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.