Page MenuHomePhabricator

By default, insert a template in the category description instead of plain text
Open, Needs TriagePublicFeature

Description

Feature summary (what you would like to be able to do and where):
For older installations, this change is almost meaningless, since the main categories have already been created, but for new ones, it can be useful. Instead of plain text that cannot be bulk changed, insert a pre-made template or interface message that could be changed and would change in all categories at once.

This will save you the trouble of difficultly changing category descriptions on small wikis where there are no bots.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
For small wikis that don't have bots or bot guides, it's very difficult to change the text in all categories at once.

Benefits (why should this be implemented?):
Simplify support for extension

Event Timeline

The category is build from the content of message babel-autocreate-text-main or message babel-autocreate-text-levels.

Are you requesting a new feature to have a new message with a template shipped with Babel extension? That sounds wrong.

Or is there a problem that templates not working in the messages? (Templates gets subst:ituted)

Change 884417 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/Babel@master] Use Message::plain to create wikitext for category pages

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

Change 884417 abandoned by Umherirrender:

[mediawiki/extensions/Babel@master] Use Message::plain to create wikitext for category pages

Reason:

Duplicate T211665

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

Are you requesting a new feature to have a new message with a template shipped with Babel extension? That sounds wrong.

Yes, that's exactly what I'm talking about. Why wrong? If you tell the extension during installation that you need to create a certain template in order for the categories to start being created. I don't really see any other way.

Or is there a problem that templates not working in the messages? (Templates gets subst:ituted)

As far as I know, it will be fixed here: T211665

Are you requesting a new feature to have a new message with a template shipped with Babel extension? That sounds wrong.

Yes, that's exactly what I'm talking about. Why wrong? If you tell the extension during installation that you need to create a certain template in order for the categories to start being created. I don't really see any other way.

The extension is usable without any changes to the wiki currrently. When a community wants a specific template it would change the message to that template, but it can already control the wikitext for new category pages, so I see no need to have a second way doing that and making things complicated.

Are you requesting a new feature to have a new message with a template shipped with Babel extension? That sounds wrong.

Yes, that's exactly what I'm talking about. Why wrong? If you tell the extension during installation that you need to create a certain template in order for the categories to start being created. I don't really see any other way.

The extension is usable without any changes to the wiki currrently. When a community wants a specific template it would change the message to that template, but it can already control the wikitext for new category pages, so I see no need to have a second way doing that and making things complicated.

There is a problem here, to realize that you need a template, it can take a long time. And during this time, a huge number of categories will be created.