Content deleted Content added
→New parser verified for 80x more template code: new subtopic |
m Maintain {{WPBS}}: 2 WikiProject templates. Create {{WPBS}}. Tag: |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 1:
{{WikiProject banner shell|
{{WikiProject Canada|geography=yes}}
{{WikiProject Maps}}
}}
==Created==
''06-Nov-2007:'' The file "[[Template:Location map CanadaTerrain]]" was created November 6, 2007, to allow placing markers over similar terrain maps of [[Canada]]. It was created for using the new mapping procedure [[Template:Location_map_polarx]], which can position markers/labels at coordinates skewed to match locations on polar-projection maps. An example using that new template is included to show markers placed on the terrain map of Canada. -[[User:Wikid77|Wikid77]] 20:15, 6 November 2007 (UTC)
==Split as minimal==
''08-Nov-2007:'' I have split the template description text into a doc file, leaving only a minimal list of settings in the original template. After months of fighting horrific template-resource limits, with templates going wiki-spazoid, I finally discovered the horrific problems of limited templates <s>were</s> were formerly caused by the large "nonincluded" text sections of the map-definition templates. Chock up another nightmare to the wikispastic "<noinclude>" tag, another peculiar child of the
Unlike a sane programming language (which might report, "Language stack full, ignoring nested expressions..."), the MediaWiki
Well, imagine that: hundreds of wasted hours, and another reason that people abandon efforts to improve Wikipedia. -[[User:Wikid77|Wikid77]] 07:54, 8 November 2007 (UTC)
: ''10-Feb-2008:'' In January 2008, new MediaWiki software was installed which vastly raised the limits (see below). -[[User:Wikid77|Wikid77]] ([[User talk:Wikid77|talk]]) 18:41, 10 February 2008 (UTC)
In January 2008, the MediaWiki software was quietly revolutionized to use a new parser that bypassed unused template coding (such as in conditional false branches) and skipped template-expansion in the bypassed sections. The new parser could process nested templates over 112 times larger than in November 2007.
: Feb.10, 2008, I ran temporary tests with "[[Template:Location map CanadaTerrain]]" by repeating the Examples section 14 times as 42 examples using "Location_map_polarx" (28 times) and "Location_map_many_polarx" (14 times). Those 42 examples contained 10,108 uses of "Location_map_CanadaTerrain" as 10,108= 14 * (206+206+310) calls/transclusions. Meanwhile Location_map_CanadaTerrain was stuffed as 4620b with block-text (beyond the former limit of 1.5kb) to verify that noinclude-sections are skipped by the new parser. The gargantuan total result was over 46 MEGABYTES of nested templates, and all 42 examples displayed their Canada maps with no problems: all 46MB+ of template code was processed with no messages reported. Formerly, only 2 mappings of Location_map_polarx were allowed per article; the processing of 42 mappings with block-text in map-specs was over 80 times more capacity. -[[User:Wikid77|Wikid77]] ([[User talk:Wikid77|talk]]) 18:41, 10 February 2008 (UTC)▼
▲
==Other issues==
:::
|