Template talk:Welcome message/Archive 1

#ifexist
A lil' issue. If I recall, using the parser function still counts as a link. (Or was it just using the title object in scribunto modules???) For this reason, I used Module:WelcomeTool.


 * Testing example
 * This will check if the page Lorem ipsum exists using the #ifexist parser function. If this check counts as a link, this talk page should be present here.


 * edit: Yup. It did count. Removing red "link".

–  The JoTS  on yer wall. (talk) 03:40, August 18, 2016 (UTC)


 * Oops, I should have remembered that. The #ifexists parser function definitely adds the page to WhatLinksHere, and probably adds it to Special:WantedPages too. The exists attribute for title objects records pages as links. The only solutions I see for this are kludges—e.g., getting a list of all the pages on the wiki and storing it in a module so that the page names can be checked for in that so that no link is recorded,—so it seems we'll have to go with just bolding the links. A shame. --Mark Otaris (talk) 03:52, August 18, 2016 (UTC)


 * "we'll have to with just bolding the links. A shame." yup. :( –  The JoTS  on yer wall. (talk) 04:07, August 18, 2016 (UTC)

Migrating to module?
I wanted to discuss the possibility of migrating this to a module (as opposed to a template).

Would anyone mind if I were to migrate this wiki's welcome messages to use this module for welcome messages? It was a module I made several months ago for a couple of other wikis, but I have recently revamped it and expanded its capabilities to have readied it for use across wikis. Anywho, I believe it to be a suitable equivalent to the current template (especially as it would finally resolve the "Thread:1234|foobar" (or "Message Wall:Greeter", in its current state) issue).

...Also, I may have been using this wiki as a guinea pig for the greeter functionality as of the last few hours. Results seem to be successful. –  JoTS  on yer wall. (talk) 05:11, November 12, 2016 (UTC)
 * To me that sounds like overengineering and feature creep, but I don't mind and I especially want to see the pipe issue fixed. However, I strongly prefer that the module be invoked from this template instead of directly from MediaWiki:Welcome-message-wall-user. That's more future proof: it makes it easier if we want to change things later or if we have yet more unexpected problems, which wouldn't be surprising with the welcome tool's track record… --Mark Otaris (talk) 01:48, November 13, 2016 (UTC)


 * Indeed. As I have been "advertising" it before: "it's merely a novelty". However, its original purpose back in June was the exact purpose of this template here– just in script form (updating /msg, rather than a template). ;) Now it just has some extra features.


 * I'll try implementing it while still retaining this template, but my primary reason for suggesting migration is because I didn't see a way to keep this while finally resolving the $1 variable issue (as my prior attempts to have failed). –  JoTS  on yer wall. (talk) 16:57, November 14, 2016 (UTC)


 * I have finally found the problem plaguing the link_to_text function of Module:WelcomeTool, it seems to have stemmed from the required function wrapper and it returning the arguments of the topmost frame. Or something– I didn't really look too far into it. I am now backing off from my prior intent to utilize the DynamicWelcome module in that capacity (although, I still like what it has done to MediaWiki:Welcome-user :P). –  JoTS  on yer wall. (talk) 01:08, November 15, 2016 (UTC)