On 08/09/2007, larson191@aol.com larson191@aol.com wrote:
STOP SENDING EMAILS YOU HAVE THE WRONGADDRESS
-----Original Message----- From: Paul Coghlan pcoghlan@usa.net To: MediaWiki announcements and site admin list < mediawiki-l@lists.wikimedia.org> Sent: Fri, 7 Sep 2007 5:34 am Subject: [Mediawiki-l] Changing User: URL link
Apologies for re-posting essentially the same post but this is just a final ttempt to get some input on what seems to be a very specific issue. We have a custom skin that includes the personal URLs and a link to the User:¹ page in the format: www.domain.com/wiki/index.php?title=User:XXX with the hyperlink appearing as the username, ŒXXX¹ in this example. We would like to retain the link but point it instead to: www.domain.com/user/YY Where YY is not the username but instead the uid. The hyperlink should emain as-is (i.e. XXX) but point to the new destination. I am not a PHP expert but have found this in our custom skin php file. I am thinking that the line marked with ** is the line to change but don¹t now what to insert in its place. Can anyone help out? Is this is something better posted in a PHP forum? Many thanks, aul
<?php foreach($this->data['personal_urls'] as $key => $item) { > <li id="pt-<?php echo Sanitizer::escapeId($key) ?>"<?php
global $wgTitle, $wgUser; $item['active'] = $item['active'] || $item['href']==$wgTitle->getLocalURL() ||
$item['href']==$wgTitle->getLocalURL().'/'.$wgUser->getName(); if ($item['active']) { ?> class="active"<?php } ?>><a
ref="<?php echo htmlspecialchars($item['href']) ?>"<?php if(!empty($item['class'])) { ?> class="<?php echo htmlspecialchars($item['class']) ?>"<?php } ?>><?php echo htmlspecialchars($item['text']) ?></a></li>
ediaWiki-l mailing list ediaWiki-l@lists.wikimedia.org ttp://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Email and AIM finally together. You've gotta check out free AOL Mail! - http://mail.aol.com _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Can a moderator remove this person's address from the subscriber's list please. Thanks.