r110824 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r110823
|
r110824
|
r110825
>
Date:
08:04, 7 February 2012
Author:
bawolff
Status:
ok
Tags:
miscextensions
Comment:
Make it so that going to Special:ShortUrl/f'''o''' doesn't make the o bold (It doesn't really matter at all, since no one is going to go to a url like that, and if they did it wouldn't matter if the o was bold, but nonetheless...)
Modified paths:
/trunk/extensions/ShortUrl/SpecialShortUrl.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/ShortUrl/SpecialShortUrl.php
—
—
@@ -39,7 +39,8 @@
40
40
if ( $title !== false ) {
41
41
$wgOut->redirect( $title->getFullURL(), '301' );
42
42
} else {
43
- $wgOut->showErrorPage( 'shorturl-not-found-title', 'shorturl-not-found-message', array( $par ) );
43
+ $parEsc = wfEscapeWikiText( $par );
44
+ $wgOut->showErrorPage( 'shorturl-not-found-title', 'shorturl-not-found-message', array( $parEsc ) );
44
45
}
45
46
}
46
47
}
Follow-up revisions
Revision
Commit summary
Author
Date
r110841
MFT
r110824
,
r110826
reedy
12:41, 7 February 2012
Status & tagging log
22:35, 7 February 2012
Reedy
(
talk
|
contribs
)
changed the
status
of r110824
[
removed:
new
added:
ok]
16:57, 7 February 2012
MarkAHershberger
(
talk
|
contribs
)
changed the
tags
for r110824
[
added:
miscextensions]