r25337 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25336‎ | r25337 | r25338 >
Date:04:48, 31 August 2007
Author:simetrical
Status:old
Tags:
Comment:
Debug code, gah.
Modified paths:
  • /trunk/phase3/includes/Sanitizer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Sanitizer.php
@@ -798,8 +798,6 @@
799799 $id = urlencode( Sanitizer::decodeCharReferences( strtr( $id, ' ', '_' ) ) );
800800 $id = str_replace( array_keys( $replace ), array_values( $replace ), $id );
801801
802 - echo "flags = $flags, ~flags & Sanitizer::INITIAL_NONLETTER = ".(~$flags&Sanitizer::INITIAL_NONLETTER).", id=$id\n";
803 -
804802 if( ~$flags & Sanitizer::INITIAL_NONLETTER
805803 && !preg_match( '/[a-zA-Z]/', $id[0] ) ) {
806804 // Initial character must be a letter!

Follow-up revisions

RevisionCommit summaryAuthorDate
r25338Merged revisions 25303-25337 via svnmerge from...david04:55, 31 August 2007

Status & tagging log