Page MenuHomePhabricator

action=raw&templates=expand broken
Closed, ResolvedPublic


Author: dto

templates=expand is broken on 1.8-svn and 1.7.1 (apparently I can only mark one
version though).

Wikipedia just gives me an empty page, but I'm assuming that's because error
reporting is turned off.

The problem, I think, is that Parser::mArgStack is not initialized when
Parser::replaceVariables is called on a new Parser instance.

Patch coming up.

Version: 1.8.x
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:22 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz7026.
bzimport added a subscriber: Unknown Object (MLST).

dto wrote:

patch for r16082 fixing templates=expand

The patch fixes templates=expand, I think (using code from Tim Starling's
ExpandTemplates extension).

However, I haven't been able to test it as I haven't upgraded to 1.8-svn yet.


dto wrote:

Do people actually search the bug database for "patch" and/or "need-review"?

robchur wrote:

*** Bug 7028 has been marked as a duplicate of this bug. ***