Page MenuHomePhabricator

Add field to Special:ChangeContentModel to show the current content model
Closed, ResolvedPublic

Description

On Special:ChangeContentModel could a read-only field be added "Current Content Model" for reference?

I think this could be useful, it came on in some on-wiki discussions where the lack of this information led to some confusion.

Event Timeline

Xaosflux triaged this task as Lowest priority.Jun 30 2019, 1:58 AM

There are 3 options I think.

  1. Either we add a new readonly field
  2. We change it so that the existing model is listed and selected in the dropdown of the content model selector (but then we might have to change the wording of the label ?)
  3. We list the default model with a dummy entry in the log or something
Aklapper renamed this task from Feature Request - add current field to Special:ChangeContentModel to Add field to Special:ChangeContentModel to show the current content model.Jun 30 2019, 12:03 PM

The easiest would be to add a new readonly field, and it would (in my view) also be the least confusion. There are currently 3 fields to the form: the page title (read only), the new content model (dropdown menu) and the reason (text field). I suggest adding a readonly field with the current content model directly below the page title, both to group the readonly fields together and so that the current model is visible when the menu is opened. Thoughts?

The easiest would be to add a new readonly field, and it would (in my view) also be the least confusion. There are currently 3 fields to the form: the page title (read only), the new content model (dropdown menu) and the reason (text field). I suggest adding a readonly field with the current content model directly below the page title, both to group the readonly fields together and so that the current model is visible when the menu is opened. Thoughts?

Sounds perfect

Change 524511 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Show current content model on Special:ChangeContentModel

https://gerrit.wikimedia.org/r/524511

I'm happy to see that this is being pushed out for review and implementation. While assisting another editor with an issue and while testing for a possible vulnerability, I thought that the item selected in the drop-down list on Special:ChangeContentModel was what the current content model of the page was set to, and this tripped me up until I realized that it was just set to the item at the top of the list. I feel stupid now that I think about it, but it really is behavior that users would expect knowing that many sites and operating systems display the current item set in a drop-down list for a setting or option. This will definitely help to prevent confusion like this by others in the future. :-)

Change 524511 merged by jenkins-bot:
[mediawiki/core@master] Show current content model on Special:ChangeContentModel

https://gerrit.wikimedia.org/r/524511

@Oshwah glad I could be of service. The change was merged, but hasn't activated on the beta cluster yet - once it does and I can confirm that it works properly I'll mark this as resolved