improved sql script

* added wikidata and commons so that you can just type sql commons instead of sql commonswiki
* some typo

Change-Id: Ibd833a57148499e48e43e50c72aa6a895f696ddd
Merge "improved sql script" into production