Page MenuHomePhabricator

Module import fails with HTTP 500 when updating Module:Arguments
Open, MediumPublic3 Estimated Story PointsBUG REPORT

Description

Description

When the required Lua module is marked as outdated, the Starter Kit UI correctly surfaces an "Update ↑" button (e.g., Module:Arguments). However, clicking it triggers an import request that fails with Request failed with status code 500.

Steps to replicate the issue (include links if applicable):

  • Open starterkit.toolforge.org and log in with Test Wikipedia
  • Navigate to the Foundation step / Step 1 of the infobox import task starterkit.toolforge.org/import-infobox-tool
  • Observe that Module:Arguments is flagged as outdated - a newer version is available on English Wikipedia.
  • Click the "Update ↑" button for that module.
  • The status changes from "Outdated" to "Request failed with status code 500"
  • "Continue" button is also disabled now. It becomes enabled if you click "Re-check".

What happens?:
Import fails with a generic HTTP 500 error. The UI shows a red ✗ with no recovery path or explanation.

What should have happened instead?:
The module updates successfully, or if the request fails, the user sees a meaningful error message explaining what went wrong and what they can do next (e.g., retry, check permissions, or import manually).

Other information (browser name/version, screenshots, etc.):

Screenshot 2026-07-13 at 2.38.34 PM.png (699×765 px, 96 KB)
Screenshot 2026-07-13 at 2.38.19 PM.png (700×767 px, 96 KB)

Event Timeline

srishakatux set the point value for this task to 3.
MaryMunyoki raised the priority of this task from Medium to High.Jul 15 2026, 3:48 PM

@srishakatux Editing that page is not permitted for regular users, because of this reason:

This page has been protected from editing because it is transcluded in the following page, which is protected with the "cascading" option turned on:

We already display some chips with the required permissions for each task, but maybe this is not enough. Do you think we should take any more actions related to unauthorized users for this task (e.g. disable start button, display a banner mentioning that they do not have the required rights, etc).

Now, for test wiki, you can just skip updating the module and directly click on the "Continue" button to proceed

@ngkountas I've tried redesigning Step 1 of the import infobox task to address your comment in T433154. If we are short on time, we can skip it for the pilot.

MaryMunyoki lowered the priority of this task from High to Medium.Fri, Jul 31, 2:05 PM