r111793 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111792‎ | r111793 | r111794 >
Date:21:27, 17 February 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
follow up to r111666
Modified paths:
  • /trunk/extensions/EducationProgram/includes/EPArticleTable.php (modified) (history)
  • /trunk/extensions/EducationProgram/includes/EPCourse.php (modified) (history)
  • /trunk/extensions/EducationProgram/includes/EPLogFormatter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/includes/EPLogFormatter.php
@@ -38,5 +38,19 @@
3939 }
4040 return $link;
4141 }
 42+
 43+ /**
 44+ * (non-PHPdoc)
 45+ * @see LogFormatter::extractParameters()
 46+ */
 47+ protected function extractParameters() {
 48+ $params = parent::extractParameters();
 49+
 50+ if ( !empty( $params ) ) {
 51+ $params[4] = $this->context->getLanguage()->listToText( (array)$params[4] );
 52+ }
 53+
 54+ return $params;
 55+ }
4256
4357 }
Index: trunk/extensions/EducationProgram/includes/EPArticleTable.php
@@ -197,7 +197,26 @@
198198 );
199199 }
200200
 201+ protected function addStudentRemovalControl() {
201202
 203+ }
 204+
 205+ protected function addArticleRemovalControl() {
 206+
 207+ }
 208+
 209+ protected function addReviwerRemovalControl() {
 210+
 211+ }
 212+
 213+ protected function addArticleAdittionControl() {
 214+
 215+ }
 216+
 217+ protected function addReviewerAdittionControl() {
 218+
 219+ }
 220+
202221 /**
203222 * (non-PHPdoc)
204223 * @see EPPager::getFormattedValue()
Index: trunk/extensions/EducationProgram/includes/EPCourse.php
@@ -691,7 +691,7 @@
692692 'title' => $this->getTitle(),
693693 'parameters' => array(
694694 '4::usercount' => count( $names ),
695 - '5::users' => $GLOBALS['wgLang']->listToText( $names )
 695+ '5::users' => $names
696696 ),
697697 );
698698

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r111666tweaks to loggingjeroendedauw19:44, 16 February 2012

Status & tagging log