Page MenuHomePhabricator

Merge messages 'sharedupload' and 'shareduploadwiki'/'shareduploadwiki-desc'
Closed, ResolvedPublic

Description

Currently the messages 'sharedupload' and 'shareduploadwiki' or 'shareduploadwiki-desc' are called independently. That is, 'sharedupload' is used every time there is a shared upload, while 'shareduploadwiki-desc' is used when the description page could be imported, and 'shareduploadwiki' is used when it’s not. However, I would like for 'shareduploadwiki' and 'shareduploadwiki-desc' to be called within 'sharedupload', as parameter $1.

This would make it easier and less fragmented to integrate the two messages, the way it is done on [1] and [2]. Also it would be possible to integrate them while still keeping one layout like it's done on those two pages.

All that will need to change in LanguagesEn.php is to append '$1' in 'sharedupload'; some more changes will be needed in ImagePage.php though, but I assume it will be simple for someone who knows more PHP than I do.

[1] http://en.wikipedia.org/wiki/MediaWiki:Sharedupload
[2] http://de.wikipedia.org/wiki/MediaWiki:Sharedupload


Version: unspecified
Severity: normal

Details

Reference
bz14980