Vijay
Its great to see that you have the wiki setup. If thats done, it should not
be difficult to get the images working.
"Still I'm not getting the image." is not enough of an error message to
troubleshoot.
Some keys to troubleshoot:
Are you able to do a 'Preview' of the page after the edit ?
What do your log files say ? Any Error messages in apache error_log ?
Verify again if you have enabled image upload and check if rw access is
enabled for the userid used by apache on the images directory.
regards
venu
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of vijay kalghatgi
Sent: Monday, May 09, 2005 10:32 AM
To: mediawiki-l(a)Wikimedia.org
Subject: [Mediawiki-l] The image is not being displayed
Hi,
Can anybody tell me how to add images to the mediawiki?
I have enabled the upload files and used syntax like this:
[[Image:logo.jpg]], where logo.jpg is stored in /mediawiki/images
Still I'm not getting the image.
Can anybody tell me how to configure images?
Please its urgent!
Regards
Vijay
---------------------------------------------------------
Legal Notice: This electronic mail and its attachments are intended solely
for the person(s) to whom they are addressed and contain information which
is confidential or otherwise protected from disclosure, except for the
purpose they are intended to. Dissemination, distribution, or reproduction
by anyone other than their intended recipients is prohibited and may be
illegal. If you are not an intended recipient, please immediately inform the
sender and send him/her back the present e-mail and its attachments and
destroy any copies which may be in your possession.
---------------------------------------------------------
hi,
with mediawiki 1.4.0 we get the following error:
REPLACE INTO `projsearchindex` (si_page,si_title,si_text) VALUES
('960','kenta',' -- start infobox project -- infobox project projectname
...
<... three pages of text not pasted here ..>
...
from within function "SearchUpdate::doUpdate". MySQL returned error
"1062: Duplicate entry ' ' for key 3 (localhost)".
the text gets anyway stored in the database. how can we prevent this?
can it be that the string is too long?
-solo.
Hello, basically I would like to know if I can modify editpage.php to
show multiples types of edit and "link" them. I mean, my wiki would
present a first page where you select an archive (the button brings to
second page), a second page where you select a msgid/msgstr of the
presented (the button brings to third page),and the third page where
you edit the message. All three are "action=edit" pages,and i modified
index.php to enter as action=edit.
But some problems I encounter (the fact it's that I don't know if that
multiple edit is possible, however; apart, note I read/save to php
level, no using DB for the contents):
- I modify the editpage.php using things "if currentpage==1 do this,
else if ==2...". The idea is when submit in the first page, go to the
second...but it doesn't seem to capture tthe $intpo: that is, when I
submit, now it backs to actual screen (doesn't show previewnote
because I change manually beginning the editform...)
(in function editform)
global $currentscreen;
global $intpo;
if (!($intpo==true)){
$intpo=false;
}
if ( 'preview' == $formtype ) { #do this because else it goes to
preview when I submit
$formtype = 'initial';
}
(later....)
if ($currentscreen==1) {
if ($intpo){
$pcurrentscreen=3;
$filepo=$fileintroduced;
}
else {
$wgOut->addHTML( "<form id=\"intpoform\" name=\"intpoform\"
method=\"post\" action=\"$action\" enctype=\"multipart/form-data\">");
$introducepo="Introduce .po file: <input tabindex='3' type='text'
value=\"$filepo\" name=\"$fileintroduced\" maxlength='50' size='30'
/><br />";
$wgOut->addHTML( "$introducepo
<input tabindex='5' id='intpo' type='submit' value=\"Edite file\"
name=\"$intpo\" accesskey=\"I\" title=\"Edite file\"/>");
$wgOut->addHTML( "</form>\n" );
}
}
Basically, I would be glad If i know it's possible,all this "multiple
edit" stuff. If besides you know why the form doesn't pass the
intpo=true and so automatically go to next page, better, because at
these moments I see all wrong :(
Lot of thanks
Jordi
Text of other prior messages maybe useful....
>>>>>>>>>>>><
- the first in which you can load a file (.po) from your computer,
- the second in which you see some messages of the .po and you can try
the one which you want
- and the third, the one that I have already developed:default
action=edit, you can modify/introduce your translation.
As i say, the three pages of my web application should be more or less
editable...so, I forget special pages, and modify my editpage.php to
use code depending of the screen/page showing. I created a variable
inicializated to 1, and presents what i would like in my first page; I
change manually to 3, and presents what I had done as editpage, and
therefore...
If i control the variable dinamically (initializated to 1 and
incrementing when pressing the button that goes to next page), would
this be a good (although maybe a bit "dirty") solution?
>>>>>>>>>>>>>>>>
[added mediawiki-l to cc]
slimvirgin(a)gmail.com (slimvirgin(a)gmail.com) [050508 04:58]:
> On 5/7/05, Sheldon Rampton <sheldon(a)prwatch.org> wrote:
> > I see that someone has already written a Wikipedia widget for the
> > dashboard on the new OS X 10.4 ("Tiger") release for the Macintosh:
> > http://www.apple.com/downloads/macosx/dashboard/wikipedia.html
> Sheldon, interesting that you should mention Mac and Wikipedia. I've
> had some trouble with Wikipedia/Safari compatibility. I was running
> Jaguar until a few months ago, which meant I was restricted to Safari
> 1.2. Whenever I edited or even previewed a WP page with accents,
> Safari changed them all, so I had to stop using it. Then someone on
> this list said this was a problem only with 1.2 but 1.3 had fixed it.
> I liked Safari so much as a browser that I upgraded to Panther so that
> I could use Safari 1.3. and it did fix the accent problem, but is so
> slow to get into WP that I've had to abandon it again. All the other
> browers I use (Netscape, Opera, Firefox) get into WP considerably
> faster than Safari 1.3 (which sometimes just hangs and never makes it,
> and when it does, I get lots of spinning pizzas if I try to open
> multiple windows), whereas Safari 1.2 seemed as fast as the others.
> Now I'm wondering whether it would make any difference if I upgraded to Tiger.
That strikes me as odd, seeing as Brion uses a PowerBook and so presumably
does development work on MediaWiki on it ... Brion? (anyone?)
- d.
As an admin, when I click on a (diff) or (last)
button, not only do I view the current version and the
previous version, I get a [rollback] button.....what
I'd like is under the [rollback] button for there to
be a space to write an edit summary, and for there to
be a button to add that article to my watch list.
Thanks for your time!
Oliver Brown (Kingturtle)
Discover Yahoo!
Stay in touch with email, IM, photo sharing and more. Check it out!
http://discover.yahoo.com/stayintouch.html
Does anyone know where Gabriel Wicke is? (User:Gwicke) I'm trying to
contact him about wiki hosting (wikidev.net) and I haven't heard back.
(Maybe in the meantime someone can answer one of the questions I was
asking him! Security: How hard is it to hack into and
seriously/permanently damage a MediaWiki wiki? I.e. beyond just
annoying vandalism. Are there extra steps one can take to minimize this
risk? I ask because the wiki I would like to start might become a
target.)
Zach
http://meta.wikipedia.org/wiki/Enotif documentation
http://meta.wikimedia.org/wiki/Enotif#Download download
http://test.leuksman.com/index.php/Enotif helpdesk hotpage
The ENotif version for MediaWiki 1.4.4 is basically a maintenance
release based on the current 1.4.4 code. It still uses the old and now
abandoned method "e-mail authentication" for verifying e-mail addresses
(in mw1.5., the method is changed and called "confirmation") . The
feature can be fully disabled during the installation procedure and also
afterwards by setting $wgEmailAuthentication = false (in
DefaultSettings.php or LocalSettings.php)
All newer ENotif versions for MediaWiki 1.5.x use the better "EConfirm"
method, wherein a token is mailed to the user.
T.
Hello, I am developing a wiki for transaltion and finally seems it
would have three pages:
- the first in which you can load a file (.po) from your computer,
- the second in which you see some messages of the .po and you can try
the one which you want
- and the third, the one that I have already developed:default
action=edit, you can modify/introduce your translation.
I have seen the archives and the concepts of redirect, specialpages, etc, and...
- I understand that I have to do some SpecialMyproject (maybe three,
each for one). I did it and added them to LanguageCa.php, but the link
introduced (substitutong edithelp) doesn't find it.
- I don't know if I can default an action (view) in some of the pages
and other (edit) in others.
Maybe I have to do all as action=edit (after all, you have to select
things in the two first pages), but in the index.php I modified
action=view to action=Edit, and putting an action=view later doesn't
seem to be catched...
Huh, I don't know if maybe all it's a bit confusing...Basically, must
i do the specialmyproject pages, or do as a mainpage (until now, I
modified a lot article and editpage.php); and creating specialpages
it's all with putting inLanguagemylanguage.php?
Other thing, I want to do all to posible with mininum acces to bd, so
I think a [[redirect]] will not go well...
Thanks
Hello everybody,
I'm the very happy (newbie) mantainer of a Mediawiki-based wiki.
My heartful thanks to the team: MediaWiki *rocks*.
Browsing around wikipedia I stumbled upon the Wikipedia:Babel project,
templates and stuff, and I liked it very much.
Does anyone knows how to include this kind of functionalities in a
normal Wiki (beside trying to manually replicate all the work that's
already been done on the Wikipedia)?
Thanks in advance,
Stefano
P.S.: B.t.w. I succeeded in creating the categories like "Users:By
language", the only problem is that if I add a user to any of such
categories he/she ends up listed under U (User:Test) while in the
Wikipedia User are listed under the correct letter (e.g. User:Test goes
under letter T).
Brion, thanks for the response.
> There was a typo in the updater code which caused it to attempt to add
> fields that were already present.
>
> Change this line in maintenance/updaters.inc:
> - array( 'site_stats', 'ss_total_articles',
> 'patch-ss_total_articles.sql' ),
>
> to:
> + array( 'site_stats', 'ss_total_pages',
> 'patch-ss_total_articles.sql' ),
>
The only reference in updaters.inc that I can find is
array( 'site_stats', 'ss_total_articles',
'patch-ss_total_articles.sql' ),
and there's no "-" associated with it (that's the entire line from the
creation of the array named "$wgNewFields "). I must be missing
something obvious. (I'm just a suit, not a programmer...sorry.)
If this typo has been corrected in the maintenance update, perhaps I
should simply download that and run it?
Thanks,
JohnL
John Wills Lloyd, Ph.D.
Professor and Chief Technology Officer
U.Va. Curry School of Education