https://bugzilla.wikimedia.org/show_bug.cgi?id=62597
Bug ID: 62597 Summary: API: action=flow-parsoid-utils strips meta tag from top of <body> Product: MediaWiki extensions Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Unprioritized Component: Flow Assignee: wikibugs-l@lists.wikimedia.org Reporter: theopolismew...@gmail.com CC: ebernhard...@wikimedia.org, mpinc...@wikimedia.org, pandiculat...@gmail.com, sp...@wikimedia.org Web browser: --- Mobile Platform: --- When using action=flow-parsoid-utils, meta tags produced by Parsoid located at the top of the <body> content are not included in API output. Compare https://en.wikipedia.org/w/api.php?action=flow-parsoid-utils&from=wikitext&to=html&format=jsonfm&title=Wikipedia%20talk:Articles%20for%20creation/sandbox&content={{AFC%20submission}} to https://en.wikipedia.org/w/api.php?action=flow-parsoid-utils&from=wikitext&to=html&format=jsonfm&title=Wikipedia%20talk:Articles%20for%20creation/sandbox&content=foo{{AFC%20submission}} In the first example (with the tag directly at the top of the page), no information about the meta tag (mw:PageProp/nonewsectionlink) is available. However, it IS provided when directly using the Parsoid service at http://parsoid.wmflabs.org/enwiki/Wikipedia_talk%3AArticles_for_creation%2Fsandbox?oldid=599397480 This is important for the Articles for creation helper script on enwiki to function properly (ideally we wouldn't be hijacking a Flow tool in the first place, but until parsoid.wmflabs.org has HTTPS support...). Thanks! Theo -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l