[Bug 26930] New result format Array and Hash

2011-03-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26930

Jeroen De Dauw  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||jeroen_ded...@yahoo.com
 AssignedTo|denny.vrande...@kit.edu |jeroen_ded...@yahoo.com

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 26930] New result format Array and Hash

2011-03-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26930

Jeroen De Dauw  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #2 from Jeroen De Dauw  2011-03-18 
18:07:42 UTC ---
I just applied the patch:
https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Special:Code/MediaWiki/84252

I have not included these 2 formats in the list of default enables ones though,
since I have some concerns:

* My IDE complains about the $var::CONST used (it's indicated as a fatal
error), but it runs on my server. This makes me think you can only do this with
PHP 5.3 (which my server has), and not 5.2 (to which my IDE is configured). Can
you confirm it works with 5.2, or rewrite the accessing of these constants?

* They are not documented (as far as I can tell), can you add some basic docs
here:
https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:SemanticResultFormats#Formats
?

Also, it looks like you need ArrayExtension for the array format, and some
other one (that I don't know of) for the hash format. This in itself is a
reason to not enable the formats by default :)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 26930] New result format Array and Hash

2011-01-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26930

Mark A. Hershberger  changed:

   What|Removed |Added

   Keywords||need-parsertest, patch
 CC||m...@everybody.org

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 26930] New result format Array and Hash

2011-01-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=26930

Daniel Werner  changed:

   What|Removed |Added

   Attachment #8029|0   |1
is obsolete||

--- Comment #1 from Daniel Werner  2011-01-31 16:45:22 UTC ---
Created attachment 8073
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8073
improved version of the first patch.

This one only introduces four config variables which allow to define default
separators within the LocalSettings.php
It is possible to define one of the wikis pages as source for a seperator. This
is very useful when using templates for consistent array separators within
template code.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l