{"id":48,"date":"2018-02-21T00:20:08","date_gmt":"2018-02-21T00:20:08","guid":{"rendered":"http:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/?p=48"},"modified":"2018-02-21T12:43:44","modified_gmt":"2018-02-21T12:43:44","slug":"practical-women-in-medicine","status":"publish","type":"post","link":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/practical-women-in-medicine\/","title":{"rendered":"Practical &#8211; Women in Medicine"},"content":{"rendered":"<p><strong>Listeria<\/strong> is a very powerful tool that lets you create dynamic bespoke lists pulling from Wikidata which you can read\/write to from Wikipedia.<\/p>\n<p>For it to work, you need to have a Wikipedia userpage in the first instance.<\/p>\n<p><strong>Part 1 &#8211; Creating a userpage on Wikipedia.<\/strong><\/p>\n<ul>\n<li><strong>Step 1:<\/strong> Go to <a href=\"https:\/\/en.wikipedia.org\/wiki\/Main_Page\">Wikipedia<\/a>.<\/li>\n<li><strong>Step 2:<\/strong> Login with your same Wikidata login details.<\/li>\n<li><strong>Step 3:<\/strong> Click on the<span style=\"color: #ff0000\"> redlink<\/span> at the top of the page which represents your username.<\/li>\n<li><strong>Step 4:<\/strong> A user page will be opened up. Add at least 1 character of text so you can click the blue <span style=\"color: #3366ff\">Save<\/span> button in the top right.<\/li>\n<\/ul>\n<p>That&#8217;s your userpage created on Wikipedia!<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Part 2 &#8211; Create a<em> subpage<\/em> for your Listeria list:<\/strong><\/p>\n<ol>\n<li>Type <b>User:<\/b><b>YOURUSERNAME<\/b><b>\/<\/b><b>WikidataList1<\/b> in the Wikipedia search bar.<\/li>\n<li>Click on the <span style=\"color: #ff0000\">red link<\/span> newly created when Wikipedia cannot find a page with the name of <em>Wikidata List 1<\/em><\/li>\n<li>Add at least 1 character of text within the body of the page in order to save the page e.g. \u201c<em>This is Wikidata list subpage 1<\/em>.\u201d<\/li>\n<li>Click <b>Save <\/b>to create the page.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><strong>Part 3 &#8211; Subpage created. Now we\u2019ll add in the Listeria code.<\/strong><\/p>\n<ol>\n<li>Click <strong>Edit<\/strong> to access the subpage once more.<\/li>\n<li>Paste in the following code:<\/li>\n<\/ol>\n<p style=\"padding-left: 60px\">{{Wikidata list<br \/>\n|sparql=<strong><span style=\"color: #800080\">SELECT ?item WHERE { ?item wdt:P21 wd:Q6581072 . ?item wdt:P106 ?sub0 . ?sub0 (wdt:P279)* wd:Q15220429 . ?item wdt:P27 wd:Q145.<\/span><\/strong> }<br \/>\n|section = P106<br \/>\n|sort= label<br \/>\n|columns = label:Article,P18,description,P101,P19<br \/>\n|thumb = 128<br \/>\n|min_section = 1<br \/>\n|autolist=fallback<br \/>\n|wdedit=yes<br \/>\n}}<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: #ff0000\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 {{wikidata list end}}<\/span><\/p>\n<p><b>NB: Please remember to add the <\/b><b>{{Wikidata list end}} <\/b><b>to the code at the bottom of your listeria query. Otherwise it won&#8217;t work.<\/b><\/p>\n<p>&nbsp;<\/p>\n<p>Now click on &#8216;<strong>Save<\/strong>&#8216; and type &#8216;<em>created subpage<\/em>&#8216;. Click <strong>Save<\/strong> again to complete the process.<\/p>\n<p>Now you have an empty list page. So click <em>&#8216;automatically update the list now<\/em>&#8216; so the list will pull items from Wikidata.<\/p>\n<p><b><br \/>\n<\/b><\/p>\n<p>If it doesn&#8217;t work, check the purple SPARQL code in the Wikidata Query Service<\/p>\n<p><a href=\"https:\/\/query.wikidata.org\/\">https:\/\/query.wikidata.org\/<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Listeria is a very powerful tool that lets you create dynamic bespoke lists pulling from Wikidata which you can read\/write to from Wikipedia. For it to work, you need to have a Wikipedia userpage in the first instance. Part 1 &#8211; Creating a userpage on Wikipedia. Step 1: Go to Wikipedia. Step 2: Login with [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":51,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":3,"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":53,"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/posts\/48\/revisions\/53"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/media\/51"}],"wp:attachment":[{"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}