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



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 added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz18188.
bzimport created this task.Via LegacyMar 26 2009, 11:07 PM
bzimport added a comment.Via ConduitFeb 12 2010, 12:38 AM

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.

duplicatebug added a comment.Via ConduitDec 4 2011, 10:16 AM
  • Bug 32780 has been marked as a duplicate of this bug. ***
He7d3r added a comment.Via ConduitDec 4 2011, 10:27 AM

(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.

Umherirrender added a comment.Via ConduitSep 21 2013, 12:12 PM

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

Umherirrender removed a subscriber: Umherirrender.Via WebFeb 24 2015, 7:43 PM

Add Comment