Page MenuHomePhabricator

Translate Extension - SpecialPages -TypeError: Illegal offset type
Closed, ResolvedPublic4 Estimated Story PointsBUG REPORT

Description

Hi! I'm trying to make my site multilingual and add capability for user translation, however Special:SpecialPages doesn't work when the Translate Extension is turned on. Any help understanding why this is happening would be much appreciated!

Steps to replicate the issue (include links if applicable):

What happens?:

/index.php?title=Special:SpecialPages TypeError: Illegal offset type
Backtrace: from: /includes/specials/SpecialSpecialpages.php(70)
#0 SpecialSpecialpages->getPageGroups()
 #1 SpecialSpecialpages->execute()
#2 SpecialPage->run()
 #3 MediaWiki\SpecialPage\SpecialPageFactory->executePath()
 #4 MediaWiki->performRequest()
#5 MediaWiki->main()
 #6 MediaWiki->run()
 #7 wfIndexMain()
 #8 {main}

Can also see on link above

Software version (skip for WMF-hosted wikis like Wikipedia):

Media Wiki 1.40.1

Other information (browser name/version, screenshots, etc.):

Version 113.0.5672.59 (Official Build) Built on Raspbian , running on Raspbian 11 (32-bit) on Raspberry Pi 400

Event Timeline

Thank you Nikerabbit! So the fix is to either update to 1.41 (which as far as I can see isn't possible yet) or to upload an older version of Translate Extension?

MLEB 2023.07 should work fine while we figure out a fix for this issue.

Reverted to the version in MLED 2023.07 and bug is resolved. Thank you!

Change 977591 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] Return string from SpecialPage::getDescription for MW < 1.41

https://gerrit.wikimedia.org/r/977591

abi_ triaged this task as High priority.
abi_ set the point value for this task to 4.

Change 977591 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Return string from SpecialPage::getDescription for MW < 1.41

https://gerrit.wikimedia.org/r/977591

I'm sorry about that, and thank you for fixing it.

Change 978024 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@2023.12] Return string from SpecialPage::getDescription for MW < 1.41

https://gerrit.wikimedia.org/r/978024

Change 978613 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[translatewiki@master] melange: Update configuration for MLEB 2023.12 bug fix release

https://gerrit.wikimedia.org/r/978613

Change 978024 merged by jenkins-bot:

[mediawiki/extensions/Translate@2023.12] Return string from SpecialPage::getDescription for MW < 1.41

https://gerrit.wikimedia.org/r/978024

Change 978613 merged by jenkins-bot:

[translatewiki@master] melange: Update configuration for MLEB 2023.12 bug fix release

https://gerrit.wikimedia.org/r/978613

Change 979290 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/CleanChanges@master] Bump version for MLEB 2023.12 bug-fix release

https://gerrit.wikimedia.org/r/979290

Change 979294 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] Bump version for MLEB 2023.12 bug-fix release

https://gerrit.wikimedia.org/r/979294

Change 979295 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/UniversalLanguageSelector@master] Bump version for MLEB 2023.12 bug-fix release

https://gerrit.wikimedia.org/r/979295

Change 979209 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/CleanChanges@2023.12] Bump version for MLEB 2023.12 bug-fix release

https://gerrit.wikimedia.org/r/979209

Change 979209 abandoned by Abijeet Patro:

[mediawiki/extensions/CleanChanges@2023.12] Bump version for MLEB 2023.12 bug-fix release

Reason:

Will manually make the change in the target branch

https://gerrit.wikimedia.org/r/979209

Change 979210 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@2023.12] Bump version for MLEB 2023.12 bug-fix release

https://gerrit.wikimedia.org/r/979210

Change 979211 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/CleanChanges@2023.12] Bump version for MLEB 2023.12 bug-fix release

https://gerrit.wikimedia.org/r/979211

Change 979213 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/UniversalLanguageSelector@2023.12] Bump version for MLEB 2023.12 bug-fix release

https://gerrit.wikimedia.org/r/979213

Change 979210 merged by jenkins-bot:

[mediawiki/extensions/Translate@2023.12] Bump version for MLEB 2023.12 bug-fix release

https://gerrit.wikimedia.org/r/979210

Change 979211 merged by jenkins-bot:

[mediawiki/extensions/CleanChanges@2023.12] Bump version for MLEB 2023.12 bug-fix release

https://gerrit.wikimedia.org/r/979211

Change 979213 merged by jenkins-bot:

[mediawiki/extensions/UniversalLanguageSelector@2023.12] Bump version for MLEB 2023.12 bug-fix release

https://gerrit.wikimedia.org/r/979213

Change 979295 merged by jenkins-bot:

[mediawiki/extensions/UniversalLanguageSelector@master] Bump version for MLEB 2023.12 bug-fix release

https://gerrit.wikimedia.org/r/979295

Change 979290 merged by jenkins-bot:

[mediawiki/extensions/CleanChanges@master] Bump version for MLEB 2023.12 bug-fix release

https://gerrit.wikimedia.org/r/979290

Change 979294 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Bump version for MLEB 2023.12 bug-fix release

https://gerrit.wikimedia.org/r/979294