Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eccenux/wikilinqs
Wiki gadget that shows Wikidata item id (Q) for links.
https://github.com/eccenux/wikilinqs
mediawiki-gadget wikidata wikipedia
Last synced: 17 days ago
JSON representation
Wiki gadget that shows Wikidata item id (Q) for links.
- Host: GitHub
- URL: https://github.com/eccenux/wikilinqs
- Owner: Eccenux
- Created: 2023-07-23T16:42:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-02T10:34:50.000Z (9 months ago)
- Last Synced: 2024-04-02T12:39:39.274Z (9 months ago)
- Topics: mediawiki-gadget, wikidata, wikipedia
- Language: JavaScript
- Homepage:
- Size: 1.15 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WikilinQs
==========================Wiki gadget that shows Wikidata item id (Q) for links.
## Install
Use in your [your en.wiki common.js](https://en.wikipedia.org/wiki/Special:MyPage/common.js):
```js
if ( mw.config.get('wgNamespaceNumber') === 0 ) {
importScript('User:Nux/WikilinQs.js');
}
```Or in [your global.js](https://meta.wikimedia.org/wiki/Special:MyPage/global.js):
```js
if ( mw.config.get('wgNamespaceNumber') === 0 ) {
importScript('User:Nux/WikilinQs.js');
}
```## Example
https://en.wikipedia.org/wiki/Sport_Wales_National_Centre