dépôts
/
lhc
/
web
/
wiklou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
mw.ui: button: Update focus state
[lhc/web/wiklou.git]
/
tests
/
browser
/
features
/
support
/
modules
/
url_module.rb
1
module
URL
2
def self
.
url
(
name
)
3
if
ENV
[
"MEDIAWIKI_URL"
]
4
mediawiki_url
=
ENV
[
"MEDIAWIKI_URL"
]
5
else
6
mediawiki_url
=
"http://127.0.0.1:80/w/index.php"
7
end
8
"#{mediawiki_url}#{name}"
9
end
10
end