Hi
I've implemented a remote authentication scheme using both the
Auth_remoteuser extension and the extension outlined in
http://www.raskas.be/blog/2006/11/17/mediawiki-remote-user-authenticatio
n/. However, in both cases, I encounter the following problem: When I
edit a page and submit the changes, instead of posting the change,
Mediawiki presents an empty preview page (i.e. the page's content is
missing). If I save the preview, the original content is lost. Does
anyone know why I am getting an empty preview page? My environment:
Mediawiki 1.12
Apache 2.0.61 on Windows.
mod_auth_sspi to populate the REMOTE_USER variable.
IE v6.
Note: If I use Firefox, I get prompted with a login box (I guess it
doesn't do automatic NTML integration), but the submit problem does not
occur
Any help appreciated
Dan
Attention:
This email together with any attachments is confidential.
If you are not the intended recipient please delete the
message and notify the sender. Any views or opinions
presented are solely those of the author and will not
necessarily reflect the views of Meridian Energy.
************** PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING *************
> From: Rolf Lampa <rolf.lampa(a)rilnet.com>
>
> 550-Several RFCs state that you are required to
> have a postmaster 550-mailbox for each mail domain. This host
> does not
> accept mail 550-from domains whose servers reject the postmaster
> address.
I'd just like to point out that there are good reasons for someone to
reject the postmaster address.
Just yesterday, I logged in and was greeted by over 4,000 rejected
emails, all sent to postmaster(a)bytesmiths.com. One or more spammers
had just started forging that as the "From:" address in their vile
utterances, and now I was getting all their "backscatter" from spams
that failed, for whatever reason, to be delivered. They were coming in
faster than I could delete them. So I was forced to disable the
postmaster address.
I am just a tiny one-person ISP, specializing in hosting for artists
and non-profits. I don't have time to deal with this. So I'll leave it
disabled for a week or so, then cautiously turn it back on.
:::: Just a middle-aged person in a middle-aged civilization that has
used half the resources of a middle-aged planet circling a middle-aged
star in a middle-aged galaxy in a middle-aged universe. Enjoy the ride
-- it's all downhill from here! ::::
:::: Jan Steinman http://www.EcoReality.org ::::
I would like to lower the logo a bit.
No problem.
But the navigation bar stays at the old position. It has apparently also an absolute position.
But nowhere to be found.
In the instruction page it says that it is managed with p-navigation in CSS.
But there is not such a thing in the whole wiki except in an CSS fix for Explorer.
There is even no sign of possible absolute positioning either on wiki.
Who can solve the mystery?
Thank you for your alternative!
It looks good, but is rather a large change. And the index is gone.
I will try it if none suggest how to do one of the following:
question 1:
can you delete/hide in the index (on top of the main page which is made automatically) from for -instance the third level (***item***) of indexed items all indexed items LOWER than the third level?
question 2:
Now every item with a level (***item***) gives automatically an [edit] button AND a partioning of the content to be edited (pationing: the part of the text till the next [edit] button)).
Can you place an [edit] button which is partioning the to be edited text WITHOUT giving it a level (without making a level)?
Like something like: codeX-edit to be placed in your text
Hi all,
After I enable the Configure extension I get the following error:
:''Warning: fopen(/messages-<my-dbname>) [function.fopen]: failed to
open stream: Permission denied in
/ril/www/mw1.12/w/includes/MessageCache.php on line 115
I've never seen such a directory before. What should the root directory
be for this directory; "/messages-<my-dbname>"?
// Rolf Lampa
Using:
MediaWiki 1.12.0
PHP 5.1.2 (apache2handler)
MySQL 5.0.22-Debian_0ubuntu6.06.9-log
My wiki is a wordlist.
That means that each letter (A, B, C etc.) should be a third degree heading.
That way you can link to the letter you want AND edit a word in that part of the list with the "edit" button at the right.
Beautiful.
Only: in the navigation-bar it would look like:
navigation
Wordlist "this list"
A
B
C
etc.
Much too long and unhandy:
It should look like:
navigation
Wordlist "this list"
A B C D etc.
Is that to be done?
Alternative is to make your own anchors and links (not inside the navigation- bar).
But than there would be no edit link, and no edit section only for one letter-section.
Can that be arranged manually?
Rein
I would like to add an instruction in the editpage.
I know my visitors and know what they do wrong:
so I would like to make it standard instruction above the box where the editing takes place.
Who can help?
Hi all,
I'm trying to run a mirror of the english wikipedia.
I've successfully imported the xml dump from march and now have massive
problems viewing the articles:
1. When I try to view the articles Mainz, the apache2 process uses up to 1GB
of memory and then dies when it reaches it's memory limit.
2. When I try to view the article RMS_Sylvania, I receive the following
error messages:
*Fatal error*: Maximum execution time of 30 seconds exceeded in *
/var/www/w/includes/Preprocessor_Hash.php* on line *1354*
I did try to enable some of the extensions needed for wikipedia, but that
didn't help.
I'm running PHP 5.2.5-3 with Suhosin-Patch 0.9.6.2 (cli) with mysqld Ver
5.0.51a-6-log on a 32 bit debian testing system.
Anyone have an idea what's going on?
Regards,
- Ralf
Hi all
Looking for some help on star rating system.
I'm using Leer wikis' rating system.
my problem is that the voting is based on Ip address
as many of my users log in on the same computer I need to target login not IP
this is the rate article php and I have attached the ratings file as well
thanks in advance for any help
kate
<?php
require('Ratings/_drawrating.php');
if ( ! defined( 'MEDIAWIKI' ) )
die();
//--------------------------------------------------
// See http://www.leerwiki.nl for either updates
// or other extensions such as the Ajax Rating Script-,
// Image shadow- or EditpageMultipleInputboxes extension.
// good luck with your Wiki!
// B.Vahrmeijer
//----------------------------------------------------
$wgExtensionCredits['parserhook'][] = array(
'name' => 'AJAX RATING BAR V2.5 25-09-2007 Based on Masugadesign',
'author' => 'Boudewijn Vahrmeijer',
'url' => 'http://www.leerwiki.nl',
'version' => '1.11,1.10.1/1.9.3/1.9.2/1.8.2',
'description' => 'Ajax Rating Bar for MediaWiki',
);
########## Settings ##########
$pathToRating='/wiki/extensions/Ratings/'; //if your path is
www.yoursite.com/wiki than change this to /wiki/extensions
###separate vote from ip ###
function wfAllowVotes(&$out){
global $wgUser;
if ($wgUser->isLoggedIn() ) return true; //not me:)
}
########## Hooks #############
$wgHooks['SkinTemplateSetupPageCss'][] = array("wfAjaxScriptRSS");
$wgHooks['BeforePageDisplay'][] = array("wfRateArticleForm");
########## Functions #########
function wfAjaxScriptRSS(&$out) {
global $pathToRating;
$out='/*<![CDATA[*/
@import
"'.$pathToRating.'/wiki/extensions/Ratings/css/rating.css";
/*]]>*/';
return true;
}
function wfRateArticleForm(&$out) {
global $wgArticle,$pathToRating;
if ($wgArticle == null) return $out;
#if ($wgArticle->getTitle()->mNamespace != 0) return $out;// I removed this
line an made array instead kc
$pagesToRate = array('Inventory', 'Caller ID', 'Pizza Tracker','Create a
profile', 'Routing', 'Digital Dashboard', 'Community Showcase','Training
Slices', 'Topics', 'Training Series','Order Entry', 'How to Create a Coupon',
'Create a page', 'Coupons: Adjustments, Taxability, & the Daily Summary',
'Questions and Answers', 'Main Page', 'Quick Fix', 'Remote Menu Manager 101',
'Domino\'s Pulse
Reports', 'Labor Management 101');
if (!in_array ($wgArticle->getTitle()->getText(), $pagesToRate)) return $out;
$out->mBodytext.='<script type="text/javascript" language="javascript"
src="'.$pathToRating.'/wiki/extensions/Ratings/js/behavior.js"></script>';
$out->mBodytext.='<script type="text/javascript" language="javascript"
src="'.$pathToRating.'/wiki/extensions/Ratings/js/rating.js"></script>';
$out->mBodytext.='<link rel="stylesheet" type="text/css"
href="'.$pathToRating.'../Ratings/css/rating.css" />';
$out->mBodytext.=rating_bar($wgArticle->getID(),5);
return $out;
}
?>
My TableEdit special page extension has multiple views, so the next
version (0.8x) is going to have a help link on each view. The page
will have
=TableEdit=
==Page_title of page where the table came from [TableEdit Help]==
The help link is put in as a span, using class = 'editsection'.
Clicking the TableEdit help link will take the user to a context-
dependent help page, based on storing the referring view in $_SESSION
(which is a minor part of the agonizing over sessions in an earlier
thread). I have this working in my prototype, and I'm loading
wgMessageCache with the content of the help pages only when that help
page is called (inspired by tips from Tim Starling and others in yet
another earlier thread on the wikitech list).
What I don't have yet, but am thinking of adding, is to have the
extension first check to see if a page exists in the Help namespace
for the topic of interest. If yes, transclude it in the special page
instead of using the help text from the distribution.
Thoughts? Has this been done? It probably won't be implemented until a
later release.
Also, in case anyone is interested, the next release of TableEdit will
be able to recover its own tables from the wikitext in addition to
using the database (but it doesn't work without the database). It
will also allow reordering columns by shifting them left or right.
I'm periodically uploading the code for my prototype for version 0.8x
to:
http://sourceforge.net/svn/?group_id=142733
The path is wiki-extensions/branches/TableEdit. Most of it seems to
work for me, but there are unfinished parts (esp. the abovementioned
help docs). But caveat emptor - my code is not up to MW
standards! ... it tends to be littered with bits from trial and error
coding, including vestigial code that doesn't actually do anything.
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054