Since there's renewed interest in fixing the blocking problems (and
bug 550), I thought I'd draw attention to
http://meta.wikimedia.org/wiki/User:Robchurch/Blocking_Mechanism/Notes
which is a proposal for a fresh blocking mechanism.
I suspect this ties in a lot with the other current thread on this on
wikitech-l, and no doubt the principles are identical or near as
damnit. The precise implementation details are going to differ, but I
expect we can bang our heads together and whack out some code soon
enough.
Rob Church
Is there a debug function which will print out all queries which are
being used when a page is being rendered ?
--
Joe
Custom Applications & Scripts
http://wiki.anotherwebcom.com/
Hi rene,
to rebuild the images you need the rights on your wikidb as admin, but
these would not be saved. So you have to add the varibles
$wgDBadminuser = "root";
$wgDBadminpassword = "xxx";
Cheers
>Message: 10
>Date: Thu, 23 Mar 2006 19:35:52 -0600
>From: Rene Salmon <rsalmon(a)tulane.edu>
>Subject: [Mediawiki-l] error running rebuildImages.php Access denied
>To: mediawiki-l(a)Wikimedia.org
>Message-ID: <44234CF8.2000905(a)tulane.edu>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Hi,
>
>I just installed media wiki and am trying to add some images to the site
>without having to upload them. I have full access to the www server so
>I am just copying the images to the wiki/images folder. I tried to edit
>some pages and selected to embed the images but I can't seem to get the
>images to display.
>
>
>I read somewhere that I need to run the rebuildImages.php script on the
>shell get the images to display. I tried this but I get this error message:
>
>Can't contact the database server: Access denied for user 'www @
>localhost' (using password: NO)
>
>any ideas?
>
>Thanks
>Rene
>
>
>
>
>
>
>
>
>
--
Jasmin Hannemann
jasmin.hannemann(a)macd.com http://www.macd.com
Tel.: +49 (0)241 44597 29 Macdonald Associates GmbH
Fax : +49 (0)241 44597 10 Lothringerstraße 52, D-52070 Aachen
Hi,
I just installed media wiki and am trying to add some images to the site
without having to upload them. I have full access to the www server so
I am just copying the images to the wiki/images folder. I tried to edit
some pages and selected to embed the images but I can't seem to get the
images to display.
I read somewhere that I need to run the rebuildImages.php script on the
shell get the images to display. I tried this but I get this error message:
Can't contact the database server: Access denied for user 'www @
localhost' (using password: NO)
any ideas?
Thanks
Rene
I'm trying to work out how to customise the Edit page to have a Special
Characters insert box, as on Wikipedia, but I'm not having much success
finding out where to add it. Any pointers would be much appreciated.
Thanks,
Tony
Hi,
I am using the following code to create pages in a given namespace and am
passing some text as links, and i want them to be shown as links however the
mediawiki code is not parsing the <a href></a> tags. Is there some other wau
to do this?
function createWikiPage($pageTitle,$pageText,$refid)
{
$pageText = $pageText."<h1>".text."</h1>"."<a href=some http>".text."</a>";
$dbw =& wfGetDB(DB_MASTER);
//Process each message
$title = new Title();
$title = $title->newFromText($pageTitle,102);
$article = new Article($title);
$newid = $article->insertOn($dbw);
$revision = new Revision(array('page' => $newid, 'text' =>
$pageText, 'user' => 0, 'user_text' =>"This page automatically created
by "._FILE_,'comment' => ''));
$revid = $revision->insertOn($dbw);
$article->updateRevisionOn($dbw,$revision);
$dbw->commit();
}
Thanks,
-
Amruta
Hi,
I have a personal wiki (mediawiki) running on my powerbook (Mac OS X 10.4) and would like to access it from another computer. I can access my sites folder from another computer but cannot access the 'wiki' directory. It denies me access. How can I change this? I'm sure during set up I restricted access but don't know how I did this. Appreciate any help.
--
Schematic
Victoria Powers
Analyst, Technology Operations
1 310 202-2900 x229
3457 S. La Cienega Blvd.
Los Angeles, CA 90016
HYPERLINK "mailto:vpowers@schematic.com"vpowers(a)schematic.com
HYPERLINK "http://www.schematic.com"http://www.schematic.com
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 3/23/2006
I want use mediawiki in my site hosted by sourceforge
I follow this instructions:
http://jglade.sourceforge.net/wiki/index.php/Mediawiki_installation_on_Sour…
I fill the form and when I submit I have this error:
* PHP 4.3.10: ok
* Warning: PHP's register_globals option is enabled. MediaWiki will work
correctly, but this setting increases your exposure to potential security
vulnerabilities in PHP-based software running on your server. You should
disable it if you are able.
* PHP server API is apache; ok, using pretty URLs (index.php/Page_Title)
* Have XML / Latin1-UTF-8 conversion support.
* PHP's memory_limit is 8M. If this is too low, installation may fail!
Attempting to raise limit to 20M... ok.
* Have zlib support; enabling output compression.
* Turck MMCache installed
* Found GNU diff3: /usr/bin/diff3.
* Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled
if you enable uploads.
* Found GD graphics library built-in.
* Installation directory: /tmp/persistent/stockyfact
* Script URI path: /wiki
* PHP is linked with old MySQL client libraries. If you are using a MySQL
4.1 server and have problems connecting to the database, see
http://dev.mysql.com/doc/mysql/en/old-client.html for help.
* Connecting to s43643_mediawiki on mysql4-s as s43643admin...success.
* Connected to 4.1.12; using enhancements for mySQL 4.
* You are using mySQL 4.1, however, PHP is linked to older client
libraries. If you encounter authentication problems, see
http://dev.mysql.com/doc/mysql/en/old-client.html for pertinent solutions.
* Database s43643_mediawiki exists
* Creating tables... using MySQL 3/4 table defs...
Warning: fopen(../maintenance/tables.sql): failed to open stream: No
such file or directory in
/home/groups/s/st/stockyfact/htdocs/mediawiki-1.5.7/install-utils.inc on line
95
Could not open "../maintenance/tables.sql".
In the site:
http://meta.wikimedia.org/wiki/Sourceforge
There is a question with the same problem without answer yet.
Any help will be welcome!
---------------------------------
Gustavo A. Courault
http://www.clip-castellano.com.ar
___________________________________________________________
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar
Usernames are transformed into Title objects as part of the signon process.
I presume this is to ensure that "User:username" makes a valid page title.
As part of that process, it appears to me from ll. 1276-1279 in Title.php
that leading and trailing underscores are prevented from being in MediaWiki
usernames:
# Clean up whitespace
#
$t = preg_replace( '/[ _]+/', '_', $this->mDbkeyform );
$t = trim( $t, '_' );
We are doing authentication via an external university-wide Active Directory
system. Though we now do not permit new usernames which begin with "_",
there are 2 legacy names which do. We also have 38 usernames which have
trailing "_". [What possesses people to do this is beyond me, but that's
beside the point.]
Does anyone know of dire consequences if I replaces the lines above with
something like:
$t = trim ($this->mDbkeyform);
$t = strtr(t$,' ','_');
This would trim leading and trailing spaces, and convert embedded spaces to
underscores, but leave leading and trailing underscores untouched.
Thanks for any thoughts...
-- Joshua
Dear All,
I am having trouble setting up the access level for a new namespace that
I've added.
I want it to be accessible only by Sysops and above.
My wikimedia version is 1.5.4.
Following is what I've done to Localsettings.php but it's not working.
Does anyone know what the problem is?
Thanks for your time.
--- Young
========
$wgExtraNamespaces = array(100 => "Creator", 101 => "Creator_Page");
# restrict access to this extra-namespace
$wgRestrictedNamespaces =
array(100 => "namespaceGrp1", 101 => "namespaceGrp2");
# allow only 'sysop' and 'bureaucrats' for restrictedNamespace 'Creator'
$wgGroupPermissions['sysop']['namespaceGrp1'] = true;
$wgGroupPermissions['sysop']['namespaceGrp2'] = true;
$wgGroupPermissions['bureaucrat']['namespaceGrp1'] = true;
$wgGroupPermissions['bureaucrat']['namespaceGrp2'] = true;
--
Young J. Kim
goguryo2000(a)gmail.com