diff --git a/includes/specials/SpecialVersion.php b/includes/specials/SpecialVersion.php
index 3118f65cb66..cf7816198a1 100644
--- a/includes/specials/SpecialVersion.php
+++ b/includes/specials/SpecialVersion.php
@@ -445,7 +445,7 @@ class SpecialVersion extends SpecialPage {
$author = isset ( $extension['author'] ) ? $extension['author'] : array();
$extDescAuthor = "
$description |
- " . $this->listToText( (array)$author, false ) . " |
+ " . $this->listAuthors( $author, false ) . " |
\n";
return $extNameVer . $extDescAuthor;
@@ -512,6 +512,24 @@ class SpecialVersion extends SpecialPage {
"visited from $ip";
}
+ /**
+ * Return a formatted unsorted list of authors
+ *
+ * @param $authors mixed: string or array of strings
+ * @return String: HTML fragment
+ */
+ function listAuthors( $authors ) {
+ $list = array();
+ foreach( (array)$authors as $item ) {
+ if( $item == '...' ) {
+ $list[] = wfMsg( 'version-poweredby-others' );
+ } else {
+ $list[] = $item;
+ }
+ }
+ return $this->listToText( $list, false );
+ }
+
/**
* Convert an array of items into a list for display.
*