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 "Merge namespace aliases like we merge namespace names"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialVersion.php
diff --git
a/includes/specials/SpecialVersion.php
b/includes/specials/SpecialVersion.php
index
7e0f0b2
..
80560be
100644
(file)
--- a/
includes/specials/SpecialVersion.php
+++ b/
includes/specials/SpecialVersion.php
@@
-1062,7
+1062,7
@@
class SpecialVersion extends SpecialPage {
foreach ( scandir( $extDir ) as $file ) {
$fullPath = $extDir . DIRECTORY_SEPARATOR . $file;
foreach ( scandir( $extDir ) as $file ) {
$fullPath = $extDir . DIRECTORY_SEPARATOR . $file;
- if ( preg_match( '/^((AUTHORS)|(CREDITS))(\.txt)?$/', $file ) &&
+ if ( preg_match( '/^((AUTHORS)|(CREDITS))(\.txt
|\.wiki|\.mediawiki
)?$/', $file ) &&
is_readable( $fullPath ) &&
is_file( $fullPath )
) {
is_readable( $fullPath ) &&
is_file( $fullPath )
) {