Last modified: 2010-05-15 15:37:56 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 5435 - Syntax hooks are (incorrectly) parsed before template variables
Syntax hooks are (incorrectly) parsed before template variables
Status: RESOLVED DUPLICATE of bug 2257
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-04-03 03:52 UTC by Bryan Petty
Modified: 2010-05-15 15:37 UTC (History)
0 users

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


Description Bryan Petty 2006-04-03 03:52:22 UTC
Any extension hooks (in my case, the SyntaxHighlight.php extension) setup using
$wgParser->setHook() are parsed before template variables have had the chance to
be replaced.

In my case, this gets in the way of using the SyntaxHighlight.php hook for
highlighting code passed into a template. An example of this can be found at the
URL given:

The example uses the template found here:

Let me know if other details are needed.
Comment 1 Brion Vibber 2006-04-03 07:23:34 UTC

*** This bug has been marked as a duplicate of 2257 ***

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