X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fmwdoc-filter.php;h=feaad12a60ddd0e4e19d864fd90983f82bf286a9;hb=a49b9a6ec994bbcd05f2578e8cb352cb3647a1c4;hp=ed63c5c7f254c876767d1640fa2b90019e0d789e;hpb=f43fa6f4f0e2cb60b8543daad661b48a3e0653a9;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/mwdoc-filter.php b/maintenance/mwdoc-filter.php index ed63c5c7f2..feaad12a60 100644 --- a/maintenance/mwdoc-filter.php +++ b/maintenance/mwdoc-filter.php @@ -5,7 +5,7 @@ * Should be set in Doxygen INPUT_FILTER as "php mwdoc-filter.php" * * Based on - * + * * * Improved to resolve various bugs and better MediaWiki PHPDoc conventions: * @@ -16,7 +16,7 @@ * - Strip the text after @var from the output to avoid Doxygen warnings aboug bogus * symbols being documented but not declared or defined. * - * Copyright (C) 2012 Tamas Imrei http://virtualtee.blogspot.com/ + * Copyright (C) 2012 Tamas Imrei https://virtualtee.blogspot.com/ * Copyright (C) 2015 Timo Tijhof * * Permission is hereby granted, free of charge, to any person obtaining @@ -38,6 +38,7 @@ * DEALINGS IN THE SOFTWARE. */ +// Warning: Converting this to a Maintenance script may reduce performance. if ( PHP_SAPI != 'cli' ) { die( "This filter can only be run from the command line.\n" ); }