Pages queried with {{PAGESIZE:...}} show up in the "templates transcluded on this page" list below the edit window
Open, LowPublic



Which is inevitable, really, given that the parser function adds links to the templatelinks table to ensure cache integrity. Nonetheless, they're *not* templates, they're *not* transcluded, and they *shouldn't* appear below the edit window.

I have a nasty feeling that this is not solvable without a complete overhaul of the way functions like this and #ifexist: handle cache coherence, or at least an extra field to allow these additions to be marked as 'silent' or some such. Both will probably require a schema change; marking as such.

Related: bug15735, bug12019 - same issue for #ifexist:

Version: 1.15.x
Severity: minor


bzimport set Reference to bz18188.
bzimport added a subscriber: Unknown Object (MLST).

davidg wrote:

I came here today to report the same thing, but saw it has already been reported. This is especially confusing when editing a page that contains a template that in turn uses {{PAGESIZE:}}, since then it is hard to find out what is causing it. And {{PAGESIZE:}} is probably mostly used in templates, so that is the normal case.

Today I added two {{PAGESIZE:}} calls to a sub-template of {{documentation}} on enwp. I use those two calls for debug purposes to detect and report some faulty usage. I am checking if there exist two talk subpages larger than 200 bytes, too large to just be redirects, and report it to a category so we can remove those talkpages. But now we see red links to the two talkpages below the edit window when editing most templates on the English Wikipedia that use the green /doc boxes. That might result in people clicking those redlinks and creating those talkpages. Exactly what I don't want to happen... Fortunately in this case I only need to use the {{PAGESIZE:}} calls for some days, since I only use them for a debug run. But if I needed to use {{PAGESIZE:}} for a long time, then it would be a bigger problem.

  • Bug 32780 has been marked as a duplicate of this bug. ***

(In reply to comment #2)

  • Bug 32780 has been marked as a duplicate of this bug. ***

From that bug, here is a real example:

That page should display only [[Template:artigo6]] in the list.

For the current page you can use {{REVISIONSIZE}}, was added with gerrit 82650.

The template links is needed to refresh the page on change, see also bug 12019

Add Comment