Page MenuHomePhabricator

Add PLURAL support to exif-pdf-pagesize
Open, MediumPublic

Description

There is no way to pass parameters to exif metadata messages. We need to (possibly?) fix this in BitmapMetadataHander.

Example: https://gerrit.wikimedia.org/r/#/c/262459/

https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Exif-pdf-pagesize/ksh

Event Timeline

Pranavmk98 raised the priority of this task from to Needs Triage.
Pranavmk98 updated the task description. (Show Details)
Pranavmk98 added subscribers: Pranavmk98, Nemo_bis.
Nemo_bis renamed this task from Fix "Exif-" Metadata to Add PLURAL support to exif-pdf-pagesize.Jan 9 2016, 12:57 PM
Nemo_bis triaged this task as Medium priority.
Nemo_bis updated the task description. (Show Details)
Nemo_bis set Security to None.
Nemo_bis added a subscriber: Purodha.
Restricted Application added a subscriber: Steinsplitter. · View Herald Transcript

The problem is, that the metadata handler takes an array of message key for name of metadata field => expanded version of value. The value part is expanded in FormatMetadata long before the name part is in MediaHandler::addMeta.

Its not clear how to easily pass the number of items to the name field without doing a lot of restructuring.

e