r112507 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112506‎ | r112507 | r112508 >
Date:19:25, 27 February 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
added messages for undo and restore actions
Modified paths:
  • /trunk/extensions/EducationProgram/EducationProgram.i18n.php (modified) (history)
  • /trunk/extensions/EducationProgram/actions/EPRestoreAction.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/actions/EPRestoreAction.php
@@ -12,7 +12,7 @@
1313 * @licence GNU GPL v3+
1414 * @author Jeroen De Dauw < jeroendedauw@gmail.com >
1515 */
16 -abstract class EPRestoreAction extends FormlessAction {
 16+class EPRestoreAction extends FormlessAction {
1717
1818 /**
1919 * (non-PHPdoc)
Index: trunk/extensions/EducationProgram/EducationProgram.i18n.php
@@ -483,6 +483,34 @@
484484 'orgpage-delete-delete-button' => 'Delete institution',
485485 'orgpage-delete-none' => 'There is no institution titled "$1". Existing institutions can be found in [[Special:Courses|the institution list]].',
486486
 487+ // Institution restoration
 488+ 'orgpage-eprestore-title' => 'Restore institution "$1"',
 489+ 'orgpage-eprestore-text' => 'You are about to restore institution $1 to a previous revision.',
 490+ 'orgpage-eprestore-summary' => 'Reason for restoration:',
 491+ 'orgpage-eprestore-restore-button' => 'Restore revision',
 492+ 'orgpage-eprestore-cancel-button' => 'Cancel',
 493+
 494+ // Course restoration
 495+ 'coursepage-eprestore-title' => 'Restore course "$1"',
 496+ 'coursepage-eprestore-text' => 'You are about to restore course $1 to a previous revision.',
 497+ 'coursepage-eprestore-summary' => 'Reason for restoration:',
 498+ 'coursepage-eprestore-restore-button' => 'Restore revision',
 499+ 'coursepage-eprestore-cancel-button' => 'Cancel',
 500+
 501+ // Institution undo revision
 502+ 'orgpage-epundo-title' => 'Undo revision of institution "$1"',
 503+ 'orgpage-epundo-text' => 'You are about undo a single revison of institution $1.',
 504+ 'orgpage-epundo-summary' => 'Reason for revert:',
 505+ 'orgpage-epundo-undo-button' => 'Undo revision',
 506+ 'orgpage-epundo-cancel-button' => 'Cancel',
 507+
 508+ // Course undo revision
 509+ 'coursepage-epundo-title' => 'Undo revision of course "$1"',
 510+ 'coursepage-epundo-text' => 'You are about undo a single revison of course $1.',
 511+ 'coursepage-epundo-summary' => 'Reason for revert:',
 512+ 'coursepage-epundo-undo-button' => 'Undo revision',
 513+ 'coursepage-epundo-cancel-button' => 'Cancel',
 514+
487515 // Special:Ambassador
488516 'ep-ambassador-does-not-exist' => 'There is no ambassador with name "$1". See [[Special:Ambassadors|here]] for a list of ambassadors.',
489517 'ep-ambassador-title' => 'Ambassador: $1',

Status & tagging log