*/
function wfEscapeWikiText( $text ) {
$text = str_replace(
- array( '[', '|', "'", 'ISBN ' , '://' , "\n=", '{{' ),
+ array( '[', '|', '\'', 'ISBN ' , '://' , "\n=", '{{' ),
array( '[', '|', ''', 'ISBN ', '://' , "\n=", '{{' ),
htmlspecialchars($text) );
return $text;
# Don't send content if it's a HEAD request.
if( $_SERVER['REQUEST_METHOD'] == 'HEAD' ) {
header( 'Content-type: text/plain' );
- print "$desc\n";
+ print $desc."\n";
}
}
case TS_DB:
return gmdate( 'Y-m-d H:i:s', $uts );
case TS_RFC2822:
- return gmdate( "D, d M Y H:i:s", $uts ) . ' GMT';
+ return gmdate( 'D, d M Y H:i:s', $uts ) . ' GMT';
default:
wfDebugDieBacktrace( 'wfTimestamp() called with illegal output type.');
}