Page MenuHomePhabricator

Add page count to Index page in ta.wikisource
Closed, ResolvedPublic

Description

Currently the page numbers of the file size entered manually. This is time consuming with large number of uploads. All the uploaded files are available at commons.

Our community is small. If it was populated automatically, we can do more contributions to our project.

Related Objects

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 30 2016, 12:11 PM
Tpt added a subscriber: Tpt.Apr 30 2016, 12:37 PM

It's actually doable to retrieve the number of pages of a file using lua: https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#File_metadata

But what is this field use to? If you have no use case for it, you could just delete it.

Tpt closed this task as Resolved.Jun 26 2016, 3:23 PM
Tpt claimed this task.

Done a few month ago.