X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles_versions%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=blobdiff_plain;f=api.php;h=0fb674b9ebe9706c746de36067fedc849f465cf5;hb=9b408229a005e4d43f0c955979d52c7b998b1863;hp=db9de75156e9502a8548fdf9a7258ba42b33d8ad;hpb=f35af6b719bd4b5c1119d5926daf69e8304e37d9;p=lhc%2Fweb%2Fwiklou.git diff --git a/api.php b/api.php index db9de75156..0fb674b9eb 100644 --- a/api.php +++ b/api.php @@ -61,10 +61,9 @@ $wgTitle = Title::makeTitle( NS_SPECIAL, 'Badtitle/dummy title for API calls set RequestContext::getMain()->setTitle( $wgTitle ); try { - /* Construct an ApiMain with the arguments passed via the URL. What we get back - * is some form of an ApiMain, possibly even one that produces an error message, - * but we don't care here, as that is handled by the constructor. - */ + // Construct an ApiMain with the arguments passed via the URL. What we get back + // is some form of an ApiMain, possibly even one that produces an error message, + // but we don't care here, as that is handled by the constructor. $processor = new ApiMain( RequestContext::getMain(), true ); // Last chance hook before executing the API