Be sure to use the --reject parameter:
wget --http-user=foo --http-pass=geheim --reject "*search=*","*action=*", \ "Comments*","RecentChanges" --html-extension --backup-converted \ --page-requisites --convert-links -e robots=off -w 4 -r -l5 -np <url>
You’re probably better off using a different download method! If you get it wrong, you might get banned.
(Back to WikiDownload.)