mediawiki-extensions-Popups/resources/ext.popups/images/sad-face.svg
Sam Smith b2f9ffa9b0 previews: Add generic fallback preview
Changes:
* Make the gateway handle missing pages, which are characterised by the
  MediaWiki API response having both the missing property set to truthy
  and the page not having any revisions.
* Add the preview-empty template and associated "mwe-popups-is-empty"
  CSS class, which describe what an empty preview contains and how it
  should look.

Supporting changes:
* Move the original preview template into the ext.popups module.

Bug: T151054
Change-Id: Ife75bf9c6bafdfe0a6cc3e20eea853b4ac8f951b
2016-12-02 12:02:43 +00:00

12 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<svg width="37px" height="27px" viewBox="0 0 37 27" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: sketchtool 41.2 (35397) - http://www.bohemiancoding.com/sketch -->
<title>A8787B18-ECB6-43B0-A67A-1BAFC81FF21F</title>
<desc>Created with sketchtool.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="no-page-preview-available" transform="translate(-392.000000, -222.000000)" fill="#C8CCD1">
<path d="M397.475,222.7 L397.475,242.775 L392,248.25 L423.025,248.25 C426.1275,248.25 428.5,245.877502 428.5,242.775 L428.5,222.7 L397.475,222.7 L397.475,222.7 Z M417.915,227.2625 C419.1925,227.2625 420.105,228.3575 420.105,229.4525 C420.105,230.5475 419.1925,231.825 417.915,231.825 C416.6375,231.825 415.725,230.73 415.725,229.635 C415.725,228.54 416.82,227.2625 417.915,227.2625 L417.915,227.2625 Z M408.06,227.2625 C409.3375,227.2625 410.25,228.3575 410.25,229.4525 C410.25,230.5475 409.155,231.825 408.06,231.825 C406.965,231.825 405.87,230.73 405.87,229.635 C405.87,228.54 406.7825,227.2625 408.06,227.2625 L408.06,227.2625 Z M412.9875,235.475 C405.835421,235.475 404.573289,242.486842 404.573289,242.486842 C404.573289,242.486842 407.378026,241.084474 412.9875,241.084474 C418.596974,241.084474 421.401711,242.486842 421.401711,242.486842 C421.401711,242.486842 419.999342,235.475 412.9875,235.475 L412.9875,235.475 Z" id="Page-1"></path>
</g>
</g>
</svg>