Hello
I wanted to include a pdf file into a wiki page. I tried to install the extension pdf.php
http://www.mediawiki.org/wiki/Extension:PDF
1. I added the following line to LocalSettings.php
require_once("$IP/extensions/pdf.php");
2. I copied the code mediawiki/extensions/into pdf.php
Now the documentation is so laconic that it do not really know what to do.
I did
<pdf>t.pdf</pdf>
and I got
Error: The file " t.pdf " was not recognized as pdf. The file extension must be .pdf.
Which is wrong.
Could someone tell me how to use this extension ?
Thanks François Colonna
Frames Project wrote:
I wanted to include a pdf file into a wiki page. I tried to install the extension pdf.php
You shouldn't use this extension, it contains a major security vulnerability (I just found it and marked the extension page).
Le dimanche 12 octobre 2008 à 11:53 -0200, Juliano F. Ravasi a écrit :
Frames Project wrote:
I wanted to include a pdf file into a wiki page. I tried to install the extension pdf.php
You shouldn't use this extension, it contains a major security vulnerability (I just found it and marked the extension page).
Thank you for the advice.
I finally found that the tags hates blanks !
Do you eventually know hox to convert a pdf file to a mediawiki formatted page ?
Or at least a html file to a MW page ? Best Francois Colonna
Frames Project wrote:
Or at least a html file to a MW page ?
This was posted a few weeks ago to this list: http://lists.wikimedia.org/pipermail/mediawiki-l/2008-September/028581.html
Regards,
Le dimanche 12 octobre 2008 à 12:21 -0200, Juliano F. Ravasi a écrit :
Frames Project wrote:
Or at least a html file to a MW page ?
This was posted a few weeks ago to this list: http://lists.wikimedia.org/pipermail/mediawiki-l/2008-September/028581.html
Regards,
I just tried to install this perl HTML::WikiConverter ... It is exactly what I need but I did not succeeded to install it.
Best,
Francois Colonna
FP> I just tried to install this perl HTML::WikiConverter ... FP> It is exactly what I need but I did not succeeded to install it.
Installing things is a snap here on Debian GNU/Linux $ aptitude show libhtml-wikiconverter-mediawiki-perl Package: libhtml-wikiconverter-mediawiki-perl State: not installed Version: 0.55-2 Priority: optional Section: perl Maintainer: Debian Perl Group pkg-perl-maintainers@lists.alioth.debian.org Uncompressed Size: 90.1k Depends: perl (>= 5.6.0-16), libhtml-wikiconverter-perl (>= 0.60) Conflicts: libhtml-wikiconverter-perl (< 0.50) Replaces: libhtml-wikiconverter-perl (< 0.50) Provides: libhtml-wikiconverter-dialect Description: Convert HTML to MediaWiki markup HTML::WikiConverter::MediaWiki contains rules for converting HTML into MediaWiki markup, used by HTML::WikiConverter and 'html2wiki' command. Homepage: http://search.cpan.org/dist/HTML-WikiConverter-MediaWiki
Hallo, Frames,
Du (frames) meintest am 12.10.08:
This was posted a few weeks ago to this list: http://lists.wikimedia.org/pipermail/mediawiki-l/2008-September/0285 81.html
I just tried to install this perl HTML::WikiConverter ... It is exactly what I need but I did not succeeded to install it.
Have you root access to the machine which drives mediawiki? If yes: which distribution (or operation system) runs on that machine?
Viele Gruesse! Helmut
Le jeudi 16 octobre 2008 à 09:42 +0200, Helmut Hullen a écrit :
Hallo, Frames,
Du (frames) meintest am 12.10.08:
This was posted a few weeks ago to this list: http://lists.wikimedia.org/pipermail/mediawiki-l/2008-September/0285 81.html
I just tried to install this perl HTML::WikiConverter ... It is exactly what I need but I did not succeeded to install it.
Have you root access to the machine which drives mediawiki? If yes: which distribution (or operation system) runs on that machine?
Viele Gruesse! Helmut
My Pc runs Scientific Linux and I am going to move to CentOS, do you think it is a better Linux ?
Best,
Francois Colonna
Hallo, Frames,
Du (frames) meintest am 16.10.08:
I just tried to install this perl HTML::WikiConverter ... It is exactly what I need but I did not succeeded to install it.
Have you root access to the machine which drives mediawiki? If yes: which distribution (or operation system) runs on that machine?
My Pc runs Scientific Linux and I am going to move to CentOS, do you think it is a better Linux ?
Changing the distribution doesn't help in this case.
Searching for "WikiConverter" on http://search.cpan.org/
shows some modules. Maybe
http://cpan.uwinnipeg.ca/dist/HTML-WikiConverter
does what you want. Have you still imported any CPAN module?
http://cpan.uwinnipeg.ca/htdocs/HTML-WikiConverter/INSTALL.html
may help.
Changing distributions is like changing a city - the new distribution is certainly different. But neither better nor worse in every special case.
Viele Gruesse! Helmut
mediawiki-l@lists.wikimedia.org