Xqt created this task. Xqt added projects: Pywikibot, PAWS. Restricted Application added a subscriber: pywikibot-bugs-list.
TASK DESCRIPTION Pywikibot has a `pwb` code entry point i.e. `pwb.exe` in `<pythonpath>/Scripts`. This wrapper script is able to call any script found in following folders: - config.user_script_paths in base directory - base directory (see https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.config.html#config.get_base_dir) - pywikibot.scripts folder The entry point works for script within pwikibot.scripts: pwb version but fails for framework scripts: pwb redirect do ERROR: redirect.py not found! Misspelling? To run the script one has to invoke it with: pwb.py redirect do (note the .py) pwb.py usually resides in the topmost Pywikibot folder. Both should call the wrapper <https://doc.wikimedia.org/pywikibot/master/utilities/scripts_ref.html#module-pywikibot.scripts.wrapper> script. TASK DETAIL https://phabricator.wikimedia.org/T354084 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, AshokChakra, Viztor, 94rain, Wenyi, R96340, Chicocvenancio, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, Susannaanas, Fuzheado, mys_721tx, Jane023, yuvipanda, Daniel_Mietchen, jayvdb, zhuyifei1999, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
