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
Replace get{Local,Full,Link,Canonical}URL's $variant argument with a secondary $query...
[lhc/web/wiklou.git]
/
includes
/
SkinTemplate.php
diff --git
a/includes/SkinTemplate.php
b/includes/SkinTemplate.php
index
cd2b387
..
b7f3e25
100644
(file)
--- a/
includes/SkinTemplate.php
+++ b/
includes/SkinTemplate.php
@@
-1009,7
+1009,7
@@
class SkinTemplate extends Skin {
$content_navigation['variants'][] = array(
'class' => ( $code == $preferred ) ? 'selected' : false,
'text' => $varname,
- 'href' => $title->getLocalURL(
'', $code
)
+ 'href' => $title->getLocalURL(
array( 'variant' => $code )
)
);
}
}