Talk:File Link Extension
the
#settings for fileLinkExtension $wgFilelinkExtensionPath = "extensions/FilelinkExtension"; include("$IP/$wgFilelinkExtensionPath/FilelinkExtension.php"); #end settings for fileLinkExtension
should be
#settings for fileLinkExtension $wgFilelinkExtensionPath = "extensions/FileLinkExtension"; include("$IP/$wgFilelinkExtensionPath/FileLinkExtension.php"); #end settings for fileLinkExtension
(note the uppercase "L" in "FileLinkExtension") with the provided pathes
also there is a minor glitch:
the file:///-icon is showing up two times on the edit page, but showing up not at all at the "show preview" page. my skills in programming php and js are nearly zero, so any help would be highly appreciated.
--Mel999 19:08, 4 May 2006 (JST)
- now it's perfect, thank you very much! --Mel999 01:12, 15 September 2006 (JST)
another issue had come up here:
I see the "some problem with FileLinkExtension"-alert very often, mainly with newly created pages, but cannot reproduce it at 100% :-(
i commented out the update and the preview mode changes, but didn't help. would there be a workaround to not show the annoying alert?
btw: you probably did mixup some of your extensions ;-) imho it should be
function filelinkDo (&$parser, &$text){ global $wgRequest; global $wgFilelinkExtensionPath;
instead of
function addbuttonDo (&$parser, &$text){ global $wgRequest; global $wgAddButtonExtensionPath;
--Mel999 17:16, 18 September 2006 (JST)
Corrupted file for 0.2.tar.gz?
When I download and untar the FileLinkExtension.0.2.tar.gz, it appears to be corrupted. Here's my anonymized session transcript:
user@host extensions $ md5sum *.gz 4480583ab11f8eff909831d2fdc6f86b FileLinkExtension.tar.gz 2a7bca5f8fdb81b261a8015b68a90a85 Image FileLinkExtension.0.2.tar.gz user@host extensions $ gzip -d Image\ FileLinkExtension.0.2.tar.gz user@host extensions $ tar -xvf Image\ FileLinkExtension.0.2.tar tar: This does not look like a tar archive tar: Skipping to next header tar: Error exit delayed from previous errors user@host extensions $
The FileLinkExtension.tar.gz can be untarred OK. I've also tried to untar the 0.2.tar.gz file using WinZip, but I get a similar error message.
some problem with FileLinkExtension
a "Solution" to the "Problem" could be to comment out the alert function ;0). I can not see any Problem with the extension in my Wiki, so i choosed to comment out the alert function.
edit "mainfile.js" search for
alert("some problem with FileLinkExtension");
...replace with ...
//alert("some problem with FileLinkExtension");
br Patrik
extension-directory of current version
The lines for LocalSettings.php should look like this for the current version of the extension
- settings for fileLinkExtension
$wgFilelinkExtensionPath = "extensions/FileLinkExtension.0.2"; include("$IP/$wgFilelinkExtensionPath/FileLinkExtension.php");
- end settings for fileLinkExtension
--Kawo 22:20, 20 July 2007 (JST)