Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 

















Module:Redirect-multi






تۆرکجه

Bosanski
Español
فارسی
ГӀалгӀай

ि
Ilokano
Kurdî

Монгол



Русский

Scots

Simple English
Slovenščina
کوردی
Српски / srpski

Türkmençe
Tiếng Vit


 

Edit links
 









Module
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Printable version
 
















Appearance
   

 





Permanently protected module

From Wikipedia, the free encyclopedia
 


This is an old revision of this page, as edited by Nihiltres (talk | contribs)at20:16, 12 May 2016 (Something experimental to better handle edge cases). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff)  Previous revision | Latest revision (diff) | Newer revision  (diff)

local mRedirectHatnote = require('Module:Redirect hatnote')
local mArguments = require('Module:Arguments')
local p = {}

function p.redirectMulti (frame)
 local args = mArguments.getArgs(frame)
 local numRedirects = tonumber(table.remove(args, 1)) or 1
 local options = {selfref = args.selfref}
 return mRedirectHatnote._redirect(args, numRedirects, options)
end

return p

Retrieved from "https://en.wikipedia.org/w/index.php?title=Module:Redirect-multi&oldid=719953040"

Category: 
Hatnote modules
Hidden category: 
Wikipedia template-protected modules
 



This page was last edited on 12 May 2016, at 20:16 (UTC).

This version of the page has been revised. Besides normal editing, the reason for revision may have been that this version contains factual inaccuracies, vandalism, or material not compatible with the Creative Commons Attribution-ShareAlike License.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki