View source for Module:Gerrit
Appearance
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local UrlEncoding = require( 'Module:UrlEncoding' )
local encode = UrlEncoding._encode
local link_to_gerrit = function ( target, text )
if text == nil then
text = target
end
return '[[:gerrit:' .. target .. '|' .. text .. ']]'
end
local link_to_gerrit_number = function ( number )
return link_to_gerrit( number, 'Gerrit change ' .. number )
end
local link_to_gerrit_search = function ( search, text )
if text == nil then
text = 'Search Gerrit for ' .. search
end
return link_to_gerrit( 'q/' .. search, text )
end
000
1:0
Templates used on this page:
- Template:Documentation (view source)
- Template:Documentation/en (view source)
- Module:Arguments (view source)
- Module:Documentation (view source)
- Module:Documentation/config (view source)
- Module:Documentation/i18n (view source)
- Module:Documentation/styles.css (view source)
- Module:Gerrit (view source)
- Module:Gerrit/doc (view source)
- Module:Message box (view source)
- Module:TNT (view source)
- Module:UrlEncoding (view source)
- Module:Yesno (view source)
Return to Module:Gerrit.