X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=api.php;h=0fb674b9ebe9706c746de36067fedc849f465cf5;hp=db9de75156e9502a8548fdf9a7258ba42b33d8ad;hb=bd5a37aacf600bdd5f3a6e7998f92bd1d9326a8a;hpb=cc814cae886eaab6785b4942d40fe585d32f3319 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