Page MenuHomePhabricator

autoedit button on a form (not page) causes form to save to the wrong page name
Open, Needs TriagePublic

Description

I am trying to use a #autoedit on a form (rather than on a page) to edit a page that is not the one currently being edited by the form. (idea is to edit a page that refers in a template call to the one I am currently editing - and yes, that may be a sign of less-than-optimal data structure)

This works well enough for the #autoedit, but it breaks the form by saving it over the target of the first #autoedit encountered.

Is this a bug, or do I need to call this differently when it comes from a form, or can #autoedit not be called from a form?

MediaWiki 1.32.1
PHP 7.2.11 (cgi-fcgi)
MySQL 5.7.25-log
Page Forms 4.5

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 11 2019, 2:42 AM

Hey Ahmad, I am a bit puzzled by two things... why did you move this to Not PF, it is an error that happens when using forms functionality? And, how did you manage to do it with a timestamp that predates me posting this bug?

Attempting to move this back to backlog from "No PF" as per https://phabricator.wikimedia.org/T225475 since this ticket had been moved to No PF at the same time.