Problem with Template DB_errors

+8 votes
219 views
{{Db_errors|0|Grover-210|Y}}

When the template is used in a Public Comment, and new function "Temp hide" is used, The error record will also be hidden in the Public Comment.
in WikiTree Tech by Pierre Goolaerts G2G6 Mach 2 (26.8k points)
retagged by Dorothy Barry

1 Answer

+6 votes
Good point. I didn't think of that. I will add parameter to bypass that.
by Aleš Trtnik G2G6 Pilot (816k points)
That would be nice, but another question is:

What is written in the email that will be send from de Public Comment?
The template itself or the result of the template?

I tried to check, by putting one on my own profile, but the I don't get any e-mail.
Perre, I just posted one on your profile, so you should get an email.

Here is the text of the e-mail:

The following message from Jan Terink was posted on your WikiTree profile.


{{db_errors|0|Terink-1|Y}}

Do not reply to this e-mail. Instead, you might want to:

 

If the message looks like bulk e-mail spam please delete the comment from the profile and forward this to info@wikitree.com immediately. To unsubscribe from these updates, go to your settings page.

So in my opinion, the template is not fit for use in the Public Comment.

Negative
I tested  subst: and it works just in the profile text....

{{subst:db_errors|0|Terink-1|Y}}
Looks like a bug

The email function should pre process the
comment and do the transclusion before sending it in
the same way the comment is pre processed before being displayed...

Related questions

+8 votes
1 answer
165 views asked Aug 22, 2016 in WikiTree Tech by Kitty Linch G2G6 Mach 4 (43.9k points)
+6 votes
3 answers
+5 votes
1 answer
181 views asked Apr 11, 2017 in The Tree House by Kandita Post G2G6 Mach 4 (48.5k points)
+8 votes
0 answers
89 views asked Mar 12, 2017 in WikiTree Tech by William Arbuthnot of Kittybrewster G2G6 Pilot (184k points)
+16 votes
4 answers
+25 votes
5 answers
+4 votes
1 answer
162 views asked Jan 19, 2017 in WikiTree Tech by William Arbuthnot of Kittybrewster G2G6 Pilot (184k points)
+28 votes
0 answers
162 views asked Jan 9, 2017 in The Tree House by Living Sälgö G2G6 Pilot (301k points)
+4 votes
3 answers
228 views asked Dec 11, 2016 in Policy and Style by Kitty Linch G2G6 Mach 4 (43.9k points)
+15 votes
2 answers

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...