dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5e8ec7
)
For r106521/r106865, wrap long example description strings
author
Sam Reed
<reedy@users.mediawiki.org>
Tue, 20 Dec 2011 21:37:51 +0000
(21:37 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Tue, 20 Dec 2011 21:37:51 +0000
(21:37 +0000)
Follows up r106439
includes/api/ApiBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiBase.php
b/includes/api/ApiBase.php
index
efbf1c0
..
920f114
100644
(file)
--- a/
includes/api/ApiBase.php
+++ b/
includes/api/ApiBase.php
@@
-280,11
+280,11
@@
abstract class ApiBase extends ContextSource {
$msg .= " $v\n";
} else {
if ( is_array( $v ) ) {
- $msg
.
= implode( "\n", array_map( array( $this, 'indentExampleText' ), $v ) );
+ $msg
Example
= implode( "\n", array_map( array( $this, 'indentExampleText' ), $v ) );
} else {
- $msg
.
= " $v";
+ $msg
Example
= " $v";
}
- $msg .= "\n $k";
+ $msg .=
wordwrap( $msgExample, 100, "\n" ) .
"\n $k";
}
}
}