dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
85af608
)
Merge "don't overwrite $item['single-id'] in makeListItem in SkinTemplate"
author
IAlex
<ialex.wiki@gmail.com>
Sun, 21 Oct 2012 12:54:28 +0000
(12:54 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sun, 21 Oct 2012 12:54:28 +0000
(12:54 +0000)
includes/SkinTemplate.php
patch
|
blob
|
history
diff --git
a/includes/SkinTemplate.php
b/includes/SkinTemplate.php
index
b8b1654
..
5a32d47
100644
(file)
--- a/
includes/SkinTemplate.php
+++ b/
includes/SkinTemplate.php
@@
-1750,7
+1750,7
@@
abstract class BaseTemplate extends QuickTemplate {
foreach ( array( 'id', 'class', 'active', 'tag' ) as $k ) {
unset( $link[$k] );
}
- if ( isset( $item['id'] ) ) {
+ if ( isset( $item['id'] )
&& !isset( $item['single-id'] )
) {
// The id goes on the <li> not on the <a> for single links
// but makeSidebarLink still needs to know what id to use when
// generating tooltips and accesskeys.