r52970 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52969‎ | r52970 | r52971 >
Date:11:39, 9 July 2009
Author:ialex
Status:deferred
Tags:
Comment:
call setHeaders() and outputHeader() to set page's title
Modified paths:
  • /trunk/extensions/UserOptionStats/SpecialUserOptionStats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UserOptionStats/SpecialUserOptionStats.php
@@ -21,6 +21,10 @@
2222 global $wgRequest, $wgUser, $wgOut, $wgLang, $wgAutoloadClasses;
2323
2424 wfLoadExtensionMessages( 'UserOptionStats' );
 25+
 26+ $this->setHeaders();
 27+ $this->outputHeader();
 28+
2529 if ( !class_exists( 'PHPlot' ) && !isset($wgAutoloadClasses['PHPlot'] ) ) {
2630 $wgOut->addWikiMsg( 'uos-warn' );
2731 return;

Status & tagging log