Hi Ira
>You'll be better off popping a second tab or window instead.
>This is not a technical advice, more an ethical one.
Thanks very much for your advice. Please will you tell me how I can open
a new window for the external link in MediaWiki syntax?
Best regards
David
Hi
I am new to MediaWiki. I would like to add an external link to my Wiki
page but to have the external page open within a frame within the Wiki
page. This will give the user the feeling that he is still within the
Wiki. I do not know whether this is a valid concept but I hope I have
explained my intention adequately. Is this possible in MediaWiki and is
it commonly done?
Best regards
David
> -----Original Message-----
> From: mediawiki-l-bounces(a)Wikimedia.org
> [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Rob Desbois
> Sent: Tuesday, 6 June 2006 12:00 AM
> To: mediawiki-l(a)wikimedia.org
> Subject: [Mediawiki-l] <math> fails with "PNG conversion failed"
>
> I'm running MediaWiki 1.6.5, didn't have the math stuff
> installed orginally, but want to use <math> now.
> I've installed all of the required components, and everything
> seems to work well from the command-line:
>
> [root@batcave mediawiki]# sudo -u apache ./math/texvc
> /var/www/html/mediawiki/images/tmp
> /var/www/html/mediawiki/images/tmp "y=x+2" UTF-8
> /root/.dvipsrc: Permission denied
> /root/.dvipsrc: Permission denied
> This is dvips(k) 5.92b Copyright 2002 Radical Eye Software
> (www.radicaleye.com) ' TeX output 2006.06.05:0954' ->
> <texc.pro><aae443f0.enc ><f7b6d320.enc><texps.pro>.
> <cmr12.pfb><cmmi12.pfb>[1]
> Cdaa63ef966cc412541190bc8794731de<i>y</i> = <i>x</i> +
> 2<mi>y</mi><mo>=</mo><mi>x</mi><mo>+</mo><mn>2</mn>
>
> The filename given appears in ./images/tmp with no problems there.
> On the Wiki itself I get the error "Failed to parse (PNG
> conversion failed; check for correct installation of latex,
> dvips, gs, and convert): ax^2 + bx + c = 0\,"
>
> Could the permission faults given be an issue?
> If not, what could be the problem here?
Had the same problem myself about a week ago. A lot of fiddling
and I finally got things working. I eventually put my tmp dir to have
"777" permissions with apache as the owner and group for the dir. I also
made sure there was a user called apache that was a member of the apache
group. At this point in time, that's about the extend of my knowlwdge :)
Regards,
Andrew Lowe
Another user and I found that the error occurred when an edit had been made at a particular point in the page, and we
deduced the reason why certain pages had this problem but others did not is because of words starting with "psy" If no
letters come after the word, there aren't any problems. I experienced a similar error in another PHP script with the words
"curl" and "lynx," and the writers of that script had no solution (other than to not use those words). Hopefully there is
a better solution here....?
All the same, I have submitted a ticket to my administrator, but this new information may affect what the real reason
behind the error is.
~Azurite
Azurite wrote:
>/ I don't know why this is happening, but on certain pages in my Wiki
/>/ (which is up-to-date with ver. 1.6), whenever someone tries to add a
/>/ page or edit them, they get a 403: Access Denied error.
/
This is probably because of a badly configured "security" module on the web
server such as mod_security. (In particular if the page title or contents
contains Unix shell commands, etc.)
Contact your system administrator and ask about this.
-- brion vibber (brion @ pobox.com)
Hi, all:
I am asked to install Tdittmar/MailObfuscator
(http://meta.wikimedia.org/wiki/User:Tdittmar/MailObfuscator)
extension on our wiki site.
I try to follow the instruction to add the javascript statement:
'Then, you must include the script in all templates that you provide
for your page.;
<script type="text/javascript" src="/extensions/MailObfuscator.js"></script>
..."
Here, I don't know which templates I may need to provide; or I need to
add the statement to any php pages in MW?
any enlightenment?
Thank you.
andy
I don't know why this is happening, but on certain pages in my Wiki
(which is up-to-date with ver. 1.6), whenever someone tries to add a
page or edit them, they get a 403: Access Denied error. I have gotten
this error when logged in from 2 different computers, and logged in (on
both computers) with both a normal account and a SysOp account; another
user has just emailed me saying she got the same error when she tries to
preview or save the page in question. I have now gotten this with 3
different pages on my Wiki, while other pages can be created and edited
just fine. I have tried deleting the pages and starting over, but it
doesn't help.
I've browsed through tons of Media Wiki documentation and other FAQs,
including the archives of this ML, but nothing I find on Access Denied
errors helps or applies to my situation.
Can anyone assist me?
Thanks,
~Azurite
So I'm trying to make this work... I don't quite know how to explain
what I'm trying to do, best I can do is give you the code. I'm not a
great programmer, I just hack at things (and kick when the axe gets
dull) till they work, but that approach has failed me here - what am
I doing wrong?
> /* Peer start */
> /**
> * Get a message from the language file, for the content, and parse
> wiki into HTML
> */
> function wfMsgWikiNoDBForContent( $key ) {
> global $wgForceUIMsgAsContentMsg;
> $args = func_get_args();
> array_shift( $args );
> $forcontent = true;
> if( is_array( $wgForceUIMsgAsContentMsg ) &&
> in_array( $key, $wgForceUIMsgAsContentMsg ) )
> $forcontent = false;
> $msg = wfMsgReal( $key, $args, false, $forcontent );
> return $msg;
> // return $wgOut->parse( $msg, true );
> }
> /* Peer end */
The last commented out return is what I actually tried to do, but
when I stick <?php echo( wfMsgWikiNoDBForContent( 'tools' ) ) ?> in
the skin somewhere, everything breaks, and nothing at all appears
below that in the source of the page, making me assume I somehow
crashed PHP or ended mediawiki's entire process or something - what
am I missing? As long as I leave the last line commented out, the
second-to-last makes it function exactly as wfMsgNoDBForContent,
which, more or less, doesn't work for the circumstances but is better
than a blank page below the control bar... any help that I could get?
Hi
I recently transferred my wiki from one web server to another before upgrading my mediawiki software from 1.4.. to 1.6.8. The first problem I encoutered is that the JPG and PNG files that were uploaded to the images folder by editors using Mediawiki seem to be corrupted ; when I download them using my FTP access to my computer or if I try to upload them to my new web server, I cannot open them or they do not display as they should. However, when I view them in the original wiki or if I ask my browser to display the URL of an image on the web, the images are ok (???). I don't understand why this problem happens, and do you have a less tedious way of solving it than taking the images from my browser one by one and right-clicking to save them on my computer before uploading them (there are 1200 images to fix) ?
Second, version 1.4 seems to place all the uploaded images directly in the images folder while 1.6.8 creates subdirectories with numbers or letters. As a consequence of that none of my images can be viewed because the new version can't find them, and I would have to upload each of them again ! Can I disable this subdirectories feature, or what determines the location where a particular image will be saved when uploaded ?
Thank you.
Jonathan Boivin
_________________________________________________________________
Soyez le premier de votre quartier à découvrir le futur Hotmail : essayez Windows Live Mail Beta
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-49…
I installed a new skin, claremont, for my wiki. I followed the
instructions from mediawiki and set claremont as my default. It
appears and functions as my default fluidly, but when I login as
either WikiSysop or using Ldap authentification, Monobook takes over
and effectively functions as the default. Any suggestions as to what
is happening? Thanks,
Rory Reiff
Publications Coordinator
Libraries of The Claremont Colleges
So I finally got the wikitable css stuff working to make my tables look
pretty whenever I say class="wikitable".
Now my problem is if I wanted to have a non-wikitable inside of it.
I have a template called Box Note that looks like this....
{| width="75%" cellpadding=0 cellspacing=0 style="background-color:
#c1ffc1; border: 1px dashed green; padding: 0px 4px;"
|-
| width="50" valign="top" | '''Note:'''
| {{{1}}}
|}
...
It looks very nice and doesn't show any internal borders around each
cell.
But if I use it nested within a wikitable now all of a sudden I see the
borders in the note.
This happens if I use the template above for a note or if I were to
manually nest the table as shown below (so if anyone wanted to try this
out they wouldn't have to create and save a template).
So my question is how do I get rid of all of that style info and
properly nest two tables with different styles?
Thanks,
~Eric
{| class="wikitable"
|-
| valign="top" |
* click this
* press that
* hit okay
{| width="75%" cellpadding=0 cellspacing=0 style="background-color:
#c1ffc1; border: 1px dashed green; padding: 0px 4px;"
|-
| width="50" valign="top" | '''Note:'''
| Sometimes you have to wait a bit.
|}
|
[[Image:Screenshot 01.jpg|200 px]]
|-
| valign="top" |
* Press Enter
|
[[Image:Screenshot 02.jpg|200 px]]
|-
| valign="top" |
* fill out form
* cross your fingers
* hit enter
|
[[Image:Screenshot 03.jpg|200 px]]
|}