Thanks for the input. I added the following to .htaccess:
*php_flag session.use_trans_sid off*
Hope that was the right thing to do :-)
mediawiki-l-request(a)Wikimedia.org wrote:
>Send MediaWiki-l mailing list submissions to
> mediawiki-l(a)Wikimedia.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>or, via email, send a message with subject or body 'help' to
> mediawiki-l-request(a)Wikimedia.org
>
>You can reach the person managing the list at
> mediawiki-l-owner(a)Wikimedia.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of MediaWiki-l digest..."
>
>
>Today's Topics:
>
> 1. Safe mode (Lorenzo Breda)
> 2. Re: Safe mode (Jan Steinman)
> 3. Re: Safe mode (Brion Vibber)
> 4. Re: Safe mode (John Yu)
> 5. Re: Safe mode (Brion Vibber)
> 6. Re: Safe mode (John Yu)
> 7. PHPSESSID in MediaWiki (sarath)
> 8. Re: PHPSESSID in MediaWiki (Brion Vibber)
> 9. help please (Alli Lenters)
> 10. Re: help please (NSK)
> 11. How to make external links open a new window? (Jan Steinman)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 08 Feb 2005 19:54:52 +0100
>From: Lorenzo Breda <lorenzo(a)gbreda.com>
>Subject: [Mediawiki-l] Safe mode
>To: MediaWiki <mediawiki-l(a)Wikimedia.org>
>Message-ID: <6.2.1.2.0.20050208195330.02780b50(a)box.gbreda.com>
>Content-Type: text/plain; charset="us-ascii"; format=flowed
>
>On my website I must have the SafeMode on. Is there a way to upload files
>with the SafeMode on?
>
>Lorenzo Breda
>
>
>
>------------------------------
>
>Message: 2
>Date: Tue, 8 Feb 2005 12:05:25 -0800
>From: Jan Steinman <Jan(a)Bytesmiths.com>
>Subject: Re: [Mediawiki-l] Safe mode
>To: MediaWiki announcements and site admin list
> <mediawiki-l(a)Wikimedia.org>
>Message-ID: <bcb3be31052a7240bce615e809d1cc7a(a)Bytesmiths.com>
>Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>On 8 Feb 2005, at 10:54, Lorenzo Breda wrote:
>
>
>
>>On my website I must have the SafeMode on. Is there a way to upload
>>files with the SafeMode on?
>>
>>
>
>Sorry to sound glib, but it wouldn't be "safe" then, would it?
>
>I think the only way to implement such a policy would be to hack the
>code. But keep in mind that since MediaWiki stores images in a
>database, allowing uploads possibly exposes you to SQL injection hacks.
>
>:::: Beware of the military-industrial complex. -- Dwight D. Eisenhower
>:::: Jan Steinman <http://www.Bytesmiths.com>
>
>
>
>------------------------------
>
>Message: 3
>Date: Tue, 08 Feb 2005 12:27:19 -0800
>From: Brion Vibber <brion(a)pobox.com>
>Subject: Re: [Mediawiki-l] Safe mode
>To: MediaWiki announcements and site admin list
> <mediawiki-l(a)Wikimedia.org>
>Message-ID: <420920A7.2040900(a)pobox.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Lorenzo Breda wrote:
>
>
>>On my website I must have the SafeMode on. Is there a way to upload
>>files with the SafeMode on?
>>
>>
>
>Unless file uploads have also been disabled in your PHP configuration,
>then yes. But you have to go to some extra effort.
>
>In safe mode, your PHP scripts can't write to directories that are not
>owned by the user account that owns the script, and this creates the
>main problem with uploads.
>
>MediaWiki uses subdirectories in the upload area for generated
>thumbnails and to temporarily hold files for confirmation. Additionally,
>it divides up uploaded files into subdirectories based on the MD5 hash
>of the filename. This keeps the individual directories smaller and
>relatively manageable (remember MediaWiki was created for Wikipedia,
>which is a relatively large site). These subdirectories are created when
>they are needed, which usually means they are owned by the 'nobody'
>account or the web server's limited user ('web' or 'www' or 'apache'
>etc). Thus once the subdirectory is created, it can't actually put files in!
>
>To work around this, you have to create the subdirectories in images/
>ahead of time, as your own account:
>
> thumb
> archive
> temp
>
>For the numbered hash subdirectories, you can either create them all or
>you can disable the subdivision and let all files go into one place.
>(This is not supported on 1.3 unless you backport the change; it is
>available in 1.4beta.) To skip turn it off, set $wgHashedUploadDirectory
>= false in your LocalSettings.php.
>
>To create them manually, they go in the pattern:
> N/NM
>where N and M are each hexadecimal number 0-f. You should end up with 16
>top level subdirectories and 256 second-level subdirectories. Create
>these in each of images, images/thumb, images/archive, and images/temp.
>
>-- brion vibber (brion @ pobox.com)
>
sorry this is going to be mind-numbing for most of you. Our wiki was set
up by someone in IS and there's been a mismatch. In a nutshell, no-one
knows what the sysop name or password is. What do we do now?:-)
and how do I view the php files? If I load the link in Interarchy or
similar (mac user) then I just see the web page content. I now know what
changes to make, just stumped about how to make them...!
any help *greatly* appreciated
and I'm booked in on a course next week to learn PHP so hopefully this
sort of question will be a thing of the past soon...but no-one knows
about wikis at the college so in that respect I am on my own...
cheers
Has anyone had a problem with texvc hanging when trying to render math
within a wiki page? My installation was working fine until yesterday
when updates to pages including <math> would hang forever. Looking at
the processes owned by apache on the server, I can see:
./math/texvc
sh -c convert
convert
in addition to the other httpd processes. Any ideas? I've tried
running texvc from the command line and get the following output until
it hangs:
$ ./texvc ~/public_html/testing/ ~/public_html/testing/ 'E(C_R) = -
\frac{1}{\log q} \sum_{i=1}^q \frac{n_r^i}{n_r} \log \frac{n_r^i}{n_r}'
iso-8859-1
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software
(www.radicaleye.com)
' TeX output 2005.02.09:0842' ->
<texc.pro>. [1]
Several temp files are generated, ending with .dvi, .aux, .log, .ps and
.tex. The .ps file does look like the correct rendering of the
formula, so I'm guessing the TeX/LaTeX piece is completing
successfully. Running texvc from the command line also forks a
'convert' process that hangs.
any advice?
All
The PHPSESSID is displayed in my MediaWiki site. How secure is it to
have PHPSESSID displayed? If it can be disabled what is the best way to
do it? Thanks
sarath
My webhost has just transferred one server to another, and in the process decided to run PHP as cgi! I no longer have pretty urls. Is there anything I can do about this?
I'm trying to build a mediawiki page on the Sourceforge servers
(project: Pyarie). I've got the problem that whenever I log in, either
as an account or as WikiSysop, I can't stay logged in. If I go to
another page, it seems to log me out. Then, and most interesting, if I
go back to a page that I've seen previously, it'll log me back in.
For instance, I was able to log in as WikiSysop, edit my preferences and
then when I went to Main Page, I was suddenly not logged in. So I logged
in under a user account, went to a page that I previously saw as
WikiSysop, and I suddenly WAS WikiSysop- I tested it by editing a page.
I'm not sure if this is a problem with Mediawiki or my setup (likely the
latter.). I've repeated the behaviour with the current stable and the
latest beta version both.
I'm using Firefox 1.0, no extensions and I've played with cookies and
caching and it does the same thing regardless of setting. Again, this is
on the sourceforge servers with a clean install of mediawiki. I even
deleted all the tables and tried to start from scratch and the same
thing happend.
Any ideas? What am I missing?
Cheers,
-JW
--
JW Pennington | My Mind Map:http://oregonstate.edu/~penningj/
Masters Student: Bioresource Engineering & Geosciences
Oregon State Univ., Wilkinson 017, Corvallis Or. 97331
"A computer without windows is like a dog
without bricks tied to its head."
Hi,
We have a 1.3.9 installation and we're going to upgrade it to 1.3.10 soon.
But we made some changes in the source code here and there and doing diffs
and copying would be cumbersome. I wonder if anybody found an easier way.
I was thinking maybe we can use CVS to merge these two versions, I'm not a
CVS guru, all I do is checkouts and checkins from our local CVS (lazy me). I
was wondering if this approach would work:
1. Check out our version of 1.3.9 into dir A and dir B
2. Untar 1.3.10 into B
3. Check in A
4. Update in B and hope CVS merged two versions
Would this work? This question is not directly related to mediawiki, hope
it's not against conventions.
Thanks.
The following patch is needed on 1.4beta6 when using table prefixes.
--
/L/e/k/t/u
--- includes\SpecialDisambiguations.php.orig Mon Feb 7 17:06:53 2005
+++ includes\SpecialDisambiguations.php Mon Feb 7 16:59:38 2005
@@ -42,5 +42,5 @@
$sql = "SELECT ca.cur_namespace AS ns_art, ca.cur_title AS title_art,"
. " cb.cur_namespace AS ns_dis, cb.cur_title AS title_dis"
- . " FROM links as la, links as lb, cur as ca, cur as cb"
+ . " FROM $links as la, $links as lb, $cur as ca, $cur as cb"
. " WHERE la.l_to = '{$dpid}'"
. " AND la.l_from = lb.l_to"
I have a lot of users who keep asking me to restore a page they have
messed up. I have been doing it by going to the history, going to edit,
copy, paste etc. Is there a 'restore this (earlier) version mechanism?
Am I missing something obvious?:-)
cheers
Hi.
I'm trying the following setup:
- Windows XP SP2
- MediaWiki 1.4beta6
- Apache 2.0.52
- MySQL 4.1.9
- PHP 5.0.3
So far it's been a rough ride. I had to change the default charset of
MySQL from utf-8 to latin1; otherwise I got asorted errors during
setup; basically MySQL complained that the cl_sortkey index for the
categorylinks table was more than 1024 bytes long. After I tweaked
maintenance/tables.sql to get pass that, the build script created the
database and the tables all right, and crashed just afterwards, but
only when using a table prefix.
Anyway, setting "default-character-set=latin1" in my.ini cured all
that, and I've got a working (and very nice) MediaWiki installation.
But now I'm getting a weird error. I create a page (in this case,
User:Juanma/monobook.css, but I don't think that's relevant), I delete
it, and when clicking on the "deletion log" link (Special:Log/delete)
or on "View or restore 1 delete edits"
(Special:Undelete/User:Juanma/monobook.css) , I get the following
error dump:
------------ error starts here -------------
A database query syntax error has occurred. This may indicate a bug
in the software. The last attempted database query was:
SELECT log_type, log_action, log_timestamp, log_user, user_name,
log_namespace, log_title, cur_id, log_comment, log_params FROM `user`,
`logging` LEFT OUTER JOIN `cur` ON log_namespace=cur_namespace AND
log_title=cur_title WHERE user_id=log_user AND log_type='delete' AND
log_namespace=2 AND log_title='Juanma/monobook.css' ORDER BY
log_timestamp DESC LIMIT 0,50
from within function "". MySQL returned error "1267: Illegal mix of
collations (latin1_swedish_ci,IMPLICIT) and (latin1_bin,IMPLICIT) for
operation '=' (localhost)".
------------ error ends here -------------
I'm really puzzled by the "ltin1_swedish_ci", because my local, if
anything, would be Spanish...
Any ideas?
--
/L/e/k/t/u