[Pywikipedia-bugs] [Maniphest] [Assigned] T187748: noreference.py should again add section before {{Przypisy}}
Xqt triaged this task as "Normal" priority.Xqt assigned this task to Masti. TASK DETAILhttps://phabricator.wikimedia.org/T187748EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Masti, XqtCc: gerritbot, Aklapper, Masti, pywikibot-bugs-list, Giuliamocci, Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, rafidaslam, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, jayvdb, Dalba, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Updated] T187748: noreference.py should again add section before {{Przypisy}}
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T187748EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Aklapper, Masti, pywikibot-bugs-list, Giuliamocci, Adrian1985, Cpaulf30, Baloch007, Darkminds3113, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, rafidaslam, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Avicennasis, jayvdb, Dalba, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T187748: noreference.py should again add section before {{Przypisy}}
gerritbot added a comment. Change 412757 had a related patch set uploaded (by Gerrit Patch Uploader; owner: [[mw:user:masti]]): [pywikibot/core@master] T187748 noreference.py should again add section before {{Przypisy}} in pl.wikipedia remove lang 'pl' form noTitleRequired list https://gerrit.wikimedia.org/r/412757TASK DETAILhttps://phabricator.wikimedia.org/T187748EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Aklapper, Masti, pywikibot-bugs-list, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T187748: noreference.py should again add section before {{Przypisy}}
Masti created this task.Masti added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONAfter the chnage in references template {{Przypisy}} it is necesary to add == Przypisy == section title before templateTASK DETAILhttps://phabricator.wikimedia.org/T187748EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MastiCc: Aklapper, Masti, pywikibot-bugs-list, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T187737: Use path in Python script calling
valhallasw added a comment. You can pass the full path of the file to pwb.py, so python pwb.py projects/wikidatafix/fix_everything_in_wikidata.py (or pwb.py projects\wikidatafix\fix_everything_in_wikidata.py on Windows) should work.TASK DETAILhttps://phabricator.wikimedia.org/T187737EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valhallaswCc: valhallasw, Aklapper, pywikibot-bugs-list, matej_suchanek, Edgars2007___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T187737: Use path in Python script calling
matej_suchanek added a comment. user_config.py# # EXTERNAL SCRIPT PATH SETTING ## # set your own script path to lookup for your script files. # your private script path must be located inside the # framework folder, subfolders must be delimited by '.'. # every folder must contain an (empty) __init__.py file. # # The search order is # 1. user_script_paths in the given order # 2. scripts # 3. scripts/maintenance # 4. scripts/archive # # sample: # user_script_paths = ['scripts.myscripts'] user_script_paths = [] So if you keep your script names unique and register any folder in this config, I think you will find this useful.TASK DETAILhttps://phabricator.wikimedia.org/T187737EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: Aklapper, pywikibot-bugs-list, matej_suchanek, Edgars2007___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T187737: Use path in Python script calling
Edgars2007 created this task.Edgars2007 added a project: Pywikibot-General.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONSorry for the title, i usually do suck in title thinking. Currently in "Pywikibot" folder I have some 1000 scripts. Highly unstructured and so... If I need something sometimes it's hard to find needed script. I was thinking about folder "projects" in Pywikibot folder, where could go project folders. From cmd I would call script from project "wikidatafix" (which is in folder "projects"): pwb.py wikidatafix fix_evething_in_wikidata.py I chose wikidatafix as first argument for pwb.py a) for performance reasons (i may have 1000 projects, in each project 100 python files) b) i may want to have fix_evething_in_wikidata.py file in every project :) Even if it would be bad idea for general use, maybe somebody could write some lines of python and show how to change pwb.py file (i guess)?TASK DETAILhttps://phabricator.wikimedia.org/T187737EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Edgars2007Cc: Aklapper, pywikibot-bugs-list, matej_suchanek, Edgars2007, jayvdb___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs