Mobile app version of vmapp.org
Login or Join
Caterina187

: Mediawiki: internal link with parameters? How do you write an internal link with parameters? I have a stored query from external data and would like to link readers to the semantic internal

@Caterina187

Posted in: #Links #Mediawiki #UrlParameters

How do you write an internal link with parameters?

I have a stored query from external data and would like to link readers to the semantic internal object that stores the query. However the query is slow to open so I would like a link that will open the page on which the query is run to open in edit mode.

I tried to add &action=edit to the link to the internal object but it didn't open the page in edit mode.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Caterina187

1 Comments

Sorted by latest first Latest Oldest Best

 

@Megan663

Internal links with parameters are best written with the magic word fullurl, e.g. [{{fullurl:Page|action=edit}} edit Page].

If I understand correctly, you want to take an inline query (Ask) like

{{#ask: [[Category:City]] [[located in::Germany]]
| limit=3
}}


and get a link to its "edit query" panel. The easiest would be to add limit=0 and let the user click, otherwise you have to make the link yourself like

{{fullurl:Special:Ask|q=...|eq=yes}}


But if you want users to systematically customise your query, perhaps you're actually looking for an InputBox?

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme