Mark, Could you visit
http://mizugadro.mydns.jp/h/index.php?title=Testpdf
?
I try another way to include PDF pics into MediaWiki 1.21.0rc1
following the
http://www.mediawiki.org/wiki/Extension:PDF_Include
(which does not seem to imply the learning, nor loading, nor installing,
nor configuring of any big complicated software.)
I follow the instruction:
I saved the code as extensions/pdf_include.php
At LocalSettings.php, I added the lines
require_once("$IP/extensions/pdf_include.php");
$wgPDF = array('width'=>'width', 'height'=>'height',
'black'=>array('Blocked Domain','Blocked Domain 2.....'));
$wgPDF['black'] = array('Blocked Domain','Blocked Domain 2.....');
//The best way to block Domains/Do only write the
$wgGroupPermissions['*']['pdf'] = true; //Allow it for ALL/SHOULD NOT
USED!!!!!!!!!
$wgGroupPermissions['user']['pdf'] = true; //Allow it for USERS/MAYBE
SHOULD NOT USED!!!
$wgGroupPermissions['bot']['pdf'] = true; //Allow it for BOT/SHOULD NOT
USED!!!!!!!!!
$wgGroupPermissions['sysop']['pdf'] = true; //Allow it for SYSOP/STANDART
Then, I type simple code at
http://mizugadro.mydns.jp/h/index.php?title=Testpdf&action=edit
<pdf width="80px"
height="100px">http://mizugadro.mydns.jp/MIZU/14bw.pdf</pdf>
This code shows the PDF picture at the preview. The attempt to save it
hangs the brouser.
What do I wrong?
On Thu, 2 May 2013, Dmitrii Kouznetsov wrote:
Mark, I tried to install the support of the PDF images
at 1.21.0rc1
but it does not work. The
www.mediawiki.org/wiki/Extension:PdfHandler
indicates that first I should get the MacPort.
I had no idea, what MacPort is, but I downloaded it from the source
recommended. I tried to make the default configuration.
The installer had created user "macports" and group "macports",
suggested to read "man port",
but neither manual of "port", nor the command "port" appears.
No executable "port" seems to be generated.
Should I learn to install and to use the "macports" (as I did with MySQL
and PHP), or there exist some easy way to way to say to mediawiki,
that I want it to allow loading files also in the PDF format?
Did you test the extension with MediaWiki 1.21.0rc1 ?
Did you have to learn macport in order to do this?
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l