Skip to content

Commit

Permalink
fix value
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamRimmer authored Jan 19, 2025
1 parent 12a4538 commit 847407e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -1642,7 +1642,7 @@
* @param {number} revId Revision ID of the draft that is being accepted
* @param {boolean} isBiography Value of the "Is the article a biography?" check box
* @param {Array} newWikiProjects Value of the "Add WikiPrjects" part of the form. The <input> is a chips interface called jquery.chosen. Note that if there are existing WikiProject banners on the page, the form will auto-add those to the "Add WikiProjects" part of the form when it first loads.
* @param {string} lifeStatus Value of "Is the subject alive?" dropdown list ("unknown", "blp", "dead")
* @param {string} lifeStatus Value of "Is the subject alive?" dropdown list ("unknown", "living", "dead")
* @param {string} subjectName Value of the "Subject name (last, first)" text input, or "" if blank
* @return {Object} wikicode
*/
Expand Down Expand Up @@ -1686,7 +1686,7 @@
'{{WikiProject Biography}}'
);

if ( lifeStatus === 'blp' ) {
if ( lifeStatus === 'living' ) {
bannerShellExtraParams += ' |blp=yes';
} else if ( lifeStatus === 'dead' ) {
bannerShellExtraParams += ' |blp=no';
Expand Down

0 comments on commit 847407e

Please sign in to comment.