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:
87108b6
)
Tweak to r30053... Remove unnecessary sprintf()
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 22 Jan 2008 20:59:22 +0000
(20:59 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 22 Jan 2008 20:59:22 +0000
(20:59 +0000)
includes/WikiError.php
patch
|
blob
|
history
diff --git
a/includes/WikiError.php
b/includes/WikiError.php
index
dede157
..
b155f9b
100644
(file)
--- a/
includes/WikiError.php
+++ b/
includes/WikiError.php
@@
-101,12
+101,12
@@
class WikiXmlError extends WikiError {
/** @return string */
function getMessage() {
- return sprintf( wfMsgHtml( 'xml-error-string', '%s', '%d', '%d', '%d%s', '%s' ),
+ // '$1 at line $2, col $3 (byte $4): $5',
+ return wfMsgHtml( 'xml-error-string',
$this->mMessage,
$this->mLine,
$this->mColumn,
- $this->mByte,
- $this->mContext,
+ $this->mByte . $this->mContext,
xml_error_string( $this->mXmlError ) );
}