Last modified: 2013-12-29 09:41:49 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 T51256, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49256 - poem doesn't work nicely with SyntaxHighlight GeSHi
poem doesn't work nicely with SyntaxHighlight GeSHi
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Poem (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: UNIQ
  Show dependency treegraph
 
Reported: 2013-06-06 15:12 UTC by sen
Modified: 2013-12-29 09:41 UTC (History)
1 user (show)

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


Attachments

Description sen 2013-06-06 15:12:15 UTC
if use SyntaxHighlight GeSHi in the poem tag inside,it's will break,but it's only for the first geshi tag,in the second tag seems be okay,it's very wired.

a piuture is like this:
http://see.sl088.com/wiki/%E6%96%87%E4%BB%B6:JustCapIt1192.jpg

a example:

<poem><source lang="php">function wfPoemExtension( &$parser ) {
	$parser->setHook( 'poem', 'wfRenderPoemTag' );
	return true;
}</source></poem>

it will shows:
function wfPoemExtension( &$parser ) {UNIQ68d4ac7c4ed2499e-item-2--QINU
	$parser->setHook( 'poem', 'wfRenderPoemTag' );UNIQ68d4ac7c4ed2499e-item-2--QINU
	return true;UNIQ68d4ac7c4ed2499e-item-2--QINU
}
Comment 1 sen 2013-06-06 15:13:31 UTC
maybe we can use a way to escape the poem...but seems it workout by mediawiki self.
Comment 2 This, that and the other (TTO) 2013-12-29 09:41:49 UTC
Confirmed, see [[testwiki:Bug 49256]].

Marking minor, since I don't know why anyone would want to put source code inside a <poem> tag.

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


Navigation
Links