Last modified: 2014-08-04 00:12:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T9043, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7043 - Templates should show parameters when not expanded due to preprocessor node count limit
Templates should show parameters when not expanded due to preprocessor node c...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.8.x
PC Linux
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-17 15:37 UTC by Cesar Eduardo Barros
Modified: 2014-08-04 00:12 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Cesar Eduardo Barros 2006-08-17 15:37:48 UTC
When the pre-expand size limit blocks expansion of a template, the parameters
are not shown; however, the output would be more readable if the template
parameters were visible (for instance, if {{unicode|asdf}} is not expanded, it
currently shows only {{unicode}}, which is not very helpful; if it showed
{{unicode|asdf}}, it would be more visible that the intention was to apply some
formatting to "asdf". The same applies to several other templates like
{{user|Example}}, {{tl|Template}}, {{nobr|text}}, etc).
Comment 1 Andre Klapper 2014-07-07 17:12:03 UTC
> When the pre-expand size limit blocks expansion of a template

Any idea what that size is? (Reedy on IRC said "Presumably related to $wgMaxPPNodeCount and $wgMaxGeneratedPPNodeCount")

Any testcase where the problem could be reproduced, e.g. on test2.wikipedia.org?

Plus wondering how relevant this still nowadays, is in times of Lua.
Comment 2 Nemo 2014-07-07 17:18:11 UTC
(In reply to Andre Klapper from comment #1)
> > When the pre-expand size limit blocks expansion of a template
> 
> Any idea what that size is?

«The pre-expand include size limit has been removed, since there's no efficient way to calculate such a figure, and it would now be meaningless for performance anyway. The "preprocessor node count" takes its place, with a generous default limit.»
https://www.mediawiki.org/wiki/Release_notes/1.12#Parser_changes_in_1.12

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links