Environment: MediaWiki 1.44.2, PHP 8.1.33, Page Forms 6.0.3, Cargo 3.8.4
If you try to add multiple rows in the MultiPageEdit form, it writes all data only to the last new row's page.
Steps:
- Visit Special:MultiPageEdit page for a template
- Click Add Row button twice to insert 2 new rows
- Fill out cells for both rows for 2 different pages
- Click plus (save) button for the first new row
- BUG 1: Inserts the data of row 1, but uses page title of the 2nd new row (verify at Recent Changes in a new tab).
- Click plus (save) button for the 2nd new row
- BUG 2: Overwrites the previous data by updating page title of row 2 with data of the 2nd new row (verify at Recent Changes in a new tab).
- Refresh Special:MultiPageEdit and see only 1 row added
This occurs for any number of new rows. If you add 5 rows, they all save to the 5th row's page and overwrite each other.
You have to instead click Add row, enter data for that row, click + (save) button for that row, then click Add row and repeat for all other new rows, 1 at a time. This makes copy/pasting from an excel sheet impossible, and manually entered data is lost. This could potentially waste user's time going through adding a lot of rows then saving them, to realize they only have 1 actually added with multiple edits with data from all the wrong rows.