On 12/4/07, Charlotte Webb charlottethewebb@gmail.com wrote:
On 12/1/07, Tim Starling tstarling@wikimedia.org wrote:
List of pages with over 100 #ifexist calls (warning, large file):
For technical reasons, I didn't finish waiting for this page to load, but I did notice several repetitions of the urls for a relatively small number of templates. I suspect that a list filtered to exclude pages outside namespace 10 (and duplicate urls for that matter) would be more browser-friendly and closer to the source of the problem.
It seems to include random globs of binary data, like a big chunk of nulls from 0x5004 to 0x54D, another at 0x1100E to 0x117C5, etc. There's over a megabyte of them total in the 13 MB file when I wget it. (Maybe my downloads were corrupted, though.) But you have weirdness like:
enwiki: http://en.wikipedia.org/wiki/Template:Archive_box 137 enwiki: http://en.wikipedia.org/wiki/Template:Archive_box 1675 enwiki: http://en.wikipedia.org/wiki/Template:Archive_box 1775 enwiki: http://en.wikipedia.org/wiki/Template:Archive_box 259 enwiki: http://en.wikipedia.org/wiki/Template:Archive_box 359 enwiki: http://en.wikipedia.org/wiki/Template:Archive_box 475 enwiki: http://en.wikipedia.org/wiki/Template:Archive_box 575 enwiki: http://en.wikipedia.org/wiki/Template:Archive_box 859 enwiki: http://en.wikipedia.org/wiki/Template:Archive_box 959
which gives nine distinct {{#ifexist:}} counts for the same template -- and 859 total instances of it.
The same file with all nulls removed, restricted only to Template:, is under 100 KB. I've uploaded it here:
http://twcenter.net/~simetrical/ifexist-truncated.log
Of course I'm not sure what to make of some of the duplicates, but either way, things like Template:Archive_box need to be fixed, evidently. And probably a lot of the non-template pages too, that include multiple {{#ifexist:}} templates or that trigger paths not executed on direct view or whatever.