Yes it is recommended to split library parts from split parts. The problem might be that nobody knows which script parts are reused by private scripts.

xqt

Am 29.08.2016 um 23:51 schrieb Bináris <wikiposta@gmail.com>:

Thanks! These timestamp functions could be outsourced to a standalone library for use of other scripts.
My bot creates table of contents from archives, and now it has to import archivebot.
Importing a common library by both would be nicer (but not a must).

2016-08-29 20:30 GMT+02:00 Merlijn van Deen (valhallasw) <valhallasw@arctus.nl>:

On 29 August 2016 at 19:45, Bináris <wikiposta@gmail.com> wrote:
Hi,
this is a compat question.
In archivebot.py there were these functions earlier and now I see they aren't any more. Where are they, or what is their current name?
I imported archivebot to another script and it stopped.

--
Bináris

_______________________________________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot



_______________________________________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot




--
Bináris
_______________________________________________
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot