Skip to content

Commit

Permalink
Remove automatic Persondata addition
Browse files Browse the repository at this point in the history
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 9632e4f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/modules/submissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' +
Expand Down

0 comments on commit 9632e4f

Please sign in to comment.