r108928 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108927‎ | r108928 | r108929 >
Date:17:52, 14 January 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
follow up to r108917, added missing messages
Modified paths:
  • /trunk/extensions/EducationProgram/EducationProgram.i18n.php (modified) (history)
  • /trunk/extensions/EducationProgram/specials/SpecialEnroll.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/specials/SpecialEnroll.php
@@ -48,7 +48,7 @@
4949 $term = EPTerm::selectRow( null, array( 'id' => $args[0] ) );
5050
5151 if ( $term === false ) {
52 - $this->showWarning( wfMessage( 'ep-enroll-nosuchterm' ) );
 52+ $this->showWarning( wfMessage( 'ep-enroll-invalid-id' ) );
5353 }
5454 elseif ( $term->getStatus() === 'current' ) {
5555 $token = '';
@@ -125,8 +125,6 @@
126126 protected function showTokenInput() {
127127 $out = $this->getOutput();
128128
129 - // $out->addWikiMsg( 'ep-enroll-no-token' );
130 -
131129 $out->addHTML( Html::openElement(
132130 'form',
133131 array(
Index: trunk/extensions/EducationProgram/EducationProgram.i18n.php
@@ -339,6 +339,8 @@
340340 'ep-enroll-add-token-doc' => 'In order to enroll for this term, you need a token provided by your instructor or one of the ambassadors for your term.',
341341 'ep-enroll-token' => 'Enrollment token',
342342 'ep-enroll-submit-token' => 'Enroll with this token',
 343+ 'ep-enroll-term-passed' => 'This term has ended, so you can no longer enroll for it. A list of existing terms can be found [[Special:Terms|here]].',
 344+ 'ep-enroll-term-planned' => 'This term has not yet started, please be patient. A list of existing terms can be found [[Special:Terms|here]].',
343345
344346 // Special:MyCourses
345347 'ep-mycourses-enrolled' => 'You have successfully enrolled for $1 at $2.',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108917work on special:enrolljeroendedauw16:50, 14 January 2012

Status & tagging log