mediawiki-extensions-Popups/resources/ext.popups.images/multiple-articles.svg
Jan Drewniak 1e946a379d Custom page preview for disambiguation pages
Creating a different page preview for disambiguation pages.

This patch:
- modifies the Preview model to accept a new 'type' property
- modifies the Restbase Gateway to pass the 'type' prop to the Preview model
- creates a new template to accept both generic/disambig previews
- modifies the renderer to render the new template
- generates icons for new template through resource loader
- adds new i18n strings
- modifies event-logging "preview seen" event to send new "disambiguation" previewType
- updates event logging schema version
- adds tests for Preview model and renderer for new preview type
- does way too much? yes, yes it does.

Bug: T168392
Change-Id: Idc936cc3eabbdd99a3d98f43c66b4cdbb7d24917
2018-03-14 11:24:26 -07:00

9 lines
614 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<svg width="26" height="32" xmlns="http://www.w3.org/2000/svg">
<g id="Page-1" fill="none" fill-rule="evenodd">
<g id="multiple-articles" fill="#C8CCD1" fill-rule="nonzero">
<path d="M22.4 0a3.2 3.2 0 0 1 3.2 3.2v22.4h-3.2V3.2H4.8V0h17.6zM3.2 32A3.2 3.2 0 0 1 0 28.8V8a3.2 3.2 0 0 1 3.2-3.2h14.4A3.2 3.2 0 0 1 20.8 8v20.8a3.2 3.2 0 0 1-3.2 3.2H3.2zm8-24v8h6.4V8h-6.4zm-8 0v1.6h6.4V8H3.2zm0 3.2v1.6h6.4v-1.6H3.2zm0 3.2V16h6.4v-1.6H3.2zm0 3.2v1.6h14.4v-1.6H3.2zm0 3.2v1.6h14.4v-1.6H3.2zm0 3.2v1.6h14.4V24H3.2z" id="Shape"/>
</g>
</g>
</svg>