Page MenuHomePhabricator

$egArraysExpansionEscapeTemplates incorrectly initialized as array of arrays in 1.33.1 (due to incompatible syntax in extension.json?)
Closed, ResolvedPublic

Description

According to an anon on MW.org, Ext:Arrays doesn't work with MediaWiki 1.33.1; see 1 and 2.

$egArraysExpansionEscapeTemplates isn't initialized correctly so that it ends up (somehow) as an array of arrays instead of an associative array. Compare the two print_r outputs. This is likely because it's initialized in the extension.json file with incompatible syntax.

Incorrect: Array ( [0] => Array ( [=] => {{=}} ) [1] => Array ( [|] => {{!}} ) [2] => Array ( [{{] => {{((}} ) [3] => Array ( [}}] => {{))}} ) )

Correct: Array ( [=] => {{=}} [|] => {{!}} [{{] => {{((}} [}}] => {{))}} )

Event Timeline

Aklapper changed the task status from Open to Stalled.Dec 8 2019, 4:20 PM

@Dinoguy1000: Please provide specific and clear information in this task. "doesn't work" is way too vague. Also see https://www.mediawiki.org/wiki/How_to_report_a_bug - thanks!

@Aklapper Unfortunately this isn't a problem I encountered myself; it was originally reported by an IP editor on MediaWiki.org (see the links in the task description). I don't understand the description they gave enough to summarize it accurately, short of just copying what they said verbatim.

Aklapper renamed this task from Arrays doesn't work in MediaWiki 1.33.1 (?) to $egArraysExpansionEscapeTemplates incorrectly initialized as array of arrays in 1.33.1 (due to incompatible syntax in extension.json?).Dec 8 2019, 5:09 PM
Aklapper updated the task description. (Show Details)

@Dinoguy1000: Then please copy relevant information into a task - thanks :)

Aklapper changed the task status from Stalled to Open.Dec 8 2019, 5:13 PM