Reedy has uploaded a new change for review.
https://gerrit.wikimedia.org/r/107763
Change subject: Move initial setting of $extNode out of the conditional
......................................................................
Move initial setting of $extNode out of the conditional
Change-Id: I3d13bfde15085d8c17ef41c6729bec2e9f8f84a2
---
M includes/specials/SpecialVersion.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/63/107763/1
diff --git a/includes/specials/SpecialVersion.php
b/includes/specials/SpecialVersion.php
index 8d7bd54..e8aa9b4 100644
--- a/includes/specials/SpecialVersion.php
+++ b/includes/specials/SpecialVersion.php
@@ -57,9 +57,9 @@
// Explode the sub page information into useful bits
$parts = explode( '/', (string)$par );
+ $extNode = null;
if ( isset( $parts[1] ) ) {
$extName = str_replace( '_', ' ', $parts[1] );
- $extNode = null;
// Find it!
foreach ( $wgExtensionCredits as $group => $extensions
) {
foreach ( $extensions as $ext ) {
--
To view, visit https://gerrit.wikimedia.org/r/107763
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3d13bfde15085d8c17ef41c6729bec2e9f8f84a2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits