Module:Dochead: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 82: | Line 82: | ||
else | else | ||
result = string.format( | result = string.format( | ||
"This module has a template that is currently missing or does not use this module. ([[Special:EditPage/%s | edit template]])", | "This module has a template that is currently missing or does not use this module. ([[Special:EditPage/%s|edit template]])", | ||
corr_template | corr_template | ||
) | ) | ||
| Line 105: | Line 105: | ||
else | else | ||
result = string.format( | result = string.format( | ||
"This module implements a template that is currently missing or does not use this module. ([[Special:EditPage/%s | edit template]])", | "This module implements a template that is currently missing or does not use this module. ([[Special:EditPage/%s|edit template]])", | ||
corr_template | corr_template | ||
) | ) | ||
| Line 152: | Line 152: | ||
elseif has_module and not is_module_invoked then | elseif has_module and not is_module_invoked then | ||
result = string.format( | result = string.format( | ||
"This template is implemented by the Lua module [[%s]] but does not use it. ([[Special:EditPage/%s | edit template]])", | "This template is implemented by the Lua module [[%s]] but does not use it. ([[Special:EditPage/%s|edit template]])", | ||
corr_module, | corr_module, | ||
"Template:" .. pagename | "Template:" .. pagename | ||
| Line 171: | Line 171: | ||
elseif has_module and not is_module_invoked then | elseif has_module and not is_module_invoked then | ||
result = string.format( | result = string.format( | ||
"This metatemplate is implemented by the Lua module [[%s]] but does not use it. ([[Special:EditPage/%s | edit template]])", | "This metatemplate is implemented by the Lua module [[%s]] but does not use it. ([[Special:EditPage/%s|edit template]])", | ||
corr_module, | corr_module, | ||
"Template:" .. pagename | "Template:" .. pagename | ||
| Line 191: | Line 191: | ||
elseif has_module and header ~= "" and not is_module_invoked then | elseif has_module and header ~= "" and not is_module_invoked then | ||
result = string.format( | result = string.format( | ||
"%s. This template is implemented by the Lua module [[%s]] but does not use it. ([[Special:EditPage/%s | edit template]])", | "%s. This template is implemented by the Lua module [[%s]] but does not use it. ([[Special:EditPage/%s|edit template]])", | ||
header, | header, | ||
corr_module, | corr_module, | ||
| Line 203: | Line 203: | ||
elseif has_module and header == "" and not is_module_invoked then | elseif has_module and header == "" and not is_module_invoked then | ||
result = string.format( | result = string.format( | ||
"This template is implemented by the Lua module [[%s]] but does not use it. ([[Special:EditPage/%s | edit template]])", | "This template is implemented by the Lua module [[%s]] but does not use it. ([[Special:EditPage/%s|edit template]])", | ||
corr_module, | corr_module, | ||
"Template:" .. pagename | "Template:" .. pagename | ||