Project:Support desk

Jump to: navigation, search

About this board

vde   Welcome to's Support desk, where you can ask MediaWiki questions!

There are also other places where to askCommunication: IRCCommunication#Chat, mailing listsMailing lists, Q&A etc.

Before you post

Post a new question

  1. To help us answer your questions, please always indicate which versions you are using (reported by your wiki's Special:Version page):
    • MediaWiki
    • PHP
    • Database
  2. Please include the URL of your wiki unless you absolutely can't. It's often a lot easier for us to identify the source of the problem if we can look for ourselves.
  3. To start a new thread, click "Start a new topic".
By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL
Pedrogolino (talkcontribs)

Hi everyone,

I installed mediawiki 1.26.2 with MSSQL 2008 and I am having some issues with search.

The table [mediawiki].[searchindex] contains data (seems encrypted), but the query that searchs on it has the raw value of the search.

Is there any configuration or known bug with MSSQL ?


AKlapper (WMF) (talkcontribs)

What does "the query that searchs on it has the raw value of the search" mean? Can you provide a specific example with a complete list of steps to reproduce?

Pedrogolino (talkcontribs)

I'm sorry about the lousy explanation.

For example:

I search for "product" .

In searchindex table, the column si_text has a values like this: "瀠楲믯獢猲汱污".

The query generated by mediawiki is:

SELECT TOP 20 page_id, page_namespace, page_title, ftindex.[RANK]FROM [mediawiki].[page],FREETEXTTABLE([mediawiki].[searchindex] , si_title, 'product', LANGUAGE 'English') as ftindex WHERE page_id=ftindex.[KEY] AND page_namespace IN (0,2,6,8,10,12,14,3000,3100,3200,3201,3202,3203,4000,5000,5100,5200,5300,5900,6000,6100,6200,6900,7000) ORDER BY ftindex.[RANK] DESC

So, I have no result from it.

Ciencia Al Poder (talkcontribs)

MSSQL is not really supported, it's somewhat supported on LTS versions but not on latest stable. I'd say it's a bug, but you can fill one and make it a blocker of task T11767

Reply to "Search Query" (talkcontribs)

I've imported tons of templates and modules into my MediaWiki installation, including everything I could find HTML related, but I still have pages with HTML code that won't resolve. What do I need to do to get these fixed? Is this a CSS issue, and if so how do I fix it? Below is an example of what I see when I view a page.

Template:Citation Style documentation/display

<span id="csdoc_display" /><span id="csdoc_mode" />mode: Sets element separator, default terminal punctuation, and certain capitalization according to the value provided. For |mode=cs1, element separator is a semicolon (;); terminal punctuation is a period (.); where appropriate, initial letters of certain words are capitalized ('Retrieved...'). For |mode=cs2, element separator is a comma (,); terminal punctuation is omitted; where appropriate, initial letters of certain words are not capitalized ('retrieved...'). To override default terminal punctuation use postscript. <span id="csdoc_author-mask" />author-mask: Replaces the name of the first author with em dashes or text. Set author-mask to a numeric value n to set the dash n em spaces wide; set author-mask to a text value to display the text without a trailing author separator; for example, "with". You must still include the values for all authors for metadata purposes. Primarily intended for use with bibliographies or bibliography styles where multiple works by a single author are listed sequentially such as shortened footnotes. Do not use in a list generated by {{reflist}}, <references /> or similar as there is no control of the order in which references are displayed. You can also use editor-mask and translator-mask in the same way. <span id="csdoc_display-authors" /><span id="csdoc_displayauthors" />display-authors: Controls the number of author names that are displayed when a citation is published. To change the displayed number of authors, set display-authors to the desired number. For example, |display-authors=2 will display only the first two authors in a citation. By default, all authors are displayed. |display-authors=etal displays all authors in the list followed by et al. Aliases: displayauthors. <span id="csdoc_display-editors" /><span id="csdoc_displayeditors" />display-editors: Controls the number of editor names that are displayed when a citation is published. To change the displayed number of editors, set display-editors to the desired number. For example, |display-editors=2 will display only the first two editors in a citation. By default, all editors are displayed. |display-editors=etal displays all editors in the list followed by et al. Aliases: displayeditors. <span id="csdoc_lastauthoramp" />last-author-amp: Switches the separator between the last two names of the author list to space ampersand space ( & ) when set to y, yes, or true. Example: |last-author-amp=yes <span id="csdoc_postscript" />postscript: Controls the closing punctuation for a citation; defaults to a period (.); for no terminating punctuation, specify |p
Ciencia Al Poder (talkcontribs)

A plain wall of text is not very helpful here. Maybe you need to install an extension used by the original wiki

Reply to "Cannot get HTML code to resolve"
MrLine (talkcontribs)

I copied the template from antoher wiki site to use it on mine. but when i try to fill the items it doesn't work fine.



MrLine (talkcontribs)

The Problem is solved, i needed the insert

wfLoadExtension( 'ParserFunctions' );

into the LocalSettings.php

Zoglun (talkcontribs)

As you may know that Mediawiki can set to send a confirmation email regarding user's registration. It contain the IP address that the user used.

For some reason after we set up full ssl and varnish cache, the only IP address in log regarding register is

However, if user submit a page edit then we could get correct IP address though Special:UserRights by Extension:CheckUser.

What's the different between Special:UserRights and registration IP detect mechanism? What I might do to fix this problem?

Ciencia Al Poder (talkcontribs)

Maybe you forgot to set up Manual:$wgSquidServers?

Reply to "Strange problem with register's IP."
PROPLAYERS (talkcontribs)

New to Wiki. I create a draft using the "article creation wizard." I signed out of Wiki and came back in. This novice can no longer find the draft of the article created.

Reply to "Find my draft article"
Banana439monkey (talkcontribs)

Is it possible to have a bot on this wiki itself?

Peachey88 (talkcontribs)

If it is designed to do a valid task and approved by the local admins on this wiki.

Banana439monkey (talkcontribs)

How can I request a bot?

Reply to "Can I make a bot for this wiki?"
Exposethemall (talkcontribs)

My username or password is not recognized. I've checked the cookies. They are not blocked. What should I do?

Carchaias (talkcontribs)

Welcome to Mediawiki- Support desk. Rightpedia just uses the software mediawiki. Please contact the operators of rightpedia about your user account.

Exposethemall (talkcontribs)

Problem is when I went on the help sections it always gets redirected to you guys at MediaWiki... I spent a lot of time on it last night. I go on here I am still logged in but when I go to Rightpedia... it's not logged in. Not making anything up. I wish I had an email address. I hate computer problems. I've countered problems like this before. Nothing makes much sense.

Exposethemall (talkcontribs)

I tried to login here and nothing worked:

Carchaias (talkcontribs)

The Help Link in the side bar is always linked to mediawiki Help when someone installs mediawiki out of the box. They simply did not change this. I believe mediawiki has nothing to do with rightpedia and vice versa

Reply to "Can't login in rightpedia wiki" (talkcontribs)

hi. Can it be faulty and be the leading course of my computer suddenly giving instant messages (from time to time) such as "not responding" when on a page on the net or just slowing down the computer dramatically only to find at a latter stage the computer speed is normal. Note that my computer still knows it has 4 gigs ram. Of course as with many cases and other computers that doesn't mean its using all 4gigs of the ram. Intel d-core 2600. Its running at about 40 - 44c in temp so thats on par. I am convinced a new bios will solve the problem since ive never had this kind of experience. Any advice, confirmation, similar experiences?

Reply to "bios?"

Version 1.26.3 setting $wgVersion to 1.26.2 in DefaultSettings.php

Mwbucky (talkcontribs)

$wgVersion is set to 1.26.2 in DefaultSettings.php from mediawiki-1.26.3.tar.gz.

There are many warnings to never change this value, but it certainly seems wrong and makes it appear as if an upgrade is not working.

Ciencia Al Poder (talkcontribs)

I've downloaded it and in DefaultSettings.php I see:

$wgVersion = '1.26.3';

Please be sure you've downloaded and extracted the file correctly! (talkcontribs)

The MediaWiki developers sometimes change the content of released versions. This is bad habit and should not be done, but they do it und that is what happened again this time. Yes, it _is_ possible that you downloaded MediaWiki 1.26.3 and it says 1.26.2 in DefaultSettings.php. If you download the "same" file again now, you will get a newer version, which in fact contains the updated version number - and which additionally also works with PHP 5.3, which the "old" 1.26.3 version did not do correctly anymore.

On your note as to change §wgVersion: I do not understand why this is not put inside a constant. That way it would just be impossible to simply overwrite it... I would like to see that changed!

Reply to "Version 1.26.3 setting $wgVersion to 1.26.2 in DefaultSettings.php"

Can't create page with quotes in page name

Tupero (talkcontribs)


I upgraded MediaWiki from 1.24.6 to 1.26.3. And now I am having problem with double quotes in page name. I can't create page with this characters in name. And I can't also find page with this symbols in name. My browser (Chrome 50) return error ERR_TOO_MANY_REDIRECTS. I have other MediaWiki version 1.24.6 on this server. Works without problems.

MediaWiki 1.26.3; PHP 5.5.35; MySQL 5.6.30; Apache 2.4.20.

Thanks. (talkcontribs)

This may be caused by changed behaviour inside MediaWiki together with your RewriteRules. You should check the HTTP headers of the pages and see, which kind of redirect is happening. Meaning: What happens to which signs?

Reply to "Can't create page with quotes in page name"