It's written: "MediaWiki does not yet have an interface for setting the user_rights field of user accounts."BUTSpecial:Makesysop should be considered!
oliver
The key to this is to insert rows into thecur table. Specifically, you need to fill the fieldscur.cur_title andcur.cur_text. They contain the page titles and the wiki text, respectively. This is enough to start at. However, link tables must still be updated so the "What links here" etc. pages will work.
I've been playing with entering new pages directly into the MySQL database using the INSERT functions. From what I can tell, however, creating a new record with justcur.cur_title andcur.cur_text isn't enough. I think you also have to setcur.cur_is_new to 1 for the page to show up as having content, at least in MediaWiki 1.4.5. This suggests that you could populate a local Wiki using delimited text files andLOAD DATA INFILE in MySQL (or that a simple script could do this running a loop and using INSERT statements). This requires privileges on the database, of course. Is this correct? If so, I guess thecontent page should be edited, but since I'm a newbie I hesitate to change it without asking first.
jimhu
Hi! I’m trying to insert new pages directly into mediawiki data base. There are more than 1.000 pages to create. I converted all information to wiki text format and, now, this content is into a MySQL database with columns title and for media wiki text. So, I have the title and the wiki text, but I don’t know how to put this information into mediawiki database. How can I do it? I’m using mediawiki 1.11 and there are nocur table my mediawiki database.
Which folder do I place this file in, for it to check uploads? Many thanks.
This turns out to be in the file "xhtml_slim.pt" within the Templates folder. I wish it were a wiki page instead!!!
MediaWiki:Sidebar
.OK. I think I figured this one out. They are in the "Stylesheets folder", under the name of the style template you are using. Note: They arenot in the "templates" folder. They are PNG files.
Actually, the icon needs to be changed at the top level of the Stylesheets folder, not within the specific template (although it exists there as well).
$wgLogoPath
variable inLocalSettings.php.- Modify the URL scheme so it respects the URL forwarding I'm already using. (i.e. The domain my wiki is hosted on is not the same as the URL I wish to use, so all liks at www.myhost.com/... should be forwarded to www.mydomain.com/...) Ideally, I'd like to combine this with some kind of URL redirection so that I don't see the annoying index.php links on all the pages.
The second half of this question is answered inRewrite_Rules, but not the first half. (Although I can't get my .htaccess file to work.)
Thanks for your help!
Luhmann
I added the header tags to your entry so it would show up in the TOC - jimhu
The latest MediaWiki supports granting sysop rights through the UI, so you don't have to use a SQL statement any longer. Update this doc to reflect that? --209.6.144.65 19:51, 19 Oct 2004 (UTC)
In section 3.1 (enabling and disabling downloads) it would be nice to have more information, such as-- what do the ImageMagick lines do?
# $wgUseImageMagick = true;# $wgImageMagickConvertCommand = "/usr/bin/convert";
Thanks,Chira 06:35, 28 Oct 2004 (UTC)
In section 3.1 it says:"In newer versions of the MediaWiki software, starting with version 1.1.0 from 2003-12-08, uploads are disabled by default because of security considerations." But after installing 1.4 beta 3, I look in the generated LocalSettings.php and "$wgDisableUploads = false;". And uploads do work. So this is inconsistent I think.ErikH2000 07:36, 16 Dec 2004 (UTC)
is this really correct?
mysqldump -uusername -ppassword databasename > file.sql
mysqldump -uusername -ppassword databasename | ssh user@host "cat > remote_file"
mysql -uusername -ppassword databasename < file.sql
shouldn't there be a space between "-u" and "username" and "-p" and "password" ?
I tried to add back a link to MediaWiki Documentation on the first line, and it let me preview, but failed to let me make the edit. Not sure what to do from there... (it dissapeared on Dec 2,2004 for some reason)
In order to give myself sysop privileges, I had to do the following instead:
update user, user_rights set ur_rights = 'sysop' where user.user_name = 'me' and user.user_id = user_rights.ur_user;
It looks like there's a UI for this in 1.4, so maybe that's why the documentation hasn't been updated; the UI isn't going to work with, e.g., the LDAP patch, though, unless the WikiSysop user appears in the LDAP database.
Yah, the documentation is laughably wrong, the wrong column names, etc.
I've allowed File-Uploads. When I try to upload a file it says: ".txt is not an recommended fileformat".How can I switch it?
What does tbd mean?
Hi,
I tried to change the skin as proposed in the localsetting.php but it seems impossible.
$wgDefaultSkin = 'cologneblue';
I well placed this file in the root but nothing changed.
What's wrong
precision: I am new in the Wiki world. I tried to search any response everywhere but nothing good.
can anybody help me?
Thanks in advance
c:\inetpub\wwwroot\mw16
(/var/wwwroot
for you Unix users) then you'd need to editc:\inetpub\wwwroot\mw16\LocalSettings.php
(or/var/wwwroot/LocalSettings.php
) to include that line, which ought to pre-exist.I have been preparing to install a new wiki at its own domain. I have a lot of documents (that are unfortuneatley not in a sql dump), templates, graphics etc that are all part of it. Is there a way I can install a wiki, but disable it for casual visitors until we have most of our content and templates added.
There is a sentence that is not complete in theGetting the data section. I assume it should say something about the license but I don't presume to know the details.