Extension talk:PropertyTable2

Compatible with MediaWiki 1.16
I've just upgraded to MediaWiki 1.16.0. Version 1.2.0-GB (2007-12-27) of this extension doesn't work anymore with this newer version of MediaWiki. Is this a known problem? And if so are there plans to update this extension? 83.247.29.30 08:10, 6 August 2010 (UTC)

I'm having the same problem. Just moved to a new job and now all my templates that I brought with me no longer work :(

Conditional rows?
If I'm using this within a template, some parameters may not be passed, i.e.

TEMPLATE:

Then in some other pages:

In cases where values are missing, it would be nice if the corresponding row of the table could be hidden. MW code to do this is very messy.

--Dmb 01:07, 2 July 2010 (UTC)
 * mmm... I think that your request is nice, but this must be an option (some people prefers that all the keys are reported, regardless that exist a corresponding value or not). Anyway, because after long time I'm working on @class parameter for CSS, I will take a look for your request too... --GB 22:06, 5 July 2010 (UTC)

Bug/Configuration - No Output
I created a new installation and for some reason the tag gives no output. And no errors in the apache log. Product 	Version MediaWiki 	1.15.1 PHP 	5.3.1 (apache2handler) MySQL 	5.1.43-community

PropertyTable2 (Version 1.2.0-GB) 	Outputs a table with keys and values  	Fernando Correia, Giuseppe Briotti

Sample page --Mark Weiser 05:36, 19 February 2010 (UTC)

This is the warning I get: Warning: call_user_func_array: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for '-5.0/no DST' instead in C:\Data\HTTPRoot\wiki\includes\parser\Parser.php on line 3243

Warning: Parameter 3 to fnPropertyTable2Tag expected to be a reference, value given in C:\Data\HTTPRoot\wiki\includes\parser\Parser.php on line 3243

I guess you need to use not, or maybe it needs more than one row for it to be a table??
 * I used the properties tage on the pages and tried again.... still no output. --Mark Weiser 10:16, 2 June 2010 (UTC)


 * Sorry for late response. I tested your code on my wiki and it works fine (have a look at this page test - there are several tables and the last one is your). Moreover, we have quite similar MediaWiki version (1.15.1 vs 1.15.3). The only difference I see is your PHP version: 5.3.1! As per Installation instruction page, this PHP version is buggy ( - Reference argument converted to value in __call) and incompatible with MediaWiki. Anyway, I will make some check but I think that PHP version is the problem. --GB 11:54, 22 June 2010 (UTC)


 * Still not working after change to PHP 5.2.13 (apache2handler) --Mark Weiser 23:40, 22 June 2010 (UTC)
 * It worked after I re-edited the page!! Yippee --Mark Weiser 23:45, 22 June 2010 (UTC)