> Hi Giuseppe,
>
> have a look at your php.ini-file (living in directory with the name php on a
> windows installation and in a directory named etc on a linux machine, the
> absolute position of the directory is afaik dependent on your
> web-server/php-installation) and search for the parameter memory_limit.
> Setting it to a higher value solved a similar problem for me.
>
> Good luck!
mmm... I've the same problem running the query from phpmyadmin, and I assume
that in this case the query is executed not involving php...
Anyway I wil check this...
thank you very much
Giuseppe
PS. I'll send an email in case of success just for others people having the
same problem :-)
--
Giuseppe Briotti
g.briotti(a)mclink.it
"Alme Sol, curru nitido diem qui
promis et celas aliusque et idem
nasceris, possis nihil urbe Roma
visere maius."
(Orazio)
Hello,
I was under the impression that the Real Name field would be
displayed instead of the Username.
"* Real name (optional): if you choose to provide it this will be
used for giving you attribution for your work."
When I look at the Recent changes page, everything is attributed to
Username, not Real Name. In fact, I have not been able to find any
place where Real Name is used instead of Username.
Any insight would be appreciated.
Thank you,
E
--
Eric Powell
WildPackets
Illuminate Your Network
OmniAnalysis 5 Now Available!
Featuring 802.11n capture and analysis, virtualization, Video over IP
Media and Signaling analysis, and much more!
http://www.wildpackets.com/products/overview
Apologies for re-posting essentially the same post but this is just a final
attempt to get some input on what seems to be a very specific issue.
We have a custom skin that includes the personal URLs and a link to the
User:¹ page in the format:
www.domain.com/wiki/index.php?title=User:XXX
with the hyperlink appearing as the username, XXX¹ in this example.
We would like to retain the link but point it instead to:
www.domain.com/user/YY
Where YY is not the username but instead the uid. The hyperlink should
remain as-is (i.e. XXX) but point to the new destination.
I am not a PHP expert but have found this in our custom skin php file.
I am thinking that the line marked with ** is the line to change but don¹t
know what to insert in its place.
Can anyone help out? Is this is something better posted in a PHP forum?
Many thanks,
Paul
<?php foreach($this->data['personal_urls'] as $key => $item) {
?>
<li id="pt-<?php echo Sanitizer::escapeId($key) ?>"<?php
global $wgTitle, $wgUser;
$item['active'] =
$item['active'] ||
$item['href']==$wgTitle->getLocalURL() ||
** $item['href']==$wgTitle->getLocalURL().'/'.$wgUser->getName();
if ($item['active']) { ?> class="active"<?php } ?>><a
href="<?php
echo htmlspecialchars($item['href']) ?>"<?php
if(!empty($item['class'])) { ?> class="<?php
echo htmlspecialchars($item['class']) ?>"<?php } ?>><?php
echo htmlspecialchars($item['text']) ?></a></li>
Hello all,
I found a solution for the transclusion problem that I had emailed
about earlier.
Adding $wgTranscludeCacheExpiry = 0 to LocalSettings.php in your
target wikis does
the trick.
Thank you all for your help.
Sowmya Dhanasekaran
---------------------------------------------------------------------------------------------------------
Hello all,
I am having some problem with transclusion. Edits to the source wiki
aren't getting reflected in the target wikis.
I searched the mediawiki archives and found that someone else also had
this problem earlier. They had suggested
that this:
changing "?action=$action" to "&action=$action"
in /includes/Parser.php.
would work. Mine doesn't work even after applying this change.
Please help !!
Thank you,
Sowmya Dhanasekaran
Hi, all! I'm working on integrating Mediawiki with our internal access
controls (specifically, Tivoli Access Manager). I have authentication
working via a custom AuthPlugin, and now I'm starting on external
authorization.
Our plan is to have two groups: Users and Administrators. These will be
administered through Tivoli (and I'm already getting the groups during my
auto-login process). IDs with neither group will have read-only access,
IDs in the User group will be able to edit, move, etc, and Administrators
will have the remaining access (basically, the same as Sysop).
What's the best way to accomplish this? userCan hooks? Modify User.php?
Something else?
I'd really appreciate any insights you all might have!
Christopher M. Reigrut
Applications Systems Architect
Key Technology Services / KeyBank
1000 South McCaslin Boulevard
Superior, Colorado 80027
720-304-1049
*******************************************************************************
This communication may contain privileged and/or confidential information. It
is intended solely for the use of the addressee. If you are not the intended
recipient, you are strictly prohibited from disclosing, copying, distributing
or using any of this information. If you received this communication in error,
please contact the sender immediately and destroy the material in its entirety,
whether electronic or hard copy. This communication may contain nonpublic personal
information about consumers subject to the restrictions of the
Gramm-Leach-Bliley Act. You may not directly or indirectly reuse or redisclose
such information for any purpose other than to provide the services for which
you are receiving the information.
127 Public Square, Cleveland, OH 44114
*******************************************************************************
If you prefer not to receive future e-mail offers for products or services from
Key send an e-mail to DNERequests(a)key.com with 'No Promotional E-mails' in the
SUBJECT line.
For an intranet MW installation, it may (or may not [*]) be a nice
feature to authenticate by their NT login, which is how they're known
to pretty much all other systems in this company and which would save
them remembering another password.
Is there anything for MediaWiki to either (a) pick up their NT logon
automatically or (b) ask for it and then get it verified from whatever
serves authentication? Has anyone gotten this working? I see various
plans mentioned on mediawiki.org to use NTLM (which I'm not sure how
to set up either). Though nothing about anyone getting NT logons for
use as usernames.
[*] "may not" in that tying our wiki infrastructure to our Windows
desktops strikes me as not the best idea if the company ever gets the
notion to free us from Windows; I'd rather not give anyone another
reason not to. OTOH, using their existing NT username and password
would save me quite some effort.
- d.
I've some sort of problem with the glossary extension.
The following lines should read the glossary page and they simply do in a
normal case.
$title = Title::makeTitle( null , 'Glossary' );
$emoticonListArticle = new Article( $title );
$content = $emoticonListArticle->getContent();
But if an oldid is set (permanent link on article), they aren't reading the
glossary, but the text of the actual article.
Is this a normal behaviour of mediawiki? Can anyone tell my why this
happens?
> > Yes, your theory is correct. mysqldump will be too intelligent.
> > See http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki
Thanks for the help.
I think you tend on the "Character set" Section
(http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki#Character_set).
My prolbem is that my old provider does not provide the console program
"mysqldump".
The only way for me is to export via phpmyadmin. And there I can't use
the option "-default-character-set=latin1".
Is there a way to convert the dump after export?
(Forgive me, if I am double posting. Tried it two times with the Newsgroup Server, but the messages never showed up ... even after waiting some hours).
Best regards,
Kai
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Hi all... this is my first message on this list.
The Problem:
I created a wiki web site based on MediaWiki 1.10.1 and MySQL 4.1.22
(with phpMyAdmin 2.8.1 and MySQL client: 4.1.10). It works fine, until
some days ago, when I encountered a memory error removing some page.
I check for the query causing the error and tested it directly in
phpMyAdmin: same result! "5: Out of memory (Needed 7938020 bytes)"
The SELECT works fine (it returns 3 records), but it result in error
with INSERT INTO.
Any hints? What can I ask to ISP that host my web site?
TIA
Giuseppe Briotti
Information following:
Query
-------------------------------------------------------------------------
INSERT INTO `wiki_archive`
(ar_namespace,ar_title,ar_comment,ar_user,ar_user_text,ar_timestamp,
ar_minor_edit,ar_rev_id,ar_text_id,ar_text,ar_flags,ar_len)
SELECT page_namespace, page_title, rev_comment, rev_user, rev_user_text,
rev_timestamp, rev_minor_edit, rev_id, rev_text_id, '', '', rev_len
FROM `wiki_page`,`wiki_revision`
WHERE page_id = '424' AND (page_id = rev_page)
Table wiki_archive:
-------------------------------------------------------------------------
Field Type Null Default
ar_namespace int(11) No 0
ar_title varchar(255) No
ar_text mediumblob No
ar_comment tinyblob No
ar_user int(10) No 0
ar_user_text varchar(255) No
ar_timestamp var(14) No
ar_minor_edit tinyint(4) No 0
ar_flags tinyblob No
ar_rev_id int(10) Sì NULL
ar_text_id int(10) Sì NULL
ar_deleted tinyint(3) No 0
ar_len int(10) Sì NULL
Index:
Key name Type Card. Fields
name_title_timestamp INDEX 1 ar_namespace, ar_title, ar_timestamp
Space used:
Type Used
Data 296 Bytes
Index 3.072 Bytes
Total 3.368 Bytes
Table wiki_page
-------------------------------------------------------------------------
Field Type Null Default
page_id int(10) No
page_namespace int(11) No 0
page_title varchar(255) No
page_restrictions tinyblob No
page_counter bigint(20) No 0
page_is_redirect tinyint(3) No 0
page_is_new tinyint(3) No 0
page_random double No 0
page_touched var(14) No
page_latest int(10) No 0
page_len int(10) No 0
Index:
Key name Type Card. Fields
PRIMARY PRIMARY 442 page_id
name_title UNIQUE 442 page_namespace, page_title
page_random INDEX 442 page_random
page_len INDEX 147 page_len
Space used:
Type Used
Data 28.936 Bytes
Index 29.696 Bytes
Total 58.632 Bytes
Table wiki_revision
-------------------------------------------------------------------------
Field Type Null Default
rev_id int(10) No
rev_page int(10) No 0
rev_text_id int(10) No 0
rev_comment tinyblob No
rev_user int(10) No 0
rev_user_text varchar(255) No
rev_timestamp var(14) No
rev_minor_edit tinyint(3) No 0
rev_deleted tinyint(3) No 0
rev_len int(10) Sì NULL
rev_parent_id int(10) Sì NULL
Index:
Key name Type Card. Fields
PRIMARY PRIMARY 1274 rev_page, rev_id
rev_id UNIQUE 1274 rev_id
rev_timestamp INDEX 1274 rev_timestamp
page_timestamp INDEX 1274 rev_page, rev_timestamp
user_timestamp INDEX 1274 rev_user, rev_timestamp
usertext_timestamp INDEX 1274 rev_user_text, rev_timestamp
Space used:
Type Used
Data 91.496 Bytes
Index 142.336 Bytes
Total 233.832 Bytes
--
Giuseppe Briotti
g.briotti(a)mclink.it
"Alme Sol, curru nitido diem qui
promis et celas aliusque et idem
nasceris, possis nihil urbe Roma
visere maius."
(Orazio)