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:
9e854bd
)
*More r22450 cleanup, don't add &action=edit to broken links for special pages
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 26 May 2007 17:06:48 +0000
(17:06 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 26 May 2007 17:06:48 +0000
(17:06 +0000)
includes/Linker.php
patch
|
blob
|
history
diff --git
a/includes/Linker.php
b/includes/Linker.php
index
7c3e09e
..
1cb40db
100644
(file)
--- a/
includes/Linker.php
+++ b/
includes/Linker.php
@@
-331,7
+331,9
@@
class Linker {
$fname = 'Linker::makeBrokenLinkObj';
wfProfileIn( $fname );
- if ( '' == $query ) {
+ if( $nt->getNamespace() == NS_SPECIAL ) {
+ $q = $query;
+ } else if ( '' == $query ) {
$q = 'action=edit';
} else {
$q = 'action=edit&'.$query;