Page MenuHomePhabricator

Group file links by namespace on image pages
Closed, ResolvedPublic

Description

Author: dunc_harris

Description:
This is a bit like bug 4624 (Special:Whatlinkshere should allow namespace
selection), but for image pages.

File links on image pages should be split into namespace, so it lists all the
main namespace transclusions, then all talk, and so on in order.


Version: unspecified
Severity: enhancement

Details

Reference
bz8507

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:34 PM
bzimport set Reference to bz8507.
bzimport added a subscriber: Unknown Object (MLST).

Would also suggest adding namespace to the hash for the actual file. Such an upgrade would allow system admins to
set ACL on the namespaces and sub-directories to allow access only to allowed user groups. By adding an allowed ACL
to the MW php programs (example: MWProgram), MW could store and even reference stored images and files. However a
user could not access said file either by reference through the file list or by direct access (eg ../images/
[ns]/01/1a/FileName.jpg) if they did not have access to the 'ns' subdirectory.

All existing file names could be left directly in the 'images' subdirectory.

Bryan.TongMinh wrote:

As the links on the image page don't show all links anyway and Whatlinkshere now shows image links with per namespace filtering, WONTFIX this.

Sorting added with r68719.
Most usages do not hit the (hardcoded) limit of 100. I think it is worth to sort the list even though Special:Whatlinkshere is still unsorted.