Page MenuHomePhabricator

Allow URL functions to concatenate query string from multiple arguments
Open, LowPublicFeature

Description

When you for example are using {{localurl:foo|query}} sometimes you have
multiple query variables. To make the interface more clean, I would suggest to
apply fortcomming patch to enable the format:
{{localurl:page|query1=a|query2=b}} (and for localurle, fullurl and fullurle),
to generate the url "index.php?title=Page&query1=a&query2=b"


Version: 1.9.x
Severity: enhancement

Details

Reference
bz8262

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:31 PM
bzimport set Reference to bz8262.
bzimport added a subscriber: Unknown Object (MLST).

the patch as described

attachment urlFunctions.patch ignored as obsolete

robchur wrote:

Any chance of a bit of URL-encoding of values? :)

comment 15 on bug 5720 notes that this wouldnt be backward compatible.

sumanah wrote:

Comment on attachment 2867
the patch as described

Marked as obsolete since patch no longer applies cleanly to Subversion trunk,
per Rusty Burchfield's automated testing
https://docs.google.com/spreadsheet/ccc?key=0Ah_71HHl7qa7dGtvSms3TGpHQU9NU2Y1VmNzUEUteWc

sumanah wrote:

Carl, thank you for the patch. I'm removing the need-review and patch
keywords since the MediaWiki codebase has changed so much since you submitted
the patch that the patch no longer applies cleanly to Subversion trunk. I'm very sorry for the delay in review.

We're currently rewriting the parser, so I am cc'ing Gabriel Wicke, who's working on that effort. If you're still interested in this issue, maybe you could come into the MediaWiki-General IRC channel https://www.mediawiki.org/wiki/MediaWiki_on_IRC and discuss the situation and possible approaches before revising your patch and reattaching it. Thanks!

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM
Aklapper removed a subscriber: wikibugs-l-list.