X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FgenerateSitemap.php;h=f3a5d875e86ec179512b578716391d4e5219aa7a;hb=d45daa49d8e6eb55962c747767c5d069e23a1c92;hp=7e83d5f6591bf1a9568ae29c087b20522ec2bb19;hpb=7803b7cf9897de1794fdd1cc9fb1dadc4d69d7b2;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/generateSitemap.php b/maintenance/generateSitemap.php index 7e83d5f659..f3a5d875e8 100644 --- a/maintenance/generateSitemap.php +++ b/maintenance/generateSitemap.php @@ -1,6 +1,6 @@ and * Brion Vibber @@ -26,8 +26,13 @@ * @see http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once( __DIR__ . '/Maintenance.php' ); +/** + * Maintenance script that generates a sitemap for the site. + * + * @ingroup Maintenance + */ class GenerateSitemap extends Maintenance { const GS_MAIN = -2; const GS_TALK = -1;