Extension talk:DirList

--- 07.02.2010 Great extension this is ideal for my needs! However, I too have similar problems as discussed below, (clicking on a link gives to view or download: There is currently no text in this page, you can search for this page title in other pages or edit this page.) I did notice that when I was 'previewing' the page I created everything worked without error, (opening or downloading links work fine).In addition I also have the wiki URL situation as you outlined below so I applied your quick fix in hope that it may fix the problem. Only now, I get a "404 - web page cannot be found error" using IE8 when trying to view or download a file. Could you please possibly shed some light on this nagging error? Many thanks in advance for your help.

If your wiki URL is in the form of /index.php/Main_Page (for example), the script breaks. to fix, change

$link = "".$file['filename']."";

to

$link = "".$file['filename']."";

Yes, it's a five minute hack - but I only had five minutes ;-)

--Andre 30-July-2009

---

I too would love to be able to use on a directory outside the root directory. FileProtocolLinks.php lets me do it. Perhaps the solution is a combination of your work and Mr. Mielach's (http://www.mediawiki.org/wiki/Extension:FileProtocolLinks). 6 Oct 2008.

---

Can this extension be made to find a directory outside the root directory? such as a unc path. ie: \\server\folder i tried swapping out $fullpath = $IP/ for $fullpath = \\server/ and it didn't work Matt 16:50, 12 May 2008 (UTC)

This extension uses the php function "opendir" to read a directory.

Maybe this will help you: 

On which operating system runs your webserver?

--- 13.07.2008 Same Problem. is there a Problem with Mediawiki 1.12+ or what is the problem? I use:
 * Kernel: 2.6.9-023stab044.16-enterprise
 * OS: debian GNU/Linux 4.0
 * libapache2-mod-php5            5.2.5-3
 * php-auth                       1.5.4-1
 * php-db                         1.7.13-2
 * php-mail-mime                  1.5.2-0.1
 * php-mail-mimedecode            1.5.0-2
 * php-net-smtp                   1.2.11-1
 * php-net-socket                 1.0.8-2
 * php-pear                       5.2.0-8+etch11
 * php5                           5.2.0-8+etch11
 * php5-cgi                       5.2.5-3
 * php5-cli                       5.2.5-3
 * php5-common                    5.2.5-3
 * php5-gd                        5.2.5-3
 * php5-imap                      5.2.5-3
 * php5-mcrypt                    5.2.5-3
 * php5-mysql                     5.2.5-3
 * php5-recode                    5.2.5-3
 * php5-sqlite                    5.2.5-3
 * php5-xcache                    1.2.2-2
 * phpmyadmin                     4:2.9.1.1-7
 * mysql-client                   5.0.51a-5
 * mysql-client-5.0               5.0.32-7etch6
 * mysql-common                   5.0.51a-5
 * mysql-server                   5.0.51a-5
 * mysql-server-5.0               5.0.32-7etch6
 * mysql-server-5.0               5.0.32-7etch6

--- 18.06.2008

I have a problem with this extension. The result is correctly displayed but when I click on the document to open it (or download it). I am redirect within my wiki with an error message ;

There is currently no text in this page, you can search for this page title in other pages or edit this page.

Did I made something wrong ?

Thanks for your help

Wrong result when clicking
18.06.2008

I have a problem with this extension. The result is correctly displayed but when I click on the document to open it (or download it). I am redirect within my wiki with an error message ;

There is currently no text in this page, you can search for this page title in other pages or edit this page.

Did I made something wrong ?

Thanks for your help