User talk:Lupin/popups.js
Fix link to CSS edit
Hi!
Could someone point the link directly to MediaWiki:Gadget-navpop.css instead of User:Lupin/navpopdev.css (which just import MediaWiki:Gadget-navpop.css anywway)? This page is used by external users to enable pupups, according to its documentation. Helder 22:09, 30 September 2011 (UTC)
- Already done after your first request. :) Amalthea 07:35, 2 October 2011 (UTC)
HTTPS edit
Please change the first two lines to:
var popScript = '//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-popups.js';
var popStyleSheet = '//en.wikipedia.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Gadget-navpop.css';
i.e. use protocol-relative URLs. Thanks. Liangent (talk) 12:24, 2 October 2011 (UTC)
UTF-8 edit
Dear Lupin! I very much like your popups.js. It has a bug, though (at least it seems so on Nynorsk Wikipedia. Links containing letters A-Z works fine, but letters outside that rank (of which there are 3 in Norwegian, æøå), come up with the Latin 1 values of the two UTF-8 parts of each letter outside the ascii repertoire. The whole Wikipedia is UTF-8, it is thus sad that your fine tool is not. All the best, Trondtr (talk) 16:35, 12 November 2011 (UTC).
Hi. The popups still call people "autoreviewer" when the userright is now called "autopatrolled". Could someone please fix this? Thanks. It Is Me Here t / c 17:34, 7 January 2012 (UTC)
Deprecated edit
Please append the following to the script in order to make sure that people are encouraged to stop using it, and using the Gadget instead.
if ( typeof mw !== 'undefined' ) {
mw.loader.using('jquery.jStorage', function() {
var k = 'User:Lupin/popups.js',
t = 'Information: You are importing User:Lupin/popups.js' +
' into your common.js or <skin>.js!\n' +
'This script is unmaintained. Please remove this inclusion and enable the Navigation popups Gadget in the preferences of your account instead.',
x = $.jStorage.get( k );
if ( !x ) {
$.jStorage.set( k, 1 );
alert( t );
} else {
x++;
$.jStorage.set( k, x );
if ( x % 25 === 0 ) {
mw.notify( t );
}
}
});
}
—TheDJ (talk • contribs) 10:17, 8 August 2015 (UTC)
- Done — Mr. Stradivarius ♪ talk ♪ 17:28, 9 August 2015 (UTC)
- Instructions for installing the supported version in global.js : Wikipedia:Tools/Navigation_popups#Installation. --V111P (talk) 22:15, 11 August 2015 (UTC)
TheDJ, can we change the message to something better, for example: You are using an unmaintained version of Navigation Popups, please see the instructions at en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups#Installation
Some wikis are using User:Lupin/popups.js as a gadget, so I'm sure your message is very confusing to their users. Examples: [1], [2].
Also, some people may be using it in their global.js or in their common.js on wikis that don't have NavPopups as a gadget and they may also be very confused now.
--V111P (talk) 18:53, 30 August 2015 (UTC)