Last modified: 2014-05-06 06:53:29 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 T66919, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64919 - Parsoid? evaluates simple template: <b>{{{1}}}</b> to {{{1}}}
Parsoid? evaluates simple template: <b>{{{1}}}</b> to {{{1}}}
Status: RESOLVED INVALID
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All Linux
: Unprioritized normal
: ---
Assigned To: Gabriel Wicke
:
: 64920 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-05 21:13 UTC by Joel Moberg
Modified: 2014-05-06 06:53 UTC (History)
2 users (show)

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


Attachments

Description Joel Moberg 2014-05-05 21:13:49 UTC
To reproduce:

1. Create a simple template,
<b>{{{1}}}</b>

2. Open a page, start visual editor, insert this template, and give it a parameter.

What I see is: '{{{1}}}' in bold text.

I have updated: parsoid service, parsoid extetnsion visual editor, mediawiki core to the latest commit on master branch to the same time as am posting this.

From the parsoid service log I see this:
[info][localhost:Test] starting parsing
[info][localhost:Test][oldid:301] completed parsing in 126 ms
Comment 1 Peter Coombe 2014-05-05 22:34:52 UTC
*** Bug 64920 has been marked as a duplicate of this bug. ***
Comment 2 ssastry 2014-05-05 23:04:51 UTC
I tested this locally on my laptop and I cannot reproduce this. I see the parameter being expanded properly.
Comment 3 ssastry 2014-05-05 23:07:58 UTC
(In reply to Joel Moberg from comment #0)
> To reproduce:
> 
> 1. Create a simple template,
> <b>{{{1}}}</b>
> 
> 2. Open a page, start visual editor, insert this template, and give it a
> parameter.

Steps for this in VE:
* I select 'Add more information' 
* Enter 1 in the field name and select it so that 1 shows up as the parameter name about the value field
* Enter foobar in the value field
* Click Insert Template
* I see foobar in bold.
Comment 4 Joel Moberg 2014-05-06 06:53:29 UTC
I reinstalled submodules, and now I get this example to work.

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


Navigation
Links