X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FfixExtLinksProtocolRelative.php;h=2403ec68b47be2260c429fa17173c282579a2864;hb=b9cafa88ada0a96f0faff6e7a5bb158d849d9819;hp=0cabe8160eb95a7e21e6c5c8be96c93343e73273;hpb=7fc5a02098950afee710773212a3ff2fa3a7a4ec;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/fixExtLinksProtocolRelative.php b/maintenance/fixExtLinksProtocolRelative.php index 0cabe8160e..2403ec68b4 100644 --- a/maintenance/fixExtLinksProtocolRelative.php +++ b/maintenance/fixExtLinksProtocolRelative.php @@ -19,11 +19,18 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * + * @file * @ingroup Maintenance */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once( __DIR__ . '/Maintenance.php' ); +/** + * Maintenance script that fixes any entriy for protocol-relative URLs + * in the externallinks table. + * + * @ingroup Maintenance + */ class FixExtLinksProtocolRelative extends LoggedUpdateMaintenance { public function __construct() { parent::__construct();