(bug 47158) make wgRateLimits apply to Wikibase.

Change-Id: I57fb295ca043c70bc754123e97495ead7e01d920
Merge "(bug 47158) make wgRateLimits apply to Wikibase."