Remove the warning suppression entirely; if you're seeing any warnings come up here it's probably because you forgot an isset() :) Please find and fix any such items.
* Outputs the entire contents of the XHTML page
*/
public function execute() {
* Outputs the entire contents of the XHTML page
*/
public function execute() {
- global $wgRequest, $wgOut, $wgContLang, $wgDevelopmentWarnings;
+ global $wgRequest, $wgOut, $wgContLang;
$this->skin = $this->data['skin'];
$action = $wgRequest->getText( 'action' );
$this->skin = $this->data['skin'];
$action = $wgRequest->getText( 'action' );
- // Suppress warnings to prevent notices about missing indexes in
- // $this->data (is this really the best way to handle this?)
- $wgDevelopmentWarnings && wfSuppressWarnings();
-
// Build additional attributes for navigation urls
$nav = $this->skin->buildNavigationUrls();
foreach ( $nav as $section => $links ) {
// Build additional attributes for navigation urls
$nav = $this->skin->buildNavigationUrls();
foreach ( $nav as $section => $links ) {
- // We're done with abusing arrays now...
- $wgDevelopmentWarnings && wfRestoreWarnings();