That's probably a question that Discovery could answer. Forwarding to that list...
On Fri, Jul 22, 2016 at 11:01 AM, Ad Strack van Schijndel ad.strackvanschijndel@gmail.com wrote:
A configuration setting would be nice, but I couldn't find one. Same with hooks.
So any way would do I suppose.
We created an extension with a new search page by making a subclass of SpecialSearch and changing some functions and adding some hooks. That seems like a good idea but when searching there is always a redirect to Special:Search and I can't figure out how to change that.
On 21 Jul 2016, at 16:29, John phoenixoverride@gmail.com wrote:
like what?
On Thu, Jul 21, 2016 at 10:27 AM, Ad Strack van Schijndel < ad.strackvanschijndel@gmail.com> wrote:
Hi,
It seems that a search always leads to Special:Search, no matter what. That has to do with the search parameter in the url. Is there an elegant way to make a search request go to another search page?
Thanks! Ad _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I guess you should modify your skin template date either directly or via hook to override 'searchtitle' data item. By default $template->get('searchtitle') returns name of Special:Search page [1]. You should change it to yours.
1. see /includes/skins/SkinTemplate.php:312
22.07.2016 12:16, Guillaume Lederrey пишет:
That's probably a question that Discovery could answer. Forwarding to that list...
On Fri, Jul 22, 2016 at 11:01 AM, Ad Strack van Schijndel ad.strackvanschijndel@gmail.com wrote:
A configuration setting would be nice, but I couldn't find one. Same with hooks.
So any way would do I suppose.
We created an extension with a new search page by making a subclass of SpecialSearch and changing some functions and adding some hooks. That seems like a good idea but when searching there is always a redirect to Special:Search and I can't figure out how to change that.
On 21 Jul 2016, at 16:29, John phoenixoverride@gmail.com wrote:
like what?
On Thu, Jul 21, 2016 at 10:27 AM, Ad Strack van Schijndel < ad.strackvanschijndel@gmail.com> wrote:
Hi,
It seems that a search always leads to Special:Search, no matter what. That has to do with the search parameter in the url. Is there an elegant way to make a search request go to another search page?
Thanks! Ad _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l