Wikimedia

The revision deletion screen does not show change tags

The popular wiki platform, MediaWiki, powers a wide range of collaborative editing projects, such as Wikipedia and Wikivoyage, as well as many internal corporate wikis and other sites.

MediaWiki allows administrators to delete individual revisions (versions) of a page from the page history. This feature may be used to remove gross vandalism or libellous content.

The revision deletion confirmation form shows details of the revisions that are selected for deletion. It does this in a way that mimics the display on the history page (see here for a nice example). However, the revision deletion view does not include change tags ("HotCat" in the previous example).

Your task is to include change tags on the revision deletion confirmation form. To do this, some code from includes/changetags/ChangeTagRevisionItem.php will need to be copied over and incorporated into includes/revisiondelete/RevDelRevisionItem.php. It's not as simple as Ctrl+C, Ctrl+V though -- you will need to first figure out what to copy, then where to paste it, and finally, make sure the logic is properly integrated and works correctly.

See https://phabricator.wikimedia.org/T109041 for more details.

MediaWiki code can be found in the mediawiki/core Git repository. Read https://www.mediawiki.org/wiki/Gerrit for more details on submitting your code and the review process.

Task tags

  • php

Students who completed this task

mhutti1

Task type

  • code Code
  • web Design
close

2015