On 4/22/05, Jason Davies <ucgajpd(a)ucl.ac.uk> wrote:
> I finally got round to doing this (without the messy mail indentation
> etc) but it doesn't seem to have had any effect. We're running 1.3.1 for
> various reasons.
I hope you mean 1.3.11, because there have been _numerous_ security
fixes since 1.3.1. If this is a LAN-only setup, it isn't as much of an
issue. But if the wiki is public, then you should probably at least
patch it.
-- Jamie
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!
Have lots of invites. Gmail now has 2GB.
Hi,
is it possible to protect the image directory (the directory where the
uploaded files are stored) from outside access? I don't want (now) that
the following links work when accessed by users not logged in:
Media:something.pdf
image:something.pdf
The links go to
http://mywiki.de/wiki/images/5/57/something.pdfhttp://mywiki.de/wiki/Bild:somthing.pdf
Did I miss any configure option?
Thank you
Dorthe
Is there a way to, after finishing the setup of a wiki, globally mark
all of the pages as RC Patrolled?
It's a nice feature but, since the number of articles that will be
auto-submitted to our wiki is in the 3500-4000 range (or maybe more),
it's not very practical to go and click on "Mark this article as
patrolled" on each of them.
Obviously, I can automate this too but, since I need the rcid for the
page just added, and the "easy" way to get this is to retrieve the page
with the "mark" link, I have to hit the wiki two extra times -- 1 to
get the "mark" URL with the rcid and 1 to mark it patrolled) for each
page -- and maintain 2 user agents in my bot -- one that uses the user
name I am submitting the articles under (to track the original source)
and one that uses my sysop user name so that I can get the page and
mark it (or keep logging in and out with both user names, which is even
more hits on the wiki).
The reason the number of hits is an issue is that I'd like to pause
between hits because there are other users working manually on the wiki
and I don't want to interfere with their work by slowing things down
too much. So two (or more) extra hits adds up to a lot of extra time to
do the loading.
John Blumel
> Brion Vibber brion at pobox.com wrote
>
> Tried digging into the code to add more output checks?
The script dies on Line 48 when it's trying to get a database connection...
./maintenance/convertLinks.php
45 print " DEBUG: extracting table names...\n";
46 print " DEBUG: getting database connection : DB_MASTER...\n";
47
>>>>> 48 $dbw =& wfGetDB( DB_MASTER ); <<<<< fails at this point
49
50 print " DEBUG: dbw: $dbw...\n";
51 extract( $dbw->tableNames( 'cur', 'links', 'links_temp',
'links_backup' ) );
52
53 print " DEBUG: running SQL: SELECT l_from FROM $links
LIMIT 1 ...\n";
54 $res = $dbw->query( "SELECT l_from FROM $links LIMIT 1" );
55 print " DEBUG: completed SQL: SELECT l_from FROM $links
LIMIT 1 ...\n";
56
57 if ( $dbw->fieldType( $res, 0 ) == "int" ) {
58 print "Schema already converted\n";
59 return;
> Confirmed that the GRANTs on the database are correct?
In a nutshell, despite the fact that I specified 'spapp7:3307' in the
wiki installation, I am unable to connect as wiki user when using
'spapp7' as the host:
# Denied when using host 'spapp7':
$ mysql -u wikiuser --host spapp7 --port 3307 --password wikidb
Enter password:
ERROR 1045: Access denied for user: 'wikiuser@spapp7' (Using password: YES)
# Allowed when using host 'localhost'
$ mysql -u wikiuser --host localhost --port 3307 --password wikidb
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 91 to server version: 4.0.24-standard
To solve the problem, I issued the following grant statement to the
mysql server:
grant all on wikidb.* to 'wikiuser'@'spapp7' identified by 'password';
I then reran the mediawiki install to success!
Thanks for the assistance.
Should I report this as a bug? My thought is that when the MySQL
server field name is not localhost, there should be a grant statement
issued for that host for the wikiuser.
Jeff
I created a special page for my wiki, and in the php for it I've made
extensive use of the wikitext wgout. I've marked up a number of my
wikitext entries as headers (i.e. ==header name==, etc.)
When wiki renders my page it does display the wiki headers the right way
- they're large, boldfaced, underlined, etc. BUT...
I can't get a table of contents to appear. I've even used __FORCETOC__,
but I just get a blank table of contents.
Is it possible to use TOC on a special page, or is this not a supported
feature because of the way special pages are parsed?
Any tips would be appreciated.
Thanks!
I upgraded a test instance of our 1.3.x mediawiki via the command
line and almost everything worked perfectly. Thanks very much for
making this such a painless process!
One of my users makes use of this javascript/css extension to monobook
and it ceases to work after the 1.4 upgrade:
http://meta.wikimedia.org/wiki/User_Styles/bottom_tabs
Is it simply that the HTML has changed and the getElementById calls
point to non-existant elements now, or did something else change?
advTHANKSance,
Sam
I couldn't find this in the docs. We are running an internal wiki and
would like to have everyone log in before editing so we can see who
made what chnages. Is there a way to do this?
Thanks,
Ben
(I hope I'm not abusing this email list too much...please let me know if I am.)
I'm trying to find something like
align=justify
for a table, such that this:
{| border=1 cellpadding=10 cellspacing=0 align="center"
|Please note: [[xxxx.com_is_a_temporary_location]]
|}
will span the entire width of the wiki page. I see this done all over
Wikipedia.com, but I have not as of yet been able to figure out how they do
it...nor have I been able to decipher Help:Table yet.
I'm also trying to get thinner borders on my tables, but this is of
secondary importance.
Thanks again for any help,
-Matt
I'm trying to add a box (a div tag) on the first page of my MediaWiki
installation, as content, not page template (I don't want to modify
the skin), and I want to execute a bit of JavaScript that modifies the
div every time the page is loaded. Basically, I'm copying the calendar
page from http://es.wikipedia.org/wiki/Wikipedia:Portal_de_la_comunidad,
but I want it to reflect the date/time information at the time the
Main Page is loaded, not when it was saved and/or cached.
What's the right place to put that JavaScript? I've thought of
MediaWiki:Monobook.js, but I'm a bit uncomfortable adding things to
it, as I assume it can change when upgrading MediaWiki. I can also use
an extension tag (let's say, <calendar></calendar>) and insert the
script from there, but it's very ugly.
Is there any other, better place?
Thanks,
/L/e/k/t/u