Extension talk:FileList
Add topic| This page used the LiquidThreads extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
Common Library.php
[edit]Getting an error message about common_library.php this does not exist, am i missing something?
require_once( dirname(__FILE__) . '/../common_library.php' ); 207.239.97.10 20:59, 12 August 2011 (UTC)
- This must have been a temporary problem, which is certainly fixed in the newest versions Nymanjens (talk) 08:56, 22 February 2015 (UTC)
Ceased functioning
[edit]As the subject sugests, the extenssion does not work on MW1.17.x for me. The upload box still appears, but neither uploaded files through the special page or via the provided buttons were shown. 87.102.213.91 20:47, 15 August 2011 (UTC)
- I'm getting the same error with MW 1.16.5. I can upload files through the upload box but they are not shown in the page. 94.126.240.2 07:42, 30 September 2011 (UTC)
- Perhapes you are using (your own) namespaces ? If you are using namespaces the extension crashes ...
- I always get a HTTP 500 error after the file was uploaded. The move/rename function should consider namespaces (and interwiki links).
- But in other cases it is a great extension.
- Use this language specific settings in FileList.i18n.php for german language:
$FileListMessages['de'] = array(// messages'fl_empty_list' => 'Diese Seite hat noch keine Dateianhänge.','fl_upload_file' => 'Datei anhängen','fl_upload_file_anonymously' => 'Datei anonym anhängen','fl_empty_file' => 'Datei wählen','fl_edit' => "Ändern",'fl_delete' => "Löschen",'fl_delete_confirm' => "Sind Sie sicher, dass Sie die Datei \'%s\' löschen wollen ?",// Table column headings'fl_heading_name' => 'Dateiname','fl_heading_descr' => 'Beschreibung','fl_heading_user' => 'Benutzer','fl_heading_size' => 'Größe','fl_heading_datetime' => 'Datum',// credits'fl_credits_desc' => 'Erzeugt eine dynamische Dateiliste bei Einfügen von <filelist />',);87.180.233.252 02:13, 26 March 2012 (UTC)- About the supported versionsː I have never had the time to test this extension on multiple (let alone all) versions, but I can say for sure that v5 works for MW 1.22alpha.
- About the namespacesː take a look at the "Namespace fix" thread (above)
- About the german translationsː thank youǃ I will add them. Nymanjens (talk) 08:53, 22 February 2015 (UTC)
Compatibility...
[edit]I'm no expert, but Manual:Hooks/SpecialUploadComplete, requires 1.16.0... 74.94.161.225 20:48, 12 September 2011 (UTC)
Multi upload or folder tree files upload
[edit]Could it be possible to add mode than one file or better upload a complete folder structure into mediawiki? And then display them in the same manner as folder tree?
Thanks in advance,
Brgds, wabik 193.151.99.239 09:05, 6 December 2011 (UTC)
Not Working with 1.18.x
[edit]Error with Mediawiki 1.18.1:
Did not work because it used the $wgMessageCache Method wich was removed in MediaWiki Version 1.18.0, see
http://www.mediawiki.org/wiki/Manual:$wgMessageCache BLinz 23:44, 4 February 2012 (UTC)
- The newest version (v5) should work up to MW 1.22alpha Nymanjens (talk) 08:54, 22 February 2015 (UTC)
Do not work (and some suggestions...)
[edit]MediaWiki 1.17.0 PHP 5.2.10-2ubuntu6.4 (apache2handler) MySQL 5.1.37-1ubuntu5
- The extension's box appears but the file(s) already linked to the page do not.
- When a file is added via the extension, it correctly appears in the extension's list, but do not show in the Wikitext code (How filelist knows what files to show ???)
For the suggestions :
- Multiple upload (of course...)
- Possibility to choose if a file is deleted from the wiki or simply unlinked from the page when the extension's "delete" buton is used (a third button). 82.235.195.174 21:30, 22 April 2012 (UTC)
- To answer a couple of your questions: the FileList extension known what files to show, based on filename. If your page is ABC and your filenamem is test.txt, then the wiki-filename will be "ABC - test.txt" and FileList looks for all files that start with "ABC - ". Nymanjens (talk) 08:40, 22 February 2015 (UTC)
Namespace fix
[edit]Is there any fix to get this working on pages that have custom namespaces? It works great on regular pages, but when I try to upload a file on a custom namespace page, no files show up in the list even though the filed is successfully uploaded.
I assume it has something to do with the namespace being converted to a regular pagename (i.e. if trying to upload Testfile.doc onto a page called "Testpage" in a custom namespace called "Test", the filename gets converted to "Test - Testpage - Testfile.doc" when it is uploaded instead of "Test:Testpage - Testfile.doc") ...so no files show up in the filelist table.
Any ideas? 12.107.45.2 19:23, 12 September 2012 (UTC)
- Still haven't been able to figure out how to get around this..does anyone know of a possible fix to the code? 12.107.45.2 20:33, 11 October 2012 (UTC)
- That's weird because the same prefix is used for both uploading and searching ($prefix = htmlspecialchars(fl_get_prefix_from_page_name($pageName));). I have no time to look at it right now, but I would suggest looking at this value at upload-time and serach-timeː
- $prefix = htmlspecialchars(fl_get_prefix_from_page_name($pageName)); Nymanjens (talk) 08:48, 22 February 2015 (UTC)
MW 1.20.x
[edit]Hi,
doesn't work with MW 1.20.x Is it possible to fix it for this version ? hollosch (talk) 00:02, 3 December 2013 (UTC)
- I agree- it would be great to be able to use this on the new versions of MediaWiki.
- The issue is that it is using the old WgMessages->AddMessage bit...
- Please sort it! :) 121.216.196.28 06:09, 23 August 2014 (UTC)
- The newest version (v5) works with MW 1.22alpha Nymanjens (talk) 08:43, 22 February 2015 (UTC)
MW1.28 - Call to undefined function wfMsgForContent()
[edit]Hello,
This extension is not working with MW1.28, error is: Call to undefined function wfMsgForContent() in .../extensions/FileList/FileList.php
Workaround: Replace all occurrences of wfMsgForContent() by wfMessage() in /extensions/FileList/FileList.php
Except this small issue, your extension is great!
Thanks, G0zh (talk) 17:07, 20 March 2017 (UTC)
Extension not working properly
[edit]Installed software
Product Version
MediaWiki 1.31.1
PHP 7.0.33 (apache2handler)
The FileList extension (last version) does not work properly on my wiki.
The interface appears properly on the page, it regularly asks for files to be uploaded but then no file is uploaded neither shown in the list. This happens both in standard and created pages. I do not get any error message.
Any idea?
Many thanks.
Fcappelli (talk) 16:30, 27 January 2019 (UTC)
Sent Github Pull request to make FileList work with 1.33+
[edit]Sent a Github pull request with modifications that make this extension work with 1.33+ and currently tested it on 1.37.2. The method to install is still the same for now, still need to get it changed to the newer wfLoadExtension method.
The two modified files are at github.com/icarusfactor/FileList Icarusfactor (talk) 09:35, 9 April 2022 (UTC)