Problem with Template DB_errors

+8 votes
129 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 (21.9k 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 (559k 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
116 views asked Aug 22, 2016 in WikiTree Tech by Kitty Linch G2G6 Mach 4 (40.7k points)
+5 votes
3 answers
+5 votes
1 answer
113 views asked Apr 11, 2017 in The Tree House by Kandita Post G2G6 Mach 2 (25.0k points)
+8 votes
0 answers
+16 votes
4 answers
+22 votes
5 answers
+4 votes
1 answer
138 views asked Jan 19, 2017 in WikiTree Tech by Sir William Arbuthnot of Kittybrewster G2G6 Pilot (171k points)
+28 votes
0 answers
140 views asked Jan 9, 2017 in The Tree House by C S G2G6 Pilot (274k points)
+4 votes
3 answers
168 views asked Dec 11, 2016 in Policy and Style by Kitty Linch G2G6 Mach 4 (40.7k points)
+13 votes
2 answers

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

disclaimer - terms - copyright

...