r111478 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111477‎ | r111478 | r111479 >
Date:20:20, 14 February 2012
Author:hashar
Status:ok
Tags:
Comment:
enable purge of HTTPS URLs
Modified paths:
  • /trunk/phase3/maintenance/purgeList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/purgeList.php
@@ -47,7 +47,7 @@
4848
4949 while ( !feof( $stdin ) ) {
5050 $page = trim( fgets( $stdin ) );
51 - if ( substr( $page, 0, 7 ) == 'http://' ) {
 51+ if ( preg_match( '%^https?://%', $page ) ) {
5252 $urls[] = $page;
5353 } elseif ( $page !== '' ) {
5454 $title = Title::newFromText( $page );

Follow-up revisions

RevisionCommit summaryAuthorDate
r111480MFT to 1.18wmf r111478...hashar20:23, 14 February 2012
r111483MFT to 1.19wmf1: r111478...hashar20:32, 14 February 2012
r111770MFT r111478, r111571, r111574, r111597, r111658reedy18:15, 17 February 2012

Status & tagging log