Gerrit Patch Uploader has uploaded a new change for review.
https://gerrit.wikimedia.org/r/248487
Change subject: Remove double whitespaces
......................................................................
Remove double whitespaces
Change-Id: Ic6c095c25b0ba80f9340254c36fc5fec911ce87d
---
M SpecialGadgetUsage.php
M SpecialGadgets.php
M includes/MediaWikiGadgetsDefinitionRepo.php
3 files changed, 3 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gadgets
refs/changes/87/248487/1
diff --git a/SpecialGadgetUsage.php b/SpecialGadgetUsage.php
index 96cb5b5..e17b45d 100644
--- a/SpecialGadgetUsage.php
+++ b/SpecialGadgetUsage.php
@@ -87,7 +87,7 @@
$gadgetUserCount = $this->getLanguage()->formatNum(
$result->value );
if ( $gadgetTitle ) {
$html = Html::openElement( 'tr', array() );
- $html .= Html::rawElement( 'td', array(), $gadgetTitle
);
+ $html .= Html::rawElement( 'td', array(), $gadgetTitle
);
$html .= Html::rawElement( 'td', array(),
$gadgetUserCount );
$html .= Html::closeElement( 'tr' );
return $html;
diff --git a/SpecialGadgets.php b/SpecialGadgets.php
index a53160f..095de46 100644
--- a/SpecialGadgets.php
+++ b/SpecialGadgets.php
@@ -62,7 +62,7 @@
$lnkTarget = $t
? Linker::link( $t, $this->msg(
$editInterfaceMessage )->escaped(), array(), array( 'action' => 'edit' ) )
: htmlspecialchars( $section );
- $lnk = "    [$lnkTarget]";
+ $lnk = "    [$lnkTarget]";
$ttext = $this->msg( "gadget-section-$section"
)->parse();
diff --git a/includes/MediaWikiGadgetsDefinitionRepo.php
b/includes/MediaWikiGadgetsDefinitionRepo.php
index 4a0940c..5377fad 100644
--- a/includes/MediaWikiGadgetsDefinitionRepo.php
+++ b/includes/MediaWikiGadgetsDefinitionRepo.php
@@ -181,7 +181,7 @@
$options = trim( $m[2], ' []' );
foreach ( preg_split( '/\s*\|\s*/', $options, -1,
PREG_SPLIT_NO_EMPTY ) as $option ) {
- $arr = preg_split( '/\s*=\s*/', $option, 2 );
+ $arr = preg_split( '/\s*=\s*/', $option, 2 );
$option = $arr[0];
if ( isset( $arr[1] ) ) {
$params = explode( ',', $arr[1] );
@@ -227,6 +227,5 @@
return new Gadget( $info );
}
-
}
--
To view, visit https://gerrit.wikimedia.org/r/248487
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic6c095c25b0ba80f9340254c36fc5fec911ce87d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gadgets
Gerrit-Branch: master
Gerrit-Owner: Gerrit Patch Uploader <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits