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:
c940467
)
Add consistent classes for the common UI elements userlinks and usertoollinks per...
author
Raimond Spekking
<raymond@users.mediawiki.org>
Fri, 14 Nov 2008 21:28:30 +0000
(21:28 +0000)
committer
Raimond Spekking
<raymond@users.mediawiki.org>
Fri, 14 Nov 2008 21:28:30 +0000
(21:28 +0000)
includes/Linker.php
patch
|
blob
|
history
diff --git
a/includes/Linker.php
b/includes/Linker.php
index
c48ed2d
..
e07eb75
100644
(file)
--- a/
includes/Linker.php
+++ b/
includes/Linker.php
@@
-1047,7
+1047,7
@@
class Linker {
} else {
$page = Title::makeTitle( NS_USER, $userText );
}
- return $this->link( $page, htmlspecialchars( $userText ) );
+ return $this->link( $page, htmlspecialchars( $userText )
, array( 'class' => 'mw-userlink' )
);
}
/**
@@
-1087,7
+1087,7
@@
class Linker {
}
if( $items ) {
- return '
(' . implode( ' | ', $items ) . ')
';
+ return '
<span class="mw-usertoollinks">(' . implode( ' | ', $items ) . ')</span>
';
} else {
return '';
}