Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Obtain logged user user-name

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


dvd at enlloc

Sep 9, 2008, 2:03 AM

Post #1 of 4 (2041 views)
Permalink
Obtain logged user user-name

I want to re-ask a question from Subfader that is not solved in
Mediawiki.org

As he says:

"~~~ will link to your profile
"But how about a code that returns your user name as plain text so i can
use it for codes and links?"

http://www.mediawiki.org/wiki/Help_talk:Magic_words#User.27s_User_Name.3F


I my case I want to obtain the current logged user user-name to use it
as default content with a SemanticForms form. It's there a variable or
some way to obtain it?
"~~~" doesn't work in this case.

Thanks in advance.

Dvdgmz.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


ChristensenC at BATTELLE

Sep 9, 2008, 11:20 AM

Post #2 of 4 (1924 views)
Permalink
Re: Obtain logged user user-name [In reply to]

-----Original Message-----
>From: david
>Sent: Tuesday, September 09, 2008 5:03 AM
>Subject: [Mediawiki-l] Obtain logged user user-name
>I my case I want to obtain the current logged user user-name to use it
>as default content with a SemanticForms form. It's there a variable or
>some way to obtain it?
>"~~~" doesn't work in this case.
_______________________________________________



Do you want it in an extension? If you do how about $wgUser->getName();

I haven't seen any way for wiki text to automatically give you a username that isn't a link.

Good luck!
-Courtney

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


dvd at enlloc

Sep 10, 2008, 12:13 AM

Post #3 of 4 (1905 views)
Permalink
Re: Obtain logged user user-name [In reply to]

I want it in wikitext to use as default value in a SF form.

Definitively it's not any way to get it?


Dvdgmz


El dt 09 de 09 del 2008 a les 14:20 -0400, en/na Christensen, Courtney
va escriure:
> Do you want it in an extension? If you do how about $wgUser->getName();
>
> I haven't seen any way for wiki text to automatically give you a username that isn't a link.
>
> Good luck!
> -Courtney
>
> _____-----Original Message-----
> >From: david
> >Sent: Tuesday, September 09, 2008 5:03 AM
> >Subject: [Mediawiki-l] Obtain logged user user-name
> >I my case I want to obtain the current logged user user-name to use it
> >as default content with a SemanticForms form. It's there a variable or
> >some way to obtain it?
> >"~~~" doesn't work in this case.
> _______________________________________________


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Sep 11, 2008, 9:48 AM

Post #4 of 4 (1911 views)
Permalink
Re: Obtain logged user user-name [In reply to]

david wrote:
> I want it in wikitext to use as default value in a SF form.
>
> Definitively it's not any way to get it?
>
>
> Dvdgmz
>
>
> El dt 09 de 09 del 2008 a les 14:20 -0400, en/na Christensen, Courtney
> va escriure:
>> Do you want it in an extension? If you do how about $wgUser->getName();
>>
>> I haven't seen any way for wiki text to automatically give you a username that isn't a link.
>>
>> Good luck!
>> -Courtney

It's bug 12733
https://bugzilla.wikimedia.org/show_bug.cgi?id=12733


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.