aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api
diff options
context:
space:
mode:
authorumherirrender <umherirrender_de.wp@web.de>2013-04-13 13:36:24 +0200
committerumherirrender <umherirrender_de.wp@web.de>2013-04-13 13:36:24 +0200
commit15abcf71ca7ec185b475e47ef0fe43884e764239 (patch)
tree7791eaf66b73bffa30de7b66b429fc045cbb0a55 /includes/api
parentd48005a696838e11ae8e6f2696f72c55c995224f (diff)
downloadmediawikicore-15abcf71ca7ec185b475e47ef0fe43884e764239.tar.gz
mediawikicore-15abcf71ca7ec185b475e47ef0fe43884e764239.zip
Added/Removed spaces around string concatenation
And added/removed spaces around some other tokens, like +, -, *, /, <, >, =, ! Fixed windows newline style Change-Id: I0b9c8c408f3f6bfc0d685a074d7ec468fb848fc8
Diffstat (limited to 'includes/api')
-rw-r--r--includes/api/ApiEditPage.php2
-rw-r--r--includes/api/ApiMain.php2
-rw-r--r--includes/api/ApiQueryRevisions.php4
3 files changed, 4 insertions, 4 deletions
diff --git a/includes/api/ApiEditPage.php b/includes/api/ApiEditPage.php
index 4916145bc155..ab6000815387 100644
--- a/includes/api/ApiEditPage.php
+++ b/includes/api/ApiEditPage.php
@@ -100,7 +100,7 @@ class ApiEditPage extends ApiBase {
$name = $titleObj->getPrefixedDBkey();
$model = $contentHandler->getModelID();
- $this->dieUsage( "The requested format $contentFormat is not supported for content model ".
+ $this->dieUsage( "The requested format $contentFormat is not supported for content model " .
" $model used by $name", 'badformat' );
}
diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php
index abd47b20ebf9..76f9b4201aba 100644
--- a/includes/api/ApiMain.php
+++ b/includes/api/ApiMain.php
@@ -863,7 +863,7 @@ class ApiMain extends ApiBase {
' ' . $request->getMethod() .
' ' . wfUrlencode( str_replace( ' ', '_', $this->getUser()->getName() ) ) .
' ' . $request->getIP() .
- ' T=' . $milliseconds .'ms';
+ ' T=' . $milliseconds . 'ms';
foreach ( $this->getParamsUsed() as $name ) {
$value = $request->getVal( $name );
if ( $value === null ) {
diff --git a/includes/api/ApiQueryRevisions.php b/includes/api/ApiQueryRevisions.php
index 192fe873f43f..317b7ba57c9a 100644
--- a/includes/api/ApiQueryRevisions.php
+++ b/includes/api/ApiQueryRevisions.php
@@ -550,7 +550,7 @@ class ApiQueryRevisions extends ApiQueryBase {
if ( !$content->isSupportedFormat( $format ) ) {
$name = $title->getPrefixedDBkey();
- $this->dieUsage( "The requested format {$this->contentFormat} is not supported ".
+ $this->dieUsage( "The requested format {$this->contentFormat} is not supported " .
"for content model $model used by $name", 'badformat' );
}
@@ -593,7 +593,7 @@ class ApiQueryRevisions extends ApiQueryBase {
$name = $title->getPrefixedDBkey();
- $this->dieUsage( "The requested format {$this->contentFormat} is not supported for ".
+ $this->dieUsage( "The requested format {$this->contentFormat} is not supported for " .
"content model $model used by $name", 'badformat' );
}