Does Mediawiki HAVE to use the Pear:Mail functions? The forum software on the server doesn't require the PEAR:Mail functions. It uses simple SMTP stuff.
Is there any way to get the E-mail functions to work without using Pear:Mail?
thanks
Erik
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi,
I've asked this question more than a year ago and got two suggestions:
* use 'printable=yes'
* use saveHTML.py
using 'printable', the page formatting is not right (it looks different, e.g., preformatted text). also, the footer is still there.
i couldn't make saveHTML work on my local site. it seems it has too many assumptions about the url paths used (in getting, and in regural expression searching)
Any other alternatives? I'd like to mediawiki to render the page exactly as it does for viewing (and previewing), but not add the decorations
I tried extracting just the section of the content from the page, but because it is not proper XML, i failed)
Thanks,
Ittay
P.s., Happy new year
--
===================================
Ittay Dror,
Chief architect, openQRM group leader,
R&D, Qlusters Inc.
ittayd(a)qlusters.com
+972-3-6081994 Fax: +972-3-6081841
www.openqrm.org - Data Center Provisioning
so {{Include Relative|../Another page}} will work.
--
===================================
Ittay Dror,
Chief architect, openQRM group leader,
R&D, Qlusters Inc.
ittayd(a)qlusters.com
+972-3-6081994 Fax: +972-3-6081841
www.openqrm.org - Data Center Provisioning
I tried editing the source template ("Help"). The edits aren't
showing up in the target wikis, even if I delete the transclusion
code {{pwiki:Help}}, save and then re-enter it. There must be some
additional step?
Thanks.
Tim
That did the trick, changing "?action=$action" to "&action=$action"
in /includes/Parser.php.
So the values in phpMyAdmin:
iw_prefix = pwiki
iw_url = http://against-the-day.pynchonwiki.com/wiki/index.php?title=$1
iw_local = 0
iw_trans = 1
Then, in the target wiki, I just did this:
{{pwiki:Help}} ("Help" being a template I created in the source wiki)
and voila! Thanks so much for the assistance!
Tim
> Tim Ware wrote:
> > If I have this for iw_url:
> > http://against-the-day.pynchonwiki.com/wiki/$1
> >
> > and this code on the target wiki page:
> >
> > {{pwiki:Help}} (Help is a template I created)
> >
> > I get this in the preview:
> >
> > [Template fetch failed for http://against-the-day.pynchonwiki.com/
> > wiki/Template%3AHelp?action=render; sorry]
>
> Well failure there isn't surprising, since that URL appears to be
> wrong. :)
>
> > If I have this for the iw_url:
> > http://against-the-day.pynchonwiki.com/wiki/index.php?title=$1
> >
> > it pulls in the whole page, styles and all. Doesn't work at all.
>
> The old transclusion code will break on foreign URLs using query
> strings.
>
> Fix is on trunk (for 1.9) in r18684.
>
> You can either try to apply that change to the 1.8 code, or just do a
> quick hack to change the "?action=$action" to "&action=$action" in
> interwikiTransclude() in Parser.php
>
>
> > For some reason, the colon is getting read as "%3A".
>
> That's normal and harmless (but also fixed, I believe).
That did the trick, changing "?action=$action" to "&action=$action"
in /includes/Parser.php.
So the values in phpMyAdmin:
iw_prefix = pwiki
iw_url = http://against-the-day.pynchonwiki.com/wiki/index.php?title=$1
iw_local = 0
iw_trans = 1
Then, in the target wiki, I just did this:
{{pwiki:Help}} ("Help" being a template I created in the source wiki)
and voila! Thanks so much for the assistance!
Tim
> Tim Ware wrote:
> > If I have this for iw_url:
> > http://against-the-day.pynchonwiki.com/wiki/$1
> >
> > and this code on the target wiki page:
> >
> > {{pwiki:Help}} (Help is a template I created)
> >
> > I get this in the preview:
> >
> > [Template fetch failed for http://against-the-day.pynchonwiki.com/
> > wiki/Template%3AHelp?action=render; sorry]
>
> Well failure there isn't surprising, since that URL appears to be
> wrong. :)
>
> > If I have this for the iw_url:
> > http://against-the-day.pynchonwiki.com/wiki/index.php?title=$1
> >
> > it pulls in the whole page, styles and all. Doesn't work at all.
>
> The old transclusion code will break on foreign URLs using query
> strings.
>
> Fix is on trunk (for 1.9) in r18684.
>
> You can either try to apply that change to the 1.8 code, or just do a
> quick hack to change the "?action=$action" to "&action=$action" in
> interwikiTransclude() in Parser.php
>
>
> > For some reason, the colon is getting read as "%3A".
>
> That's normal and harmless (but also fixed, I believe).
Hello!
I want to merge two user-accounts on my wiki (currently 1.6.8, will be updated
in februar to 1.9.x).
I searched in archives of this list, and found a description by
Michael Richards from 10/2004. I dont now, which version he describes, but afaik
the DB-layout has changed. I have quoted the old description from 2004 below.
Is there any extension to merge user-accounts?
Or could anyone give me the current (updated) SQL-Statements to merge to
user-accounts?
Best regards ... and a happy New Year,
Jan
-----------------------------
Citation from archiv:
Richards,Michael Michael.Richards at gartner.com
Mon Oct 4 20:11:15 UTC 2004
Chuck,
First, find the user_id for the account you wish to delete e.g.
select user_id from user where user_name = 'old_user_name';
Assuming they have no contributions, you can just delete the user record. e.g.
delete from user where user_name = 'old_user_name';
However, if the reason you are deleting is because you have two user accounts
for the same person, and the old user account has already been used to make
edits, and you want to merge the two accounts, you also need to fix several
other tables to point to the new username e.g. lets say the old user_id is 66,
and the new user_id is 99:
update old set old_user_text = 'old_user_name' where old_user = 66;
update cur set cur_user_text = 'old_user_name' where cur_user = 66;
update recentchanges set rc_user_text = 'old_user_name' where rc_user = 66;
update archive set ar_user_text = 'old_user_name' where ar_user = 66;
update image set img_user_text = 'old_user_name' where img_user = 66;
update old set old_user = 99 where old_user = 66;
update cur set cur_user = 99 where cur_user = 66;
update recentchanges set rc_user = 99 where rc_user = 66;
update archive set ar_user = 99 where ar_user = 66;
update image set img_user = 99 where img_user = 66;
Note that the user_id and user_name fields are duplicated in each of these five
tables (for performance reasons).
There may be a script to do all this that I am unaware of. If so can someone
please mention it.
If you just want to change the user name, then just update the user_name on the
user table and the user_text on the other five tables. Again, there may be a
script for this.
Michael Richards
I installed MW 1.8.2, English, utf-8 but can only use chars from ASCII.
I cannot use Umlauts nor all others special characters not in ASCII. When i
try to seach or edit with them i get a blank page or the error:
Bad title
The requested page title was invalid, empty, or an incorrectly linked
inter-language or inter-wiki title. It may contain one more characters which
cannot be used in titles.
my page source reads:
meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
How can i get rid of it?
This is a major problem for me, I cannot use my wikisite otherwise. Somebody
help me please :(
Thanks.
_________________________________________________________________
Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig
im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu! http://desktop.msn.de/
Jetzt gratis downloaden!
Is there a way so that when i link using [[../Some Page]], the link's text will be 'Some Page' (now it is 'parent/Some Page')
--
===================================
Ittay Dror,
Chief architect, openQRM group leader,
R&D, Qlusters Inc.
ittayd(a)qlusters.com
+972-3-6081994 Fax: +972-3-6081841
www.openqrm.org - Data Center Provisioning
Hello all,
Occasionally while I am editing my Wiki a "contents" box will appear at the
top of the page I am working on. It seems that it is triggered by inserting
things in-between the heading codes (==,===,====, etc.).
I don't know exactly what is triggering this box (obviously) but I need to
disable it for certain pages (Main Page, etc.).
Does anyone know exactly how this thing is triggered or how to disable it?
Thanks!
I'm trying to transclude content from a template on one wiki to
another, both under the same domain, in different subdomains, running
off of one MW install v.1.8.2.
I've added this to LocalSettings.php:
$wgEnableScaryTranscluding = true;
In phpMyAdmin, for the wiki that will receive the content:
I set iw_local: 1
iw_trans: 1
If I have this for iw_url:
http://against-the-day.pynchonwiki.com/wiki/$1
and this code on the target wiki page:
{{pwiki:Help}} (Help is a template I created)
I get this in the preview:
[Template fetch failed for http://against-the-day.pynchonwiki.com/
wiki/Template%3AHelp?action=render; sorry]
If I have this for the iw_url:
http://against-the-day.pynchonwiki.com/wiki/index.php?title=$1
it pulls in the whole page, styles and all. Doesn't work at all.
For some reason, the colon is getting read as "%3A".
Thanks. Tim