Page MenuHomePhabricator

Temp to check if the section exists cause "Pages transcluding nonexistent sections"
Open, Needs TriagePublic

Description

What the way you suggest now to check if a section is exists (like the parser function "#exists:")?

Untill now we used on the Hebrew Wikisource a template for this purpose, that contain the idea of

{{#if:{{#lst:articleX|chapter1}}|{{#lst:articleX|chapter1}}|}}

but now we have 53,000 pages and 16,000 categories on "category:Pages transcluding nonexistent sections". Is there any advice or a build-in solution, how to check it without the problem?

Event Timeline

Hi @Shalomori123. This does not sound like something is wrong in the code base (a so-called "software bug"), but instead like a support request (how to change settings, questions how to do something, etc.).
As Wikimedia Phabricator is for bug reports, enhancement requests, and planning work, please check https://www.mediawiki.org/wiki/Communication and/or use https://meta.wikimedia.org/wiki/Tech for questions about Wikimedia wikis. Thanks for your understanding!

Pppery added a subscriber: Pppery.

I'm reopening this as it seems like a valid feature request to me - there should be a way to check whether a section exists without populating a tracking category if it doesn't, and there isn't (other than hacks like this).