Last modified: 2010-05-15 15:37:56 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 T7435, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
1.5.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://ibaku.net/wiki/index.php/Code_...
:
Depends on:
Blocks:
  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: ---


Attachments

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:
http://ibaku.net/wiki/index.php/Code_Template_Example

The example uses the template found here:
http://ibaku.net/wiki/index.php/Template:Code

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.


Navigation
Links