Page MenuHomePhabricator

Lua error: not enough memory in long Wiktionary entries
Closed, DuplicatePublic

Description

Wiktionary reports "Lua error: not enough memory" repeatedly towards the end of very long entries. Makes article unreadable.

Specific example: definition of "i" in Welsh https://en.wiktionary.org/wiki/i#Welsh

Typical occurrence: very long Wiktionary entries that you get for words that occur in a huge range of languages, such as "i". In languages near the end of the alphabet (such as Welsh or Zulu) that occur at the end of the article.

Platforms: I have observed the same error on Avast (PC), Firefox (PC), Opera (Android) so I suspect it is not platform dependent.

Parameters that alter behaviour: none that I have found.

Duration: I have observed this for several months.

Event Timeline

Hi @DaibhidhR, thanks for taking the time to report this and welcome to Wikimedia Phabricator!

Removing All-and-every-Wiktionary tag as per its description.

I am afraid that this needs to be fixed on-wiki in the Lua module. See T165935 and T99120 for previous examples.

I'm marking this as a duplicate of T165935.

At the debugging (not: fixing) level, T188492 might also help a bit here if anyone wanted to work on this.