Memory Alpha
Memory Alpha
m (thanks!)
No edit summary
Line 32: Line 32:
   
 
Thanks for your help, Sparkla! -- [[User:Renegade54|Renegade54]] 03:17, 23 March 2007 (UTC)
 
Thanks for your help, Sparkla! -- [[User:Renegade54|Renegade54]] 03:17, 23 March 2007 (UTC)
  +
  +
:Well, it's been increased, but it might not be enough. Kirk's page now says:
  +
Pre-expand include size: 3145683 bytes
  +
Post-expand include size: 453028 bytes
  +
Template argument size: 346428 bytes
  +
Maximum: 3145728 bytes
  +
:However, I don't know what to look for. Still broken? --[[w:User:Splarka|Splarka]] <small>([[w:User_talk:Splarka|talk]])</small> 11:09, 23 March 2007 (UTC)

Revision as of 11:09, 23 March 2007

Forums ForumsTen Forward → Film and show template bugs (replywatch)


There appears to be a problem/bug with the TNG, DS9 and film templates at the Worf article starting at Worf#Deanna_Troi and going on through the page from that point. I've looked at the code and everything seems to be in order, but the episode names aren't showing up. I don't know if this is related to the upgrade, but the templates themselves do not appear to have been changed recently either. —Scott (talk) 01:48, 21 March 2007 (UTC)

Yikes. If you edit the section and preview, all the refs look right. This is definitely a bug in the software caused by too many template calls. Really strange behavior. --Bp 02:18, 21 March 2007 (UTC)
See Wikipedia:Wikipedia:Template_limits. It is not a bug, it is a feature. --Splarka (talk) 00:55, 22 March 2007 (UTC)
So the fact that it worked pre-upgrade suggests that it was something never mentioned as a side-effect of the upgrade? Ergo, it's a bug. :) -- Sulfur 01:08, 22 March 2007 (UTC)
The fact that it makes the servers not die as much means it is a feature. r16015 --Splarka (talk) 01:18, 22 March 2007 (UTC)

Well, I've read the discussions over at Wikipedia on the topic, and I understand what the limit is attempting to do (or prevent), but from our perspective, it breaks a bunch of our larger pages. Because we heavily cite article text, and because the citations are inline, and because the citations are accomplished via templates, for long articles we have many citations (i.e. many repeats of the same template), resulting in a lot of transcluded text. This is not a simple change here... we're talking about a total rethinking and redesign of the site to get around this. Not a pleasant thought to contemplate. -- Renegade54 01:36, 22 March 2007 (UTC)

Well, unfortunately as the software grows, it gets a bit more sensitive to excessive things like extreme transclusions. Wikimedia was shut down completely by some 20-second templates on 20,000 pages, on two of the obscure sub-wikis (italian or spanish wikipedias, I think). Looking at the Worf page source we see:
Pre-expand include size: 2096716 bytes
Post-expand include size: 282184 bytes
Template argument size: 215294 bytes
Maximum: 2097152 bytes
So the current limit Wikia has set is 2 megabytes. It is very probably possible and likely easy to set this to a higher number for you (as well as any other projects that complain), but it should be a reasonable number and not 'infinity plus one' ^_^. So the question is: how much is needed for Worf not to be grumpy? --Splarka (talk) 04:29, 22 March 2007 (UTC)

Worf is one of the larger pages, the second longest to be exact, with James T. Kirk being the longest. Looking at the source for Kirk's page, the size is a bit bigger than Worf's:

Pre-expand include size: 2097004 bytes
Post-expand include size: 302657 bytes
Template argument size: 228225 bytes
Maximum: 2097152 bytes

It appears the the longest 8 or 10 pages are currently affected by this. If I'm reading the output above correctly, it would seem that a 2.5 Mb limit would do the trick for us as things stand now and leave a bit of room for growth for the longer articles (but might need expanding in future). A 3 Mb limit should suffice for the foreseeable future. Thoughts? -- Renegade54 14:13, 22 March 2007 (UTC)

Okay, I've asked them to do that. Give it a day or three (very busy week as you can guess). --Splarka (talk) 22:46, 22 March 2007 (UTC)
$wgMaxArticleSize = 3072

Thanks for your help, Sparkla! -- Renegade54 03:17, 23 March 2007 (UTC)

Well, it's been increased, but it might not be enough. Kirk's page now says:
Pre-expand include size: 3145683 bytes
Post-expand include size: 453028 bytes
Template argument size: 346428 bytes
Maximum: 3145728 bytes
However, I don't know what to look for. Still broken? --Splarka (talk) 11:09, 23 March 2007 (UTC)