|
|
Line 140: |
Line 140: |
| selected: namespace === 0, // Main namespace | | selected: namespace === 0, // Main namespace |
| value: 'afd' | | value: 'afd' |
| });
| |
| categories.append({
| |
| type: 'option',
| |
| label: 'TfD (Templates for discussion)',
| |
| selected: [ 10, 828 ].indexOf(namespace) !== -1, // Template and module namespaces
| |
| value: 'tfd'
| |
| });
| |
| categories.append({
| |
| type: 'option',
| |
| label: 'FfD (Files for discussion)',
| |
| selected: namespace === 6, // File namespace
| |
| value: 'ffd'
| |
| });
| |
| categories.append({
| |
| type: 'option',
| |
| label: 'CfD (Categories for discussion)',
| |
| selected: namespace === 14 || (namespace === 10 && /-stub$/.test(Morebits.pageNameNorm)), // Category namespace and stub templates
| |
| value: 'cfd'
| |
| });
| |
| categories.append({
| |
| type: 'option',
| |
| label: 'CfD/S (Categories for speedy renaming)',
| |
| value: 'cfds'
| |
| });
| |
| categories.append({
| |
| type: 'option',
| |
| label: 'MfD (Miscellany for deletion)',
| |
| selected: [ 0, 6, 10, 14, 828 ].indexOf(namespace) === -1 || Morebits.pageNameNorm.indexOf('Template:User ', 0) === 0,
| |
| // Other namespaces, and userboxes in template namespace
| |
| value: 'mfd'
| |
| }); | | }); |
| categories.append({ | | categories.append({ |
Line 327: |
Line 297: |
| tooltip: 'Will wrap the deletion tag in <noinclude> tags, so that it won\'t transclude. This option is not normally required.' | | tooltip: 'Will wrap the deletion tag in <noinclude> tags, so that it won\'t transclude. This option is not normally required.' |
| } | | } |
| ]
| |
| });
| |
| work_area.append({
| |
| type: 'select',
| |
| name: 'xfdcat',
| |
| label: 'Choose what category this nomination belongs in:',
| |
| list: [
| |
| { type: 'option', label: 'Unknown', value: '?', selected: true },
| |
| { type: 'option', label: 'Media and music', value: 'M' },
| |
| { type: 'option', label: 'Organisation, corporation, or product', value: 'O' },
| |
| { type: 'option', label: 'Biographical', value: 'B' },
| |
| { type: 'option', label: 'Society topics', value: 'S' },
| |
| { type: 'option', label: 'Web or internet', value: 'W' },
| |
| { type: 'option', label: 'Games or sports', value: 'G' },
| |
| { type: 'option', label: 'Science and technology', value: 'T' },
| |
| { type: 'option', label: 'Fiction and the arts', value: 'F' },
| |
| { type: 'option', label: 'Places and transportation', value: 'P' },
| |
| { type: 'option', label: 'Indiscernible or unclassifiable topic', value: 'I' },
| |
| { type: 'option', label: 'Debate not yet sorted', value: 'U' }
| |
| ] | | ] |
| }); | | }); |