User:PleaseStand/Subpage search

Subpage search is a user script by PleaseStand that adds a checkbox below the normal search box to limit the search to only subpages of the current page. For example, to search AfD discussions, go to Articles for deletion, type in your search, check the box, and click the Search button. The checkbox only appears on namespaces that allow subpages.

On the English Wikipedia
Add the following code to Special:MyPage/skin.js:

Other wikis
If you are not on the English Wikipedia, you will need to use the following code instead:

You do need to fill in the line below  or the code will not work (of course). Go to the URL shown, replacing  with the actual hostname of your wiki. Save the code to a file and drag the file into Notepad. Copy the code and paste it in place of the comment line.

Source code
The source code is available at User:PleaseStand/subsearch.js.

Configuration
Use the code from above to configure the script, replacing the right-hand side of each assignment appropriately. Using the style parameter, it is possible to adjust the size of the text.

Maintenance
Whenever the English Wikipedia adds a new namespace, update the code from the URL described.

Any questions?
If you have any questions, please leave a message on my talk page.