would something bad happen if I modified importImages.php so that an
image is copied even if it is already existent?
If this works, should I call recordUpload() on duplicates [e.g. are
information like image geometry inserted in the database because of
this call]?
The plan is to rsynch my local image directory where drawings are
created and modfied and then using ssh for remotely execute
this modified script on the host. I'll be the only creator of images,
so I'm not worried of conflicts with other people's images.
Thanks,
Maurizio
http://www.mediawiki.org/wiki/Extension:TableEdit
For those who are new to the list, TableEdit is an extension to allow
insertion of tables that are edited via a Special page instead of by
editing wiki markup inline.
Version 0.6 fixes some bugs and adds some new features.
* In the Special page display of the table, some template expansion
is now done via Parser->preprocess() ... this may actually be a bad
idea, but I'm experimenting with it.
* Sites using the extension can now customize the "Create Table Here"
link text to change depending on the template used.
As usual, I hope people find this useful and report bugs...and even
better, bug fixes!
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
Hi,
Is there any way to display information in a wiki page only if a user
is logged in.
The long story.
On my main page, I'd like to have specific information displayed only
if the user is logged in. I wonder if there is any way to use some
"ParserFunctions" to check if we have a logged user or a guest.
{{ #if loggedUser .....
There is the isLoggedIn check that I could do from an extension, but I
would rather prefer to not rely on extension
Thank
Hello,
I want to modify my page layout so that an article are divided into
sections, each with a heading that can't be modified (like "main article,"
"main points" and "sources").
Each article section should then have an "edit" tab.
What is the best way to accomplish this?
I have been trying to do this myself and looking everywhere but can't seem
to find and answer.
any help appreciated
I did search the archives but didn't find anything helpful. Of course,
I may have gone about that badly, in any case...
I get an error page with the following:
Method Not Implemented
POST to /wiki/index.php not supported.
when I try to save or preview the following text during an edit:
== Modify an existing user name ==
* ssh to xxxxx.marmot.org (999.999.999.999)
* su -
* vi /etc/passwd (chg username and home dir)
* vi /etc/shadow (chg username)
* cd /var/spool/mail
* mv <OLDNAME> <NEWNAME>
* cd /home
* mv <OLDNAME> <NEWNAME>
* vi /etc/groups (chg group name, if applicable)
* exit (or ^D)
* notify appropriate person via phone or prior email.
The problem appears to be related to the forward slash, but the pattern
of what fails and what works isn't consistent. Sometimes a single slash
causes the problem and sometimes not, but then a second slash causes the
problem again... When I remove this text all is good again.
I'm confused and dismayed... Can anyone straighten me out on this?
Thanks.
--
Steve Lindemann __
Network Administrator //\\ ASCII Ribbon Campaign
Marmot Library Network, Inc. \\// against HTML/RTF email,
url: http://www.marmot.org //\\ vCards & M$ attachments
email: mailto:steve@marmot.org
voice: +1.970.242.3331 ext 16
fax: +1.970.245.7854
Hello,
I'm using mediawiki version 1.10.0. It seams the script
maintenance/changeuser.sql doesn't work.
The structure of the table "user" is not OK. And all columns's contain
seems the same ?
update low_priority /*$wgDBprefix*/user set user_name=@newname where
user_name=@oldname;
update low_priority /*$wgDBprefix*/user_newtalk set user_ip=@newname
where user_ip=@oldname;
update low_priority /*$wgDBprefix*/cur set cur_user_text=@newname where
cur_user_text=@oldname;
update low_priority /*$wgDBprefix*/old set old_user_text=@newname where
old_user_text=@oldname;
update low_priority /*$wgDBprefix*/archive set ar_user_text=@newname
where ar_user_text=@oldname;
update low_priority /*$wgDBprefix*/ipblocks set ipb_address=@newname
where ipb_address=@oldname;
update low_priority /*$wgDBprefix*/oldimage set oi_user_text=@newname
where oi_user_text=@oldname;
update low_priority /*$wgDBprefix*/recentchanges set
rc_user_text=@newname where rc_user_text=@oldname;
Thank,
Evelyne
Hello
I was wondering how I could change the text of a page within the edit window
(ie the page says something, but i want to automatically remove it before it
is edited)
Cheers
Keir Lawson
I see that there is a patch on bugzilla from a couple of years ago
for bug 3188. The patch is supposed to allow users who are not
signed in to use the default search settings in
$wgNamespacesToBeSearchedDefault. Anyone have experience with this?
Any chance of getting it added to the main distribution? For my
wikis, searching Category as well as Main by default would be good.
Jim
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
I'm having a bit of a problem with a second Wiki installation. So
far, I've managed to get the tables created and to log in, however, I
cannot edit or create any pages. I always get the same message:
"This page has been locked to prevent editing; there are a number of
reasons why this may be so, please see Project:Protected page.
You can view and copy the source of this page: "
I'm logged in as a Bureaucrat and have all the group permissions set
to TRUE, so I don't understand why it won't let me do anything. My
other installation is working just fine. Both are v1.6.10. I've
tried purging the cache but still have the same problem.
I thought maybe the Wiki wasn't seeing me as the Bureaucrat, but it
allows me to edit User Rights, so that can't be it.
What have I missed?
Sandy