Wikimedia

Add id attribute to MediaWiki's error message "mw-error-cannotundelete"

Error messages should be wrapped in a container which allows it to style or modify them with CSS and/or JavaScript. Currently, some error messages aren't wrapped in such. Your task is to add a css class, like mw-error-cannotundelete, to the usage of the cannotundelete interface message.

Tipps:

  • Github is your friend for code searches, if you don't want (or can't) use grep
  • See how it was done for "cannotdeleteto" see how this could be done

Task tags

  • i18n
  • php

Students who completed this task

David Sn

Task type

  • code Code
  • web Design
close

2016