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.
This commit is contained in:
parent
d6f9f305ca
commit
9632e4fdd7
@ -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' +
|
||||
|
Loading…
x
Reference in New Issue
Block a user