https://bugzilla.wikimedia.org/show_bug.cgi?id=48891

--- Comment #40 from Niklas Laxström <[email protected]> ---
(In reply to comment #39)
> (In reply to comment #36)
> > Issues I have found:
> > 
> > * [MAJOR] Disabling edit section links does not work for headings inside
> > <translate> tags
> 
> You could try marking your output as HTML according to
> https://www.mediawiki.org/wiki/Manual:
> Tag_extensions#How_can_I_avoid_modification_of_my_extension.27s_HTML_output.
> 3F

This causes (lack of) whitespace issues and breaks all lists.

> I'm not sure whether that suppresses section edit links too, but worth a try
> IMO.

It doesn't.

> 
> > * [NORMAL] Edit section links don't work. Not a regression, but would be 
> > nice
> > fix. Above issue make this a bigger issue.
> > * [BLOCKER] Table of contents does not include links
> 
> Can you check whether your headings are matched by the formatHeadings regexp?

I'm assuming it processes the html I'm returning, which is:
<h2><span class="mw-headline" id="Culture">Culture</span><mw:editsection
page="Pupu" section="1">Culture</mw:editsection></h2>

Not sure whether that matches or not.

> 
> Ideally we'd move both TOC and section edit links to JS / CSS. That is our
> plan
> for Parsoid output, but not going to happen over night.

Any changes for interim solutions?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to