Difference between revisions of "Template talk:Visl"

From Second Life Wiki
Jump to: navigation, search
m (More Roles?: response)
(Obsolete ''name'' variable-definition causing trouble)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
:What is the difference between "Coaches" and "Orientation Coaches"- e.g. are they mutually exclusive ?
 
:What is the difference between "Coaches" and "Orientation Coaches"- e.g. are they mutually exclusive ?
 
:[[User:SignpostMarv Martin|SignpostMarv Martin]] 07:41, 29 March 2008 (PDT)
 
:[[User:SignpostMarv Martin|SignpostMarv Martin]] 07:41, 29 March 2008 (PDT)
 +
::Orientation Coaches are the ones who are hosting the orientation classes for Apprentice Mentors. You need to be a Coach in order to become an Orientation Coach and a [[Orientations_Offered_By_Mentor_Coaches#How_To_Sign_Up|seperate application]] is needed. Also an additional group is required (Apprentice Mentor Group). Trinity made a chart showing the current roles within the SL Mentors and how they are connected [[:Image:Flow_of_Residents_into_the_Mentor_Program.jpg|*click*]]. So beeing an Orientation Coach includes beeing a Coach, but beeing a Coach doesn't neccesarily include beeing an Orientation Coach as well. (Same with Buddy -> Apprentice Buddy). So it might be an interesting resource for Apprentices also the hosts are listed at the upcoming orientations listing at the bottom of [[Volunteer-sponsored_Classes|this article]] anyway. But maybe worth mentioning for completeness of the template. The [[:Category:SL_Mentor_Coach]] is already existing (just noticed it today). It would just need another two for Orientation Coach and Apprentice Buddy (strange name, [[User_talk:George_Linden#apprentice_buddy_.2F_buddy_apprentice_.2F_role_name_confusion|btw]]). Greetings, --[[User:Zai Lynch|Zai Lynch]] 10:41, 29 March 2008 (PDT)
 +
:::Ok, [[User_talk:George_Linden#apprentice_buddy_.2F_buddy_apprentice_.2F_role_name_confusion|looks like]] the name ''Apprentice Buddy'' is final now. I made a [[User:Zai_Lynch/Mentoring_101#Overview_of_roles_within_the_Mentors_Group|table with our current roles and connected categorys etc.]] From these, the templated misses: ''Apprentice Mentor'' (might not be useful since it's supposed to be a very temporary role?), ''Coach'', ''Orientation Coach'' and ''Apprentice Buddy''. Maybe we can add that? --[[User:Zai Lynch|Zai Lynch]] 20:07, 4 April 2008 (PDT)
 +
 +
== Obsolete ''name'' variable-definition causing trouble ==
 +
 +
Hi there. I just recently noticed some broken visl templates on userpages. For example George Linden's page in [https://wiki.secondlife.com/w/index.php?title=User:George_Linden&oldid=35465 this revision] or [[User:Jeska_Linden|Jeska Linden]]'s current page. It looks like an older version of this template had a variable ''name'' that users had to define on their own while the current version uses a predifined ''name'' variable. If a user takes the obsolete code and tries to define ''name'', the template breaks. We could now browse all userpages, trying to find the broken ones and fix them or alter the template that way that the ''name'' variable doesn't harm it anymore. I ''think'' it ''might'' work with a simple renaming of the current ''name'' variable. Maybe it needs as well a defined old variable with the name ''name'' that just does nothing when called. Since this is a widely used template and I don't really want to break to much while fooling around with it, I wanted to discuss further steps first or leave it to the more experienced ones =) btw.: Is there a manual on how to program templates? If I [http://www.justfuckinggoogleit.com/ Google] for wiki and template and stuff I can find anything but not what I'm looking for... [http://www.mediawiki.org/wiki/Help:Contents MediaWiki] wasn't that helpful either so I would be glad if someone could push me in the right direction. THX =) --[[User:Zai Lynch|Zai Lynch]] 20:07, 4 April 2008 (PDT)
 +
 +
:<nowiki>*</nowiki>sighs*... ok, step by step:
 +
:#[[User:SignpostMarv Martin|Marv]] pointed me to [http://meta.wikimedia.org/wiki/Help:ParserFunctions#Functions this page] (in case you're reading this and were searching for a wiki function manual as well).
 +
:#I tried to write something like ''if (name == "") name = <nowiki>{{PAGENAME}};</nowiki>'' for people who include the name variable in their visl code but leave it unused (what breaks the template atm).
 +
:#Yes, we could also edit every single broken userpage but it buggers me... hm
 +
:#The current version equals the old version in both: functionality and unfunctionality (as far as I tested), so I don't need to revert it now.
 +
:#For the gifted and/or curiouse people: try to include <nowiki>{{visl|name=|Coach=*|}}</nowiki> and tell me why the template isn't substituting the new defined ''name'' variable (which is obviously(?) defined as an empty string now) with <nowiki>{{PAGENAME}}</nowiki> (like it should).
 +
:<nowiki>*</nowiki>pondering*, --[[User:Zai Lynch|Zai Lynch]] 13:11, 6 April 2008 (PDT)
 +
 +
::Me again... I had a look at which articles in the main namespace include the visl template (since i think that those are the only ones which might have an interest in beeing sorted with another name then their pagename). Surprise: None are included (except two missplaced Userpages which I moved then). So I renamed the ''name'' variable in ''Name''. What does that do? It basically ignores all changes of the variable ''name'' that users might have accidentally done and includes their template the way it was intended. Furthermore, we still got the ability to change the sort of other articles in case we want to. And ''Name'' is consistent to the capitalization of the other variables as well. Whew... I think that's it.
 +
::Cheers, --[[User:Zai Lynch|Zai Lynch]] 13:51, 6 April 2008 (PDT)

Latest revision as of 13:51, 6 April 2008

More Roles?

I just noticed that some roles aren't covered in this template. Should we add a category for Coaches and Orientation Coaches as well? How about one for Apprentice Buddy? I would consider these as useful. Greez, --Zai Lynch 09:33, 28 March 2008 (PDT)

What is the difference between "Coaches" and "Orientation Coaches"- e.g. are they mutually exclusive ?
SignpostMarv Martin 07:41, 29 March 2008 (PDT)
Orientation Coaches are the ones who are hosting the orientation classes for Apprentice Mentors. You need to be a Coach in order to become an Orientation Coach and a seperate application is needed. Also an additional group is required (Apprentice Mentor Group). Trinity made a chart showing the current roles within the SL Mentors and how they are connected *click*. So beeing an Orientation Coach includes beeing a Coach, but beeing a Coach doesn't neccesarily include beeing an Orientation Coach as well. (Same with Buddy -> Apprentice Buddy). So it might be an interesting resource for Apprentices also the hosts are listed at the upcoming orientations listing at the bottom of this article anyway. But maybe worth mentioning for completeness of the template. The Category:SL_Mentor_Coach is already existing (just noticed it today). It would just need another two for Orientation Coach and Apprentice Buddy (strange name, btw). Greetings, --Zai Lynch 10:41, 29 March 2008 (PDT)
Ok, looks like the name Apprentice Buddy is final now. I made a table with our current roles and connected categorys etc. From these, the templated misses: Apprentice Mentor (might not be useful since it's supposed to be a very temporary role?), Coach, Orientation Coach and Apprentice Buddy. Maybe we can add that? --Zai Lynch 20:07, 4 April 2008 (PDT)

Obsolete name variable-definition causing trouble

Hi there. I just recently noticed some broken visl templates on userpages. For example George Linden's page in this revision or Jeska Linden's current page. It looks like an older version of this template had a variable name that users had to define on their own while the current version uses a predifined name variable. If a user takes the obsolete code and tries to define name, the template breaks. We could now browse all userpages, trying to find the broken ones and fix them or alter the template that way that the name variable doesn't harm it anymore. I think it might work with a simple renaming of the current name variable. Maybe it needs as well a defined old variable with the name name that just does nothing when called. Since this is a widely used template and I don't really want to break to much while fooling around with it, I wanted to discuss further steps first or leave it to the more experienced ones =) btw.: Is there a manual on how to program templates? If I Google for wiki and template and stuff I can find anything but not what I'm looking for... MediaWiki wasn't that helpful either so I would be glad if someone could push me in the right direction. THX =) --Zai Lynch 20:07, 4 April 2008 (PDT)

*sighs*... ok, step by step:
  1. Marv pointed me to this page (in case you're reading this and were searching for a wiki function manual as well).
  2. I tried to write something like if (name == "") name = {{PAGENAME}}; for people who include the name variable in their visl code but leave it unused (what breaks the template atm).
  3. Yes, we could also edit every single broken userpage but it buggers me... hm
  4. The current version equals the old version in both: functionality and unfunctionality (as far as I tested), so I don't need to revert it now.
  5. For the gifted and/or curiouse people: try to include {{visl|name=|Coach=*|}} and tell me why the template isn't substituting the new defined name variable (which is obviously(?) defined as an empty string now) with {{PAGENAME}} (like it should).
*pondering*, --Zai Lynch 13:11, 6 April 2008 (PDT)
Me again... I had a look at which articles in the main namespace include the visl template (since i think that those are the only ones which might have an interest in beeing sorted with another name then their pagename). Surprise: None are included (except two missplaced Userpages which I moved then). So I renamed the name variable in Name. What does that do? It basically ignores all changes of the variable name that users might have accidentally done and includes their template the way it was intended. Furthermore, we still got the ability to change the sort of other articles in case we want to. And Name is consistent to the capitalization of the other variables as well. Whew... I think that's it.
Cheers, --Zai Lynch 13:51, 6 April 2008 (PDT)