r82231 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82230‎ | r82231 | r82232 >
Date:10:28, 16 February 2011
Author:reedy
Status:ok (Comments)
Tags:
Comment:
Fix text description of OutputPage::getLanguageLinks(), it doesn't return 'fr' => 'Title', it returns 'fr:Title'
Modified paths:
  • /trunk/phase3/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/OutputPage.php
@@ -87,7 +87,7 @@
8888 var $mCategoryLinks = array();
8989 var $mCategories = array();
9090
91 - /// Should be private. Associative array mapping language code to the page name
 91+ /// Should be private. Array of Interwiki Prefixed (non DB key) Titles (e.g. 'fr:Test page')
9292 var $mLanguageLinks = array();
9393
9494 /**
@@ -980,7 +980,7 @@
981981 /**
982982 * Get the list of language links
983983 *
984 - * @return Associative array mapping language code to the page name
 984+ * @return Array of Interwiki Prefixed (non DB key) Titles (e.g. 'fr:Test page')
985985 */
986986 public function getLanguageLinks() {
987987 return $this->mLanguageLinks;

Comments

#Comment by 😂 (talk | contribs)   10:31, 16 February 2011

This caused r82202 :p

Status & tagging log