Page MenuHomePhabricator

JoelKP (Joel K. Pettersson)
User

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

User Since
Oct 24 2014, 11:48 PM (527 w, 3 d)
Availability
Available
LDAP User
JoelKP
MediaWiki User
JoelKP [ Global Accounts ]

Recent Activity

Jul 22 2015

JoelKP added a comment to T94872: Add objects for storing and querying data.

For a long time I haven't commented on this, because I haven't had any clear ideas or suggestions. Now I have some thoughts. I don't know how relevant it may be (and I don't know your plans in more detail), but here's some ideas, for whatever it's worth. It will be interesting to see how this develops.

Jul 22 2015, 10:19 PM · MediaWiki-extensions-PhpTags

Jul 2 2015

JoelKP added a comment to T104632: HHVM array data corruption when using the MW extension PhpTags.

Related HHVM error log message:

Jul 2 2015, 9:11 PM · Upstream, MediaWiki-extensions-PhpTags, HHVM
JoelKP created T104632: HHVM array data corruption when using the MW extension PhpTags.
Jul 2 2015, 8:53 PM · Upstream, MediaWiki-extensions-PhpTags, HHVM

Jun 16 2015

JoelKP added a comment to T102256: HHVM and PhpTags 5.1: In nested foreach loop, the inner loop corrupts the array of the outer loop.

I've now also checked and yes, it works in Zend PHP.

Jun 16 2015, 12:50 PM · MediaWiki-extensions-PhpTags
JoelKP renamed T102256: HHVM and PhpTags 5.1: In nested foreach loop, the inner loop corrupts the array of the outer loop from In nested foreach loop, the inner loop corrupts the array of the outer loop (PhpTags 5.1) to HHVM and PhpTags 5.1: In nested foreach loop, the inner loop corrupts the array of the outer loop.
Jun 16 2015, 12:20 PM · MediaWiki-extensions-PhpTags

Jun 12 2015

JoelKP updated the task description for T102256: HHVM and PhpTags 5.1: In nested foreach loop, the inner loop corrupts the array of the outer loop.
Jun 12 2015, 6:02 PM · MediaWiki-extensions-PhpTags
JoelKP created T102256: HHVM and PhpTags 5.1: In nested foreach loop, the inner loop corrupts the array of the outer loop.
Jun 12 2015, 5:57 PM · MediaWiki-extensions-PhpTags

May 19 2015

JoelKP added a comment to T99412: Transclusion of templates inside PhpTags using require/include?.

I've been thinking about it, but not sure what's best. Some thoughts on various options:

May 19 2015, 1:22 PM · Patch-For-Review, MediaWiki-extensions-PhpTags

May 17 2015

JoelKP updated the task description for T99412: Transclusion of templates inside PhpTags using require/include?.
May 17 2015, 6:49 AM · Patch-For-Review, MediaWiki-extensions-PhpTags
JoelKP created T99412: Transclusion of templates inside PhpTags using require/include?.
May 17 2015, 6:45 AM · Patch-For-Review, MediaWiki-extensions-PhpTags

Apr 30 2015

JoelKP added a comment to T95323: More convenient creation of exceptions in calls to object classes?.

I found one bug: PhpTagsException::isFatal() is always false for a HookException, because $this->code is only set according to the error level in the __toString() method. I made change 207888 to solve this, using a small redesign (which seemed the simplest solution). I don't know if the redesign is the way you would prefer to solve it.

Apr 30 2015, 7:13 PM · MediaWiki-extensions-PhpTags
JoelKP reopened T95323: More convenient creation of exceptions in calls to object classes? as "Open".
Apr 30 2015, 7:03 PM · MediaWiki-extensions-PhpTags

Apr 13 2015

JoelKP added a comment to T95323: More convenient creation of exceptions in calls to object classes?.

It's just an idea to make some code in PhpTags extensions shorter. (It can be simpler to exit a hook by throwing an exception. But currently, throwing instead of pushing will stop the runtime.) It's up to you whether it is worth adding support for this.

Apr 13 2015, 3:38 PM · MediaWiki-extensions-PhpTags

Apr 11 2015

JoelKP added a comment to T95323: More convenient creation of exceptions in calls to object classes?.

The new INFO_ORIGINAL_FULL_NAME is even more convenient. :)

Apr 11 2015, 4:47 PM · MediaWiki-extensions-PhpTags

Apr 9 2015

JoelKP added a comment to T95323: More convenient creation of exceptions in calls to object classes?.

It's everything.

Apr 9 2015, 11:19 AM · MediaWiki-extensions-PhpTags

Apr 8 2015

JoelKP added a comment to T94879: Merge PhpTags Wiki, PhpTags Functions and PhpTags Widgets to PhpTags.

I've thought more about PhpTags Functions, which is the one extension among those you are considering that I didn't mention.

Apr 8 2015, 11:39 AM · MediaWiki-extensions-PhpTags

Apr 7 2015

JoelKP created T95323: More convenient creation of exceptions in calls to object classes?.
Apr 7 2015, 6:26 PM · MediaWiki-extensions-PhpTags

Apr 3 2015

JoelKP added a comment to T94829: Add a special page for showing available objects, methods and constants.

Apart from listing objects, constants, etc., a special page could also provide documentation directly in the wiki. Something similar to the current Reference pages for PhpTags Wiki and PhpTags SMW would be possible to generate automatically from the JSON files.

Apr 3 2015, 12:08 PM · MediaWiki-extensions-PhpTags
JoelKP added a comment to T94879: Merge PhpTags Wiki, PhpTags Functions and PhpTags Widgets to PhpTags.

Merging could also be partial, instead of none or all. For example:

  • If basic widgets (wiki lists and tables, etc.) are added to PhpTags, then PhpTags Widgets could still provide additional things. It could have any "extra" widgets that are more specialized, require more Javascript, etc.
  • If you add data storage and querying in PhpTags itself, then maybe some PhpTags Wiki features would also make sense to have. (Support for categories, for example.) But there may still be things in PhpTags Wiki that are "extra" features and can be kept separate.
Apr 3 2015, 10:10 AM · MediaWiki-extensions-PhpTags
JoelKP created T94985: Change type "not object" to "nonobject" in JSON file format.
Apr 3 2015, 7:30 AM · MediaWiki-extensions-PhpTags
JoelKP created T94976: Remove i18n compatibility shims from PhpTags & PhpTags extensions.
Apr 3 2015, 6:33 AM · MediaWiki-extensions-PhpTags
JoelKP edited projects for T71657: [PhpTags] exception in updateBytecodeCache() related to database serialization when using ExtSQI, added: MediaWiki-extensions-PhpTags; removed MediaWiki-extensions-Other.
Apr 3 2015, 6:30 AM · MediaWiki-extensions-PhpTags