Hi Wiki Devs,

First things first:
MW 1.13.2 (We're upgrading in the next couple months, managers are slow.)
PHP 5.2.8
MySQL 5.1.4
Windows Server 2003 & IIS 6.0 (client requirements)

I need to be able to create a temporary excel file from a report about what 
types of files are uploaded to my wiki.  We wrote this extension and it worked 
until we got more serious about locking down our permissions in a good way.  
Now the excel creation still works for people with Admin rights, but not for 
our normal users who really want it.

The users can still upload files to the wiki, and since we are making the excel 
file in the images/tmp directory I assume there is a difference between how we 
put our new excel file in the images directory and how MediaWiki puts uploaded 
files in the wiki.  

I've seen error messages in the past which seem to say that files are first 
uploaded to a temporary directory in the PHP folder and then the PHP user loads 
them to the wiki.  This seemed like a way to go with the excel file, but when I 
began reading through the includes files that seemed to be involved in 
uploading a file I couldn't find specifically how it was done.  Also, the wiki 
way to upload seems inextricably tied to creating an image page, which we don't 
want or need for this report generation.

Does anyone have any clues for me on either:
-how to start figuring out the wiki image upload code?
OR
-another way to get around Windows permissions and create this file for our 
users?

Thanks!
Courtney Christensen

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to