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

--- Comment #10 from MZMcBride <[email protected]> ---
(In reply to comment #9)
> PageTriage isn't adding any new section. Its just adding some wiki text which
> is made into a section by the template.

What? PageTriage is using the MediaWiki API's action=edit module and is calling
appendtext. It should instead be using section=new. This is the bug. When
you're adding a new section to a talk page, use section=new. This is why it
exists.

https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FPageTriage/4608051c1f48e8f5c69f5206498df4a7dddba17a/modules%2Fext.pageTriage.views.toolbar%2Fext.pageTriage.mark.js#L124

This posts to a talk page. Use section=new here.

> Of course, PageTriage could/should add a edit summary while doing the edit.
> But its a separate thing.

It will automatically use a proper edit summary when section=new is specified.
Use that.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to