Module talk:WikiProject banner/Archive 4: Difference between revisions

Content deleted Content added
AnomieBOT (talk | contribs)
Line 346:
Template:WikiProject United States/class] and look at the bottom of the opened "edit" page. Just wondering! --[[User:Funandtrvl|Funandtrvl]] ([[User talk:Funandtrvl|talk]]) 22:42, 26 March 2009 (UTC)
:Hmn, this is interesting. This is a result of my recent change to how the template looks for custom masks (see [[#Please pass parameters FQS and B CHECKLIST on to custom overrides of WPBannerMeta.2Fclass|above]]). I changed from using the <tt><nowiki>{{#ifexist:...}}</nowiki></tt> parser function to using <tt><nowiki>{{PAGESIZE:...}}</nowiki></tt>, which returns zero if the page is either blank ''or'' doesn't exist. Both do a database lookup, and so both add a link to one of the links tables to ensure cache integrity etc. This is why if I put the code <tt><nowiki>{{#ifexist:Foo}}</nowiki></tt> on this page, then this page shows up in [[Special:WhatLinksHere/Foo]]. It seems that the PAGESIZE: function adds tracker links to the ''templatelinks'' table rather than the ''pagelinks'' table (which is used to create WhatLinksHere); presumably this is because when the target page is edited, its size will change, so all pages querying that value will need to be updated, in much the same way as pages transcluding the target need to be updated. Nonetheless, it's a MediaWiki bug that the page is listed as a "template transcluded onto this page" when in fact it is nothing of the sort. I'll file it as a bug, but I suspect it will be a Big Thing To Fix, might even require a schema change, so don't hold your breath. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 22:57, 26 March 2009 (UTC)
:Filed, {{bugphab|1818820188}}. <font color="forestgreen">[[User:Happy-melon|'''Happy''']]</font>‑<font color="darkorange">[[User talk:Happy-melon|'''melon''']]</font> 23:07, 26 March 2009 (UTC)
::Oh-oh, see what you did and look what I started!! :) Thanks --[[User:Funandtrvl|Funandtrvl]] ([[User talk:Funandtrvl|talk]]) 00:32, 27 March 2009 (UTC)
:::Actually, I think I'm the guilty party here ;) [[User:Tothwolf|Tothwolf]] ([[User talk:Tothwolf|talk]]) 00:49, 27 March 2009 (UTC)