Index: trunk/extensions/Drafts/Drafts.classes.php |
— | — | @@ -281,8 +281,10 @@ |
282 | 282 | // Internationalization |
283 | 283 | wfLoadExtensionMessages( 'Drafts' ); |
284 | 284 | |
285 | | - // Add a special page summary |
286 | | - $wgOut->wrapWikiMsg( '<div class="mw-drafts-summary">$1</div>', array( 'drafts-view-summary', $wgLang->formatNum( $egDraftsLifeSpan ) ) ); |
| 285 | + // Add a summary, on Special:Drafts only |
| 286 | + if( !$title || $title->getNamespace() == NS_SPECIAL ) { |
| 287 | + $wgOut->wrapWikiMsg( '<div class="mw-drafts-summary">$1</div>', array( 'drafts-view-summary', $wgLang->formatNum( $egDraftsLifeSpan ) ) ); |
| 288 | + } |
287 | 289 | |
288 | 290 | // Build XML |
289 | 291 | $wgOut->addHTML( |