dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "RCFilters UI, Followup I97a45208: Replace the entire fieldset"
[lhc/web/wiklou.git]
/
includes
/
Linker.php
diff --git
a/includes/Linker.php
b/includes/Linker.php
index
05e3abb
..
0c8d1c6
100644
(file)
--- a/
includes/Linker.php
+++ b/
includes/Linker.php
@@
-590,7
+590,7
@@
class Linker {
# ThumbnailImage::toHtml() already adds page= onto the end of DjVu URLs
# So we don't need to pass it here in $query. However, the URL for the
# ThumbnailImage::toHtml() already adds page= onto the end of DjVu URLs
# So we don't need to pass it here in $query. However, the URL for the
- # zoom icon still needs it, so we make a unique query for it. See
bug 14
771
+ # zoom icon still needs it, so we make a unique query for it. See
T16
771
$url = $title->getLocalURL( $query );
if ( $page ) {
$url = wfAppendQuery( $url, [ 'page' => $page ] );
$url = $title->getLocalURL( $query );
if ( $page ) {
$url = wfAppendQuery( $url, [ 'page' => $page ] );
@@
-892,7
+892,7
@@
class Linker {
if ( $altUserName === false ) {
$altUserName = IP::prettifyIP( $userName );
}
if ( $altUserName === false ) {
$altUserName = IP::prettifyIP( $userName );
}
- $classes .= ' mw-anonuserlink'; // Separate link class for anons (
bug 43
179)
+ $classes .= ' mw-anonuserlink'; // Separate link class for anons (
T45
179)
} else {
$page = Title::makeTitle( NS_USER, $userName );
}
} else {
$page = Title::makeTitle( NS_USER, $userName );
}
@@
-1096,7
+1096,7
@@
class Linker {
) {
# Sanitize text a bit:
$comment = str_replace( "\n", " ", $comment );
) {
# Sanitize text a bit:
$comment = str_replace( "\n", " ", $comment );
- # Allow HTML entities (for
bug 13
815)
+ # Allow HTML entities (for
T15
815)
$comment = Sanitizer::escapeHtmlAllowEntities( $comment );
# Render autocomments and make links:
$comment = Sanitizer::escapeHtmlAllowEntities( $comment );
# Render autocomments and make links:
@@
-1165,7
+1165,7
@@
class Linker {
$section = str_replace( '[[', '', $section );
$section = str_replace( ']]', '', $section );
$section = str_replace( '[[', '', $section );
$section = str_replace( ']]', '', $section );
- $section = Sanitizer::normalizeSectionNameWhitespace( $section ); #
bug 22
784
+ $section = Sanitizer::normalizeSectionNameWhitespace( $section ); #
T24
784
if ( $local ) {
$sectionTitle = Title::newFromText( '#' . $section );
} else {
if ( $local ) {
$sectionTitle = Title::newFromText( '#' . $section );
} else {
@@
-1374,7
+1374,7
@@
class Linker {
} else {
$suffix = '';
}
} else {
$suffix = '';
}
- #
bug 7
425
+ #
T9
425
$target = trim( $target );
# Look at the first character
if ( $target != '' && $target[0] === '/' ) {
$target = trim( $target );
# Look at the first character
if ( $target != '' && $target[0] === '/' ) {
@@
-1797,7
+1797,7
@@
class Linker {
if ( $context->getRequest()->getBool( 'bot' ) ) {
$query['bot'] = '1';
if ( $context->getRequest()->getBool( 'bot' ) ) {
$query['bot'] = '1';
- $query['hidediff'] = '1'; //
bug 15
999
+ $query['hidediff'] = '1'; //
T17
999
}
$disableRollbackEditCount = false;
}
$disableRollbackEditCount = false;