Last modified: 2014-10-14 18:52:12 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 T52373, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50373 - Parsoid: Category inclusions can end up as part of headings
Parsoid: Category inclusions can end up as part of headings
Status: ASSIGNED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-28 12:20 UTC by This, that and the other (TTO)
Modified: 2014-10-14 18:52 UTC (History)
10 users (show)

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


Attachments

Description This, that and the other (TTO) 2013-06-28 12:20:04 UTC
This is a bit contrived, but a bug nonetheless:

1. Go to [[testwiki:Sections galore]] 
2. Observe the wikitext source, then edit in VE
3. Let's say you want to rewrite this article, so you select the entire lead and first section (from "Lead..." to "...core") and type some new text over it
4. Make your new text into a heading
5. Review changes

The category inclusion (which was previously before the "Apple" heading) becomes part of the new heading, which is silly from the point of view of a wikitext user.
Comment 1 James Forrester 2013-08-02 23:45:38 UTC
I think the right approach would be to reparent metas (at least for categories and langlinks) in this circumstance to the end of the page, but this feels messy in general.
Comment 2 NicoV 2014-02-21 12:27:04 UTC
Other examples of similar problem. It's a lot less contrieved than the first case, really happening in production, messing up articles.

https://fr.wikipedia.org/w/index.php?title=Psych%C3%A9_Rock&diff=next&oldid=100857155
https://fr.wikipedia.org/w/index.php?title=Killer_Bob&diff=prev&oldid=101401671
https://fr.wikipedia.org/w/index.php?title=Killer_Bob&diff=prev&oldid=101402190
Comment 3 This, that and the other (TTO) 2014-02-22 01:56:27 UTC
Upping to normal, since this is happening in real articles.
Comment 4 Ed Sanders 2014-02-22 13:25:14 UTC
Shouldn't Parsoid be dealing with this?

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


Navigation
Links