100-point pleading + begging + asking experts to solve problems related to the default search item settings of the wiki website-php Tutorial

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.