Index: trunk/extensions/EducationProgram/includes/EPUtils.php |
— | — | @@ -169,7 +169,7 @@ |
170 | 170 | $attribs = array(); |
171 | 171 | } |
172 | 172 | |
173 | | - $links[] = Linker::linkKnown( |
| 173 | + $links[] = Linker::link( |
174 | 174 | $target, |
175 | 175 | htmlspecialchars( $label ), |
176 | 176 | $attribs |
— | — | @@ -188,7 +188,7 @@ |
189 | 189 | * |
190 | 190 | * @param IContextSource $context |
191 | 191 | * |
192 | | - * @return array |
| 192 | + * @return array of Title |
193 | 193 | */ |
194 | 194 | public static function getDefaultNavigationItems( IContextSource $context ) { |
195 | 195 | $items = array( |
Index: trunk/extensions/EducationProgram/EducationProgram.i18n.php |
— | — | @@ -208,12 +208,12 @@ |
209 | 209 | |
210 | 210 | // Special:EducationProgram |
211 | 211 | 'ep-summary-table-header' => 'Education Program summary', |
212 | | - 'specialeducationprogram-summary-org-count' => 'Amount of [[Special:Institutions|institutions]]', |
213 | | - 'specialeducationprogram-summary-course-count' => 'Amount of [[Special:Courses|courses]]', |
214 | | - 'specialeducationprogram-summary-student-count' => 'Amount of [[Special:Students|students]]', |
215 | | - 'specialeducationprogram-summary-instructor-count' => 'Amount of instructors', |
216 | | - 'specialeducationprogram-summary-ca-count' => 'Amount of [[Special:CampusAmbassadors|Campus Ambassadors]]', |
217 | | - 'specialeducationprogram-summary-oa-count' => 'Amount of [[Special:OnlineAmbassadors|Online Ambassadors]]', |
| 212 | + 'specialeducationprogram-summary-org-count' => 'Number of [[Special:Institutions|institutions]]', |
| 213 | + 'specialeducationprogram-summary-course-count' => 'Number of [[Special:Courses|courses]]', |
| 214 | + 'specialeducationprogram-summary-student-count' => 'Number of [[Special:Students|students]]', |
| 215 | + 'specialeducationprogram-summary-instructor-count' => 'Number of instructors', |
| 216 | + 'specialeducationprogram-summary-ca-count' => 'Number of [[Special:CampusAmbassadors|Campus Ambassadors]]', |
| 217 | + 'specialeducationprogram-summary-oa-count' => 'Number of [[Special:OnlineAmbassadors|Online Ambassadors]]', |
218 | 218 | |
219 | 219 | // Special:Institutions |
220 | 220 | 'ep-institutions-nosuchinstitution' => 'There is no institution with name "$1". Existing institutions are listed below.', |