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

Re: Template limits and server loads

From: PhistucK <phistuck@gmail.com>
Date: Sun, 4 Nov 2012 09:06:38 +0200
Message-ID: <CABc02_+KKBuC9Z2maimd=Nbk74enikbaikPE5QserwhxOHYrUg@mail.gmail.com>
To: Taylor Costello <nottaylorcostello@gmail.com>
Cc: public-webplatform@w3.org
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
> 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 at 1:29 PM, PhistucK <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 at 8:20 PM, Taylor Costello <
>> 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 07:07:45 UTC

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