{"id":15976476,"url":"https://github.com/danmichaelo/wikipedia-cs1cleanup","last_synced_at":"2025-06-25T22:06:00.406Z","repository":{"id":19269368,"uuid":"22505701","full_name":"danmichaelo/wikipedia-cs1cleanup","owner":"danmichaelo","description":"Bot that fixes wrongly formatted dates in citation templates at Norwegian Bokmål Wikipedia","archived":false,"fork":false,"pushed_at":"2021-02-08T22:41:48.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T14:02:27.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/danmichaelo.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2014-08-01T10:41:40.000Z","updated_at":"2021-02-08T22:41:51.000Z","dependencies_parsed_at":"2022-08-30T17:41:51.115Z","dependency_job_id":null,"html_url":"https://github.com/danmichaelo/wikipedia-cs1cleanup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danmichaelo/wikipedia-cs1cleanup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danmichaelo%2Fwikipedia-cs1cleanup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danmichaelo%2Fwikipedia-cs1cleanup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danmichaelo%2Fwikipedia-cs1cleanup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danmichaelo%2Fwikipedia-cs1cleanup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danmichaelo","download_url":"https://codeload.github.com/danmichaelo/wikipedia-cs1cleanup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danmichaelo%2Fwikipedia-cs1cleanup/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261960503,"owners_count":23236572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-07T22:24:06.132Z","updated_at":"2025-06-25T22:06:00.372Z","avatar_url":"https://github.com/danmichaelo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://travis-ci.org/danmichaelo/wikipedia-datofeil.svg?branch=master\n    :target: https://travis-ci.org/danmichaelo/wikipedia-datofeil\n\nBot that tries to fix `wrongly formatted dates \u003chttps://no.wikipedia.org/wiki/Kategori:Sider_med_kildemaler_som_inneholder_datofeil\u003e`_ in citation templates at Norwegian Bokmål Wikipedia. It uses\n`mwclient \u003chttps://github.com/mwclient/mwclient/\u003e`_ with\n`mwtemplates \u003chttps://github.com/danmichaelo/mwtemplates\u003e`_ for parsing and editing the templates.\n\nA list of changes done by the bot can be found here:\n\nhttps://no.wikipedia.org/wiki/Bruker:DanmicholoBot/Datofikslogg\n\nInstall::\n\n    virtualenv --python=/usr/bin/python3 ENV\n    . ENV/bin/activate\n    pip install -e .\n    cp config.dist.json config.json\n\nCrontab::\n\n    crontab tool-labs.crontab\n\nAdd your Wikimedia credentials to ``config.json`` and run ``python run.py``\n\nRun tests::\n\n    py.test\n\nExamples:\n\n    * ``[[30.8.09]]`` → ``30.8.2009``\n    * ``dato=28.mai``, ``år=2009`` → ``dato=28. mai 2009``\n    * ``Januari 2, 2009`` → ``dato=2. januar 2009``\n    * ``2. sep 2009]`` → ``dato=2. september 2009``\n    * ``7-2-2008`` → ``7.2.2008``\n    * ``15, marts 2010`` → ``15. mars 2010``\n    * ``July–September 1986`` → ``juli–september 1986``\n    * ``23-29. februar 2008`` → ``23.–29. februar 2008`` (manglende punktum, og bindestrek — tankestrek)\n    * ``6AUG2012`` → ``6. august 2012``\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanmichaelo%2Fwikipedia-cs1cleanup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanmichaelo%2Fwikipedia-cs1cleanup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanmichaelo%2Fwikipedia-cs1cleanup/lists"}