https://bugzilla.wikimedia.org/show_bug.cgi?id=30854
--- Comment #4 from Niklas Laxström <[email protected]> 2011-09-11 18:00:09 UTC --- Which revision is this? I don't understand how the current code would return non-array: ["params"]=> string(36) "Stunde der Wahrheit (One Tree Hill) " ["legacy"]=> bool(false) The relevant code is here: public function getParameters() { if ( !isset( $this->params ) ) { $blob = $this->getRawParameters(); wfSuppressWarnings(); $params = unserialize( $blob ); wfRestoreWarnings(); if ( $params !== false ) { $this->params = $params; $this->legacy = false; } else { $params = FormatJson::decode( $blob, true /* array */ ); if ( $params !== null ) { $this->params = $params; $this->legacy = false; } else { $this->params = $blob === '' ? array() : explode( "\n", $blob ); $this->legacy = true; } } } return $this->params; } -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
