wikicite/wcite

View on GitHub
home/index.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
  <meta charset="utf-8" />
  <meta name="generator" content="pandoc" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
  <title>wcite</title>
  <style>
      code{white-space: pre-wrap;}
      span.smallcaps{font-variant: small-caps;}
      span.underline{text-decoration: underline;}
      div.column{display: inline-block; vertical-align: top; width: 50%;}
  </style>
  <style>
a.sourceLine { display: inline-block; line-height: 1.25; }
a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; }
a.sourceLine:empty { height: 1.2em; }
.sourceCode { overflow: visible; }
code.sourceCode { white-space: pre; position: relative; }
div.sourceCode { margin: 1em 0; }
pre.sourceCode { margin: 0; }
@media screen {
div.sourceCode { overflow: auto; }
}
@media print {
code.sourceCode { white-space: pre-wrap; }
a.sourceLine { text-indent: -1em; padding-left: 1em; }
}
pre.numberSource a.sourceLine
  { position: relative; left: -4em; }
pre.numberSource a.sourceLine::before
  { content: attr(title);
    position: relative; left: -1em; text-align: right; vertical-align: baseline;
    border: none; pointer-events: all; display: inline-block;
    -webkit-touch-callout: none; -webkit-user-select: none;
    -khtml-user-select: none; -moz-user-select: none;
    -ms-user-select: none; user-select: none;
    padding: 0 4px; width: 4em;
    color: #aaaaaa;
  }
pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa;  padding-left: 4px; }
div.sourceCode
  {  }
@media screen {
a.sourceLine::before { text-decoration: underline; }
}
code span.al { color: #ff0000; font-weight: bold; } /* Alert */
code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
code span.at { color: #7d9029; } /* Attribute */
code span.bn { color: #40a070; } /* BaseN */
code span.bu { } /* BuiltIn */
code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
code span.ch { color: #4070a0; } /* Char */
code span.cn { color: #880000; } /* Constant */
code span.co { color: #60a0b0; font-style: italic; } /* Comment */
code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
code span.do { color: #ba2121; font-style: italic; } /* Documentation */
code span.dt { color: #902000; } /* DataType */
code span.dv { color: #40a070; } /* DecVal */
code span.er { color: #ff0000; font-weight: bold; } /* Error */
code span.ex { } /* Extension */
code span.fl { color: #40a070; } /* Float */
code span.fu { color: #06287e; } /* Function */
code span.im { } /* Import */
code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
code span.kw { color: #007020; font-weight: bold; } /* Keyword */
code span.op { color: #666666; } /* Operator */
code span.ot { color: #007020; } /* Other */
code span.pp { color: #bc7a00; } /* Preprocessor */
code span.sc { color: #4070a0; } /* SpecialChar */
code span.ss { color: #bb6688; } /* SpecialString */
code span.st { color: #4070a0; } /* String */
code span.va { color: #19177c; } /* Variable */
code span.vs { color: #4070a0; } /* VerbatimString */
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
  </style>
  <link rel="stylesheet" href="/assets/main.css" />
  <link rel="stylesheet" href="/assets/wikicite.css" />
  <!--[if lt IE 9]>
    <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
  <![endif]-->
</head>
<body>
<header class="site-header" role="banner">
  <div class="wrapper">
    <a class="site-title" href="/">
      <img src="/assets/wikicite_logo.svg" style="height:1em" alt="WikiCite"/>
    </a>

<nav class="site-nav">
        <input type="checkbox" id="nav-trigger" class="nav-trigger" />
        <label for="nav-trigger">
          <span class="menu-icon">
            <svg viewBox="0 0 18 15" width="18px" height="15px">
              <path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
              <path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
              <path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
            </svg>
          </span>
        </label>

        <div class="trigger">
            <a class="page-link" href="/access.html">access</a>
            <a class="page-link" href="/publications.html">publications</a>
            <a class="page-link" href="/statistics.html">statistics</a>
        </div>
      </nav>

  </div>
</header>
<main class="page-content" aria-label="Content">
  <div class="wrapper">
<h1 id="wcite">wcite</h1>
<blockquote>
<p>Use Wikidata as reference manager</p>
</blockquote>
<p><a href="https://www.npmjs.org/package/wcite"><img src="https://img.shields.io/npm/v/wcite.svg?style=flat" alt="NPM Version" /></a> <a href="https://travis-ci.org/wikicite/wcite"><img src="https://travis-ci.org/wikicite/wcite.svg?branch=master" alt="Build Status" /></a> <a href="https://github.com/wikicite/wcite/issues"><img src="https://img.shields.io/github/issues-raw/wikicite/wcite.svg?style=flat" alt="Open Issues" /></a> <a href="https://standardjs.com"><img src="https://img.shields.io/badge/code_style-standard-brightgreen.svg" alt="JavaScript Style Guide" /></a> <a href="https://github.com/wikicite/wcite/blob/master/LICENSE.md"><img src="https://img.shields.io/github/license/wikicite/wcite.svg" alt="license" /></a> <a href="https://codeclimate.com/github/wikicite/wcite/maintainability"><img src="https://api.codeclimate.com/v1/badges/b3bd79d9e25a521d0f57/maintainability" alt="Maintainability" /></a> <a href="https://coveralls.io/github/wikicite/wcite?branch=master"><img src="https://coveralls.io/repos/github/wikicite/wcite/badge.svg?branch=master" alt="Coverage Status" /></a></p>
<p>This JavaScript package provides <a href="#command-wcite">a command line client</a> to fetch and manage bibliographic records from <a href="https://www.wikidata.org/">Wikidata</a> and a <a href="https://pandoc.org/filters.html">Pandoc filter</a> to use Wikidata item identifiers and aliases as citation keys.</p>
<h2 id="table-of-contents">Table of Contents</h2>
<ul>
<li><a href="#overview">Overview</a></li>
<li><a href="#installation">Installation</a></li>
<li><a href="#usage">Usage</a>
<ul>
<li><a href="#command-wcite">Command wcite</a></li>
<li><a href="#filter-pwcite">Filter pwcite</a></li>
<li><a href="#linking-bibliography-entries-to-Wikidata">Linking bibliography entries to Wikidata</a></li>
<li><a href="#bibliography-files">Bibliography files</a></li>
</ul></li>
<li><a href="#api">API</a></li>
<li><a href="#license">License</a></li>
<li><a href="#references">References</a></li>
</ul>
<h2 id="overview">Overview</h2>
<p><a href="https://www.wikidata.org/">Wikidata</a> contains statements about all kinds of entities such as people, places, and publications. The <a href="http://wikicite.org/">WikiCite</a> initiative promotes using Wikidata as collaboratively curated bibliography. The <a href="https://www.npmjs.org/package/wcite">JavaScript package wcite</a> provides:</p>
<ul>
<li><p>the command line client <strong><a href="#command-wcite">wcite</a></strong> to fetch bibliographic records from Wikidata and to manage them locally in <a href="#bibliography-file">bibliography files</a> for writing system such as Pandoc and LaTeX.</p></li>
<li><p>the Pandoc filter <strong><a href="#filter-pwcite">pwcite</a></strong> to use Wikidata item identifiers as citation keys in <a href="https://pandoc.org/MANUAL.html#citations">Pandoc citation syntax</a> to automatically fetch records from Wikidata.</p></li>
</ul>
<p>See <a href="#usage">usage</a> for details and examples.</p>
<h2 id="installation">Installation</h2>
<p>Install latest release:</p>
<pre><code>$ npm install -g wcite</code></pre>
<p>or install from source:</p>
<pre><code>$ git clone https://github.com/wikicite/wcite.git
$ cd wcite
$ npm install -g .  # or `npm link`</code></pre>
<p>Tested with <a href="https://nodejs.org">NodeJs</a> version 8 and above.</p>
<h2 id="usage">Usage</h2>
<p>Bibliographic entities in Wikidata are referenced by their item identifier. For instance <a href="http://www.wikidata.org/entity/Q55239420"><code>Q55239420</code></a> identifies the first edition of <a href="https://en.wikipedia.org/wiki/Frankenstein">Mary Shelley’s novel <em>Frankenstein</em></a>. Its bibliographic data can be shown by calling <a href="#command-wcite">wcite</a> with the identifier:</p>
<pre><code>$ wcite Q55239420
Q55239420: Shelley, M. (1818). Frankenstein (1st ed.). London</code></pre>
<p>To locally save the bibliographic data in a <a href="#bibliography-files">bibliography file</a> pass its name as argument or with option <code>-b</code>/<code>--bibliography</code>:</p>
<pre><code>$ wcite refs.json add Q55239420
Q55239420 added</code></pre>
<p>Records from the file can be listed in multiple formats:</p>
<pre><code>$ wcite refs.json
Q55239420

$ wcite refs.json -f bibtex
@book{Q55239420,
  author={Shelley, Mary},
  title={Frankenstein},
  edition=1,
  ...</code></pre>
<p>All this is done automatically with Pandoc filter <a href="#filter-pwcite">pwcite</a>.</p>
<h3 id="command-wcite">Command wcite</h3>
<p>Command line script <code>wcite</code> can fetch and transform bibliographic data from Wikidata and locally manage it in a <a href="#bibliography-files">bibliography file</a>. In addition to bibliography files the script can read and write document files with YAML header.</p>
<pre><code>Usage: wcite [options] [command] [file] [ids...]

Manage bibliographic data from Wikidata. Bibliography CSL JSON file
can be specified explicitly or via YAML header field &#39;bibliography&#39;.

Options:
  -V, --version              output the version number
  -b, --bibliography &lt;file&gt;  Bibliography file (CSL JSON)
  -d, --document &lt;file&gt;      Document file with YAML header
  -f, --format &lt;name&gt;        Output format (text|html|bibtex|bibtxt|json|ndjson)
  -o, --output &lt;file&gt;        Output file. Format can be guessed from extension
  -t, --template &lt;name&gt;      Citation template (apa|vancouver|harvard1)
  -l, --language &lt;lang&gt;      Language codes (separate with space or comma)
  -i, --ids &lt;file&gt;           Read ids from (use `-` for stdin)
  -q, --quiet                Avoid status output
  -h, --help                 output usage information

Commands:
  add &lt;ids...&gt;               add records specified by Wikidata identifiers
  remove &lt;ids...&gt;            remove records by Wikidata identifiers or aliases
  get [ids...]               show bibliographic records
  update [ids...]            update bibliographic records
  list                       list Wikidata identifiers and aliases
  help                       display this usage help

Examples:
  $ wcite refs.json          # list Wikidata ids in refs.json
  $ wcite update refs.json   # update all entries in refs.json
  $ wcite Q18507561          # get bibliographic data from Wikidata</code></pre>
<h3 id="filter-pwcite">Filter pwcite</h3>
<p>The <a href="https://pandoc.org/filters.html">Pandoc filter</a> <code>pwcite</code> processes a document to detect citation keys that use Wikidata item identifiers. Simply write your documents in Markdown and use <a href="https://pandoc.org/MANUAL.html#citations">Pandoc citation syntax</a> to reference publications:</p>
<pre><code>Blah blah [@doe95; @doe99], disputed by @alice07.</code></pre>
<p>Publications from Wikidata can be referenced using their identifiers like this:</p>
<pre><code>Wikidata is a collaborative knowledge base [@Q18507561].</code></pre>
<p>Wikidata identifiers are hard to remember and to distinguish so you can define aliases with the <code>citekeys</code> field of your <a href="https://pandoc.org/MANUAL.html#extension-yaml_metadata_block">document metadata</a>:</p>
<pre><code>---
citekeys:
  Vrand04: Q18507561
...

Wikidata is a collaborative knowledge base [@Vrand04].</code></pre>
<p>To process this file, call pandoc with filter <code>pwcite</code> followed by filter <code>pandoc-citeproc</code>:</p>
<pre><code>$ pandoc -F pwcite -F pandoc-citeproc example.md</code></pre>
<p>The first filter detects referenced Wikidata items, downloads the corresponding bibliographic records from Wikidata, and adds them to the document. The second filter creates nicely formatted references using the <a href="https://citationstyles.org/">Citation Style Language (CSL)</a>.</p>
<p>A local <a href="#bibliography-files">bibliography file</a> can be specified in metadata field <code>bibliography</code> for caching:</p>
<pre><code>---
citekeys:
  Vrand04: Q18507561
bibliography: refs.json 
...

Wikidata is a collaborative knowledge base [@Vrand04].</code></pre>
<p>If multiple bibliography files are specified then all are used for referencing but only the first file with extension <code>.json</code> is to store records fetched from Wikidata. This way it is possible to get some references from Wikidata and use other sources as well for instance BibTeX files.</p>
<p>Pandoc option <code>--bibliography</code> overrides an existing metadata field and automatically enables filter <code>pandoc-citeproc</code> but in this case the file must exist in advance.</p>
<h2 id="linking-bibliography-entries-to-wikidata">Linking bibliography entries to Wikidata</h2>
<p>Each bibliography entry in HTML format includes the Wikidata item identifier in its <code>id</code> attribute (e.g. <code>&lt;div id="ref-Q55239420"&gt;...</code>). This identifier can be used to add a link to the corresponding Wikidata item or to other services such as <a href="https://tools.wmflabs.org/scholia/">Scholia</a>. The filter <a href="#filter-pwcite">pwcite</a> can inject snippets of JavaScript and CSS to add links from bibliography entries to Wikidata. To to do set document metadata field <code>link-wikidata-references</code> to <code>true</code> or to an URL prefix (e.g. <code>https://tools.wmflabs.org/scholia/work/</code>). This feature is based on Pandoc metadata variable <code>include-after</code>, so don’t set it via Pandoc command line option <code>-A/--include-after-body</code> and don’t remove the variable in custom HTML templates!</p>
<h2 id="bibliography-files">Bibliography files</h2>
<p>Bibliographic records fetched from Wikidata should be stored locally for several reasons:</p>
<ul>
<li>performance: network access is slow</li>
<li>reproducibility: the data could have been been changed on Wikidata</li>
</ul>
<p>Both <a href="#command-wcite">wcite</a> and <a href="#filter-pwcite">pwcite</a> store records in a normalized CSL JSON file. Records in this file are sorted by Wikidata item identifier and serialized as pretty-printed JSON with sorted keys to facilitate comparing changes.</p>
<p>Bibliography files must have file extension <code>.json</code>. A file can be specified:</p>
<ul>
<li>via document metadata field <code>bibliography</code> (see example at <a href="#filter-pwcite">pwcite</a>)</li>
<li>as command line argument to <a href="#command-wcite">wcite</a></li>
<li>as existing file <code>wcite.json</code> (<em>not implemented yet</em>)</li>
</ul>
<p>Both <a href="#command-wcite">wcite</a> and <a href="#filter-pwcite">pwcite</a> use bibliography files for caching: records are first looked up by their Wikidata item identifier in the file and queried from Wikidata only if not found locally. Use <a href="#command-wcite">wcite</a> to delete or update records if needed.</p>
<h2 id="api">API</h2>
<p>The JavaScript API to use this package as module is not finished yet. Stable parts include:</p>
<h3 id="bibliography">Bibliography</h3>
<p>This class implements a <a href="#bibliography-files">bibliography file</a> that stores CSL JSON records from Wikidata.</p>
<div class="sourceCode" id="cb12"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb12-1" title="1"><span class="kw">const</span> <span class="op">{</span> Bibliography <span class="op">}</span> <span class="op">=</span> <span class="at">require</span>(<span class="st">&#39;wcite&#39;</span>)</a>
<a class="sourceLine" id="cb12-2" title="2"></a>
<a class="sourceLine" id="cb12-3" title="3"><span class="kw">var</span> refs <span class="op">=</span> <span class="kw">new</span> <span class="at">Bibliography</span>(<span class="st">&#39;refs.json&#39;</span>)</a>
<a class="sourceLine" id="cb12-4" title="4"></a>
<a class="sourceLine" id="cb12-5" title="5"><span class="va">refs</span>.<span class="at">add</span>(item)</a>
<a class="sourceLine" id="cb12-6" title="6"><span class="kw">let</span> record <span class="op">=</span> <span class="va">refs</span>.<span class="at">get</span>(id<span class="op">,</span> citekeys) </a>
<a class="sourceLine" id="cb12-7" title="7"></a>
<a class="sourceLine" id="cb12-8" title="8"><span class="cf">if</span> (<span class="va">refs</span>.<span class="at">modified</span>) <span class="op">{</span></a>
<a class="sourceLine" id="cb12-9" title="9">  <span class="va">refs</span>.<span class="at">save</span>()</a>
<a class="sourceLine" id="cb12-10" title="10"><span class="op">}</span></a></code></pre></div>
<h3 id="wcite-1">wcite</h3>
<p>Provides the implementation of command [wcite-cli]</p>
<div class="sourceCode" id="cb13"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine" id="cb13-1" title="1"><span class="kw">const</span> <span class="op">{</span> wcite <span class="op">}</span> <span class="op">=</span> <span class="at">require</span>(<span class="st">&#39;wcite&#39;</span>)</a>
<a class="sourceLine" id="cb13-2" title="2"></a>
<a class="sourceLine" id="cb13-3" title="3"><span class="at">wcite</span>(<span class="op">{</span> <span class="dt">bibliography</span><span class="op">:</span> <span class="st">&#39;refs.json&#39;</span> <span class="op">}</span>).<span class="at">list</span>()</a></code></pre></div>
<h2 id="license">License</h2>
<p>MIT license</p>
<p>Contains parts of <a href="https://github.com/mvhenderson/pandoc-filter-node">pandoc-filter-node</a> originally created by Mike Henderson.</p>
<h2 id="acknowledgements">Acknowledgements</h2>
<p>Fetching and converting data from Wikidata and to BibTeX is implemented with <a href="https://citation.js.org/">citation.js</a> created by Lars Willighagen.</p>
<h2 id="references">References</h2>
<p>A bibliography of some publications relevant to wcite is included in the source code repository following here for the purpose of demonstration at <a href="http://wikicite.org/wcite/#references" class="uri">http://wikicite.org/wcite/#references</a>.</p>
<p>The locally stored CSL JSON file is available as <a href="references.json"><code>references.json</code></a>.</p>
<p>The benefits of having bibliographic data in a knowledge base are best illustrated by the <a href="https://tools.wmflabs.org/scholia/">Scholia</a> frontend to Wikidata: this website can be used to explore research publications and their connections to authors, institutions, places and other enties <span class="citation" data-cites="Q58484849">(Mietchen, Nielsen, and Willighagen 2018)</span>.</p>
<div id="refs" class="references">
<div id="ref-Q824708">
<p><em>Citation Style Language</em> (version 1.0.1). n.d.</p>
</div>
<div id="ref-Q58484849">
<p>Mietchen, Daniel, Finn Årup Nielsen, and Egon Willighagen. 2018. <em>WikiCite and Scholia - a Linked Open Data Approach to Exploring the Scholarly Literature and Related Resources</em>. <a href="https://commons.wikimedia.org/wiki/File:ScidataCon_2018_poster_168_-_WikiCite_and_Scholia_-_a_Linked_Open_Data_approach_to_exploring_the_scholarly_literature_and_related_resources.pdf">https://commons.wikimedia.org/wiki/File:ScidataCon_2018_poster_168_-_WikiCite_and_Scholia_-_a_Linked_Open_Data_approach_to_exploring_the_scholarly_literature_and_related_resources.pdf</a>.</p>
</div>
<div id="ref-Q2049294">
<p><em>Pandoc</em> (version 2.6). n.d.</p>
</div>
<div id="ref-Q55239420">
<p>Shelley, Mary. 1818. <em>Frankenstein</em>. 1st ed. London.</p>
</div>
<div id="ref-Q27044176">
<p>Voss, Jakob. 2016. <em>Wikidata Als Universalbibliographie: Ein Kommentar</em>. <em>LIBREAS</em>. doi:<a href="https://doi.org/10.18452/9090">10.18452/9090</a>.</p>
</div>
<div id="ref-Q18507561">
<p>Vrandečić, Denny, and Markus Krötzsch. 2014. “Wikidata: A Free Collaborative Knowledgebase.” <em>Communications of the ACM</em> 57 (10): 78–85. doi:<a href="https://doi.org/10.1145/2629489">10.1145/2629489</a>.</p>
</div>
</div>
<script>(refs => {
  const base = 'http://www.wikidata.org/entity/'
  Array.from(refs).filter(e => (e.id || '').match(/^ref-(Q[0-9]+)$/))
    .forEach(div => {
      var qid = div.id.substr(4)
      var a = document.createElement('a')
      a.className = 'wikidata-link'
      a.href = base + qid
      var p = div.firstElementChild
      p.insertBefore(a, p.firstChild)
    })
})(document.getElementById('refs').childNodes || [])
</script>
<style type="text/css">a.wikidata-link {
  background: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMiIgd2lkdGg9IjEwNTAiIGhlaWdodD0iNTkwIj4NCiAgPHBhdGggZD0ibSAxMjAsNTQ1IGggMzAgViA0NSBIIDEyMCBWIDU0NSB6IG0gNjAsMCBoIDkwIFYgNDUgSCAxODAgViA1NDUgeiBNIDMwMCw0NSBWIDU0NSBoIDkwIFYgNDUgaCAtOTAgeiIgc3R5bGU9ImZpbGw6Izk5MDAwMCIgLz4NCiAgPHBhdGggZD0ibSA4NDAsNTQ1IGggMzAgViA0NSBIIDg0MCBWIDU0NSB6IE0gOTAwLDQ1IFYgNTQ1IGggMzAgViA0NSBIIDkwMCB6IE0gNDIwLDU0NSBoIDMwIFYgNDUgSCA0MjAgViA1NDUgeiBNIDQ4MCw0NSBWIDU0NSBoIDMwIFYgNDUgaCAtMzAgeiIgc3R5bGU9ImZpbGw6IzMzOTk2NiIgLz4NCiAgPHBhdGggZD0ibSA1NDAsNTQ1IGggOTAgViA0NSBoIC05MCBWIDU0NSB6IG0gMTIwLDAgaCAzMCBWIDQ1IEggNjYwIFYgNTQ1IHogTSA3MjAsNDUgViA1NDUgaCA5MCBWIDQ1IEggNzIwIHoiIHN0eWxlPSJmaWxsOiMwMDY2OTkiIC8+DQo8L3N2Zz4=) no-repeat;
  background-size: contain;
  padding-left: 1.8em;
  margin-right: 0.2em;
}
</style>
      </div>
    </main><footer class="site-footer">

  <div class="wrapper">

    <div class="footer-col-wrapper">
      <div class="footer-col">
        <p>
          no official homepage but an entry point to learn about WikiCite initiative
        </p>
        <ul class="inline">
          <li><a href="https://github.com/wikicite"><span class="icon icon--github"><svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>
</span><span class="username">wikicite</span></a>
</li>
          <li><a href="https://twitter.com/@wikicite"><span class="icon icon--twitter"><svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/></svg>
</span><span class="username">@wikicite</span></a>
</li>
          <li><a href="http://www.wikidata.org/entity/Q30035267" class="wikidata-link">Wikidata</a>
</li>
        </ul>
      </div>
    </div>

  </div>
</footer>
</body>
</html>