rafidaslam added a comment.

@eflyjason

I think I didn't write the task description clearly, sorry about that. I wanna clarify everything I've written based on I've thought now.

I meant, If the user doesn't specify the -revision parameter, the script will download from the latest dump, f.ex (https://dumps.wikimedia.org/idwiki/latest/).
Then the script will add the current date as the suffix of the filename, f.ex (idwiki-latest-abstract-30122017.xml).

If the user runs the script again with the same filename and without -revision parameter again (or the user specifies it as latest manually), and if the file already exist with the suffix date equals to current date, the script will not download the file again, but if it differs with the current date, the script will download it again and place the current date as the suffix of it.


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

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

To: rafidaslam
Cc: rafidaslam, divadsn, eflyjason, pywikibot-bugs-list, Aklapper, Xqt, zhuyifei1999, jayvdb, siebrand, Zoranzoki21, Framawiki, Bright1055, Toppole69, Mine0901, Jayprakash12345, Magul, Tbscho, MayS, Beeyan, Mdupont, JJMC89, MtDu, D3r1ck01, Avicennasis, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to