Last modified: 2014-09-05 15:37:31 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 T63962, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61962 - Flow: A transcluded template's <section> code is visible in rendered post
Flow: A transcluded template's <section> code is visible in rendered post
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
https://www.mediawiki.org/w/index.php...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-26 21:25 UTC by Quiddity
Modified: 2014-09-05 15:37 UTC (History)
6 users (show)

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


Attachments

Description Quiddity 2014-02-26 21:25:22 UTC
At this example post: https://www.mediawiki.org/w/index.php?title=Talk:Sandbox&topic_postId=rpiww40w1on9wf9p&workflow=rpiww40w1on9wf9p

an editor has copied the infobox code that is used at [[mw:Extension:AbuseFilter]]

The unexpected difference is that this code, which should be hidden, is showing up in the flow post:
 <section begin='shortdesc' />...<section end='shortdesc' />
Comment 1 Erik Bernhardson 2014-02-26 22:34:57 UTC
Double checked with parsoid, looks to be happening there

Using the following template(simplified from abuse filter page) against mediawikiwiki:

    {{extension |description=<section begin=shortdesc />foo<section end=shortdesc /> }}

Parsoid escapes the section tag, the wikitext parser appears to strip it.  Nick islooking into what exactly is supposed to happen and why.

Adding gwicke as this is a difference between php parser and parsoid output
Comment 2 Quiddity 2014-02-26 22:58:24 UTC
The "shortdesc" text is used on mediawiki.org to populate the description column in the various Extension Matrix subpages, eg. https://www.mediawiki.org/wiki/Extension_Matrix/media

Also, it's used by WikiApiary eg. https://wikiapiary.com/wiki/Extension:Abuse_Filter

Possibly elsewhere?

I think it's defined/controlled by XGlossary, which says it's mandatory, https://www.mediawiki.org/wiki/Extension:XGlossary/Doc#The_Glossary_Entries

HTH. That's all I can find from digging around.
Comment 3 Matthias Mullie 2014-09-05 15:37:31 UTC
Seems like this has been fixed already: https://www.mediawiki.org/w/index.php?title=Topic:Rpiww40w1on9wf9p&workflow=rpiww40w1on9wf9p

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


Navigation
Links