Per https://wikitech.wikimedia.org/wiki/Add_a_wiki once the wiki has been created
Description
Details
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Add support for kaiwiki to Pywikibot | pywikibot/core | master | +20 -20 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | RaushanCode | T414239 Add support for kaiwiki to Pywikibot | |||
| Resolved | Zabe | T414234 Create Wikipedia Karai-Karai | |||
| Resolved | FCeratto-WMF | T414236 Prepare and check storage layer for kaiwiki |
Event Timeline
good first task
addwikis script can be used to add the wiki easily. The patch will be submitted after the wiki is really created.
Thank you for tagging this task with good first task for Wikimedia newcomers!
Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects.
A good first task is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly point to the codebase URL and provide clear steps to help a contributor get set up for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ !
Thank you for helping us drive new contributions to our projects <3
Thanks! I’ve assigned the task to myself and will start working on it.
I’ll share updates here if I have any questions.
I ran the addwikis script for kaiwiki successfully.
It created user-config.py, but no changes were made to the family files (git status is clean).
Could you please advise on the next step or if a family file update is expected?
@Roshani005: what was your command line to run addwikis? You should see this message:
Adding 'kai' to wikipedia family...
The lists don't match, the new list is:
codes = {
...In that case the pywikibot/families/wikpedia_family.py was changed. The diff looks like;
- 'ka', 'kaa', 'kab', 'kaj', 'kbd', 'kbp', 'kcg', 'kg', 'kge', 'ki', ... + 'ka', 'kaa', 'kab', 'kai', 'kaj', 'kbd', 'kbp', 'kcg', 'kg', 'kge', ...
I reran py -3.12 pwb.py addwikis wikipedia kai.
This time it updated pywikibot/families/wikipedia_family.py as expected.
I’ve committed the change locally.
I’ve pushed the change to Gerrit for review:
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1237240
The commit message needs the task reference (Bug: T414239)
See https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines for it.
The content is not made by the addwikis script because the alingment is wrong and there is one line which has more than 80 chars. The 80 chars line limit is mandatory.
Change #1243141 had a related patch set uploaded (by Raushan 31; author: Raushan 31):
[pywikibot/core@master] Add support for kaiwiki to Pywikibot
Change #1243141 had a related patch set uploaded (by Raushan 31; author: Raushan 31):
[pywikibot/core@master] Add support for kaiwiki to Pywikibot
Change #1243141 merged by Xqt:
[pywikibot/core@master] Add support for kaiwiki to Pywikibot