Last modified: 2010-02-05 04:39:15 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 T24363, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22363 - Variables not working inside <poem> container
Variables not working inside <poem> container
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Poem (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Steve Sanbeg
http://wikimediafoundation.org/wiki/%...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-02 22:51 UTC by Casey Brown
Modified: 2010-02-05 04:39 UTC (History)
2 users (show)

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


Attachments

Description Casey Brown 2010-02-02 22:51:02 UTC
Variables (i.e. {{{1|Hello!}}}) aren't working inside the <poem> ... </poem> container.  Instead, the default value is always shown (it would always show "Hello!" and not what was defined, see the example URL).

It looks like it's supposed to work: <http://www.mediawiki.org/wiki/Extension:Poem#Problems_and_solutions>, but it isn't.
Comment 1 Bawolff (Brian Wolff) 2010-02-05 04:13:39 UTC
I think the docs are wrong. In order for {{{1|Hello}}} to be expanded (if i understand things right) $frame has to be included as an argument to recursiveTagParse, which it is not. Thus {{{1|hello}}} isn't expanded.

As a work around use:

{{#tag:poem|{{{1|hello!}}}}}
Comment 2 Bawolff (Brian Wolff) 2010-02-05 04:39:15 UTC
Fixed in r62010

(This is first bug I've ever 'Fixed' :D )

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


Navigation
Links