Extension talk:Referenceselector/Archive 1

Problem with 7-zip
Well, if its just a question of 'unzipping' the file, then this process does not work with 7-zip. Jean-Lou Dupont 20:12, 2 November 2007 (UTC)


 * cant reproduce - if I download the file behind the link (size: 5218 bytes) and test using the tools 7z and unzip(operating system: linux) i can extract just fine. (unzip produces a warning caused by the png-"garbage" at the beginning of the file). I have also seen a video demonstration of someone using the windows version of 7-zip to extract such an embedded zip file. --Mjs 20:41, 2 November 2007 (UTC)

I get errors adding images
When I go to add images the popup window has a set of errors which I am unsure of how to fix. Any ideas?

Notice: Undefined property: stdClass::$img_user_text in D:\Inetpub\alaskamountainforum\wiki\includes\SpecialImagelist.php on line 97

Notice: Undefined property: stdClass::$img_user_text in D:\Inetpub\alaskamountainforum\wiki\includes\SpecialImagelist.php on line 97

Notice: Undefined property: stdClass::$img_user_text in D:\Inetpub\alaskamountainforum\wiki\includes\SpecialImagelist.php on line 97

Notice: Undefined property: stdClass::$img_user_text in D:\Inetpub\alaskamountainforum\wiki\includes\SpecialImagelist.php on line 97


 * so you are just opening the popup window and didnt change anything in the code? which version of MediaWiki are you using? And does this message also come on your Special:Imagelist page? --Mjs 10:28, 8 December 2007 (UTC)

Menu Icon is not shown
As Special:Version shows, the extension seems to be installed fine. But the icon is not shown in the Page-editor. :-( Do you have an idea? -Kaizen-84.60.32.49 22:18, 29 December 2007 (UTC)
 * I found out, that there is a problem with the editpage.js file, which doesn't work with the IE. The file can be improved like this:

-Kaizen-88.64.88.234 20:29, 1 January 2008 (UTC)
 * * @author mjs & Kaizen
 * * @license GPLv2+
 * var c7rs_basedir = wgScriptPath + '/extensions/referenceselector';
 * function c7rs_init {
 * var Etoolbar = document.getElementById('toolbar');
 * var Ebu = document.createElement('img');
 * Ebu.src = c7rs_basedir + '/gfx/button_rs.png';
 * Ebu.style.cursor = "pointer";
 * // Ebu.addEventListener('click', c7rs_show, false);
 * if (Ebu.addEventListener) {//mozilla
 * Ebu.addEventListener('click', c7rs_show, false);
 * }
 * else if(Ebu.attachEvent){//IE
 * Ebu.attachEvent("onclick", c7rs_show);
 * }
 * Etoolbar.appendChild(Ebu);
 * }
 * function c7rs_show {
 * var url = wgArticlePath.replace("$1", "Special:ReferenceSelectorPage");
 * window.open(url, 'c7rs_popup',
 * "width=500,height=400,left=0,top=0,location=no,menubar=no,toolbar=no,status=no,resizable=yes,scrollable=yes,scrollbars=yes");
 * }
 * if (window.addEventListener) {//mozilla
 * window.addEventListener('load', c7rs_init, false);
 * }
 * else if(window.attachEvent){//IE
 * window.attachEvent("onload", c7rs_init);
 * }
 * window.open(url, 'c7rs_popup',
 * "width=500,height=400,left=0,top=0,location=no,menubar=no,toolbar=no,status=no,resizable=yes,scrollable=yes,scrollbars=yes");
 * }
 * if (window.addEventListener) {//mozilla
 * window.addEventListener('load', c7rs_init, false);
 * }
 * else if(window.attachEvent){//IE
 * window.attachEvent("onload", c7rs_init);
 * }
 * }
 * else if(window.attachEvent){//IE
 * window.attachEvent("onload", c7rs_init);
 * }


 * I've applied the changes - never tested in MSIE as i don't even have access to one ;) --Mjs 16:06, 20 January 2008 (UTC)