dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4f6eb2d
)
some double quotes
author
Antoine Musso
<hashar@users.mediawiki.org>
Sun, 30 Jan 2005 19:17:22 +0000
(19:17 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Sun, 30 Jan 2005 19:17:22 +0000
(19:17 +0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
567954b
..
8e4937f
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-625,7
+625,7
@@
function wfCheckLimits( $deflimit = 50, $optionname = 'rclimit' ) {
*/
function wfEscapeWikiText( $text ) {
$text = str_replace(
*/
function wfEscapeWikiText( $text ) {
$text = str_replace(
- array( '[', '|',
"'",
'ISBN ' , '://' , "\n=", '{{' ),
+ array( '[', '|',
'\'',
'ISBN ' , '://' , "\n=", '{{' ),
array( '[', '|', ''', 'ISBN ', '://' , "\n=", '{{' ),
htmlspecialchars($text) );
return $text;
array( '[', '|', ''', 'ISBN ', '://' , "\n=", '{{' ),
htmlspecialchars($text) );
return $text;
@@
-833,7
+833,7
@@
function wfHttpError( $code, $label, $desc ) {
# Don't send content if it's a HEAD request.
if( $_SERVER['REQUEST_METHOD'] == 'HEAD' ) {
header( 'Content-type: text/plain' );
# 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";
}
}
}
}
@@
-1042,7
+1042,7
@@
function wfTimestamp($outputtype=TS_UNIX,$ts=0) {
case TS_DB:
return gmdate( 'Y-m-d H:i:s', $uts );
case TS_RFC2822:
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.');
}
default:
wfDebugDieBacktrace( 'wfTimestamp() called with illegal output type.');
}