params = $params; } /** * Fetch data from given external store URL * * @param $url string An external store URL * @return string|bool The text stored or false on error * @throws MWException */ public abstract function fetchFromURL( $url ); /** * Insert a data item into a given location * * @param $location string: the location name * @param $data string: the data item * @return string|bool The URL of the stored data item, or false on error * @throws MWException */ public abstract function store( $location, $data ); }