Permalink
Browse files

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.
  • Loading branch information...
enterprisey committed Jun 2, 2015
1 parent d6f9f30 commit 9632e4fdd701178968867e9936e1d7eda77b1d8a
Showing with 0 additions and 12 deletions.
  1. +0 −12 src/modules/submissions.js
View
@@ -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' +

0 comments on commit 9632e4f

Please sign in to comment.