How to get the source code of a Revision history page? I want to use
a box like the “search for revisions” to install my search program form.
Thank you! Perle
Source of revision history pages


There is an API that helps return revisions for a page:
https://www.mediawiki.org/wiki/API:Revisions. Would this be sufficient, or you are looking for something more?

Thank you.
I search for the syntax to include a box like "search for revisions"
into a normal content page. (The reason is that the normal
search procedure does not fit. I want to include a search form
with 3 or 4 slots.)
The revision history page is the first one where I saw such a box.

The code is in HistoryAction
; not sure how useful it’ll be though.
Can you explain what you are trying to achieve and why (what is the use case behind it)?

You may look at my burkewiki.com. On the main page there is a link to a search form.
I want to put the search form into each page, at best at the top.
Background is the situation as I have structured data and want to install a special
search which uses a controlled vocabulary and searches only in some region of
the page.
In the case of Coat of Arms: If I search for a Coat of arms with a crest with a lion
I don’t want to find the coats of arms with lions on the shield or with lions as
supporters - not to mention a family with the name Lion.
The global standard search cannot make this distinction.

It’s not completely impossible to change the standard search to understand thins like crest:lion
but it’s a lot of work (and even more if you want to provide some GUI for it). Probably the easiest way is to create a special page for your search form, display the form on other pages with ArticleViewHeader
or a similar hook and make it submit to the special page. Form bulding itself happens via HTMLForm
.