Topic on Extension talk:InputBox

How can I allow a user to search by pageid?

2
Stevenpcox (talkcontribs)

I would like users to be able to look up an article based on pageid.

Using ?curid=PAGEID I can add the pageid to a url and go directly to the page. I would like to have a search function where the user input the pageid into a field, mediawiki appends the URL and the desired page opens up.

This should be easy. The only thing I cannot figure out is how to have the user type the pageid into a field and hit enter. From there I can turn it into a variable and inject it into the URL.

Krabina (talkcontribs)

I was looking for the same thing. Guess you have to use the Extension:PageForms for this (Query form).

Reply to "How can I allow a user to search by pageid?"