Add a new unlisted special page that includes the new TemplateSearchWidget for easy development and testing.
- T385034#10542649 - picked Special:TemplateSearch as the special page name
Add a new unlisted special page that includes the new TemplateSearchWidget for easy development and testing.
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| SpecialTemplateSearch: Add Special page | mediawiki/extensions/TemplateData | master | +131 -5 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| In Progress | None | T367428 [EPIC] Favoriting Templates | |||
| In Progress | None | T377186 [STORY] New widget to search and favourite templates | |||
| Resolved | TheresNoTime | T385034 Add Special:TemplateSearch page for testing purposes |
Change #1118537 had a related patch set uploaded (by Samtar; author: Samtar):
[mediawiki/extensions/TemplateData@master] [WIP] SpecialTemplateSearchWidget: Add Special page
I wonder if we should call the new page Special:TemplateSearch (rather than include the implementation detail of the fact that it's a widget). It might be a useful special page to have so that there's some way to view one's list of favourites without opening a page for editing.
Change #1118537 merged by jenkins-bot:
[mediawiki/extensions/TemplateData@master] SpecialTemplateSearch: Add Special page
After @dom_walden mentioned it in yesterday's standup, I've created a new task to add some extra functionality: T387186: Improve Special:TemplateSearch behaviour
There is a special page Special:TemplateSearch, when you set $wgTemplateDataEnableDiscovery = true.
When you type into the search input it makes a request to api.php?action=templatedata&includeMissingTitles=1&lang=en&generator=prefixsearch&gpssearch=<input>&gpsnamespace=10&gpslimit=10&redirects=1, the same request made by the existing template wizard functionality.