Steps to replicate the issue:
- Go to Special:ChangeContentModel
- Create a new page with a default content model (e.g. wikitext in the main namespace)
What happens?:
The edit summary, and log entries for both new page log and content change model logs ALL say:
logentry-contentmodel-new": "$1 {{GENDER:$2|created}} the page $3 using a non-default content model \"$5\"",where $3 is the name of the page and $5 is the name of the content model.
What should have happened instead?:
Separate system messages should be used:
- logentry-contentmodel-new should be used for the content model change log only
- The new page log should use the standard logentry-create-create not logentry-contentmodel-new.
- The edit summary doesn't need to mention the name of the page, but should mention the new/old content models.
The wording of logentry-contentmodel-new could be simplified; articles the and an are not required in notation style - this would make it match other automatic summaries. Furthermore, using could be replaced by with.
Finally, it should probably note that it's a blank page in the edit summary (but not in the page log, where that's not important).
That gives as the standard edit summary:
Created blank page with non-default content model "$2"
However, if the default content model was used, then there seems little point in specifying that the user used the default, or logging anything in the change content log. i.e. just treat it like a normal page creation event. This is exactly what you get if you create a blank page via the normal &action=edit method.
The standard edit summary for creating a blank page comes from:
"autosumm-newblank": "Created blank page",
Log entry only for page creation log:
"logentry-create-create": "$1 {{GENDER:$2|created}} page $3",The alternative of *only* allowing non-default content models in [[Special:ChangeContentModel]] seems a little bit silly.
I'm treating this as one bug, but the issues here could be patched separately if that simplifies things. It is a bit confusing.


