40,275
edits
m (+fn names) |
m (remove from cat) |
||
if (mw.config.get('wgCurRevisionId') != mw.config.get('wgRevisionId')) return;
// find the {{t|complete}} template
const notice = document.querySelector('.quality-complete')
if (!notice) return;
return {
// find {{t|complete}} and replace with {{t|complete|~x4}}
text: revision.content.replace( '{'+'{complete}}', '{'+'{complete|~~'+'~~}}' ),
summary: 'mark as complete',
}
|