Last modified: 2006-08-31 16:48:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 7026 - action=raw&templates=expand broken
action=raw&templates=expand broken
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
: 7028 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2006-08-16 00:21 UTC by Dan Li
Modified: 2006-08-31 16:48 UTC (History)
0 users

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

patch for r16082 fixing templates=expand (662 bytes, patch)
2006-08-16 00:34 UTC, Dan Li

Description Dan Li 2006-08-16 00:21:26 UTC
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.
Comment 1 Dan Li 2006-08-16 00:34:32 UTC
Created attachment 2229 [details]
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.
Comment 2 Dan Li 2006-08-16 00:36:35 UTC
Do people actually search the bug database for "patch" and/or "need-review"?
Comment 3 Rob Church 2006-08-30 08:14:08 UTC
*** Bug 7028 has been marked as a duplicate of this bug. ***
Comment 4 Brion Vibber 2006-08-31 16:48:51 UTC
Applied in r16304

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