Front-end standards group/2016-06-08

From mediawiki.org

Attending: Bartosz D., Jan D., Julien G., Volker E., Andrew R.-G., Roan K.

Social[edit]

No topics today

Action & Code[edit]

Follow-up[edit]

Does usage of localStorage fall under our cookie policy?[edit]

-> JD reaches out to legal -->
JD: If the data is not being sent to the servers, it does not fall under the cookie policy
https://wikimediafoundation.org/wiki/Cookie_statement
Actually lists localStorage entires as well as cookies.

T102114 Cannot handle multiple HTMLForms in single SpecialPage[edit]

https://phabricator.wikimedia.org/T102114
https://gerrit.wikimedia.org/r/#/c/291837/ needs to be reviewed

New quests[edit]

T65577 Create a "Watching and notifications" tab in MediaWiki core (JR)[edit]

https://phabricator.wikimedia.org/T65577

RK: Was stalled in 2014 and RK will pick it up. Going to be under Collaboration responsibility.

--> Was decided to remove it from Group decision

T136458 Should HTML formatting/DOM manipulation (presentation, responsiveness) be done in JS (frontend) or in PHP (backend) [JG][edit]

https://phabricator.wikimedia.org/T136458

JG: PHP
ES: HTML output on the client as simple as possible, from caching perspective backend rendering is not optimal.
RK: Is `px` or `%` defined by wikitext?
JG: It's defined in wikitext
RK: ES was probably concerned by having the same wikitext rendered differently.
-> JG will add clarification that information comes from wikitext – DONE

Standardized events system[edit]

ARG: Do we have a standardized events system?
RK: OOUI Mixin EventEmitter
OO.mixinClass( OO.ui.Widget, OO.EventEmitter );
https://github.com/wikimedia/oojs/blob/155fc2e9562dd75b425dc7dc9b4655e64eee54e4/src/EventEmitter.js