Help talk:Variable

message: Maybe there is a mistake in Section Local Time... should the Variables for Localtime be LOCALTIME? Not CURRENTTIME? This is the same as above.  —Preceding unsigned comment added by 145.253.2.27 (talk) 10:26, 19 May 2008 (UTC)
thread_title: Localtime

message: 24-Sep-2007: I've been testing the namespace function 'ns' for use as a numeric-validation trick for numbers above 20 (as in ""), and it returns "Help" or "Talk" or "Category_talk" when letters or commas are inside a number. When the data begins with a letter, then function 'ns' tries to call the named template; however, it accepts ending letters/commas as okay in numeric data.  Some examples:
:*  returns "" (empty string, valid number);
:*  returns "" (not numeric);
:*  returns "" (not numeric);
:*  returns "" (NOT valid number);
:*  returns "" (INVALID number);
:*  returns "" (INVALID number);
:*  returns "" (valid number);
:*  returns "" (valid number);
:*  returns "" (valid number);
:*  returns "" (valid number);
::::Function 'ns' cannot detect "px" ending a size parameter.
:*  returns "" (valid number);
::::Apparently, text/commas after a number are allowed (!).
:*  returns "" (not numeric);
:*  returns "" (not numeric);
:*  returns "" (not numeric);
::::Apparently, leading alpha causes the named template to be called.
::::So "one man's bug is another man's feature bizarro".
:*  returns "" (not numeric);
:*  returns "" (not numeric);
:*  returns "" (not numeric);
:*  returns "" (valid number);
:*  returns "" (NOT numeric!!);
::::Apparently, some valid decimal fraction numbers are rejected (!).
:*  returns "" (not numeric!);
:*  returns "" (not numeric!);
:*  returns "" (valid);
:*  returns "" (valid);
The above 23 examples show that function 'ns' works for numeric validation, somewhat (rejecting decimal "12.567"), but it is peculiar, and I would consider the passing of "567px" (as numeric) to be another software bug in 'ns' as failing to detect non-numeric "px" ending a number. However, function 'ns' does catch commas within data (not at end). -Wikid77 12:16, 25 September 2007 (UTC)
thread_title: Function ns allows end text

message: Is there not, and if not why can't we have, a variable taking the user who is reading the page's username? There is on Uncyclopedia. Jake the Editor Man  (talk) 12:15, 9 December 2007 (UTC)
thread_title:  {{tld|USERNAME}} 

message: The second table should apparently use LOCAL variables.
To support generation of ISO 8601 date strings, the following are needed :
   Day of Week Mon=1 to Sun=7
   Week Number as 01 to 53 (and as 1 to 53 not needed)
   Corresponding year number (as 2008-12-31 is 2009-W01-3, 2006-01-01 is 2005-W52-7)
((CURRENTMINUTE)) would seem useful.
((CURRENTDAYCOUNT)) & ((CURRENTSECONDSCOUNT)) would seem useful, signed 64-bit integer from stated date.
82.163.24.100 (talk) 16:30, 9 September 2008 (UTC)
thread_title:  Date and Time Variables 

message: I want to display a message which depends on the date and time that the user has on their computer. So how can I display the local time of the user - that is UTC + offset set in preferences? The WikiMedia article on MAGICWORDS suggests that time functions do use this but I have yet to find a wiki installation where it happens. Barfbagger (talk) 14:29, 20 September 2008 (UTC)
thread_title:  User time 

message: I would like to propose a "recursive" flag to this variable item. (though R is used for returning raw numbers)  It would reduce the number of "/Total" pages that people are creating to count articles to show on both portals and projects. I would volunteer to help (I am a programmer), but have no previous experience with Wikipedia internals. -- Mjquin_id (talk) 21:10, 16 November 2008 (UTC)
thread_title:  PAGESINCATEGORY