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

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 19 2018, 11:14 AM
santhosh updated the task description. (Show Details)Apr 19 2018, 11:48 AM

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.

Pginer-WMF triaged this task as Normal priority.Apr 19 2018, 12:25 PM

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"):

(and there are some display bugs as well).

Etonkovidova closed this task as Resolved.Jun 11 2018, 11:20 PM