Thanks!

rubin
02 нояб. 2014 г. 16:29 пользователь "Merlijn van Deen" <valhall...@arctus.nl>
написал:

> On 2 November 2014 09:46, rubin.happy <rubin.ha...@gmail.com> wrote:
> > 1) how can I define which file should be used as user-config.py in the
> > script's running parameters? For example, I want to run "redirect.py br
> > -delete -always" with config of sysop bot and "redirect.py do -always"
> with
> > usual bot account, that's why I want to create 2 different configs and
> > define them in parameters.
> > I haven't such functions in global parameters but I am quite sure that
> this
> > was possible before.
>
> set the environment variable PYWIKIBOT2_DIR=/some/path
>
> > 2) I want to run my custom script but use shared repo of framework: for
> > example, to run delinker.py from my home location but use wikipedia.py,
> etc.
> > from shared repo not to clone frameworks on Labs.
> > Is it possible, too?
>
> If you follow the 'shared pywikibot' part of
> https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help#Pywikibot,
> this should work.
>
> _______________________________________________
> Pywikipedia-l mailing list
> Pywikipedia-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to