You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Use this debug tool to see what information <ahref="https://www.mediawiki.org/wiki/Citoid">Citoid</a> can detect when generating a Wikipedia citation. Provide your URL, DOI, ISBN, PMC/PMID, QID, title, or citation.</p>
<p>Use this debug tool to see what information <ahref="https://www.mediawiki.org/wiki/Citoid">Citoid</a> can detect when generating a Wikipedia citation. Provide your URL, DOI, ISBN, PMC/PMID, QID, title, or citation.</p>
<p>Supporting more, relevant fields will produce better citations for Wikipedia. Fields supported by <ahref="https://{language}.wikipedia.org/wiki/Template:{template}">{template}</a> ({language}) and missing from this source:</p>
<h2>How can I improve this source for Wikipedia?</h2>
130
+
<p>Did you notice something wrong? Are there relevant fields that aren't included?</p>
131
+
<ul>
132
+
<li>Make the source Zotero-compatible: <ahref="https://www.zotero.org/support/dev/exposing_metadata">learn more about adding or fixing Zotero metadata</a>.</li>
133
+
<li>Improve the Zotero translator for this source: <ahref="https://github.com/wikimedia/mediawiki-services-zotero-translators">see the source code for Wikipedia's Zotero service</a>, and see Wikimedia's <ahref="https://www.mediawiki.org/wiki/Citoid/Creating_Zotero_translators">guide for creating Zotero translators</a>.</li>
134
+
</ul>
135
+
<!--
136
+
<h2>Dumps!!</h2>
137
+
<h3>Template Map</h3>
138
+
{JSON.stringify(d_template_map)}
139
+
<h3>Source data</h3>
140
+
{JSON.stringify(data)}
141
+
<h3>Template keys</h3>
142
+
{JSON.stringify(keys)}
143
+
-->
144
+
{:catcherror}
145
+
{error}
146
+
{/await}
147
+
{/if}
148
+
{:catcherror}
149
+
{error}
150
+
{/await}
151
+
{:catcherror}
152
+
{error}
153
+
{/await}
118
154
119
-
<h3>Missing data</h3>
120
-
<p>Supporting more, relevant fields will produce better citations on Wikipedia. Fields supported by <ahref="https://{language}.wikipedia.org/wiki/Template:{template}">{template}</a> ({language}) and missing from this source:
121
-
</p>
122
-
<ul>
123
-
{#eachkeysaskey}
124
-
{#ifdata&&!Object.keys(data[0]).includes(key)}
125
-
<li>{key}</li>
126
-
{/if}
127
-
{/each}
128
-
</ul>
129
-
<h2>How can I improve this source on Wikipedia?</h2>
130
-
<p>Did you notice something wrong? Are there relevant fields that aren't included?</p>
131
-
<ul>
132
-
<li>Make the source Zotero-compatible: <ahref="https://www.zotero.org/support/dev/exposing_metadata">learn more about adding or fixing Zotero metadata</a>.</li>
133
-
<li>Improve the Zotero translator for this source: <ahref="https://github.com/wikimedia/mediawiki-services-zotero-translators">see the source code for Wikipedia's Zotero service</a>, and see Wikimedia's <ahref="https://www.mediawiki.org/wiki/Citoid/Creating_Zotero_translators">guide for creating Zotero translators</a>.</li>
134
-
</ul>
135
-
{:catcherror}
136
-
{error}
137
-
{/await}
138
-
{/if}
139
-
{:catcherror}
140
-
{error}
141
-
{/await}
142
-
{:catcherror}
143
-
{error}
144
-
{/await}
145
-
<h2>
146
-
About
147
-
</h2>
148
-
<p>
149
-
The source code is <ahref="https://github.com/hatnote/source-debug">available on github</a>. This tool was built by <ahref="https://github.com/slaporte">Stephen LaPorte</a> at <ahref="https://wikiconference.org/wiki/2019/Main_Page">WikiConference North America 2019</a>. Thanks to <ahref="https://twitter.com/fuzheado">@fuzheado</a> for the idea.
150
-
</p>
151
-
</div>
155
+
<h2>About</h2>
156
+
<p>The source code is <ahref="https://github.com/hatnote/source-debug">available on github</a>. This tool was built by <ahref="https://github.com/slaporte">Stephen LaPorte</a> at <ahref="https://wikiconference.org/wiki/2019/Main_Page">WikiConference North America 2019</a>. Thanks to <ahref="https://twitter.com/fuzheado">@fuzheado</a> for the idea.</p>
0 commit comments