Not sure which list this should go to, but....
I want to take the output from a Semantic form field and turn the string which is rendered as
a,b,c,d,e,f
into something very similar to
a b c d e f
ie. turning "," into "<br />". Is this possible and how - haven't figured out what to google on, so any hints appreciated.
Regards,
Martin S
You could run the output from the form though a php function called str_replace (http://au.php.net/str_replace). Most other languages should also have something similar as well.
Hi all,
Apologies if this is the wrong list for this query but I don't believe so...
Installed software listed at the bottom.
When creating an account /logging into Mediawiki using firefox, everything works perfectly. when attempting to create a user or login in IE, I get an error about an invalid username.
Example Usernames: John.Smith (I've also tried john.smith, johnsmith, Johnsmith, etc...)
I've pulled apart the SpecialUserLogin.php page and found that the function authenticateUserData is rejecting the username at the first test as the username appears to be blank.
function authenticateUserData() { global $wgUser, $wgAuth; if ( '' == $this->mName ) { return self::NO_NAME; } /*...*/
I've used Fiddler2 to monitor the data POSTed to the wiki and the username and password are both being sent correctly.
I've decreased the post_max_size and upload_max_filesize to be 16MB (Instead of 50) as suggested in a thread on the boards but no joy (and yes, I restarted apache)
Any suggestions anyone can give me would be greatly appreciated
I've got he following installed: OS Win2k3 MediaWiki 1.13.1 PHP 5.2.6 (apache2handler) MySQL 5.0.67-community-nt
With Hooks: ParserFunctions (Version 1.1.1) SyntaxHighlight (Version unknown)
Special: Renameuser (Version r40857)
P Please think of the environment before you print this email
________________________________________________________________________ This email and any files transmitted with it are private and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please return it to the address it came from telling them it is not for you and then delete it from your system. This footnote also confirms that this email message has been swept for the presence of computer viruses but this in no way indicates that the message is virus free. Teleperformance is a trading style of MM Teleperformance Ltd: Reg No. 02060289 England: Registered Office: St James House, Moon Street, Bristol, BS2 8QY. VAT No.763 0980 18 _______________________________________________________________________
Did this not get a response because noone knows the answer or because it's the wrong list for the message?
I'm not trying to upset anyone but would really appreciate any insight anyonce can give.
Many thanks.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Simon Orr Sent: 07 October 2008 10:29 To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] Issue with usernames in internet explorer
Hi all,
Apologies if this is the wrong list for this query but I don't believe so...
Installed software listed at the bottom.
When creating an account /logging into Mediawiki using firefox, everything works perfectly. when attempting to create a user or login in IE, I get an error about an invalid username.
Example Usernames: John.Smith (I've also tried john.smith, johnsmith, Johnsmith, etc...)
I've pulled apart the SpecialUserLogin.php page and found that the function authenticateUserData is rejecting the username at the first test as the username appears to be blank.
function authenticateUserData() { global $wgUser, $wgAuth; if ( '' == $this->mName ) { return self::NO_NAME; } /*...*/
I've used Fiddler2 to monitor the data POSTed to the wiki and the username and password are both being sent correctly.
I've decreased the post_max_size and upload_max_filesize to be 16MB (Instead of 50) as suggested in a thread on the boards but no joy (and yes, I restarted apache)
Any suggestions anyone can give me would be greatly appreciated
I've got he following installed: OS Win2k3 MediaWiki 1.13.1 PHP 5.2.6 (apache2handler) MySQL 5.0.67-community-nt
With Hooks: ParserFunctions (Version 1.1.1) SyntaxHighlight (Version unknown)
Special: Renameuser (Version r40857)
P Please think of the environment before you print this email
________________________________________________________________________ This email and any files transmitted with it are private and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please return it to the address it came from telling them it is not for you and then delete it from your system. This footnote also confirms that this email message has been swept for the presence of computer viruses but this in no way indicates that the message is virus free. Teleperformance is a trading style of MM Teleperformance Ltd: Reg No. 02060289 England: Registered Office: St James House, Moon Street, Bristol, BS2 8QY. VAT No.763 0980 18 _______________________________________________________________________
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
________________________________________________________________________ This email and any files transmitted with it are private and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please return it to the address it came from telling them it is not for you and then delete it from your system. This footnote also confirms that this email message has been swept for the presence of computer viruses but this in no way indicates that the message is virus free. Teleperformance is a trading style of MM Teleperformance Ltd: Reg No. 02060289 England: Registered Office: St James House, Moon Street, Bristol, BS2 8QY. VAT No.763 0980 18 _______________________________________________________________________
2008/10/7 K. Peachey p858snake@yahoo.com.au:
You could run the output from the form though a php function called str_replace (http://au.php.net/str_replace). Most other languages should also have something similar as well.
It was a long time ago I did anything PHP. But I fail to see how to integrate that with dynamic content on my site? Any suggestions?
Regards,
Martin S
Semantic form field? Semantic Forms has #arraymap.
Is this a #ask ouput? You know that can be formatted...
~Daniel Friesen (Dantman, Nadir-Seen-Fire) ~Profile/Portfolio: http://nadir-seen-fire.com -The Nadir-Point Group (http://nadir-point.com) --It's Wiki-Tools subgroup (http://wiki-tools.com) --The ElectronicMe project (http://electronic-me.org) -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) --Animepedia (http://anime.wikia.com) --Narutopedia (http://naruto.wikia.com)
Martin S wrote:
2008/10/7 K. Peachey p858snake@yahoo.com.au:
You could run the output from the form though a php function called str_replace (http://au.php.net/str_replace). Most other languages should also have something similar as well.
It was a long time ago I did anything PHP. But I fail to see how to integrate that with dynamic content on my site? Any suggestions?
Regards,
Martin S
2008/10/8 Daniel Friesen dan_the_man@telus.net:
Semantic form field? Semantic Forms has #arraymap.
Is this a #ask ouput? You know that can be formatted...
I wasn't quite sure of how to use the #arraymap instruction. But I think I figured it out from the mediawiki page.
Quite unrelated lazymans questions. a/ to center a block of left-aligned text, can I use a <span style> section in a page? b/ if not how do I do it?
Regards,
Martin S
mediawiki-l@lists.wikimedia.org