MediaWiki:Gadget-friendlyshared.js: Difference between revisions

Content added Content deleted
imported>AzaToth
(v2.0-519-g437a507: Fix some issues for deploying multiple files)
 
imported>AzaToth
m (v2.0-556-g0beacc0: use .utc() for timestamps and format them the sme way as the wiki does)
Line 103: Line 103:
value: 'Static IP'
value: 'Static IP'
},
},
{
{
label: '{{ISP}}: shared IP address template modified for ISP organizations (specifically proxies)',
label: '{{ISP}}: shared IP address template modified for ISP organizations (specifically proxies)',
value: 'ISP'
value: 'ISP'
},
},
{
{
label: '{{Mobile IP}}: shared IP address template modified for mobile phone companies and their customers',
label: '{{Mobile IP}}: shared IP address template modified for mobile phone companies and their customers',
value: 'Mobile IP'
value: 'Mobile IP'
Line 167: Line 167:
return;
return;
}
}

var value = shared[0];
var value = shared[0];

if( e.target.organization.value === '') {
if( e.target.organization.value === '') {
alert( 'You must input an organization for the {{' + value + '}} template!' );
alert( 'You must input an organization for the {{' + value + '}} template!' );
return;
return;
}
}

var params = {
var params = {
value: value,
value: value,