MediaWiki SVG support?

Status
Not open for further replies.

coban

New Member
Messages
6
Reaction score
0
Points
0
I've been looking around for a while but I haven't been able to find an answer anywhere. Do we have access to anything that can support SVG files like rsvg or something? I'm trying to upload an SVG file in MediaWiki and getting passthru() errors because I have php v2, I know thats an issue but I wanted to check into the svg issue first.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
I'm going to bump this to level 2 and ask Bryon to check into it.

-Corey
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
Do you need anything more than just passthru?

Apply for PHP v3. In your reason, state that I've told you to and link to this thread.

Edit: I see that you have already. I've accepted it. Post back and let me know if you need anything else.
 
Last edited:

coban

New Member
Messages
6
Reaction score
0
Points
0
The upgrade was confirmed and the email said it could be up to 6 hours, its been about 9 and I'm still getting passthru() errors. I'll check it again tomorrow to see if its working yet but I just wanted to give you an update.
Edit:
The php upgrade is complete so the passthru() errors are all gone. Is it possible that we can get either librsvg or inkscape installed so that MediaWiki can do SVG to PNG conversion. More information on SVG support for MediaWiki is available here.

Thanks for all your help so far!
 
Last edited:

coban

New Member
Messages
6
Reaction score
0
Points
0
rsvg is apparently already installed, the advanced php is necessary because it uses passthru. I was also using the wrong mediawiki variable to define it at first (I had an accidental s in my variable name) :happysad: so this is working now, I did find one image that it didn't handle for some reason, it just returned all transparent pixels. I'm not too worried about that though, just happy it works!

Thanks for all your help!
 

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
That's great.
Feel free to re-open this thread if you need further assistance.
 
Status
Not open for further replies.
Top