Topic on Extension talk:Arrays

arrayprint prints "Array" (Part II)

7
Summary by Dinoguy1000

Individual wikis can fix this by applying the changes listed here.

Revansx (talkcontribs)

MW 1.34 + Arrays 2.2.0 (40737de)

Converted to 1.34 and seeing the "array prints "Array" issue [1] already documented.

I understand that it can be addressed one of two ways:

  1. Add $egArraysCompatibilityMode = true; in LocalSettings, or
  2. Update uses to conform to the new implementation standard.

I'm perfectly happy to update my wikitext to conform to the new array coding standard, but it's not clear to me what changes I need to make. The examples provided in Extension:Arrays hasn't changes that I can tell, only the way the extension processes the array values. Where's the in-wiki issue?

Please, what is the "in wiki" change I need to make to allow Arrays to handle my data as it previously did?

Thanks!

/Rich Revansx (talk) 12:51, 23 September 2020 (UTC)

[1] Topic:Vmucn50w8yy30mmp

Revansx (talkcontribs)

In the meantime I have put the extension into compatibility mode and indeed, all seems well.

Dinoguy1000 (talkcontribs)

No change should be required, this is purely an extension-side bug. See phab:T245134.

Revansx (talkcontribs)

Is this already solved in MW 1.35 by chance?

Dinoguy1000 (talkcontribs)

I don't think so; my understanding is that this has to be fixed in the extension, not in MediaWiki (though I could be wrong).

MarkAHershberger (talkcontribs)

You can fix this by editing the extension.json as shown here.

Megajoule (talkcontribs)

Thanks a lot! The provided patch works very well for me!

Reply to "arrayprint prints "Array" (Part II)"