Page MenuHomePhabricator

Replace localized "Description" and "Licensing" headings with {{int:…}} syntax
Closed, ResolvedPublic3 Estimated Story Points

Description

Motivation
Our config pages already contains info about headings, we should use them!

Acceptance Criteria

  • Using the "Information > Description" and "Information > Licensing" sections of the config files, find any level-2 (==) heading with these labels.
  • If found, replaced the contents with {{int:filedesc}} and {{int:license-header}}.
  • Keep whitespace formatting intact, as it was on the source wiki. Most notably: Support ==…== as well as == … ==.
  • Do not do anything with the "Template" title for now (this is investigated in T198315).

Possible follow-up tasks:

  • Detect not only level-2 (==) headings, but any level, as long as it contains one of the labels.

Event Timeline

Lea_WMDE triaged this task as Medium priority.Jun 27 2018, 11:42 AM
Lea_WMDE set the point value for this task to 3.
thiemowmde renamed this task from Translate headings of the file page to Replace localized "Description" and "Licensing" headings with {{int:…}} syntax.Jul 2 2018, 10:41 AM
thiemowmde updated the task description. (Show Details)

Change 444228 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/FileImporter@master] Replace localized headings with Wikimedia Commons syntax

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

Change 444573 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)):
[mediawiki/extensions/FileImporter@master] Add missing test cases to CommonsHelperConfigParserTest

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

Change 444228 merged by jenkins-bot:
[mediawiki/extensions/FileImporter@master] Replace localized headings with Wikimedia Commons syntax

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

Change 444573 merged by jenkins-bot:
[mediawiki/extensions/FileImporter@master] Add missing test cases to CommonsHelperConfigParserTest

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