dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "More magic word translations for Catalan (ca)"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialVersion.php
diff --git
a/includes/specials/SpecialVersion.php
b/includes/specials/SpecialVersion.php
index
272f074
..
708eced
100644
(file)
--- a/
includes/specials/SpecialVersion.php
+++ b/
includes/specials/SpecialVersion.php
@@
-78,9
+78,16
@@
class SpecialVersion extends SpecialPage {
// Now figure out what to do
switch ( strtolower( $parts[0] ) ) {
case 'credits':
// Now figure out what to do
switch ( strtolower( $parts[0] ) ) {
case 'credits':
+ $out->addModuleStyles( 'mediawiki.special.version' );
+
$wikiText = '{{int:version-credits-not-found}}';
if ( $extName === 'MediaWiki' ) {
$wikiText = file_get_contents( $IP . '/CREDITS' );
$wikiText = '{{int:version-credits-not-found}}';
if ( $extName === 'MediaWiki' ) {
$wikiText = file_get_contents( $IP . '/CREDITS' );
+ // Put the contributor list into columns
+ $wikiText = str_replace(
+ [ '<!-- BEGIN CONTRIBUTOR LIST -->', '<!-- END CONTRIBUTOR LIST -->' ],
+ [ '<div class="mw-version-credits">', '</div>' ],
+ $wikiText );
} elseif ( ( $extNode !== null ) && isset( $extNode['path'] ) ) {
$file = $this->getExtAuthorsFileName( dirname( $extNode['path'] ) );
if ( $file ) {
} elseif ( ( $extNode !== null ) && isset( $extNode['path'] ) ) {
$file = $this->getExtAuthorsFileName( dirname( $extNode['path'] ) );
if ( $file ) {