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
:-(
A former member
Good to know, For Everyone else:

* Does anyone know this <center> only works once in a page then every other one does not work?

* http://tvlivewiki.co.uk/index.php?title=Template:Col-3 Does that really work?

Also a Few more News programmes have been put back up, What the missing well most of the English BBC news and Disney XD-that will be back tomorrow.
AG
AxG

The original {{Col-begin|33.3}} should work.
:-(
A former member
AxG posted:

The original {{Col-begin|33.3}} should work.


Alas it does not, Confused

Also it turns out the last missing code from the edit section was a link to TV live,
------------------------------------
The West Tonight, that been put back as it turns out it needs a good bit of work and is missing info about "HTV news" ie the one from the west side in the 80s and 90s.

It turns out the BBC English news pages needed a lot in the first place so its bit meh when there will return. But there plenty of work to carried out including restoring all the photos and putting in presenters and CA details.
BA
bilky asko
rob posted:


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.


I've just noticed that nearly all of the equal signs had a ">" after them that need removing - was that in the code you typed or was that a copying problem?
JA
JAS84
It's like that in the code YOU supplied.
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' =&gt; '"$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.
BA
bilky asko
JAS84 posted:
It's like that in the code YOU supplied.
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' =&gt; '$path/convert -background white -thumbnail $widthx$height! $input PNG:$output',
'sodipodi' =&gt; '$path/sodipodi -z -w $width -f $input -e $output',
'Inkscape' =&amp;gt; '"$path/Inkscape/inkscape" -z -w $width -f $input -e $output',
'batik' =&gt; 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d $output $input',
'rsvg' =&gt; '$path/rsvg -w$width -h$height $input $output',
'imgserv' =&gt; '$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.


I was comparing any differences between mine and his, and I hadn't realised my copying had changed the (correct) ">" into "&gt" in the nested quote. I'm going to double check what I wrote with the MediaWiki manual to see what I can change.
BA
bilky asko
Right, after reading up, I have discerned that the code should be:

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' =&gt; '"$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';
);


BUT the $path/Inkscape/inkscape should be the path of a copy of Inkscape installed on the server.
This code should work:
Quote:

$wgEnableUploads = true; $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'svg');
$wgSVGConverters = array(
'inkscape' => '" INSERT INKSCAPE EXE PATH HERE " -z -w $width -f $input -e $output',
);
$wgSVGConverter = 'inkscape';
#$wgSVGConverterPath= '" INSERT INKSCAPE FOLDER PATH HERE "';
#$wgAllowTitlesInSVG = false;
RO
rob Founding member
Is there a guide around as to how to install Inkscape on the server? I can't find anything.
BA
bilky asko
rob posted:
Is there a guide around as to how to install Inkscape on the server? I can't find anything.

I can't find one either, but this method seems logical.

Download a copy of Inkscape Portable, and copy the Inkscape folder (inside the App folder) to the server.

EDIT: I found this code on the talk page of a page in the MediaWiki manual.

Quote:
$wgSVGConverters = array(
'inkscape' => '"c:Program Files (x86)Inkscapeinkscape.exe" -z -w $width -f $input -e $output',
);
$wgSVGConverter = 'inkscape';
#$wgSVGConverterPath= '"c:Program Files (x86)Inkscape"';
#$wgAllowTitlesInSVG = false;


This leads me to think that Inkscape is included within the MediaWiki software - if my method doesn't work, try this. (I presume you're using a Windows server)
RO
rob Founding member
Will look into that idea tomorrow Bilky. Thanks. I need a rest after a hectic weekend...
:-(
A former member
Can anyone explan one thing:

* http://tvlivewiki.co.uk/index.php?title=File:ITV2_logo_200.svg you cant view it there but click on the pic

* http://tvlivewiki.co.uk/images/2/22/ITV2_logo_200.svg and its turns up?
RO
rob Founding member
That's what we're trying to look into at the moment. Like I've just said, I need a rest after a hectic weekend, so I'll continue looking into it when I finish work tomorrow.

Newer posts