wikiproject-mainpage-analysis
Analytics of which WikiProjects have related articles on the main page
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.8%) to scientific vocabulary
Keywords
Repository
Analytics of which WikiProjects have related articles on the main page
Basic Info
- Host: GitHub
- Owner: Ainali
- License: gpl-3.0
- Language: HTML
- Default Branch: main
- Homepage: https://ainali.github.io/wikiproject-mainpage-analysis/
- Size: 122 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
WikiProject Mainpage Analysis
This tool shows the number of links from the mainpage of Wikipedia to an article connected to a WikiProject.
How it works
It runs via a GitHub action daily and adds data to CSV files, one per language and year.
Getting main page data
First the script gets all mainpages through a SPARQL query that collects all Wikipedia sitelinks on the item Q5296 (and the language codes of those wikis). Then for each of those, an API call is made to get the Wikidata IDs for all links from the mainpage to articles in the main namespace. Example for Swedish Wikipedia:
https://sv.wikipedia.org/w/api.php?action=query&format=json&prop=pageprops&titles=Portal%3AHuvudsida&generator=links&formatversion=2&ppcontinue=&ppprop=wikibase_item&gplnamespace=0&gpllimit=max
Try it!
Find WikiProject connections
The Wikidata IDs are plugged into another SPARQL query to see to which, if any, WikiProjects they are connected to. A connection is considered to exist if the items have a value for either of the Wikidata properties on focus list of Wikimedia project (P5008) or maintained by WikiProject (P6104).
Summarize
The result is appended to a CSV file, with one line per WikiProject, the number of links for each of those and the retrieve date.
A summary table with filters for year, language and WikiProject is published via GitHub pages.
The aggregation is done in the browser when the user has made a selection.
License
The code is under GPL V3.
All data in the data folder is dedicated to the public domain, marked by CC0 1.0, which allows users worldwide to distribute, remix, adapt, and build upon the data in any medium or format, with no legal conditions on reuse. Attribution is suggested as "Data from the WikiProject Mainpage Analysis".
Owner
- Name: Jan Ainali
- Login: Ainali
- Kind: user
- Location: Amsterdam
- Company: @Open-By-Default
- Website: https://aina.li
- Repositories: 44
- Profile: https://github.com/Ainali
I love everything open. Wikipedian. Innovation & inspiration. Born at 332 ppm. Tinker: @govdirectory Advisory committee: @OpenRefine
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: WikiProject Mainpage Analysis
message: >-
If you use this data, please cite it using the metadata
from this file.
type: dataset
authors:
- given-names: Jan
family-names: Ainali
orcid: 'https://orcid.org/0000-0001-8747-1670'
repository-code: 'https://github.com/Ainali/wikiproject-mainpage-analysis'
url: 'https://ainali.github.io/wikiproject-mainpage-analysis/'
abstract: >-
This tool shows the number of links from the mainpage of
the different Wikipedia language versions to an article
connected to a WikiProject.
keywords:
- Wikipedia
- topic analysis
license: CC0-1.0
GitHub Events
Total
- Push event: 452
Last Year
- Push event: 452
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v2 composite
- actions/setup-python v2 composite