Last modified: 2013-01-17 20:44:07 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 T29850, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27850 - File history and Special:ListFiles should use a dedicated table generator
File history and Special:ListFiles should use a dedicated table generator
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
https://translatewiki.net/wiki/Thread...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-04 18:55 UTC by Umherirrender
Modified: 2013-01-17 20:44 UTC (History)
3 users (show)

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


Attachments

Description Umherirrender 2011-03-04 18:55:35 UTC
On an ImagePage the file histroy shows Dimensions and Size in one column.

On Special:ListFiles only the Size is shown.

Please add the Dimensions to Special:ListFiles (maybe to column Size and change the header).

Thanks.
Comment 1 Umherirrender 2011-03-04 20:34:33 UTC
usertoollinks on Special:ListFiles for the uploader are also nice. Thanks.
Comment 2 Siebrand Mazeland 2011-03-05 16:22:19 UTC
Table should probably be put in a class to reduce code duplication and number of messages.
Comment 3 Sam Reed (reedy) 2011-03-05 17:46:35 UTC
<Reedy> Typical MW, we do one thing one way, and the same thing a different way in another feature
<BryanTM> Reedy: TablePager is a horrible interface that mixes querying with presentation
<Reedy> :D
<Reedy> I noes
<BryanTM> (same for QueryPage and all other Pagers)


I normalised the ordering of the columns a bit in r83301

We could migrate the column names and reuse messages (can we get away with that..?), as there's some difference between them.

(With regards to what Siebrand was wanting to do. Maybe he can say whether we can reuse the messages as they are for essentially the same usage)


As for the actual request, the file stuff is all over the place, and i'm not sure on the sanest way to add the actual output of the dimensions.
Comment 4 Bryan Tong Minh 2011-03-05 17:52:04 UTC
Another note, Special:ListFiles does not support RevDel. This would be fixed by a dedicated ImageTable generator.

Bumping importance.
Comment 5 Umherirrender 2011-03-06 19:57:22 UTC
(In reply to comment #4)
> Another note, Special:ListFiles does not support RevDel.

That is not needed, because RevDel does not support the current version of an image (bug 20742)
Comment 6 Scott Martin (http://enwp.org/user:scott) 2013-01-17 20:41:30 UTC
I was going to file a separate bug for this but it seems like it would be best put here - as the table cells in the file history have justified text alignment, the Dimensions cell ends up looking like this:

2,396    × 
2,672 
(2.17 MB)

Short of specifying an explicit width for this column, this could be fixed by using non-breaking spaces around the multiplication symbol.

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


Navigation
Links