Ppxrhvxcyqmfxhf created this task.
Ppxrhvxcyqmfxhf added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  I have a patch for this issue (and related problems I discovered after fixing 
the initial symptom to get -tofile working properly) which I intend to 
contribute (this is my first time so it may take me a minute to figure out how 
all this gerrit stuff works).
  
  **Steps to replicate the issue** (include links if applicable):
  
  - Run pwb listpages with a -tofile option
  
  **What happens?**:
  
    $ pwb listpages -usercontribs:private -tofile:private_contribs_$(date 
+%Y%m%d_%H%M%S).txt
    ERROR: Unknown parameter "-tofile:private_contribs_20240527_110440.txt".
    Use -help for further information.
  
  **What should have happened instead?**:
  The -tofile parameter should have been recognized and the requested pages 
should have been written to the file private_contribs_20240527_110440.txt.
  
  **Software version** (on `Special:Version` page; skip for WMF-hosted wikis 
like Wikipedia):
  MediaWiki: 1.35.10
  Pywikibot:
  
    $ pwb version
    Pywikibot: pywikibot/__init__.py (, -1 (unknown), 2024/05/26, 16:24:47, 
UNKNOWN)
    Release version: 9.1.2
    packaging version: 24.0
    mwparserfromhell version: 0.6.6
    wikitextparser version: n/a
    requests version: 2.32.2
      cacerts: 
/home/private/.local/share/pipx/venvs/pywikibot/lib/python3.11/site-packages/certifi/cacert.pem
        certificate test: ok
    Python: 3.11.8 (main, Feb 12 2024, 14:50:05) [GCC 13.2.1 20230801]
    PYWIKIBOT_DIR: Not set
    PYWIKIBOT_DIR_PWB: 
/home/private/.local/share/pipx/venvs/pywikibot/lib/python3.11/site-packages/pywikibot/scripts
    PYWIKIBOT_NO_USER_CONFIG: Not set

TASK DETAIL
  https://phabricator.wikimedia.org/T366033

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ppxrhvxcyqmfxhf
Cc: Aklapper, pywikibot-bugs-list, Dr03ramos, Mpaa, Xqt, Ppxrhvxcyqmfxhf, mevo, 
PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, 
Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, 
Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to