Ok, I have this to require stronger passwords but when a user changes the password it does not enforce the rule. Works fine when creating the password but after that, well broken.Look at what i have pasted below and let em know where I screwed up.I have modified User.php to include this and also SpecialPreferences.php. This is with MW 1.7.1User.php:function isValidPassword( $password ) { global $wgMinimalPasswordLength, $wgBadPassword; if(strlen($password) <= $wgMinimalPasswordLength ) { $wgBadPassword = BP_TOOSHORT; return false; } if(!preg_match('/[0-9]/', $password) ) { $wgBadPassword = BP_NODIGIT; return false; } if(!preg_match('/[A-Z]/', $password) ) { $wgBadPassword = BP_NOUPPERCASE; return false; } if(!preg_match('/[a-z]/', $password) ) { $wgBadPassword = BP_NOLOWERCASE; return false; } $wgBadPassword = BP_NOERROR; return true;SpecialPreferences.php: if ( strlen( $this->mNewpass ) < $wgMinimalPasswordLength ) { Changed to something like this: if ( !$wgUser->isValidPassword( $this->mNewpass) {
_________________________________________________________________
All-in-one security and maintenance for your PC. Get a free 90-day trial!
http://www.windowsonecare.com/purchase/trial.aspx?sc_cid=wl_wlmail
Hello all!
I need to link to definition titles as one can do it already to the
various headers. I've already tried to patch the parser.php myself, but
after looking around I fear that I accidentally break the code or miss a
side effect, if I edit the file with my none-existent knowledge
regarding the code base. Can someone please help me out? I still have to
use 1.6.8, so I'd appreciate at least a pointer, where the current
version differs from this outdated one, if it does regarding parser.php.
Thanks in advance!
Johannes Luber
Hello there,
Lately, I've been working on getting MediaWiki and SynchroEdit to
"cooperate", and all's moving along nicely. I figured I'd send out a
note here, in case anybody wanted to try it out.
The codebase is super-experimental, as the main page says, so bug
reports are welcome! URL:
http://mediawiki.synchroedit.com/index.php/Main_Page
(A tip is to coordinate with a friend on a day/time that you try it out,
as it's not very rewarding "synchroediting" all by yourself.)
Suggestions etc. very welcome. We'll be demoing this in about two weeks;
your input is definitely valuable.
-Kalle.
Hi,
I was unable to find a policy on how and if all to post job offerings
that are MediaWiki related. Please point me to the URL. If this list
is not the right place to inform people about job offers, I will not
do it again.
Deutsche Telekom ("T-Systems, Multimedia Solutions") is looking for a
"Werksstudent" in Dresden, Germany:
http://www.mms-dresden.de/in/de/4_Karriere/3_Berufseinstieg/P_WS_MediaWiki
Praktikant/ Werkstudent (m/w) "Media Wiki"
Ihr Einsatzgebiet umfasst folgende Themenschwerpunkte:
* Administration und Weiterentwicklung eines Wiki-Systems
* Mitarbeit bei der Entwicklung von E-Commerce-Lösungen
* Einsatzort: Dresden
Voraussetzungen:
* Mit gutem Erfolg abgeschlossenes Vordiplom der Informatik oder
einer artverwandten Fachrichtung
* Kenntnisse der Software MediaWiki wünschenswert, aber nicht zwingend
* Sehr gute Java-Kenntnisse
* Hohe Einsatzbereitschaft im Team
* Unternehmerisches Denken und Handeln
I've changed my wiki to require an confirmed email address in order
to edit using these two entries in my LocalSettings.php file:
$wgEmailAuthentication = true;
$wgEmailConfirmToEdit = true;
I have some users who registered before I turned on the "confirmed
address to edit" setting so the MySQL users table shows "NULL" in the
user_email_authenticated field. I also have one recent registration
where the user can't find the confirmation email that was sent to
him. Is there a way for me to manually trigger the e-mail address
confirmation in order to send one to users who previously did not
need to confirm their address or to a user who can't find the one
that was sent automatically?
-McD-
<http://www.newlondonrocks.com/>
Hello All,
I would like to create a new page within an extension and also add it
to the database (just like saving the page). I dont think the inputbox
extension works here. Basically, I am looking for an extended version
of inputbox, which will create 2-3 new pages with some basic text
prefixed with the page name entered in the inputbox. E.g. if I enter
test, it will create test_1, test_2.
I would really appreciate any kind of help. Some API doc, example, etc.
Thank you for your time.
-- Pranav
------------------------------
http://pd.dnsalias.org
Hello All,
I am running the following versions:
MediaWiki: 1.8.2
PHP: 5.1.6 (apache2handler)
MySQL: 5.0.24a-Debian_9-log
I have anonymous edits disables, so users have to log in to edit the page.
includes/DefaultSettings.php
$wgGroupPermissions['*' ]['createaccount'] = false;
$wgGroupPermissions['*' ]['read'] = true;
$wgGroupPermissions['*' ]['edit'] = false;
$wgGroupPermissions['*' ]['createpage'] = false;
$wgGroupPermissions['*' ]['createtalk'] = true;
The problem I am facing is that when you are editing a page and keep
the session open for a long time without any activity, it will logout
automatically and then when you try to save it, it will ask to login
again, losing all the changes I had made.
The only way I could recover the changes is by hitting the browser
back button and cut-pasting the changes.
Are there any settings that will disable this auto logout ?
I have some other wiki installations and I dont seem to have that
problem there. Have I missed some setting here.
Thanks for your time.
-- Pranav
------------------------------
http://pd.dnsalias.org
Hello,
when I am logged in non-permanently on MediaWiki 1.6.8 (with LDAP-Auth and
PageProtecion) and edit an article for over one hour (e.g. start editing, go to
a meeting and leave the window unchanged, come back and finish article or also
if I spend one hour with pure writing and editing the article) I receive the
error-message that I am currently not logged on, when I want to save the
article. Logging in again with the given link as well as navigating with the
browser's back-button, flushes the cache (maybe because of the disablecache() in
PageProtection) without saving my changes. So my work of at least one hour is
deleted.
I don't know why MediaWiki has a timeout with runs out after one hour and I also
don't know how to configure this value.
Does anybody know, which parameter is reasonable for this behavior?
Thank you in advance,
kind regards,
Frank