<commit_before>// See http://www.mediawiki.org/wiki/Extension:PageTriage for basic documentation on configuration.
// <nowiki>
( function ( $, mw ) {
	var param = {
			url: {
				label: mw.msg( 'pagetriage-tags-param-url-label' ),
				input: 'required',
				type: 'text',
				value: ''
			},

			article: {
				label: mw.msg( 'pagetriage-tags-param-article-label' ),
				input: 'required',
				type: 'text',
				value: ''
			},

			source: {
				label: mw.msg( 'pagetriage-tags-param-source-label' ),
				input: 'required',
				type: 'text',
				value: ''
			},

			pagename: {
				label: '',
				input: 'automated',
				type: 'hidden',
				value: mw.config.get( 'wgPageTriagePagePrefixedText' )
			}
		},
		tags = {
			blpprod: {
				label: mw.msg( 'pagetriage-del-tags-blpprod-label' ),
				tag: 'blp-prod',
				desc: mw.msg( 'pagetriage-del-tags-blpprod-desc' ),
				params: {},
				anchor: '',
				talkpagenotiftpl: 'ProdwarningBLP-NPF',
				subst: true
			},

			dba1: {
				label: mw.msg( 'pagetriage-del-tags-dba1-label' ),
				tag: 'speedy deletion-no context', // redirect to db-a1
				code: 'A1',
				desc: mw.msg( 'pagetriage-del-tags-dba1-desc' ),
				params: {},
				anchor: 'nocontext',
				talkpagenotiftpl: 'Empty-warn-NPF'
			},

			dba2: {
				label: mw.msg( 'pagetriage-del-tags-dba2-label' ),
				tag: 'speedy deletion-foreign language', // redirect to db-a2
				code: 'A2',
				desc: mw.msg( 'pagetriage-del-tags-dba2-desc' ),
				params: {
					source: $.extend( true, {}, param.source )
				},
				anchor: 'notenglish',
				talkpagenotiftpl: 'Db-foreign-notice-NPF'
			},

			dba3: {
				label: mw.msg( 'pagetriage-del-tags-dba3-label' ),
				tag: 'speedy deletion-no content', // redirect to db-a3
				code: 'A3',
				desc: mw.msg( 'pagetriage-del-tags-dba3-desc' ),
				params: {},
				anchor: 'nocontent',
				talkpagenotiftpl: 'Nocontent-warn-NPF'
			},

			dba7: {
				label: mw.msg( 'pagetriage-del-tags-dba7-label' ),
				tag: 'speedy deletion-significance', // redirect to db-a7
				code: 'A7',
				desc: mw.msg( 'pagetriage-del-tags-dba7-desc' ),
				params: {},
				anchor: 'importance',
				talkpagenotiftpl: 'Db-notability-notice-NPF'
			},

			dba9: {
				label: mw.msg( 'pagetriage-del-tags-dba9-label' ),
				tag: 'speedy deletion-musical recording', // redirect to db-a9
				code: 'A9',
				desc: mw.msg( 'pagetriage-del-tags-dba9-desc' ),
				params: {},
				anchor: 'music',
				talkpagenotiftpl: 'Db-a9-notice-NPF'
			},

			dba10: {
				label: mw.msg( 'pagetriage-del-tags-dba10-label' ),
				tag: 'speedy deletion-duplicate article', // redirect to db-a10
				code: 'A10',
				desc: mw.msg( 'pagetriage-del-tags-dba10-desc' ),
				params: {
					article: $.extend( true, {}, param.article )
				},
				anchor: 'duplicate',
				talkpagenotiftpl: 'Db-a10-notice-NPF'
			},

			dbg1: {
				label: mw.msg( 'pagetriage-del-tags-dbg1-label' ),
				tag: 'speedy deletion-nonsense', // redirect to db-g1
				code: 'G1',
				desc: mw.msg( 'pagetriage-del-tags-dbg1-desc' ),
				params: {},
				anchor: 'nonsense',
				talkpagenotiftpl: 'Db-nonsense-notice-NPF'
			},

			dbg2: {
				label: mw.msg( 'pagetriage-del-tags-dbg2-label' ),
				tag: 'speedy deletion-test page', // redirect to db-g2
				code: 'G2',
				desc: mw.msg( 'pagetriage-del-tags-dbg2-desc' ),
				params: {},
				anchor: 'test',
				talkpagenotiftpl: 'Db-test-notice-NPF'
			},

			dbg3: {
				label: mw.msg( 'pagetriage-del-tags-dbg3-label' ),
				tag: 'speedy deletion-vandalism', // redirect to db-g3
				code: 'G3',
				desc: mw.msg( 'pagetriage-del-tags-dbg3-desc' ),
				params: {},
				anchor: 'vandalism',
				talkpagenotiftpl: 'Db-vandalism-notice-NPF'
			},

			dbg4: {
				label: mw.msg( 'pagetriage-del-tags-dbg4-label' ),
				tag: 'speedy deletion-previously deleted', // redirect to db-g4
				code: 'G4',
				desc: mw.msg( 'pagetriage-del-tags-dbg4-desc' ),
				params: {
					1: $.extend( true, {}, param.url )
				},
				anchor: 'repost',
				talkpagenotiftpl: 'Uw-repost-NPF'
			},
<commit_msg>speedy deletion-previously deleted takes a page name, not a URL<commit_after>// See http://www.mediawiki.org/wiki/Extension:PageTriage for basic documentation on configuration.
// <nowiki>
( function ( $, mw ) {
	var param = {
			url: {
				label: mw.msg( 'pagetriage-tags-param-url-label' ),
				input: 'required',
				type: 'text',
				value: ''
			},

			article: {
				label: mw.msg( 'pagetriage-tags-param-article-label' ),
				input: 'required',
				type: 'text',
				value: ''
			},

			source: {
				label: mw.msg( 'pagetriage-tags-param-source-label' ),
				input: 'required',
				type: 'text',
				value: ''
			},

			pagename: {
				label: '',
				input: 'automated',
				type: 'hidden',
				value: mw.config.get( 'wgPageTriagePagePrefixedText' )
			}
		},
		tags = {
			blpprod: {
				label: mw.msg( 'pagetriage-del-tags-blpprod-label' ),
				tag: 'blp-prod',
				desc: mw.msg( 'pagetriage-del-tags-blpprod-desc' ),
				params: {},
				anchor: '',
				talkpagenotiftpl: 'ProdwarningBLP-NPF',
				subst: true
			},

			dba1: {
				label: mw.msg( 'pagetriage-del-tags-dba1-label' ),
				tag: 'speedy deletion-no context', // redirect to db-a1
				code: 'A1',
				desc: mw.msg( 'pagetriage-del-tags-dba1-desc' ),
				params: {},
				anchor: 'nocontext',
				talkpagenotiftpl: 'Empty-warn-NPF'
			},

			dba2: {
				label: mw.msg( 'pagetriage-del-tags-dba2-label' ),
				tag: 'speedy deletion-foreign language', // redirect to db-a2
				code: 'A2',
				desc: mw.msg( 'pagetriage-del-tags-dba2-desc' ),
				params: {
					source: $.extend( true, {}, param.source )
				},
				anchor: 'notenglish',
				talkpagenotiftpl: 'Db-foreign-notice-NPF'
			},

			dba3: {
				label: mw.msg( 'pagetriage-del-tags-dba3-label' ),
				tag: 'speedy deletion-no content', // redirect to db-a3
				code: 'A3',
				desc: mw.msg( 'pagetriage-del-tags-dba3-desc' ),
				params: {},
				anchor: 'nocontent',
				talkpagenotiftpl: 'Nocontent-warn-NPF'
			},

			dba7: {
				label: mw.msg( 'pagetriage-del-tags-dba7-label' ),
				tag: 'speedy deletion-significance', // redirect to db-a7
				code: 'A7',
				desc: mw.msg( 'pagetriage-del-tags-dba7-desc' ),
				params: {},
				anchor: 'importance',
				talkpagenotiftpl: 'Db-notability-notice-NPF'
			},

			dba9: {
				label: mw.msg( 'pagetriage-del-tags-dba9-label' ),
				tag: 'speedy deletion-musical recording', // redirect to db-a9
				code: 'A9',
				desc: mw.msg( 'pagetriage-del-tags-dba9-desc' ),
				params: {},
				anchor: 'music',
				talkpagenotiftpl: 'Db-a9-notice-NPF'
			},

			dba10: {
				label: mw.msg( 'pagetriage-del-tags-dba10-label' ),
				tag: 'speedy deletion-duplicate article', // redirect to db-a10
				code: 'A10',
				desc: mw.msg( 'pagetriage-del-tags-dba10-desc' ),
				params: {
					article: $.extend( true, {}, param.article )
				},
				anchor: 'duplicate',
				talkpagenotiftpl: 'Db-a10-notice-NPF'
			},

			dbg1: {
				label: mw.msg( 'pagetriage-del-tags-dbg1-label' ),
				tag: 'speedy deletion-nonsense', // redirect to db-g1
				code: 'G1',
				desc: mw.msg( 'pagetriage-del-tags-dbg1-desc' ),
				params: {},
				anchor: 'nonsense',
				talkpagenotiftpl: 'Db-nonsense-notice-NPF'
			},

			dbg2: {
				label: mw.msg( 'pagetriage-del-tags-dbg2-label' ),
				tag: 'speedy deletion-test page', // redirect to db-g2
				code: 'G2',
				desc: mw.msg( 'pagetriage-del-tags-dbg2-desc' ),
				params: {},
				anchor: 'test',
				talkpagenotiftpl: 'Db-test-notice-NPF'
			},

			dbg3: {
				label: mw.msg( 'pagetriage-del-tags-dbg3-label' ),
				tag: 'speedy deletion-vandalism', // redirect to db-g3
				code: 'G3',
				desc: mw.msg( 'pagetriage-del-tags-dbg3-desc' ),
				params: {},
				anchor: 'vandalism',
				talkpagenotiftpl: 'Db-vandalism-notice-NPF'
			},

			dbg4: {
				label: mw.msg( 'pagetriage-del-tags-dbg4-label' ),
				tag: 'speedy deletion-previously deleted', // redirect to db-g4
				code: 'G4',
				desc: mw.msg( 'pagetriage-del-tags-dbg4-desc' ),
				params: {
					1: $.extend( true, {}, param.article )
				},
				anchor: 'repost',
				talkpagenotiftpl: 'Uw-repost-NPF'
			},

{'fraction_non_alphanumeric': 0.1788718456209797, 'fraction_numerical': 0.014596734289955468, 'mean_word_length': 2.6369770580296894, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3025938', 'n_tokens_mistral': 4030, 'n_tokens_neox': 3232, 'n_words': 577}