Page MenuHomePhabricator

welcome.py: "-edit:0" option no longer works
Closed, ResolvedPublicBUG REPORT

Description

Steps to Reproduce:

Run the following command:

python pwb.py welcome -edit:0 -nlog -sul -limit:5000 -lang:arz

Actual Results:

WARNING: /mnt/nfs/labstore-secondary-tools-home/meno25/core/pywikibot/__init__.py:125: FutureWarning:
Python 2.7.13 will be dropped in 2020.
It is recommended to use Python 3.5 or above.
See T213287 for further information.

  FutureWarning)

[NoAct] Ali rachini has no contributions.
[NoAct] Omar Mazen Qanbar has no contributions.
[NoAct] Asran20 has no contributions.
[NoAct] Hossam197 has no contributions.
[NoAct] 6666666666Ahmed has no contributions.
[NoAct] Mo3taz3zzat has no contributions.
[NoAct] Yosr mighri has no contributions.
[NoAct] איתן has no contributions.
[NoAct] Ibrahim idosry has no contributions.
[NoAct] Focaccia has no contributions.
[NoAct] علی فردید has no contributions.
[NoAct] Al-agha mohammed has no contributions.
[NoAct] Thakir Alotaibi has no contributions.
[NoAct] PRBbb has no contributions.
[NoAct] SpectralPrincess has no contributions.
[NoAct] Tottemoureshiidesu has no contributions.
[NoAct] Yiru Wan has no contributions.
[NoAct] AKASSASSINN2 has no contributions.
[NoAct] Farrah yasser has no contributions.
[Skip ] PavloChemBot might be a global bot!
[NoAct] اسلام ضيف has no contributions.
[NoAct] Ronny973 has no contributions.
[NoAct] Muhammed said akca has no contributions.
[NoAct] Ahmed qabel has no contributions.
[NoAct] Andersonfields has no contributions.
[NoAct] End.mhd has no contributions.
[NoAct] Salahksa0 has no contributions.
[NoAct] Abadpours has no contributions.
[NoAct] Ali.mcisa has no contributions.
[NoAct] Didym has no contributions.
[NoAct] مهندس الرافدين has no contributions.
[NoAct] Bnzara has no contributions.
[NoAct] Marwan Shaheed has no contributions.
[NoAct] Ahmedahmed2 has no contributions.
[NoAct] Allhem has no contributions.
[NoAct] Harpelion8 has no contributions.
[NoAct] JoshBreal has no contributions.
[NoAct] Esalemteah has no contributions.
[NoAct] KingRando has no contributions.
[NoAct] ن.شحادة has no contributions.
[NoAct] A Aziz S islam has no contributions.
[NoAct] Femmefatale31 has no contributions.
[NoAct] Sharkawy111 has no contributions.
[NoAct] Viviane Al Danaf has no contributions.
[NoAct] Srajaltiwari has no contributions.
[NoAct] Shanar alshaalan has no contributions.
[NoAct] تحدي المحترف has no contributions.
[NoAct] Aswk has no contributions.
[NoAct] صلاح عضمة has no contributions.
[NoAct] Mo1Ahmed has no contributions.
[NoAct] عمرابراهيمحسن has no contributions.
[NoAct] RectorRocks has no contributions.
[NoAct] عمار أياد has no contributions.
[NoAct] XboxMLG has no contributions.
[Match] AhmedFarhat2020 has enough edits to be welcomed.
[Skip ] AhmedFarhat2020 has been already welcomed.
[Match] Yousef sh.eldhan has enough edits to be welcomed.
[Skip ] Yousef sh.eldhan has been already welcomed.
[NoAct] Marc Frier has no contributions.
[NoAct] Hanyelbehairycouture has no contributions.
[NoAct] Thuglifejunior has no contributions.
[NoAct] Annn1995 has no contributions.
[NoAct] ArminieeFaith has no contributions.
[NoAct] Shaimaa Abdelbadae has no contributions.
[NoAct] Nere has no contributions.
[NoAct] Ahmed Al-ebade1 has no contributions.
[NoAct] Nalinx has no contributions.
[NoAct] Emirzian has no contributions.
[NoAct] Daleelito has no contributions.
[NoAct] حسنةملص has no contributions.
[NoAct] محمد عادل محي has no contributions.
[NoAct] انس عمراوي has no contributions.
[Match] Magdybassily has enough edits to be welcomed.
[Skip ] Magdybassily has been already welcomed.
[NoAct] 20SS00 has no contributions.
[NoAct] Ali Abdulqadr Razany has no contributions.
[NoAct] Ahmad Salah Hanafy has no contributions.
[NoAct] HeeT MaaN has no contributions.

Expected Results:

  • The bot should have welcomed users with 0 edits as per the command line arguments. (It is the norm on Arabic Wikimedia wikis to welcome all users even those who have 0 edits.)

Note

WARNING: /mnt/nfs/labstore-secondary-tools-home/meno25/core/pywikibot/__init__.py:125: FutureWarning:
Python 2.7.13 will be dropped in 2020.
It is recommended to use Python 3.5 or above.
See T213287 for further information.

  FutureWarning)

Pywikibot: [https] r-pywikibot-core.git (267c24e, g11240, 2019/06/10, 14:35:08, ok)
Release version: 3.1.dev0
requests version: 2.12.4
  cacerts: /etc/ssl/certs/ca-certificates.crt
    certificate test: ok
Python: 2.7.13 (default, Sep 26 2018, 18:42:22)
[GCC 6.3.0 20170516]
Toolforge hostname: tools-sgebastion-07
PYWIKIBOT_DIR: Not set
PYWIKIBOT_DIR_PWB:
PYWIKIBOT_NO_USER_CONFIG: Not set

Event Timeline

Xqt triaged this task as Medium priority.

Change 516502 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Allow user with 0 contributions to be welcomed

https://gerrit.wikimedia.org/r/516502

Change 516502 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Allow user with 0 contributions to be welcomed

https://gerrit.wikimedia.org/r/516502