Index: trunk/phase3/includes/specials/SpecialWhatlinkshere.php |
— | — | @@ -239,7 +239,7 @@ |
240 | 240 | $wgOut->addHTML( $prevnext ); |
241 | 241 | } |
242 | 242 | |
243 | | - $wgOut->addHTML( $this->listStart() ); |
| 243 | + $wgOut->addHTML( $this->listStart( $level ) ); |
244 | 244 | foreach ( $rows as $row ) { |
245 | 245 | $nt = Title::makeTitle( $row->page_namespace, $row->page_title ); |
246 | 246 | |
— | — | @@ -259,8 +259,8 @@ |
260 | 260 | } |
261 | 261 | } |
262 | 262 | |
263 | | - protected function listStart() { |
264 | | - return Xml::openElement( 'ul', array ( 'id' => 'mw-whatlinkshere-list' ) ); |
| 263 | + protected function listStart( $level ) { |
| 264 | + return Xml::openElement( 'ul', ( $level ? array() : array( 'id' => 'mw-whatlinkshere-list' ) ) ); |
265 | 265 | } |
266 | 266 | |
267 | 267 | protected function listItem( $row, $nt, $notClose = false ) { |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -145,6 +145,7 @@ |
146 | 146 | * (bug 24650) Fix API to work with categorylinks changes |
147 | 147 | * Expose list of skins in meta=siteinfo |
148 | 148 | * (bug 26548) Add iiurlparam param to query=imageinfo and query=stashimageinfo |
| 149 | +* (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs |
149 | 150 | |
150 | 151 | === Languages updated in 1.18 === |
151 | 152 | |