MediaWiki:Gadget-twinkleprod.js: Perbedaan revisi

Repo at a491314: tracking branch 'upstream/master'; Don't insert a stray comma when endorsing prod (#585); Don't insert a stray comma when endorsing prod
(Repo at d9666d4: Update Twinkle from upstream)
(Repo at a491314: tracking branch 'upstream/master'; Don't insert a stray comma when endorsing prod (#585); Don't insert a stray comma when endorsing prod)
// Remove tags that become superfluous with this action
text = text.replace(/{{\s*(userspace draft|mtc|(copy|move) to wikimedia commons|(copy |move )?to ?commons)\s*(\|(?:{{[^{}]*}}|[^{}])*)?}}\s*/gi, "");
var prod_re = /{{\s*(?:Prod blp|Proposed deletion|book-prod)\/dated(?: files)?\s*\|(?:{{[^{}]*}}|[^{}])*}}/i;
var summaryText;
if( !prod_re.test( text ) ) {