From 9632e4fdd701178968867e9936e1d7eda77b1d8a Mon Sep 17 00:00:00 2001 From: APerson Date: Mon, 1 Jun 2015 21:54:41 -0400 Subject: [PATCH] Remove automatic Persondata addition Per the consensus at the technical Village Pump (http://en.wikipedia.org/w/index.php?title=&oldid=665096913#RfC:_Should_Persondata_template_be_deprecated_and_methodically_removed_from_articles.3F), Persondata is deprecated and should be removed from articles. Hence, we shouldn't be adding it to articles any more. --- src/modules/submissions.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/modules/submissions.js b/src/modules/submissions.js index f9286cc..2f052bd 100644 --- a/src/modules/submissions.js +++ b/src/modules/submissions.js @@ -1865,18 +1865,6 @@ // Add biography details if ( data.isBiography ) { - // Persondata - newText.append( - '\n{{Persondata' + - '\n| NAME = ' + data.subjectName + - '\n| SHORT DESCRIPTION = ' + data.subjectDescription + - '\n| DATE OF BIRTH = ' + ( data.birthMonthDay ? data.birthMonthDay + ', ' : '' ) + data.birthYear + - '\n| PLACE OF BIRTH = ' + data.birthPlace + - '\n| DATE OF DEATH = ' + ( data.deathYear ? ( data.deathMonthDay ? data.deathMonthDay + ', ' : '' ) + data.deathYear : '' ) + - '\n| PLACE OF DEATH = ' + ( data.deathPlace || '' ) + - '\n}}' - ); - // {{subst:L}}, which generates DEFAULTSORT as well as // adds the appropriate birth/death year categories newText.append( '\n{{subst:L' +