Open main menu
Edit
MediaWiki:Apihelp-import-param-fullhistory
For interwiki imports: import the full history, not just the current version.