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".
Language:Project:Language policy English  español
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

Links with german/special characters dont't work after upgrade 1.23 to1.27

3
Vtadler (talkcontribs)

PHP Vesion: 5.6.28 MySQL Version:5.5.52

Original Homepage, (version 1.23.4) Url: http://vtadwiki.vtad.de everything ist ok!

after cloning and upgrading to 1.27.1 Url: http://vtadwiki127.vtad.de some links with ü, %, etc, don't work - for example http://vtadwiki127.vtad.de/index.php/William%27s_%25R

83.135.224.49 (talkcontribs)

THe URL as MediaWiki links to is http://vtadwiki127.vtad.de/index.php/William%27s_%25R. This corresponds to an apostrophe and a % sign in the URL.

What you are getting then is a redirect loop.The webserver responds with status code 301 and provides a redirect location. However, this location is identical to the current URL. This looks like a misconfiguration in the webserver I guess.

Vtadler (talkcontribs)

Its not a webserver misconfiguration: On the same server It works with

http://vtadwiki.vtad.de/index.php/William%27s_%25R

Reply to "Links with german/special characters dont't work after upgrade 1.23 to1.27"
শাহাদাত সায়েম (talkcontribs)

Hey, Can I use Extension:ZeroPortal for free content service for my wiki site? -শাহাদাত সায়েম (talk) 07:59, 23 January 2017 (UTC)

Reply to "Extension:ZeroPortal"

changing colors in mediawiki:common.css

3
Dharma-lotus-wiki (talkcontribs)

Hello, I have 2 questions;

I made my wiki on http://www.dharma-lotus.nl/wiki and change the background color in mediawiki:common.css in body {color: #ffA500; background: #E9E0A5 } That changed the color in the left and lower side of the page, not the center and the upper part. How do I change the color there?

And, how do I place a message in the header so it is seen on every page?

Many thanks, Ivar

Ciencia Al Poder (talkcontribs)

Supress the background-gradient at the top:

#mw-page-base { background: transparent; }

Message on the header: See Manual:Interface/Sitenotice

Dharma-lotus-wiki (talkcontribs)

Many thanks,

this works for the top, so now I have the top, bottum en left-bar. But how do I change the color for the center part, there were the article is placed?

http://www.dharma-lotus.nl/wiki

Reply to "changing colors in mediawiki:common.css"

How to create home page similar to wikipedia.org with globe ect?

2
Axelwww27 (talkcontribs)

I want to sort of re-create homepage of wikipedia.org (with globe and links to language versions of wikipedia) for my project but would like to insert image of my choice instead of globe and with titles of links appropriate for my project. Is there some template for that or tutorial?

110.149.127.190 (talkcontribs)

That page is not part of mediawiki. You can create it yourself like you would any other web page.

Reply to "How to create home page similar to wikipedia.org with globe ect?"
Murbaut (talkcontribs)

how to use https://www.mediawiki.org/wiki/$wgTmpDirectory in localsetting.php because I've bug for https://phabricator.wikimedia.org/T127127

Murbaut (talkcontribs)

How to set in LocalSeting.php?

Reply to "Help me for configure LocalSetting.php"

LDAP Groups not showing up in MediaWiki

1
GetRandomNumber (talkcontribs)

Hi all,

I've installed the LDAP Authentication extension as below with the following configuration in LocalSettings.php

https://www.mediawiki.org/wiki/Extension:LDAP_Authentication

The problem: Each user in LDAP is a member of a group. They all can login using their LDAP credentials to MediaWiki. They are all members of the Autoconfirmed users and Users groups. However, some users will be members of the hr group in LDAP (for example). No LDAP group, such as hr, is not showing up in Mediawiki anywhere, despite using $wgLDAPGroupsPrevail.

Anyone have any ideas as to where I'm going wrong? Probably something obvious!

Thanks in advance

(Currently using the most recent version of Ldap Auth extension with current Mediawiki).



 # LDAP
 require_once ("extensions/LdapAuthentication/LdapAuthentication.php");
 require_once ("includes/AuthPlugin.php");
 $wgAuth = new LdapAuthenticationPlugin();
 $wgLDAPDomainNames = array(
     "ldap_domain_com",
 );
 $wgLDAPServerNames = array(
     "compsoc_nuigalway_ie" => "ldap.domain.com",
 );
 $wgLDAPUseLocal = false;
 $wgLDAPEncryptionType = array(
   "ldap_domain_com" => "tls",
 );
 $wgLDAPPort = array(
   "ldap_domain_com" => 389,
 );
 $wgLDAPProxyAgent = array(
   "ldap_domain_com" => "cn=admin,dc=ldap,dc=company,dc=com",
 );
 $wgLDAPProxyAgentPassword = array(
   "ldap_domain_com" => "password",
 );
 $wgLDAPSearchAttributes = array(
     "ldap_domain_com" => "uid",
 );
 $wgLDAPBaseDNs = array(
     "ldap_domain_com" => "dc=ldap,dc=company,dc=com",
 );
 $wgLDAPGroupBaseDNs = array(
     "ldap_domain_com" => "ou=group,dc=ldap,dc=company,dc=com"
 );
 $wgLDAPPreferences = array(
     "ldap_domain_com" => array( "email" => "mail")
 );
 $wgLDAPLowerCaseUsername = array(
     "ldap_domain_com" => true
 );
 $wgLDAPUseLDAPGroups = array(
     "ldap_domain_com" => true
 );
 $wgLDAPGroupsPrevail = array(
     "ldap_domain_com" => true
 );
 $wgLDAPGroupNameAttribute = array( "ldap_domain_com"=>"cn" );
 
 # Using this as we store our group info under ou=group. Each group is a cn on it's own and lists all it's members. Is this the correct way to do it? Having this as true and as false makes no difference.
 $wgLDAPGroupSearchNestedGroups = array(
     'ldap_domain_com' => true,
 );
Reply to "LDAP Groups not showing up in MediaWiki"
SteroidMoe (talkcontribs)

My editing experience is limited. I just edited a topic, committed an error, and don't know how to correct it, https://en.wikipedia.org/wiki/Pacific_Time_Zone.

Reply to "Need assistance."

Not getting the updated content after clicking SAVE

15
212.24.153.58 (talkcontribs)

Not getting the updated content of an edited web page after clicking SAVE. Although the page gets created/saved. I can't create web pages the normal way.

1Roso (talkcontribs)

versions: MediaWiki 1.26.3 PHP 5.6.28 (apache2handler) MySQL 5.7.13-log ICU 57.1 OS Windows Server 2012 R2 Standard Installation using XAMPP

Issue confirmed using Chrome and IE.

31.55.5.11 (talkcontribs)

1.26.3 is an ancient, unsupported, insecure software version. Please update to a supported secure software version.

AhmadF.Cheema (talkcontribs)

Is there any error given when you hit "Save"?

See Manual:How to debug, to get more detailed information about any errors occurring in the background.

1Roso (talkcontribs)

Nope, no indication at all. The same happens after clicking on LOGIN (in that case I just have to click on any link available and then the status of logged user gets changed correctly).

It is a fresh installation :(

Does MediaWiki provide any logs I can check?

AhmadF.Cheema (talkcontribs)

For logs see Manual:How to debug.

1Roso (talkcontribs)

I can see one thing at the end of debug log:

[gitinfo] Computed cacheFile= for <path>

[gitinfo] Cache incomplete for <path>

Is there anything I should look for specifically?

Console, Queries, PHP includes logging seems to be without any errors.

Ciencia Al Poder (talkcontribs)

Looks like your browser is caching the pages more than they should. Try hitting CTRL+SHIFT+R when you see a stale page, it should force the browser to get the updated version of the page

1Roso (talkcontribs)

I tried it now also from my mobile and it behaves the same way :(

I have tried the CTRL+SHIFT+R hint, but it still behaves the same way.

1Roso (talkcontribs)

Also, my settings in LocalSettings.ini for cache is NONE

## Shared memory settings

$wgMainCacheType = CACHE_NONE;

$wgMemCachedServers = array();

Also, I have done "php rebuildall.php" command as well... Did not help :( Any thoughts?

Ciencia Al Poder (talkcontribs)

So, to be sure I understand, you have a page with text like "AAAAAA", you edit it so it says "ABBBB" and after saving it still displays "AAAAAA", even after clearing the cache or using another browser, but editing the page displays "ABBBB"?

1Roso (talkcontribs)

Good point. I haven't said what happens with the saved page. Yes, the changes are actually being saved, but the redirect after SAVE does not happen.

I can see this URL in the browser for instance while being on the login screen (is that the correct one?):

<server>/MWiki/index.php?title=Special:UserLogin&returnto=Main+Page

This address appears after clicking on SAVE while not entering requested change summary (I have it configured so). If I enter some text and hit SAVE again, I see that for 1 second the page is doing something (like loading stuff) but then loading finishes and nothing changes. No redirection to the actual page. It stays in the editing phase.

<server>//index.php?title=Main_Page&action=submit

Ciencia Al Poder (talkcontribs)

I'm more confused now. So you say that after saving the page you're redirected to login? If your wiki requires login to edit and you are logged off in the middle of an edit, you aren't redirected to the login page. Usually you're presented with a read-only edit screen. And neither if your wiki requires login to view pages (you simply get an error saying you must login to view pages).

Can you also give details about the "clicking on SAVE while not entering requested change summary (I have it configured so)" part? Is this an extension or some configuration?

If after hitting save the page starts loading and then stops, but the page isn't reloaded at all (i.e.: you still have the focus on the button and scroll of the page is maintained) then the webserver has probably segfault and the connection terminated. This is usually caused by a bug in PHP, any of its extensions (xcache or similar) or the webserver itself. The webserver's error log might tell you more about this

1Roso (talkcontribs)

The issue happens on many occasions. First is in the login screen (hitting login button makes the login successful in the background, but the page is not being redirected to the main page). Then while editing any web page, doing changes and then hitting SAVE button (the SAVE action happens in the background, but the page is not being reloaded to see the edited page).

I have tried to get every logs I could as suggested in replies above, but no error, no issue seems to be found... I'm just a beginner and I'm lost a little bit. I'm thinking about doing a full reinstall, including new database and start from scratch...

Will try to upgrade PHP. Upgrade of MediaWiki to 1.28 did not resolve the issue.

Ciencia Al Poder (talkcontribs)

Open the developer console of the browser (hit F12) and on the network tab see what happens when you submit the form. It displays the response of the server. Maybe you get a connection reset or something, or it never loads. In that case it's a server fault, not a configuration / programmatic error in MediaWiki.

Reply to "Not getting the updated content after clicking SAVE"
Eagles2017 (talkcontribs)

Are we allowed to create our own bio page? In reality, it's like a resume, right?

This comment was hidden by 83.135.224.49 (history)
83.135.224.49 (talkcontribs)

You are allowed to write such a page, if the topic meets the criteria named on en:WP:Notability. If it does not meet these criteria you can write an article nonetheless, but it will most likely be deleted again.

Our introduction page en:WP:Your first article has more information on how a good article should look like!

Reply to "Create own WIKI bio page."
Ssotocano (talkcontribs)

Hello!

I have a big problem. The categories of my WIKI do not work. I tried to recover the database and it works, but I return the original database and the categories do not work.

The problem is that I create a category but the register don't insert in database, then isn't visible in the especial:Categories. And when I reffer to a category from a any page, don't appear in the list of pages to this category.

I don't know why happen this. I think that is a problem of databases because when changing the databases for a backup, It works correctly but the information is outdate.

Please your help.

Thanks a lot beforehand.

Sergio Andrés

AhmadF.Cheema (talkcontribs)

See Topic:T8jd8uxlq4jqb0np.

Subfader (talkcontribs)

Whoa, MW turned into shit. It was great once :(

83.135.224.49 (talkcontribs)

You are free to use a different system. Or fix the "shit", if you really care about it.

Reply to "Categories Don't Work!!!"