Index: trunk/extensions/EducationProgram/includes/EPOrgPager.php |
— | — | @@ -142,12 +142,12 @@ |
143 | 143 | protected function getControlLinks( EPDBObject $item ) { |
144 | 144 | $links = parent::getControlLinks( $item ); |
145 | 145 | |
146 | | - $links[] = $item->getLink(); |
| 146 | + $links[] = $item->getLink( 'view', wfMsgHtml( 'view' ) ); |
147 | 147 | |
148 | 148 | if ( $this->getUser()->isAllowed( 'ep-org' ) ) { |
149 | 149 | $links[] = $item->getLink( |
150 | 150 | 'edit', |
151 | | - null, |
| 151 | + wfMsgHtml( 'edit' ), |
152 | 152 | array(), |
153 | 153 | array( 'wpreturnto' => $this->getTitle()->getText() ) |
154 | 154 | ); |
Index: trunk/extensions/EducationProgram/includes/EPCoursePager.php |
— | — | @@ -171,12 +171,12 @@ |
172 | 172 | protected function getControlLinks( EPDBObject $item ) { |
173 | 173 | $links = parent::getControlLinks( $item ); |
174 | 174 | |
175 | | - $links[] = $item->getLink(); |
| 175 | + $links[] = $item->getLink( 'view', wfMsgHtml( 'view' ) ); |
176 | 176 | |
177 | 177 | if ( $this->getUser()->isAllowed( 'ep-course' ) ) { |
178 | 178 | $links[] = $item->getLink( |
179 | 179 | 'edit', |
180 | | - null, |
| 180 | + wfMsgHtml( 'edit' ), |
181 | 181 | array(), |
182 | 182 | array( 'wpreturnto' => $this->getTitle()->getText() ) |
183 | 183 | ); |