MediaWiki:AV Device Search.js: Difference between revisions

No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 28: Line 28:
             printouts: [
             printouts: [
                 { property: 'Has device type',  key: 'device_type' },
                 { property: 'Has device type',  key: 'device_type' },
                 { property: 'Has format family', key: 'format_family' }
                 { property: 'Has format family', key: 'format_family' },
                { property: 'Has supported formats',  key: 'supported_formats' }
             ],
             ],


Line 63: Line 64:
                             type: 'select',
                             type: 'select',
                             property: 'Has format family',
                             property: 'Has format family',
                             loadFrom: 'static',
                             loadFrom: 'smw',
                             values: ['Betamax', 'DV', 'U-matic', 'VHS', 'Video8']
                             smwQuery: '[[Category:AV devices]][[Has format family::+]]',
                            smwProperty: 'Has format family'
                        },
                        plays: {
                            label: 'Plays',
                            type: 'select',
                            property: 'Has supported formats',
                            loadFrom: 'smw',
                            smwQuery: '[[Category:AV devices]][[Has supported formats::+]]',
                            smwProperty: 'Has supported formats'
                         }
                         }
                     }
                     }
MediaWiki Appliance - Powered by TurnKey Linux