Manual:$wgExternalStores

Details
External stores allow including content from non-database sources following URL links. Short names of  classes may be specified in an array, e.g.

CAUTION: Access to database might lead to code execution.