[bugfix] Show page list at the end of the script
[bugfix] Show page list at the end of the script

With -get option the page content is printed after the page title
but complete title list is not printed in this case.

Bug: T220905
Change-Id: I65bb48d733cb92864694b9180d5e040a19cb6b98

PersianWikipedia/pywikibot-core,wikimedia/pywikibot-core,wikimedia/pywikibot-core