Jdrewniak has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/387193 )

Change subject: SVG Sprites - Replacing PNG images with SVG sprite in the HTML
......................................................................

SVG Sprites - Replacing PNG images with SVG sprite in the HTML

This patch replaces the images on the wikipedia.org portal with
an SVG sprite with PNG fallback instead.

Classes in the handlebars templates have been replaced to match the new
SVG sprite classes.

The new sprite.css file has been linked in index.handlebars, and the
sprite-template.handlebars file has been fixed to work with IE8.

The Gulp file has also been modified to run the svgSprite task during
`gulp watch`.

The Wikinews logo has been moved to the top-level img folder since it
and the Wikipedia logo are too big to be served as SVGs.

Bug:T129634, T177343
Change-Id: I78948556a830f722a3efad0f949d3ed01eb02a7e
---
M dev/wikipedia.org/assets/css/sprite-template.mustache
A dev/wikipedia.org/assets/css/sprite.css
M dev/wikipedia.org/assets/css/style.css
A dev/wikipedia.org/assets/img/Wikinews-logo_sister.png
A dev/wikipedia.org/assets/img/sprite-2b30cd2d.png
A dev/wikipedia.org/assets/img/sprite-2b30cd2d.svg
M dev/wikipedia.org/assets/postcss/_app-badge.css
M dev/wikipedia.org/assets/postcss/_central-textlogo.css
M dev/wikipedia.org/assets/postcss/_footer.css
M dev/wikipedia.org/assets/postcss/_other-languages.css
M dev/wikipedia.org/assets/postcss/_other-projects.css
M dev/wikipedia.org/assets/postcss/_search.css
M dev/wikipedia.org/index.handlebars
M dev/wikipedia.org/other-projects.json
M dev/wikipedia.org/templates/app-badges.handlebars
M dev/wikipedia.org/templates/footer.handlebars
M dev/wikipedia.org/templates/header-logo.handlebars
M dev/wikipedia.org/templates/language-list-button.handlebars
M dev/wikipedia.org/templates/other-projects.item.handlebars
M dev/wikipedia.org/templates/search.handlebars
M gulpfile.js
21 files changed, 219 insertions(+), 67 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/portals 
refs/changes/93/387193/1


-- 
To view, visit https://gerrit.wikimedia.org/r/387193
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I78948556a830f722a3efad0f949d3ed01eb02a7e
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/portals
Gerrit-Branch: master
Gerrit-Owner: Jdrewniak <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to