Commit graph

5 commits

Author SHA1 Message Date
Timo Tijhof b493318125 Fix resourceloader message fetch warnings
Remove references to non-existing message keys.
Triggered on every startup module request:

> [resourceloader] WARNING:
> Failed to find multimediaviewer-option-header-viewer ({lang})

* multimediaviewer-option-header-viewer
  (listed in 1853540cd3, but never created)
* multimediaviewer-option-header-filepage
* multimediaviewer-option-desc-viewer
* multimediaviewer-option-desc-filepage
* multimediaviewer-license-cc-by-sa-3.0-migrated
  (CommonsMetaData has this aliased to "cc-by-sa-3.0")
* multimediaviewer-description-page-popup-text-local

Even if JS tries to use them, the messages do not exist. There
are no matches across all Wikimedia Git repositories for these
strings other than extension.json here (no i18n, JS or PHP files).

Bug: T118820
Change-Id: I3585f4862781799d9ba828bdc4170a68c6c36100
2016-02-20 13:42:38 +00:00
Andrew H 1b2866df0d Shorten MediaViewer credit lines
Drop the title and site name. Use a shortened URL
created using the pageID for the curid query parameter.

Add pageID property to mmv.model.Image, using value already
fetched from an existing API request.

Bug: T119686
Depends-On: I0f00b986e6095bdb9b8d6af6fbc5b01995227e02
Change-Id: I9189f00bfbf7639974d66cf1921773855a77a865
2016-01-10 23:44:23 +00:00
Julius Alphonso a9758d21e0 Remove uploader's name from MediaViewer
Only last uploader's name is shows, this turns out to be
more confusing than useful.

Bug: T59308
Change-Id: I7d06b72c581fe8738bffc64b5e36be9983b01ccf
2015-12-29 10:56:08 +05:30
Gergő Tisza 77bfbf61aa Add some error details to bug report
Bug: T111112
Change-Id: I1c3a31ddaefdfec0d86b80891671316741e53b0c
2015-10-26 17:12:34 -07:00
paladox b1b6ba1e1b Add extension.json, empty PHP entry point
Bug: T87943
Change-Id: I1251b22cf6fbeb6d31fdcf1b0662049eaacab18a
2015-10-12 20:08:36 +00:00