Disable local uploads where unused, per local request

Some wikis with little or no local file work requested their
workload to be reduced this way.

Bug: 71403
Change-Id: Ie4509b2376841eddf0066fc672c675eec17e2907