(Go: >> BACK << -|- >> HOME <<)

Page MenuHomePhabricator

Remove Wikipedia progress and quality related templates from source article
Closed, ResolvedPublic

Description

Remove Wikipedia progress and quality related templates from source article. This is a follow up from T190254: Remove irrelevant sections from source article for translation. These templates are irrelevant for translation.

Some candidates:

  1. https://en.wikipedia.org/wiki/Category:Wikipedia_progress_templates
  2. https://en.wikipedia.org/wiki/Category:Templates_used_by_Twinkle
  3. https://en.wikipedia.org/wiki/Category:Article_message_templates

Technically adding all these template names in the json configuration of cxserver(MWPageLoader.config.json) is enough.

Sideffect: That list might get too long and become unmaintainable?
Idea: Consider dynamically fetch the items from wiki when server is started?

Event Timeline

Sideffect: That list might get too long and become unmaintainable?

Would it make sense to track those templates based on the Wikidata Q-ID of their category to cover equivalent cases across languages? For example, Q8099171 identifies the "Wikipedia_progress_templates" category across languages.

Would it make sense to track those templates based on the Wikidata Q-ID of their category to cover equivalent cases across languages? For example, Q8099171 identifies the "Wikipedia_progress_templates" category across languages.

That is possible, but involves at least one api hit, I am trying to see if we can avoid that by a static list in codebase.

Change 434627 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/services/cxserver@master] Support regular expressions for templates to remove

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

Change 434627 merged by Nikerabbit:
[mediawiki/services/cxserver@master] Support regular expressions for templates to remove

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

@santhosh I checked for different template placement - at the beginning of articles, at article's sections, at the end of the article - all seem to be fine for English articles.

What is the situation for similar templates in other lang wiki? dewiki still shows such template (e.g. "Crystallography Open Database"):

Screen Shot 2018-05-19 at 4.27.33 PM.png (543×1 px, 148 KB)
(and there are some display bugs as well).