Page MenuHomePhabricator

Nowiki tags and tilde signatures in templates
Closed, ResolvedPublic

Description

Author: timwi

Description:
BUG MIGRATED FROM SOURCEFORGE
http://sourceforge.net/tracker/index.php?func=detail&aid=962917&group_id=34373&atid=411192
Originally submitted by jrdioko (jrdioko)<a href="/help/icon_legend.php?context=user_wantsdonations&amp;user_id=1052697&amp;return_to=%2F"><IMG src="http://images.sourceforge.net/images/icons/donate.png" alt="Accepting Donations" border="0" width="16" height="16"></a> 2004-05-29 23:38

I have created a boilerplate template in the Mediawiki:
namespace which I've been using to welcome new users.
In a section explaining how to use tildes to sign posts, I
use the following code:

"To insert just your name, type <nowiki>~~~</nowiki>
(3 tildes), or, to insert your name and timestamp, use
<nowiki>~~~~</nowiki> (4 tildes)."

Under MediaWiki 1.2, this used to work fine, and using
the {{subst:}} method to insert that text into a user's
talk page would produce the following:

"To insert just your name, type ~~~ (3 tildes), or, to
insert your name and timestamp, use ~~~~ (4 tildes)."

Now, in 1.3, the parsing rules seem to have changed, as
that same {{subst:}} method on the same boilerplate
template results in the tildes being expanded to my full
signatures. The <nowiki> tags are included, but result in
the code of the signatures not being parsed rather than
the tildes themselves staying as is.

I assume a change has been made so that tildes can be
used in templates and a current signature can be
inserted along with the template text. However, I think
there needs to be some way to prevent the tildes from
being parsed (preferably through the use of <nowiki>
tags).

Thanks.

  • Additional comments ------------------------

Date: 2004-08-05 07:23
Sender: SF user vibber

Tentative patch here: http://wp.wikidev.net/User:Brion/Tilde_bug

I'm not certain it won't break something else, so haven't committed
it

yet.

Date: 2004-08-16 08:01
Sender: SF user timwi

This bug has been migrated to MediaZilla:
http://bugzilla.wikipedia.org/show_bug.cgi?id=93
Please leave additional comments or attachments there.


Version: unspecified
Severity: normal

Details

Reference
bz102

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 6:44 PM
bzimport set Reference to bz102.
bzimport added a subscriber: Unknown Object (MLST).

jr_goblinp wrote:

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