Last modified: 2012-10-08 12:59:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31817, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29817 - Add support for custom description
Add support for custom description
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: PediaPress Development Team
:
Depends on: 29849
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-11 19:48 UTC by Tomasz Finc
Modified: 2012-10-08 12:59 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tomasz Finc 2011-07-11 19:48:49 UTC
Currently there is now way to add a custom description to a openZim generated file. In order for user of the Kiwix downloader to better understand what's in the content file we need to have the ability to provide an optional description.
Comment 1 Manuel Schneider 2011-07-12 06:21:19 UTC
for description info please check out the metadata definition on openzim.org:
* http://openzim.org/Metadata

This data is stored in articles - like regular wiki articles - in the namespace M. So the string for "title" will be stored in an article called "/M/title".

Favicon:
"A favicon (48x48) is also mandatory and should be located at /-/favicon "
Comment 2 Volker Haas 2011-07-12 11:05:41 UTC
This enhancement depends on collection extension support for a metadata field ‘description' in collections and saved books.
Comment 3 Kelson [Emmanuel Engelhart] 2012-10-07 18:04:05 UTC
It seems that the extension simply writes this information in the wrong place called "/M/Subtitle" instead of "/M/Description". Could you please fix that, this is trivial.
Comment 4 Ralf Schmitt 2012-10-08 06:30:03 UTC
Well, that's the subtitle, which should be printed together with the title on the cover.

If it helps with the kiwix downloader and does provide enough information for a description, please open a pull request on github.
Comment 5 Ralf Schmitt 2012-10-08 06:32:15 UTC
Well, thinking another minute about it, I think this is stupid...and the subtitle shouldn't be misused as a description.
Comment 6 Kelson [Emmanuel Engelhart] 2012-10-08 12:59:34 UTC
I think both, "subtitle" and "description", are the same. I use them at least in the same way as ZIM publisher and Kiwix developer.

Other metadatas are there in the ZIM file to also "describe" the content.

I just have implemented in Kiwix, that if "/M/Description" is empty, it looks at "/M/Subtitle" in place.

In any case, "/M/Subtitle" is not defined in the ZIM format and we can not await that ZIM readers take care about it (to the opposite to "/M/Description").

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links