Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2037
patch_2101_Allpages_HEAD.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 8:29 PM
2014-11-21 20:29:40 (UTC+0)
Size
840 B
Referenced Files
None
Subscribers
None
patch_2101_Allpages_HEAD.txt
View Options
Index: SpecialAllpages.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/SpecialAllpages.php,v
retrieving revision 1.44
diff -u -r1.44 SpecialAllpages.php
--- SpecialAllpages.php 6 May 2005 05:48:57 -0000 1.44
+++ SpecialAllpages.php 7 May 2005 07:33:09 -0000
@@ -258,8 +258,8 @@
if( $t ) {
$ns = $s->page_namespace;
$s = $invert && $namespaces[$ns] != $wgContLang->getNsText(NS_MAIN) ? ':' : '';
- $n = $invert ? $namespaces[$ns] : '';
- $link = $sk->makeKnownLinkObj( $t, $t->getText(), false, false, $n . $s );
+ $usedNamespace = $invert ? $namespaces[$ns] : '';
+ $link = $sk->makeKnownLinkObj( $t, $t->getText(), false, false, $usedNamespace . $s );
} else {
$link = '[[' . htmlspecialchars( $s->page_title ) . ']]';
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1614
Default Alt Text
patch_2101_Allpages_HEAD.txt (840 B)
Attached To
Mode
T4101: name clash in Special:Allpages
Attached
Detach File
Event Timeline
Log In to Comment