How to automatically approve all pages after importing from another wiki?
Hi Helder, Thanks for fast answered.
What is the language of the text in this script? Portuguese? How to use this script after adding in the gadgets?
Yes, it is Portuguese.
The script will add a link in the top right of the pages (in the same portlet menu where the "move" link is). If you click the link it will ask for a number of pages to review. Then it will get a list of unreviewed pages from MediaWiki API and check each of them to see if the last edit was made by a user listed in the variable "admins" (mostly sysops in the case of Portuguese Wikibooks, but in essence the list should consist of trusted users from your wiki).