continue;
}
if ( $targetWiki !== 'local' ) {
-
throw new Exception( "Only 'local' target wiki is currently supported" );
}
if ( $reqType !== 'page' && $reqType !== 'transform' ) {
* API. We now translate these to the "real" Parsoid v3 API.
*/
public function onParsoid1Request( array $req, Closure $idGeneratorFunc ) {
-
$parts = explode( '/', $req['url'] );
list(
$targetWiki, // 'local'
}
return $req;
-
}
}