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
SpecialMergeHistory: add redirect=no on target parameter on success message
[lhc/web/wiklou.git]
/
includes
/
WikiMap.php
diff --git
a/includes/WikiMap.php
b/includes/WikiMap.php
index
027ff72
..
7eaebdf
100644
(file)
--- a/
includes/WikiMap.php
+++ b/
includes/WikiMap.php
@@
-159,7
+159,8
@@
class WikiReference {
if ( $parsed ) {
return $parsed['host'];
} else {
if ( $parsed ) {
return $parsed['host'];
} else {
- // Invalid server spec. There's no sane thing to do here, so just return the canonical server name in full
+ // Invalid server spec.
+ // There's no sane thing to do here, so just return the canonical server name in full.
return $this->mCanonicalServer;
}
}
return $this->mCanonicalServer;
}
}
@@
-169,7
+170,8
@@
class WikiReference {
*
* @todo FIXME: This may be generalized...
*
*
* @todo FIXME: This may be generalized...
*
- * @param string $page Page name (must be normalised before calling this function! May contain a section part.)
+ * @param string $page Page name (must be normalised before calling this function!
+ * May contain a section part.)
* @param string|null $fragmentId
*
* @return string relative URL, without the server part.
* @param string|null $fragmentId
*
* @return string relative URL, without the server part.