We should have a sane way of including screenshots with skins and displaying them in the UI. These would be useful on Special:Preferences, in the installer when it will ask you which skin to choose, on Special:Version…
I coded up something that works but is probably not a good idea at https://gerrit.wikimedia.org/r/#/c/138110/ – this would just add support for a new key to $wgExtensionCredits.
One interesting issue is, what resolution should we expect the screenshot to be?
Another one is, how do we display it? Unless we want to push the whole thing through ResourceLoader CSS handling (which would be extremely silly), we need to know the URL path where the screenshot is available (relative to $wgStylePath?). This is not obvious :(
See Also: T70331: Make it possible to render the installer with any skin, or preview skins in the installer
The new convention:
- Every skin can include screenshots in the screenshots/ directory, which will be shown in the installer (and possibly elsewhere in the future).
- It should include at least one 1280x800px screenshot, plus any extra screenshots if your skin looks different at different screen resolutions or with different configuration options.
- You should disable any extensions or uncommon configuration options when taking the screenshots.
- Make sure not to include any copyrighted content in the screenshots – here's some public domain content you can use:
Examples: