W3C home > Mailing lists > Public > public-webplatform@w3.org > November 2012

Re: Template limits and server loads

From: frozenice <frozenice@frozenice.de>
Date: Sun, 04 Nov 2012 12:05:00 +0100
Message-ID: <50964BDC.1010201@frozenice.de>
To: public-webplatform@w3.org
What Taylor means by "on pages" is that metatemplates (like {{!}}) are used in normal article text, additionally to their intented use as template parameter values.

Using them in normal text is, of course, not necessary and thus creates superfluous server load and pushes pages towards template limits.

You can't avoid using them in template parameters, tmk. I don't know exactly what the limits on parameter values are, I'll hand it back to Taylor from here. ;)

On 04.11.2012 08:06, PhistucK wrote:
> I think I was unclear. "Template value" is probably what you call "on pages".
>
> For example -
> {{Notes_Section
> |Import_Notes=
> {{{!}} class="wikitable"
> {{!}}-
> !Property
> !Description
> {{!}}-
> {{!}}[[dom/properties/constructor|'''constructor''']]
> {{!}}Returns a reference to the constructor of an object.
> {{!}}}
> }}
>
> The red text (the value of Import_Notes) is a "template value".
> Sometimes, there are huge tables. Is that fine?
>
> ☆*PhistucK*
>
>
>
> On Sun, Nov 4, 2012 at 1:56 AM, Taylor Costello <nottaylorcostello@gmail.com <mailto:nottaylorcostello@gmail.com>> wrote:
>
>     Yeah, the huge issue isn't putting it on the templates, it's being used a lot on pages which will be a problem later. I realize there is no way around it in templates often but
>     on pages it will become a problem due to the limits. You don't want to put metatemplates on pages unless it's absolutely necessary for this reason. ;;
>
>
>     On Fri, Nov 2, 2012 <tel:2012> at 1:29 PM, PhistucK <phistuck@gmail.com <mailto:phistuck@gmail.com>> wrote:
>
>         Every template value that features a table is going to use lots of instances of this template.
>         This might be a bug in MediaWiki, or intentional behavior, but this is how it is.
>
>         ☆*PhistucK*
>
>
>
>         On Wed, Oct 31, 2012 <tel:2012> at 8:20 PM, Taylor Costello <nottaylorcostello@gmail.com <mailto:nottaylorcostello@gmail.com>> wrote:
>
>             Hi everyone!
>
>             I've noticed on some pages, people are using Template:! when they don't need to. Please keep in mind that if you don't need to use the piping template, then don't, it's
>             usually only needed if the coding is clashing with the wiki markup, otherwise just using wiki markup should work fine. Try testing wiki markup before resorting to the
>             template (by using the preview button). Most wikis have template limits, and once you go over them, any page with Template:! on it is going to break and be sorted into
>             a bad category via MediaWiki, it also goops up the servers and causes a very heavy load.
>
>             Of course, if our wiki (Docs) has no template limits, this doesn't really matter, but using a template when you don't need to still causes a lot of unnecessary load.
>
>             *Try wiki markup first, use work-around templates second.*
>
>
>
>



Received on Sunday, 4 November 2012 11:05:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:57:35 UTC