{"id":15134739,"url":"https://github.com/stustanet/wiki-scripts","last_synced_at":"2026-01-19T05:32:53.797Z","repository":{"id":115881689,"uuid":"139441199","full_name":"stustanet/wiki-scripts","owner":"stustanet","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-07T11:35:53.000Z","size":263,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-05T23:17:21.292Z","etag":null,"topics":["mediawiki","mediawiki-api","mediawiki-bot","mediawiki-installation","upgrade"],"latest_commit_sha":null,"homepage":"https://gitlab.stusta.de/stustanet/wiki-scripts","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stustanet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-02T12:32:55.000Z","updated_at":"2021-12-05T21:42:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"624e9e01-8863-47da-9919-b75a0734109e","html_url":"https://github.com/stustanet/wiki-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stustanet/wiki-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stustanet%2Fwiki-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stustanet%2Fwiki-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stustanet%2Fwiki-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stustanet%2Fwiki-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stustanet","download_url":"https://codeload.github.com/stustanet/wiki-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stustanet%2Fwiki-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28561858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mediawiki","mediawiki-api","mediawiki-bot","mediawiki-installation","upgrade"],"created_at":"2024-09-26T05:24:06.579Z","updated_at":"2026-01-19T05:32:53.781Z","avatar_url":"https://github.com/stustanet.png","language":"Python","readme":"# Wiki Scripts\n\nA collection of scripts enhancing our Mediawiki setup.\n\n## Announce\nRelays news entries to the announce mailing list.\nTo be run with minimal privileges shortly after every full hour.\n\n## Mensa\nUpdates a wiki page with today's menu in the university canteens.\n\n## MVG Live\nUpdates a wiki page with the current departure times of the Studentenstadt Metro station.\n\n*Disabled, as it bloats the database*\n\n## SSS (Sprechstundensystemschleuder)\nUpdates a wiki page with the next office hour dates.\n\n## Upgrade\n\nHelper script to perform the steps required for an upgrade automatically:\n\n* Check if upgrades (minor/major release) for Mediawiki or one of the extensions (supports composer and git) are available\n* File backups via [bup](https://github.com/bup/bup)\n* Database backups via mysqldump\n* Pull updates\n* Run `update.php` (Mediawiki maintenance script)\n* Perform test request\n\n`upgrade.sh` is a simple wrapper for runs via timers/cronjobs, sending mail reports.\n\nThe upgrade script should be run as an unprivileged user but requires the ability to restart the PHP-FPM service. Thus sudo and a whitelisting for the required commands should be confgiured:\n\n```sh\n$ visudo\n\n# insert:\nwww-data ALL=(root) NOPASSWD: /bin/systemctl stop php7.0-fpm.service\nwww-data ALL=(root) NOPASSWD: /bin/systemctl start php7.0-fpm.service\nwww-data ALL=(root) NOPASSWD: /bin/systemctl reload php7.0-fpm.service\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstustanet%2Fwiki-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstustanet%2Fwiki-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstustanet%2Fwiki-scripts/lists"}