Skip to content

Commit

Permalink
Change all old repo URLs to the new URL
Browse files Browse the repository at this point in the history
  • Loading branch information
carlinmack committed Jul 8, 2021
1 parent f87c4e8 commit c6dcb44
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributing to Scholia
Source code and issue tracker
-----------------------------

Scholia development is hosted at https://github.com/fnielsen/scholia.
Scholia development is hosted at https://github.com/WDscholia/scholia.

Technology stack
----------------
Expand All @@ -25,8 +25,8 @@ Getting started - set up a local Scholia server for testing purposes

.. code:: shell
$ git clone https://github.com/fnielsen/scholia.git # via HTTPS
$ git clone git@github.com:fnielsen/scholia.git # or via SSH
$ git clone https://github.com/WDscholia/scholia.git # via HTTPS
$ git clone git@github.com:WDscholia/scholia.git # or via SSH
2. Install required Python libraries:

Expand Down Expand Up @@ -87,7 +87,7 @@ Adding new SPARQL queries to Scholia:

2. Write a new query and add it in a template file (e.g. in ``/app/templates/sparql/author_awards.sparql``)
where the file names starts with the aspect name. Note that ``{{ q }}`` will be formatted based on the page that renders the template.
See example at https://github.com/fnielsen/scholia/pull/848/files.
See example at https://github.com/WDscholia/scholia/pull/848/files.

.. code:: sparql
Expand Down Expand Up @@ -124,5 +124,5 @@ And iframe formatting:
</div>

5. Add the whole thing to your version/fork of the file
https://github.com/fnielsen/scholia/tree/master/scholia/[…].
https://github.com/WDscholia/scholia/tree/master/scholia/[…].
Pull request to master branch.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ See file `CONTRIBUTING.rst`_ for technical details on how to improve Scholia.
.. _Wikidata: https://www.wikidata.org
.. _Wikimedia Foundation: https://wikimediafoundation.org
.. _Wikimedia Toolforge: https://toolforge.org/
.. _launch Scholia via Gitpod: https://gitpod.io/#https://github.com/fnielsen/scholia
.. _CONTRIBUTING.rst: https://github.com/fnielsen/scholia/blob/master/CONTRIBUTING.rst
.. _requirements.txt: https://github.com/fnielsen/scholia/blob/master/requirements.txt
.. _runserver.py: https://github.com/fnielsen/scholia/blob/master/runserver.py
.. _launch Scholia via Gitpod: https://gitpod.io/#https://github.com/WDscholia/scholia
.. _CONTRIBUTING.rst: https://github.com/WDscholia/scholia/blob/master/CONTRIBUTING.rst
.. _requirements.txt: https://github.com/WDscholia/scholia/blob/master/requirements.txt
.. _runserver.py: https://github.com/WDscholia/scholia/blob/master/runserver.py

References
---------
Expand Down
6 changes: 3 additions & 3 deletions scholia/app/static/scholia.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function sparqlToDataTablePost(sparql, element, filename, options={}) {
'<caption><span style="float:left; font-size:smaller;"><a href="https://query.wikidata.org/#' +
encodeURIComponent(sparql) +
'">Wikidata Query Service</a></span>' +
'<span style="float:right; font-size:smaller;"><a href="https://github.com/fnielsen/scholia/blob/master/scholia/app/templates/' +
'<span style="float:right; font-size:smaller;"><a href="https://github.com/WDscholia/scholia/blob/master/scholia/app/templates/' +
filename + '">' +
filename.replace("_", ": ") +
'</a></span></caption>'
Expand Down Expand Up @@ -245,7 +245,7 @@ function sparqlToDataTable2(sparql, element, filename, options={}) {
'<caption><span style="float:left; font-size:smaller;"><a href="https://query.wikidata.org/#' +
encodeURIComponent(sparql) +
'">Wikidata Query Service</a></span>' +
'<span style="float:right; font-size:smaller;"><a href="https://github.com/fnielsen/scholia/blob/master/scholia/app/templates/' +
'<span style="float:right; font-size:smaller;"><a href="https://github.com/WDscholia/scholia/blob/master/scholia/app/templates/' +
filename + '">' +
filename.replace("_", ": ") +
'</a></span></caption>'
Expand All @@ -260,7 +260,7 @@ function sparqlToIframe(sparql, element, filename) {
url = "https://query.wikidata.org/embed.html#" + encodeURIComponent(sparql);
$(element).attr('src', url);
$(element).parent().after(
'<span style="float:right; font-size:smaller"><a href="https://github.com/fnielsen/scholia/blob/master/scholia/app/templates/' + filename + '">' +
'<span style="float:right; font-size:smaller"><a href="https://github.com/WDscholia/scholia/blob/master/scholia/app/templates/' + filename + '">' +
filename.replace("_", ": ") +
'</a></span>');
};
Expand Down
4 changes: 2 additions & 2 deletions scholia/app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -608,15 +608,15 @@
<a href="https://en.wikipedia.org">English Wikipedia</a>
|
Code from
<a href="https://github.com/fnielsen/scholia">GitHub repository</a>
<a href="https://github.com/WDscholia/scholia">GitHub repository</a>
|
Hosted on <a href="https://toolforge.org/">Wikimedia Toolforge</a>,
a <a href="https://wikimediafoundation.org">Wikimedia Foundation</a> service
|
License for content: CC0 for data, CC-BY-SA for text and media
|
Report technical problems at Scholia's
<a href="https://github.com/fnielsen/scholia/issues">Issues</a> GitHub page.
<a href="https://github.com/WDscholia/scholia/issues">Issues</a> GitHub page.
|
Follow us on <a href="https://twitter.com/wdscholia">Twitter</a>.
<hr>
Expand Down
2 changes: 1 addition & 1 deletion scholia/app/templates/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h1 id="h1">Frequently asked questions</h1>
<dt>How do I report a problem</dt>
<dd>
Technical problems and similar are curated at
<a href="https://github.com/fnielsen/scholia/issues">Scholia's GitHub issue list</a>.
<a href="https://github.com/WDscholia/scholia/issues">Scholia's GitHub issue list</a>.
Use the search field to see if your problem is already listed or press
"New issue" to make a new issue (you need to have an account on GitHub).
<br/><br/>
Expand Down
2 changes: 1 addition & 1 deletion scholia/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import requests


USER_AGENT = 'Scholia, https://github.com/fnielsen/scholia'
USER_AGENT = 'Scholia, https://github.com/WDscholia/scholia'


def get(resource):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
description='Scholia - Wikidata-based scholarly profiles',
license='GPL',
keywords='wikidata',
url='https://github.com/fnielsen/scholia',
url='https://github.com/WDscholia/scholia',
packages=['scholia'],
package_data={},
install_requires=requirements,
Expand Down

0 comments on commit c6dcb44

Please sign in to comment.