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:
fbc9303
)
bug fix
author
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 10 Jul 2004 01:09:36 +0000
(
01:09
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 10 Jul 2004 01:09:36 +0000
(
01:09
+0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
52b027a
..
04ff9c1
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-460,10
+460,10
@@
htmlspecialchars( $wgLang->recodeForEdit( $this->textbox1 ) ) .
$reason = $wgUser->blockedFor();
$ip = $wgIP;
- if ( is_string( $id ) ) {
- $name = $id;
- } else {
+ if ( is_numeric( $id ) ) {
$name = User::whoIs( $id );
+ } else {
+ $name = $id;
}
$link = "[[" . $wgLang->getNsText( Namespace::getUser() ) .
":{$name}|{$name}]]";