Brion Vibber wrote:
> a) Please tell me:
> 1) Which web server and version you are using
> 2) Which PHP version you are using
I'm hosting at media temple, who give me:
1. Apache 2.0.54
2. PHP 5.1.6
I can mess with .htaccess, but I don't get to play in httpd.conf.
> b) Set these in LocalSettings.php:
> $wgArticlePath = "$wgScript?title=$1";
> $wgUsePathInfo = false;
Done. And that seemed to fix things, which is good. Not sure what
I've done here though, so just a small explanation would be appreciated.
Thanks.
Steve
Has anyone come across a CSM That integrates well with MediaWiki?
I'm looking for a CMS for our newsroom intranet, but we've already been
successfully running and building a MediaWiki wiki for about 6 months.
Thank you.
Colleen Robledo
Newsroom Systems Specialist
The Orange County Register/Freedom Orange County Information
625 N. Grand Ave., Santa Ana, CA 92701
Phone: 714/796-2254
Hi.
I'm hosted on an 3rd party VPS Linux / SUSE / Apache server.
I have a problem right after the installation. I can load all pages linked
in the bar, except ...&action=... I only get a blank page when I e.g. try to
edit Main_Page or any other page.
After logging in as admin or new user, i cannot even load Main_page anymore.
As noob as I am, I think it has to do with:
Warning: $wgSecretKey key is insecure, generated with mt_rand()
How can I get rid of it? I want to finally start filling in data :)
greetz.
my log:
________________________________________________________
Quote:
Checking environment...
Please include all of the lines below when reporting installation problems.
Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit
in safe mode in .../httpdocs/db/install-utils.inc on line 21
* PHP 5.0.4 installed
* Found database drivers for: MySQL PostgreSQL
* Warning: PHP's safe mode is active. You may have problems caused by this,
particularly if using image uploads.
* PHP server API is apache2handler; 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... failed.
* Have zlib support; enabling output compression.
* Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions
cannot be used.
* GNU diff3 not found.
* Found GD graphics library built-in, image thumbnailing will be enabled if
you enable uploads.
* Installation directory: .../httpdocs/db
* Script URI path: /db
* Environment checked. You can install MediaWiki.
* Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider
changing it manually.
Generating configuration file...
* Database type: MySQL
* Loading class: DatabaseMysql
* Attempting to connect to database server as MDBadmin...success.
* Connected to 4.1.13
* Database DB exists
* There are already MediaWiki tables in this database. Checking if updates
are needed...
...hitcounter table already exists.
...querycache table already exists.
...objectcache table already exists.
...categorylinks table already exists.
...logging table already exists.
...user_newtalk table already exists.
...transcache table already exists.
...trackbacks table already exists.
...externallinks table already exists.
...job table already exists.
...langlinks table already exists.
...querycache_info table already exists.
...filearchive table already exists.
...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.
...have rc_type field in recentchanges table.
...have rc_ip field in recentchanges table.
...have rc_id field in recentchanges table.
...have rc_patrolled field in recentchanges table.
...have user_real_name field in user table.
...have user_token field in user table.
...have user_email_token field in user table.
...have user_registration field in user table.
...have log_params field in logging table.
...have ar_rev_id field in archive table.
...have ar_text_id field in archive table.
...have page_len field in page table.
...have rev_deleted field in revision table.
...have img_width field in image table.
...have img_metadata field in image table.
...have img_media_type field in image table.
...have ss_total_pages field in site_stats table.
...have iw_trans field in interwiki table.
...have ipb_range_start field in ipblocks table.
...have ss_images field in site_stats table.
...have ipb_anon_only field in ipblocks table.
...already have interwiki table
...indexes seem up to 20031107 standards
Already have pagelinks; skipping old links table updates.
...image primary key already set.
The watchlist table is already set up for email notification.
...watchlist talk page rows already present
...user table does not contain old email authentication field.
Logging table has correct title encoding.
...page table already exists.
revision timestamp indexes already up to 2005-03-13
...rev_text_id already in place.
...page_namespace is already a full int (int(11)).
...ar_namespace is already a full int (int(11)).
...rc_namespace is already a full int (int(11)).
...wl_namespace is already a full int (int(11)).
...qc_namespace is already a full int (int(11)).
...log_namespace is already a full int (int(11)).
...already have pagelinks table.
...templatelinks table already exists
No img_type field in image table; Good.
Already have unique user_name index.
...user_groups table already exists.
...user_groups is in current format.
...wl_notificationtimestamp is already nullable.
...timestamp key on logging already exists.
Setting page_random to a random value on rows where it equals 0...changed 0
rows
Checking for additional recent changes indices...
...seems to be ok
Initialising "MediaWiki" namespace for language code en...
Done. Updated: 0, inserted: 1495, kept: 0.
* Finished update checks.
Creating LocalSettings.php...
Installation successful! Move the config/LocalSettings.php file into the
parent directory, then follow this link to your wiki.
________________________________________________________
_________________________________________________________________
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!
Brion Vibber wrote:
> wfStrencode is waaay ancient and finally got removed. One problem
with
> it is that as a global function it wouldn't match with the actual
> database class in use, and thus may perform incorrect escaping.
Okay.
> Use the database object's addQuotes() method if you must construct
SQL
> manually. This performs both quoting and escaping appropriate to the
> database connection.
>
> e.g.: 'blah blah page_title=' . $dbr->addQuotes( $row->page_title )
So, obviously, I have some extensions that worked with versions up to
and including 1.8.2, but will break 1.9alpha. I'm comfortable with
that, but I've only recently started hacking at this code, so a
little push along might be needed. In the case of the RSS feed
extension I have (Alxndr's, actually), the guilty line reads:
$ti = wfStrencode($wgTitle->getDBkey());
I'm not yet familiar enough with this to completely understand what's
going on, so if I could ask; can you show me in this case what I
should be doing? If I get shown once, I should be able to deal with
it into the future.
Much appreciated. Oh, and thanks for gently tolerating the n00b.
Steve
Thanks Brion -replacing the < with < and > with > worked
perfectly.
You are a legend. Now all my imports worked.
Finally - I exported them from a identical mediawiki version 1.7.1 on a
identical WAMP stack. It had the < > in it so im not sure what is the
issue as it had no plugins.
Thanks.
Wayne
Connolly, Wayne wrote:
> I just installed Mediawiki 1.7.1 on our intranet and imported
> successfully 206 pages - however after import each page has had its
HTML
> markup completely removed.
>
> <h2>Some Title</h2> and <p>Some Text</p> are all that was used as
> markup. I have added the FCKEdititor as a exstention and written a
> custom LDAP extension after all the others failed, otherwise the
> mediawiki is stock.
[snip]
> <mediawiki
xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.3/
> http://www.mediawiki.org/xml/export-0.3.xsd" version="0.3"
> xml:lang="en">
[snip]
> <text xml:space="preserve">
> <h2>URL</h2><p> http://www.telstra.com.au/video/</p>
[snip]
If you attempt to validate this file, I believe you will find that it
violates the .xsd schema.
Special:Import probably _should_ reject it, but probably does not
correctly detect all invalid input. The results are undefined, but the
result you describe sounds like a likely outcome knowing how the XML
parser is used.
The contents of the <text> element must be character data; child
elements will not be interpreted correctly. Normally it should thus
appear like this:
<text xml:space="preserve">
<h2>URL</h2><p>
http://www.telstra.com.au/video/</p>
etc.
If you're generating these export files with a custom tool, the tool
needs to be fixed. If you're generating them from a patched MediaWiki,
the patch is probably faulty, damaging the export code, and needs to be
corrected.
Is it possible to let the wikisoftware create wikilinks in articles (to other articles on the wiki).
Example:
I write an article named automobile. It contains the word engine many places.
Later I write an article named engine.
Do I have to create links (in the automobile article and other articles containing the word engine) to the engine article manually ?
Or can it be done automatically ?
I have published a MediaWiki extension called "LinkSwf".
It creates a link to play Flash Video files (SWF).
It has the following features:
* Plays the video on a maximized window.
* Works on Internet Explorer and Firefox.
* Can stretch the video to fill the window or play it in a predefined size.
* Supports detection and update of the Flash Video player.
* Can be used inside a template.
http://www.mediawiki.org/wiki/Extension:LinkSwf
I note from http://meta.wikimedia.org/wiki/Changing_username that it is possible for a bureaucrat to change a username. Could anyone point me to an explanation of how this can be done please?
Thanks
Ruth
Please don't print this e-mail unless you really need to.
---------------------------------------------------------------------------------
National Archives Disclaimer
This email message (and attachments) may contain information that is confidential to The National Archives. If you are not the intended recipient you cannot use, distribute or copy the message or attachments. In such a case, please notify the sender by return email immediately and erase all copies of the message and attachments. Opinions, conclusions and other information in this message and attachments that do not relate to the official business of The National Archives are neither given nor endorsed by it.
------------------------------------------------------------------------------------
After my shared hosting company decided to tell me that they did in
fact offer PHP 5.0.2 after assuring me they didn't, I uploaded all the
1.8.2 files, preserving the extension and images dir. Then I got weird
errors and consulted #mediawiki, was asked if I had PHP 5. found it
wasn't enabled; I did so. I navigated to the wiki, expecting the web
installer. But it just worked. Except it doesn't. Please see
xinki.org.uk/wiki - try to save, create:-(
--
Gary Kirk