Last modified: 2010-05-15 15:33:22 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 1188 - <nowiki> and <pre> in templates causes gibberish when combined with subst:
<nowiki> and <pre> in templates causes gibberish when combined with subst:
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
All All
: Normal normal with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: parser
: 1449 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2004-12-24 04:42 UTC by Colin Pitts
Modified: 2010-05-15 15:33 UTC (History)
2 users (show)

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


Description Colin Pitts 2004-12-24 04:42:50 UTC
If a template Foo has the following content:


And the template is included on another page with {{subst:Foo}}, then gibberish
along the following lines will be generated.


This occurs for any markup surrounded by <nowiki></nowiki>. If multiple nowiki
blocks exist, a separate string of gibberish will appear for each block, with
the last digit incrementing.

This was first spotted with enwiki's [[Template:Welcome]], and appears any time
it is used with {{subst:Welcome}}.

The problem does not manifest without subst:, that is {{Welcome}} displays as
Comment 1 bdk 2004-12-24 04:49:29 UTC
the same was already noticed by many users who have images within their signatures
Comment 2 Christian Semrau 2004-12-24 13:57:11 UTC

The problem arises from math-tags within link texts:

The link
did work as expected, but doesn't do now.

Comment 3 Guttorm Flatabø 2005-02-09 09:44:21 UTC
*** Bug 1449 has been marked as a duplicate of this bug. ***
Comment 4 Guttorm Flatabø 2005-02-09 09:47:51 UTC
This also happens when SUBT:ituting templates with <pre></pre>, take a look at
where {{liminn:årstal}} were used ("liminn" is the nn translation of subst),
which should have substituted the page
as I'm sure you all know :-)
Comment 5 Brion Vibber 2005-03-27 02:23:24 UTC
1.4.0 released; kicking back to 1.5 blockers.
Comment 6 Brion Vibber 2005-04-20 23:32:14 UTC
Fixed in CVS HEAD and REL1_4. Will appear in 1.4.2 release.

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