Brion VIBBER has submitted this change and it was merged. Change subject: photo uploads for articles without images in the summary section ......................................................................
photo uploads for articles without images in the summary section first version - result of hackathon in Bangalore written by @imdadahmed, @kaoskeya @darkyen, @swaroopsm and @jdlrobson __for webkit only to reduce scope and test feature__ * Note some cleanup templates include a small img - we should not count these - so we look for .thumb img * duplicate image upload handling * use cors to upload between projects (e.g. en.wiki to commons) * use cc-by-sa-3.0 license by default and warn user ** license opens in a new window other changes: * expose isLoggedIn from mf-application.js * add .cancel and .confirm versions of buttons * $wgMFPhotoUploadEndpoint allows uploading to other domains * show error message returned by API if present Change-Id: Ic790f9d079cae83a36e8e2b0e572c9c4a36c9753 --- M Makefile M MobileFrontend.i18n.php M MobileFrontend.php M includes/skins/SkinMobile.php M javascripts/common/mf-application.js A javascripts/modules/mf-photo.js M stylesheets/common/mf-navigation.css M stylesheets/less/common/mf-buttons.less M stylesheets/less/mf-variables.less A stylesheets/less/modules/mf-photo.less A stylesheets/modules/images/5-content-new-picture.png A stylesheets/modules/mf-photo.css 12 files changed, 558 insertions(+), 6 deletions(-) Approvals: Brion VIBBER: Looks good to me, approved jenkins-bot: Verified -- To view, visit https://gerrit.wikimedia.org/r/32683 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic790f9d079cae83a36e8e2b0e572c9c4a36c9753 Gerrit-PatchSet: 16 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org> Gerrit-Reviewer: Brion VIBBER <br...@wikimedia.org> Gerrit-Reviewer: JGonera <jgon...@wikimedia.org> Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org> Gerrit-Reviewer: MaxSem <maxsem.w...@gmail.com> Gerrit-Reviewer: Ori.livneh <o...@wikimedia.org> Gerrit-Reviewer: awjrichards <aricha...@wikimedia.org> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits