r110110 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110109‎ | r110110 | r110111 >
Date:09:25, 27 January 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
follow up to r110108 - fix link text
Modified paths:
  • /trunk/extensions/EducationProgram/includes/EPCoursePager.php (modified) (history)
  • /trunk/extensions/EducationProgram/includes/EPOrgPager.php (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/includes/EPOrgPager.php
@@ -142,12 +142,12 @@
143143 protected function getControlLinks( EPDBObject $item ) {
144144 $links = parent::getControlLinks( $item );
145145
146 - $links[] = $item->getLink();
 146+ $links[] = $item->getLink( 'view', wfMsgHtml( 'view' ) );
147147
148148 if ( $this->getUser()->isAllowed( 'ep-org' ) ) {
149149 $links[] = $item->getLink(
150150 'edit',
151 - null,
 151+ wfMsgHtml( 'edit' ),
152152 array(),
153153 array( 'wpreturnto' => $this->getTitle()->getText() )
154154 );
Index: trunk/extensions/EducationProgram/includes/EPCoursePager.php
@@ -171,12 +171,12 @@
172172 protected function getControlLinks( EPDBObject $item ) {
173173 $links = parent::getControlLinks( $item );
174174
175 - $links[] = $item->getLink();
 175+ $links[] = $item->getLink( 'view', wfMsgHtml( 'view' ) );
176176
177177 if ( $this->getUser()->isAllowed( 'ep-course' ) ) {
178178 $links[] = $item->getLink(
179179 'edit',
180 - null,
 180+ wfMsgHtml( 'edit' ),
181181 array(),
182182 array( 'wpreturnto' => $this->getTitle()->getText() )
183183 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r110108fix link issuejeroendedauw09:09, 27 January 2012

Status & tagging log