https://bugzilla.wikimedia.org/show_bug.cgi?id=36693

MWJames <jamesin.hongkon...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10566|0                           |1
        is obsolete|                            |

--- Comment #3 from MWJames <jamesin.hongkon...@gmail.com> 2012-05-09 14:53:55 
UTC ---
Created attachment 10568
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10568
Version 2 of the patch related to #drilldownlink and changes

Changes are:
# renamed parser function to #drilldownlink
# renamed filter parameter to filters
# replaced array_merge_recursive_distinct() with simple array_merge
# for the time http_build_query() is kept to ensure the query string is
correctly escaped 

Changes have been tested against:
*
{{#drilldownlink:Book|Subject=Psychology&Keyword=Cognitive_psychology&Language=en|subcat=Textbook}}
* {{#drilldownlink:Book|filters=Subject=Psychology&Keyword=Cognitive
psychology|filters=Language=en|subcat=Textbook}}
* {{#drilldownlink:Book|filters=Subject=Psychology&Keyword=Cognitive
psychology|filters=Language=en|subcat=Textbook|single|link text=Single mode}}
* {{#drilldownlink:Book|filters=Subject=Psychology&Keyword=Cognitive
psychology|filters=Language=en|subcat=Textbook|single|link text=Single
mode|tooltip=Display related info}}

-- 
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

Reply via email to