Last modified: 2008-05-11 00:34:05 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 T15120, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13120 - New parser breaks signatures inside gallery tags
New parser breaks signatures inside gallery tags
Status: RESOLVED DUPLICATE of bug 2700
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.12.x
All All
: High major with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.wikimedia.org/wiki/Com...
:
: 14066 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-22 23:01 UTC by Daniel Schwen
Modified: 2008-05-11 00:34 UTC (History)
2 users (show)

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


Attachments

Description Daniel Schwen 2008-02-22 23:01:08 UTC
The new parser update breaks signatures inside gallery tags. This in turn breaks the work flow at [[:commons:COM:QIC]] (Quality image candidates). Plus it is unexpected behaviour.
Comment 1 Tim Starling 2008-02-25 03:25:27 UTC
Parser_OldPP.php:3757:

 $text = $this->strip( $text, $stripState, true, array( 'gallery' ) );

What an awful special case hack. I'm wondering if there is some more elegant way to handle this. As a workaround, you could use {{#tag:gallery|... {{!}} .. }}. I'm wondering if that's a decent long-term solution as well.
Comment 2 Daniel Schwen 2008-02-28 15:48:36 UTC
No, I would not consider it a decent long-term solution. It just moves the hackishness to a different level, to the users. And this way a lot more people would have to deal with it. We cannot expect the users to learn a completely new syntax for doing something they already know how to do with <gallery> tags and the regular |-symbol. 
QI is (was until the parser change hampered it) a successful and very active project to evaluate and tag large amounts of images according to a fixed quality standard. It's recipe for success is in part the simplicity of the process.
I wonder if a less hackish generic support for signatures in extension tags could be implemented. But for the time being I'd very much appreciate if the old functionality could be restored, even if it means (temporarily) using a special case hack.
Comment 3 Bryan Tong Minh 2008-05-10 08:16:02 UTC
*** Bug 14066 has been marked as a duplicate of this bug. ***
Comment 4 Brion Vibber 2008-05-11 00:34:05 UTC
(Note there used to be a special-cased hack for <gallery> which is no longer present.) Duping to general bug 2700.

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

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


Navigation
Links