Page MenuHomePhabricator

[wmf.17] Vue deprecation warnings on MentorDashboard
Closed, DeclinedPublic

Description

Found when checking T340104 (https://test.wikipedia.org/wiki/Special:MentorDashboard?debug=true)

  • [Vue warn]: (deprecation GLOBAL_PROTOTYPE) Vue.prototype is no longer available in Vue 3. Use app.config.globalProperties instead
  • [Vue warn]: Directive "i18n-html" has already been registered in target app.
[Vue warn]: (deprecation ATTR_FALSE_VALUE) Attribute "aria-expanded" with v-bind value `false` will render aria-expanded="false" instead of removing it in Vue 3. To remove the attribute, use `null` or `undefined` instead. If the usage is intended, you can disable the compat behavior and suppress this warning with:
 configureCompat({ ATTR_FALSE_VALUE: false })

  Details: https://v3-migration.vuejs.org/breaking-changes/attribute-coercion.html 
  at <CdxTextInput modelValue="" onUpdate:modelValue= (2) [ƒ, ƒ] placeholder= Message {map: Map, key: 'growthexperiments-mentor-dashboard-mentee-overview-search-placeholder', parameters: Array(0)}  ... > 
  at <CdxLookup selected="" onUpdate:selected= (2) [ƒ, ƒ] placeholder= Message {map: Map, key: 'growthexperiments-mentor-dashboard-mentee-overview-search-placeholder', parameters: Array(0)}  ... > 
  at <MenteeSearch onUpdate:selected=fn<bound onMenteeSearchSelection> > 
  at <App>
  • After the above the Console error is displayed: The above deprecation's compat behavior is disabled and will likely lead to runtime errors.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

All deprecation Vue warnings are explained here; they may be sufficiently ignored by now.