Media Websites

TV Live Wiki

Rota talk pages now online (June 2012)

This site closed in March 2021 and is now a read-only archive
BE
benriggers
rob posted:
The templates mentioned by 623058 are fixed.

If a page needs fixing, don't just alert me to it, FIX IT! That's the whole point of a wiki!!!


I was going too but I was only going to be asked for a web-site as proof like Wikipedia does or it was going to be re-edited again to default.
BA
bilky asko
rob posted:
Is this of any help?


I've used that page, but the image doesn't appear in a file preview. Although if I click on the image preview link, it appears.


That means that the renderer is not running at all. The renderers are included in MediaWiki software by default, so there'll be some sort of error in the coding.

You might want to post the relevant code on here to see if one of us inexperienced lot might strike gold.
:-(
A former member
Also it will now upload SVG but will not load them on the pages Confused
RO
rob Founding member
Here's the code I have at the moment:

Quote:
$wgEnableUploads = true; $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'svg'); $wgSVGConverters = array(
'Inkscape' => '"$path/Inkscape/inkscape" -z -w $width -f $input -e $output',
);
JA
JAS84
rob posted:
The templates mentioned by 623058 are fixed.

If a page needs fixing, don't just alert me to it, FIX IT! That's the whole point of a wiki!!!
Maybe he didn't know how to do it?
BA
bilky asko
Having a look through the MediaWiki manual leads me to think this is what the code should be:

Quote:
$wgEnableUploads = true; $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'svg'); $wgSVGConverters = array(
$wgSVGConverters = array(
'ImageMagick' => '$path/convert -background white -thumbnail $widthx$height! $input PNG:$output',
'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
'Inkscape' => '"$path/Inkscape/inkscape" -z -w $width -f $input -e $output',
'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d $output $input',
'rsvg' => '$path/rsvg -w$width -h$height $input $output',
'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
$wgSVGConverter = 'Inkscape';
);


$wgSVGConverter by default is set as ImageMagick, and as you removed it from $wgSVGConverters, it doesn't work. Hopefully, this should work.
RO
rob Founding member
Having a look through the MediaWiki manual leads me to think this is what the code should be:

Quote:
$wgEnableUploads = true; $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'svg'); $wgSVGConverters = array(
$wgSVGConverters = array(
'ImageMagick' => '$path/convert -background white -thumbnail $widthx$height! $input PNG:$output',
'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
'Inkscape' => '"$path/Inkscape/inkscape" -z -w $width -f $input -e $output',
'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d $output $input',
'rsvg' => '$path/rsvg -w$width -h$height $input $output',
'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
$wgSVGConverter = 'Inkscape';
);


$wgSVGConverter by default is set as ImageMagick, and as you removed it from $wgSVGConverters, it doesn't work. Hopefully, this should work.


Cheers Bilky. Will look at this in the morning when I'm a little bit more sober!
RO
rob Founding member
Put this code in:
Quote:
$wgEnableUploads = true; $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'svg'); $wgSVGConverters = array(
'ImageMagick' => '$path/convert -background white -thumbnail $widthx$height! $input PNG:$output',
'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
'Inkscape' => '"$path/Inkscape/inkscape" -z -w $width -f $input -e $output',
'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d $output $input',
'rsvg' => '$path/rsvg -w$width -h$height $input $output',
'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
$wgSVGConverter => 'Inkscape',
);


When I try to upload an image, it won't generate a thumbnail:

*

Any ideas?
JA
JAS84
Might this be it?

$wgSVGConverter => 'Inkscape', should be $wgSVGConverter => 'Inkscape'; - it appears that you accidentally used a comma instead of a semicolon.
BA
bilky asko
JAS84 posted:
Might this be it?

$wgSVGConverter => 'Inkscape', should be $wgSVGConverter => 'Inkscape'; - it appears that you accidentally used a comma instead of a semicolon.


Considering the error output, this seems like the cause.

EDIT: Your ClearType is set very high! It looks strange to me.
:-(
A former member
rob posted:
The templates mentioned by 623058 are fixed.

If a page needs fixing, don't just alert me to it, FIX IT! That's the whole point of a wiki!!!


I was going too but I was only going to be asked for a web-site as proof like Wikipedia does or it was going to be re-edited again to default.


I don't think that coment was directed at me, I think its more direct at the number of people telling him other pages are not fixed, yet if there created an account there could do it themselves Razz Codes are a different kettle of fish and we do need outside help on that topic,:

Does anyone know the following codes:

* http://tvlivewiki.co.uk/index.php?title=Template:Quote_box
* http://tvlivewiki.co.uk/index.php?title=Template:Note
* http://tvlivewiki.co.uk/index.php?title=Template:Yes
* http://tvlivewiki.co.uk/index.php?title=Template:Succession_box

Does anyone know this <center> only works once in a page then every other one does not work?
Last edited by A former member on 25 August 2012 5:35pm
RO
rob Founding member


These templates have now been added.

I'm still having problems with this code to get SVG sorted. If someone wants to have a go, I can grant FTP access to someone with experience of Wikimedia to see if they can fix it better than I can. PM me if you can.

Newer posts