https://github.com/BrandonXLF/linkcount
Web program to see the number of links to a page in any Wikimedia project.
https://github.com/BrandonXLF/linkcount
toolforge wikimedia wikipedia
Last synced: 5 months ago
JSON representation
Web program to see the number of links to a page in any Wikimedia project.
- Host: GitHub
- URL: https://github.com/BrandonXLF/linkcount
- Owner: BrandonXLF
- License: gpl-3.0
- Created: 2021-01-31T22:54:19.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-25T18:23:34.000Z (8 months ago)
- Last Synced: 2024-08-25T19:38:24.119Z (8 months ago)
- Topics: toolforge, wikimedia, wikipedia
- Language: PHP
- Homepage: https://linkcount.toolforge.org/
- Size: 253 KB
- Stars: 72
- Watchers: 14
- Forks: 40
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - BrandonXLF/linkcount - Web program to see the number of links to a page in any Wikimedia project. (PHP)
README
# linkcount
**linkcount** is a web program that shows the number of links to any page in a Wikimedia project. It is hosted at .
## Installing
To run you will need to install the PHP dependencies using `composer install` and the Node JS dependencies using `npm install`.
## Config
Copy the file `config-example.ini` to `config.ini` and fill in the fields with values from your `replica.my.cnf` file.
## Testing
Test are run using `composer test-win` on windows and `composer test-lin` on linux etc. When testing, the `linkcounttest` table is created. You can also run `composer createdb` to create the `linkcounttest` table for manual testing from a browser. When manual testing, `en.wikipedia.org` is linked to the `linkcounttest` database. Wikis with a url starting with `e` are also added to the `wiki` table to allow for testing of the project input autocomplete.