I've seen a few products (mostly commercial) out there that do this;
however, it seems reasonable that such a functionality might be useful here.
Too often I run across really good articles on web pages that get
bookmarked, only later the actual site disappears. In this case,
wouldn't it be "nice" to be able to import that page (and its elements)
for private use into MediaWiki, with full search capability.
Would be a great reference point.
Anyone thought of this?
_F
I wanted to edit the main page. I clicked the 'editing help' link and got to Help:Editing which itself had no content.
???
thanks,
ittay
--
===================================
Ittay Dror,
Chief architect, openQRM group leader,
R&D, Qlusters Inc.
ittayd(a)qlusters.com
+972-3-6081994 Fax: +972-3-6081841
www.openqrm.org - Data Center Provisioning
We've recently upgraded to 1.9 alpha and we've run across the following
error while trying to thumbnail images. (Old thumbnails work fine, any
new files that are uploaded have the problem, apparenlty.)
Error creating thumbnail: sh: /path/to/bin/ulimit-tvf.sh: /bin/bash :
bad interpreter: No such file or directory
Could someone shed some light on this?
Thank you!
--
Joe Beaudoin
Webmaster, Battlestar Wiki
http://www.battlestarwiki.org
Hello,
I'm trying to make TeX formula working in MediaWiki under Windows. It
doesn't work yet (experiments are described in the preceding mail).
I tried manual test of texvc.exe
texvc.exe "c:\temp" "c:\temp" "x^2"
The displayed output:
---------------------------------------------------------------------------------
latex: unrecognized option `-quiet'
gs: Interpreter revision (854) does not match gs_init.ps revision (707).
gs: Interpreter revision (854) does not match gs_init.ps revision (707).
convert: no decode delegate for this image format
`c:\temp\1996_caeec96a64f7a8a9
edff9788f38e8083.ps'.
convert: Postscript delegate failed
`c:\temp\1996_caeec96a64f7a8a9edff9788f38e80
83.ps'.
convert: missing an image filename
`c:\temp\caeec96a64f7a8a9edff9788f38e8083.png
'.
ccaeec96a64f7a8a9edff9788f38e8083<i>x</i><sup>2</sup> +
<i>z</i><sup>4</sup> + <
i>z</i><sup>8</sup>
---------------------------------------------------------------------------------
but nothing was saved in c:\temp.
Can anybody explain to me, what's going on there? Imagemagik's convert
works well... Problem of ghostscript??
Why there is nothing saved to in c:\temp??
When I tried the original render.ml, the file
1996_af70815e91e661db930956cdd84e0b52.tex was saved to c:\temp with
correct TeX code
\nonstopmode
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
$$
x^{2}
$$
\end{document}
but mediawiki wrote "Failed to parse(unknown error): x^2", when I wrote
<math> x^2</math> on the page. So I change the render.ml as adviced in
http://meta.wikimedia.org/wiki/Running_Mediawiki_on_Windows and then
received the result above...
Any hint, what's wrong here?
Martin
Hello,
I still cannot find solution on displaying TeX formulas in MediaWiki under
Win XP. Steps of my experimentation are below. Everything ends up either by
error "Failed to parse (unknown error)", or by [Unparseable or potentially
dangerous latex formula. Error 3 ]...
Can somebody help me?
thanx
Martin
1. Downloaded TeXlive2005, OCalm, Gost Script, ImageMagik,
2. I used make from http://gnuwin32.sourceforge.net/ in wiki_dir\math
RESULT - ERROR:
ocamlopt -c util.ml
'as' is not recognized as an internal or external command, operable
program or batch file.
Assembler error, input left in file ... *** [util.cmx] Error 2
3. I used mingw32-make texvc.bc as recommended on
http://meta.wikimedia.org/wiki/Talk:Running_MediaWiki_on_Windows
4. Renamed texvc.bc to texvc.exe
5. Edited wiki_dir/localsettings.php:
$wgUseTeX = true;
RESULT - ERROR:
Instead of formula written: "Failed to parse (missing executable
texvc, look at math/README for documentation): x^2".
6. According to
http://meta.wikimedia.org/wiki/Running_Mediawiki_on_Windows#Building_texvc_…
did the following:
1. in /includes/Math.php I replaced
wfDebug( "TeX: $cmd\n" );
with the following:
$cmd=str_replace("'","\"",$cmd);
wfDebug( "TeX: $cmd\n" );
2. in LocalSettings.php I added:
$wgTexvc = "texvc.exe";
RESULT - ERROR:
Instead of formula written: "Failed to parse (unknown error): x^2".
1. I tried several changes to math/render.ml:
1. I tried to write full path for convert, latex, dvips as
recommended in
http://meta.wikimedia.org/wiki/Talk:Running_MediaWiki_on_Windows#Finally_.2…
RESULT - ERROR:
Failed to parse (unknown error): x^2
2. I tried completely new math.php in wiki_dir/includes - see
http://meta.wikimedia.org/wiki/Help:Running_MediaWiki_on_Windows/math.php
RESULT - ERROR:
[Unparseable or potentially dangerous latex formula. Error 3 ]
2. I tried also
http://meta.wikimedia.org/wiki/Running_Mediawiki_on_Windows#Alternative_Sol…
It means to add into LocalSettings.php
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "C:\Program Files\ImageMagick-
6.3.1-Q16\convert.exe";
$wgImageMagickIdentifyCommand = "C:\Program Files\ImageMagick-
6.3.1-Q16\identify.exe";
$wgLaTexCommand = 'C:\TeXLive2005\bin\win32\latex.exe';
$wgDvipsCommand = 'C:\TeXLive2005\bin\win32\dvips.exe';
RESULT - ERROR:
[Unparseable or potentially dangerous latex formula. Error 3 ]
I'm trying to transclude content from a template on one wiki to
another, both under the same domain, in different subdomains, running
off of one MW install v.1.8.2.
I've added this to LocalSettings.php:
$wgEnableScaryTranscluding = true;
In phpMyAdmin, for the wiki that will receive the content:
I set iw_local: 1
iw_trans: 1
If I have this for iw_url:
http://against-the-day.pynchonwiki.com/wiki/$1
and this code on the target wiki page:
{{pwiki:Help}} (Help is a template I created)
I get this in the preview:
[Template fetch failed for http://against-the-day.pynchonwiki.com/
wiki/Template%3AHelp?action=render; sorry]
If I have this for the iw_url:
http://against-the-day.pynchonwiki.com/wiki/index.php?title=$1
it pulls in the whole page, styles and all. Doesn't work at all.
For some reason, the colon is getting read as "%3A".
Thanks. Tim
I tried searching the archives for this answer but only found it for images.
Is there a way that I can specify the title (caption) attribute for a
link?
thanks for your time and help!
> You need to include $1 somewhere in the path - this indicates where
> the article is. For instance, http://en.wikipedia.org/wiki/$1 - $1 is
> replaced with the title to be fetched.
>
> > iw_local: 0
>
> See whether setting iw_local = 1 is needed; it's 1 on a local test
> wiki of mine, but I don't know if it's *required* - will check.
>
> > iw_trans: 1
>
> This is in the interwiki table for the wiki you want to transclude the
> content onto, right?
>
I set iw_local: 1
iw_trans: 1 is only on the wiki I want to transclude content onto
If I have this for iw_url:
http://against-the-day.pynchonwiki.com/wiki/$1
and this code on the target wiki page:
{{pwiki:Help}} (Help is a template I created)
I get this in the preview:
[Template fetch failed for http://against-the-day.pynchonwiki.com/
wiki/Template%3AHelp?action=render; sorry]
If I have this for the iw_url:
http://against-the-day.pynchonwiki.com/wiki/index.php?title=$1
it pulls in the whole page, styles and all. Doesn't work at all.
Tim
I have three wikis running off one MW install (v 1.8.2). Is there a
way to have a way in one wiki's page to contain the content of
another of my wiki's pages?
I have a help section which I'd like to have on all three wikis, but
have to modify just one of them. I guess I could just use php
includes, but then that content would exist outside the wiki space.
I tried doing this with interwiki, but could only get that to open
the entire page, not just import its content.
Thanks.
Tim