Project:Support desk

Jump to: navigation, search

About this board

vde   Welcome to MediaWiki.org'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

My wiki doesn't have stackable bullet points, in either Monobook or Vector skin

6
71.15.112.25 (talkcontribs)

My wiki doesn't have bullet points that can be stacked in either skin. "*" and "**" and any other infinite combinations of asterisks only produces a 1-level bullet point. This is extremely annoying because it seems I'm the ONLY person with this problem. http://wikizilla.org/wiki/MediaWiki:Sidebar

71.15.112.25 (talkcontribs)

When I mean the only person, I mean that I've not seen this type of error reported anywhere else happening to any other wiki on the internet.

Ciencia Al Poder (talkcontribs)

The sidebar doesn't support nested lists

71.15.112.25 (talkcontribs)

I'm not talking about the sidebar, looks like I'm stupid for not putting that there. I am talking about the entire wiki. Any regular page that has bullet points cannot have stackable bullet points. Anyway, you should've been able to see that if you went to the source code of the page.

110.148.113.193 (talkcontribs)

http://wikizilla.org/wiki/MediaWiki:Common.css:

.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul {
        margin: 0 0 0 0;
	padding:0 0 0 0;
}

You removed the margin from the lists...

71.15.112.25 (talkcontribs)

Thank you...

Reply to "My wiki doesn't have stackable bullet points, in either Monobook or Vector skin"

Error displaying in html at 'tools->uploads' <b>Warning</b>: hash_equals(): Expected user_string to be a string, null given in <b>/home/natur075/public_html/includes/User.php</b> on line <b>3815</b><br />

1
MAHR88 (talkcontribs)
<b>Warning</b>:  hash_equals(): Expected user_string to be a string, null given in <b>/home/natur075/public_html/includes/User.php</b> on line <b>3815</b><br />

link to page it's showing on http://www.naturalwhetstone.org/index.php?title=Special:Upload

Reply to "Error displaying in html at 'tools->uploads' <b>Warning</b>: hash_equals(): Expected user_string to be a string, null given in <b>/home/natur075/public_html/includes/User.php</b> on line <b>3815</b><br />"
Roots06 (talkcontribs)

Dear all

it seems that the users in my mediawiki (http://www.surveillance-citoyenne.fr/mediawiki/index.php?title=Accueil) do not appear in phpMyAdmin (Version information: 4.1.14) making it difficult to manage privileges etc... Anyone know where does this come from ?

Thank you in advance

Ciencia Al Poder (talkcontribs)

Users are stored in the user table

Roots06 (talkcontribs)

Thank you for your quick answer.

But, this is precisely my problem. Users don't appear in my users tables

I just have a number appearing 4572696b but this doesn't match any username

It is like my phpmyadmin (access via wamp) don't communicate with the online medawiki ?

Thank you for any help

Ciencia Al Poder (talkcontribs)

Your wiki seems to have currently 4 users. That means the user table should contain 4 rows. If that's not the case, maybe you're querying the wrong server/database

Roots06 (talkcontribs)

Thank you afain for your prompt answers !

I have 5 database

When I select the user table of "surveillance_citoyenne" database, I only have one row with user name : 4572696b ?? Other tables only have user "root" ...

Thank you in advance

Reply to "users don't appear in my phpMyadmin"
Shode (talkcontribs)

When trying to log in in my newly created mediawiki 1.27 with the admin account, I get to a page that says "Exception encountered, of type "Error"". The same happens when I try to create an account. How can I fix this?

TheDJ (talkcontribs)

You will need to find the deeper cause of your error: Manual:How to debug

Reply to "Login Issue"
LeyteWolfer (talkcontribs)

Private wiki...only user:

MediaWiki - 1.27.0

PHP - 5.6.22 (cgi-fcgi)

Database - 5.6.30

Issue: There is no way for me to reset my password.

I had hired my host's managed care team to update the wiki, but now find I cannot reset my own password. Another private wiki (also v1.27.0) has the Reset Password page available via Special Pages, but this wiki does not. When I use the address of Reset Password (index.php?title=Special:PasswordReset), I get "Internal Error; Permission error".

I've also tried to do it with the Forget your password? feature at Log-in, but as that simply directs to Special:PasswordReset, the result is the same. I believe this is an issue with the wiki upgrade my host performed. How can I resolve this?

Additional note, that might be helpful: the two wikis have Preferences pages that differ. The troubled one has less options available. For example, the Change Password link doesn't even show, fields (such as Real Name) are blank, not even seen as ghosted fields.

Thank you for the assistance.

TheDJ (talkcontribs)

All the information regarding password reset can be found here: Manual:Resetting passwords. The easiest way to reset your password in situations like this, is to run the php changePassword.php script on the console of the host.

As you are describing, it sounds mostly like a configuration mistake was made during the upgrade however. I would definitely reach out to your managed care team again, to note to them the internal error etc. They should be able to find causes in the error logs of the server for problems like that.

Reply to "Password Reset missing"
Tribly (talkcontribs)

I'm thinking about upgrading my sever and I'm interested to know how much does Mediawiki favors multicore server oriented CPUs? Like for example with an 8 core Xeon processor would I have much better performance than using a 4 core i5 or a 2 core i3?

Ciencia Al Poder (talkcontribs)

PHP runs single-threaded, so each page load will use only 1 processor core.

However, if the database is on the same computer, it will benefit from running in a second processing thread. Also, the default configuration execute background jobs (see Manual:Job queue) making a connection to itself, so it could consume another processing thread. Session management, if sessions are stored in a separate process (default in MediaWiki 1.27) that may consume another thread.

The most benefit you'll get with more cores would be if you have more concurrent connections on a single time.

Reply to "Mediawiki multicore support"

Cannot create page in Project namespace

22
Summary by Sergezolotukhin

The problem was with 2nd definition of $wgMetaNamespace with space char instead of underscore.

Sergezolotukhin (talkcontribs)

Hello

Im trying to create page Project:About but as result I have got the page with title = "Project_About" and namespace=0. What I have to do to get namespace="4"? Do not tell me to use TSQL :-)

AhmadF.Cheema (talkcontribs)

How exactly are you trying to create the new page? Directly through the URL, through search?

Sergezolotukhin (talkcontribs)

http://openlist.wiki/index.php/Project:Test -- here is the test page. ns is 0, but everything else is okay.

Sergezolotukhin (talkcontribs)

Through the URL and through search. If I UPDATE table page with page_namespace=4 (from 0 to 4), created page disapper from site

This comment was hidden by Sergezolotukhin (history)
137.147.181.133 (talkcontribs)

Your project namespace is probably not called "project". Put {{ns:4}} on a page to see what it is called.

Sergezolotukhin (talkcontribs)

You are right but is this a problem? www.mediawiki.org doesnt have ns "Project"

Wargo (talkcontribs)

We have: Project:Namespaces

Sergezolotukhin (talkcontribs)

I have Project: too, but cannot create any page there

This comment was hidden by Sergezolotukhin (history)
Wargo (talkcontribs)

As namespace about project, you can set "Project", wiki name or something else. This is defined in $wgMetaNamespace. As described, "Project" is alias for this value.

Sergezolotukhin (talkcontribs)

Thank you. I have $wgMetaNamespace = "Открытый_список"; in LocalSettings but it makes no sence.

Sergezolotukhin (talkcontribs)

http://openlist.wiki/index.php?title=%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F%3A%D0%92%D1%81%D0%B5+%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D1%8B&from=&to=&namespace=4 -- here is one page i have in Project:, but if I will try to view it, I will catch "Page not found". Does it looks good?

Wargo (talkcontribs)

When I click on that page title I can see page with content "cxv".

Sergezolotukhin (talkcontribs)

anyway now i you will try to create page Project:Test , result will be ns=0, title='Project:Test'. My head is broken =)

Wargo (talkcontribs)

What you have set in $wgMetaNamespace?

Sergezolotukhin (talkcontribs)

I've catch this stupid error: got 2nd definition of $wgMetaNamespace with space char instead of underscore. Omg. Thank you pal!

Sergezolotukhin (talkcontribs)

$wgMetaNamespace = "Открытый_список"; in the 2nd line of LocalSettings.php This is SiteName with underscore

Sergezolotukhin (talkcontribs)

I have created it minute ago (look at history). But this page has class ns-0 in the html element BODY. I have to check my skin.

Wargo (talkcontribs)

You said you changed it in database.

Sergezolotukhin (talkcontribs)

I've changed it all the ways. But the fact is still there: i cannot create any page in ns=4

This comment was hidden by Sergezolotukhin (history)

[SHORT URL ISSUE] The requested URL /index.php was not found on this server.

3
Nicohhsm (talkcontribs)

Hi! I'm trying to implement a short url to my wiki and keep bumping into the same problem:

Not Found

The requested URL /index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I have an apache server, but don't have root access, so I'm using .htaccess file instead:

RewriteEngine On

RewriteRule ^/?rebornpedia(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]

RewriteRule ^/?$ %{DOCUMENT_ROOT}/w/index.php [L]

And of course, the localsettings looks like this:

$wgScriptPath = "/w";

$wgScriptExtension = ".php";

$wgArticlePath = "/rebornpedia/$1";

$wgUsePathInfo = true;

I've tryed a couple of things (like replacing Document Root with the actual path) but nothing seems to work. Any idea what might be causing it?

Thanks!

EDIT: I originally used http://shorturls.redwerks.org to configure my files, but if enter the url path again, the following message is displayed:

Sorry, this does not look like a wiki.

We could not find a rel=EditRSD in the url you specified nor could we find a generator meta item with MediaWiki information in it.

Are you sure you gave the url to your MediaWiki installation? If you gave the correct url your install may be customized or broken in a way that prevents us from detecting the location of your wiki's api and coming up with shorturl configuration for you.

Ciencia Al Poder (talkcontribs)

Note that while your short URLs should look inside /rebornpedia/ and wiki is installed in /w/ /index.php, however the error message talks about /index.php, so something seems to be wrong here. What's displayed on the location toolbar of the browser when you get the error? If it displays yourdomain.com/index.php then there's another redirect rule being applied somewhere.

Nicohhsm (talkcontribs)

Hi! Thanks for the help. I suspected something of the sort, thats why I tried to replace "document root" with the server path, but got the same problem.

Whats displayed on the url bar when I get that error is http://mydomain.com/rebornpedia/Página_principal

Reply to "[SHORT URL ISSUE] The requested URL /index.php was not found on this server."
Guycn2 (talkcontribs)

CSS sheets and JS scripts (e.g. MediaWiki:Common.css) don't have colors on my wiki.

Is this a bug? Or should I install an extension that gives colors to these files?

Ciencia Al Poder (talkcontribs)

Apparently you need to install Extension:SyntaxHighlight.

Reply to "Colors for CSS and JS files"

RL: Eliminate render-blocking JavaScript and CSS in above-the-fold content

4
Subfader (talkcontribs)

Pagespeed Insight returns the warning: "Eliminate render-blocking JavaScript and CSS in above-the-fold content".

This mainly affects the JS in the header from RL.

E.g. on https://www.mediawiki.org/wiki/Manual:Contents:

Why not on Wikipedia? Example: http://en.wikipedia.org/wiki/Diff

How can I fix it for my own wiki?

88.130.87.202 (talkcontribs)

Just forget it.

I have tried exactly the same a few days ago; if you speak German I can link you the thread from the German WP. It is just not possible - at least not in a reasonably maintainable way.

I cannot say why Google does not complain for the WP page, but in my tests it already was enough to place any style defintion in the HTML directly. Then Google was happy. That this style did not apply to content above the fold, was not interesting for Google. Also that all the other styles, which did apply above the fold, still were in the blocking stylesheet also was not interesting for Google. I had not improved the situation, but Google did no longer show the error. To cut a long story short: Do not give much about Google's warnings in this regard. They don't mean much.

Google will already give a way better score, if the different JavaScripts were concatenated into one instead of into four files. This will also save a few connections on load. At least that would be what I would try fixing first. However, I do not know, how RL internally decides to merge or not to merge different styles. It might be that, if we just always merge everything, we later have way more entries in cache, which in fact are hardly ever used as they are to special...

79.228.77.210 (talkcontribs)

Hi, yes I'd be interested in the deutsche Diskussionsseite :)

The WP article seems to have been a bad example. Here is also JS load.php in the head. This and the script tags cannot be moved to the bottom?

Stefahn (talkcontribs)

I'm interested in the mentioned thread from German Wikipedia, too.

Would like to get rid off some render-blocking warnings, too

Reply to "RL: Eliminate render-blocking JavaScript and CSS in above-the-fold content"