100 points begging + asking experts to solve the problem of default search item settings for the wiki website! I want to set the default search item of the wiki website to (page) search, and I want to set the default search item to {(page) & nbsp; + template + image + Category }, (Note: it is not set in the parameter settings. All I need is to select the four items by default when searching.) I do not know where to modify the items and how to modify them. where can I ask a senior to point to a 100-point pleading + begging expert to solve the default search item setting problem for the wiki website!
I want to set the default search item (page) for the wiki website, and I want to set the default search item:
{(Page) + template + image + Category) I don't know where to modify it, but how to modify it. where can I find someone else to help you. we are very grateful!
------ Solution --------------------
No wiki software is used.
------ Solution --------------------
Simply change it from the template.
------ Solution --------------------
When there is more data, the efficiency will be greatly affected...
------ Solution --------------------
Help me.
------ Solution --------------------
Don't worry, bro. come up here to solve the problem,
You only propose a solution for your reference,
The code must be written by yourself.
Besides, when you ask a question, it's not very detailed. how many problems should you solve? what are the symptoms and specific version configurations?
In rare cases, we can only propose general directions.
=========== Question about the default search item, I provide the idea ==================
1. modify the default options during registration
Mediawiki \ schemdes \ SpecialUserlogin. php
Function initUser ($ u)
In this function
$ U-> setOption ('rememberpassword', $ this-> mRemember? 1: 0 );
Add your permissions
/*
The search item is:
{(Page) + template + image + Category },
*/
2. disable the search item modification function
Without looking at the program carefully, mw1.9.3 management output seems to be here
Mediawiki \ schemdes \ SpecialPreferences. php
#899 rows
# Search
All blocked.
After reading the wiki permissions, the specific permission code is too complex and cannot be understood.
=========== Portion of google content ================
Http://www.allwiki.com/wiki/Mediawiki%E5%A2%9E%E5%8A%A0Google_AdSense
Refer to here