Board Thread:Support Requests - Getting Technical/@comment-93604-20171120230817/@comment-9605025-20180128233438

I am a bit confused as to the exact conversation but I believe Dunnoob is correct. Using Lua is unnecessary. Try the following:  Note that this version also has been corrected to deal with the case in which the first parameter is the vertical bar character but the second is an internal/interwiki link without a colon. The previous version would throw an error while this one behaves as expected; doesn't remove anything.

I can change the behavior of the first parameter for external links if you really want but I thought it might be a good idea to keep it as close to the regular link behavior as possible. For external links, not providing link text goes something like this:  

There is not way to specify that the link text should be the URL. Instead, that is done by simply typing the URL. http://www.google.com http://www.google.com

Thus, how I reached my decision on which behavior to associate with the vertical bar. But again, let me know if you really want it swapped.