Talk:List of villages in Rivne Oblast

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Too many expensive parser functions is breaking this page[edit]

Resolved

In this list, calls like *{{ill|Vychivka|uk|Вичівка}} result in an "expensive parser function." I haven't figured out the root cause, but I have determined that changing the lines to *{{ill|Vychivka{{!}}Vychivka|uk|Вичівка}} by simply repeating the name of the English-language page will eliminate the expensive parser function.

However, there may be good reasons NOT to do this, besides the obvious one of it being confusing to editors, causing many to say "Huh, this looks dumb, let me take out the redundant {{!}}..." then we are back where we started.

Any ideas on how to fix this correctly?

One "safe" way to do it is to split the article into multiple pages.

See Template:Interlanguage link, Category:Pages with too many expensive parser function calls, and this list of articles in that category. davidwr/(talk)/(contribs) 17:14, 14 August 2020 (UTC)[reply]

Update: Per Template:Interlanguage_link/doc#Modifying_the_display, the use of {{!}} to force a redirect breaks the template, so I changed all occurrences to |lt=. This means every call to this template will generate an expensive parser function call, raising the number to close to 1000. The fix is either to split the article or re-write {{interlanguage link}} so it doesn't call #ifexists if |display=1 or an equivalent parameter is used, then add |display=1 to all entries in this list. I recommend adding it to all entries because people who visit this list may want to go to the Ukrainian page directly, without having to go to the English page first where the English page exists. davidwr/(talk)/(contribs) 15:20, 15 August 2020 (UTC)[reply]
Update: I have requested a change to the underlying template at Template talk:Interlanguage link#Edit request to reduce expensive parser function calls. If the change is accepted, adding |display=1 to each entry should make the problem disappear. davidwr/(talk)/(contribs) 20:56, 15 August 2020 (UTC)[reply]
Fixed by changing {{Interlanguage link}} which {{ill}} is a redirect to, then adding |display=1 to all uses. davidwr/(talk)/(contribs) 01:16, 16 August 2020 (UTC)[reply]