repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge "DatabaseMssql: Don't duplicate body of makeList()"
[mediawiki.git]
/
tests
/
browser
/
features
/
support
/
modules
/
url_module.rb
blob
6c329e87376003fceef215307e904b0e059810bd
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