Project:Support desk

Jump to: navigation, search

About this board

Edit description
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".

forno

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
64.134.221.150 (talkcontribs)

Please help. I set up an account but I am not able to log in as the password appears not to be working. I am not able to email a new password as it is stating there is no email address set up with my account.

What can I do?

Thank you,

Vanessa

Tropicalkitty (talkcontribs)

If the question is related to Wikimedia projects, see w:Help:Logging in#What if I forget the password.3F .

Reply to "Vanessa Karpio"
50.59.126.67 (talkcontribs)

I am running Mediawiki on Windows and the math section which has links for Linear Regression are coming up with parsing errors. I am not sure how to trouble shoot this. I understand that this is using php.

Malyacko (talkcontribs)

Which MediaWiki version? What exact "parsing errors"?

Reply to "Failed to parse Missing code"
Olds98 (talkcontribs)

Hello all. I am not a software programmer or a web designer.. I have a basic wiki running for my company and every time I try to set up an extension like PDFHandler or now Visual Editor and each time i follow the directions only to get errors. Clearly these setups are designed for people who do this stuff regularly. Now I am getting an error VisualEditorHooks::onBeforePageDisplay.... and SkinTemplateNavigation... and onResourceLoaderRegisterModules... and all refer to Hooks.php... is there someone i can pay to remote in and make this stuff work? Thank you

Ciencia Al Poder (talkcontribs)

If you're interested in professional consulting, look at Professional development and consulting.

Visual Editor is rather complex to setup, and latest version usually works only with latest MediaWiki version, which is probably the hook errors you're getting, because there are lots of hook changes to add new features for Visual Editor

Summary by Star Warden

More information is needed

2602:301:777F:F860:574:C9E9:DBB7:52A (talkcontribs)

cant login

Star Warden (talkcontribs)

Could you be more specific about your issue?

docserver-http-error: (curl error: 28)

4
Summary last edited by ChristianOrrala 06:51, 25 June 2017 11 hours ago

If you are running Mediawiki on a shared hosting probably the cUrl it´s blocked for external connections on specific ports (8000,8142), ask your hosting provider to unlock the port (tcp).

Exodk (talkcontribs)

Using Visual editor

Windows Server 2012 R2

when trying to save page iv have just made - times out with the following error:

docserver-http-error: (curl error: 28) Timeout was reached

any help will be greatly appreciated

AKlapper (WMF) (talkcontribs)

Parsoid#Troubleshooting ? :)

Exodk (talkcontribs)

isn't Parsoid only used if using linux as the operating system?

Exodk (talkcontribs)

ive decided im going to move to ubuntu server.

Links to TranslateWiki.net fails for some repos

3
Jeblad (talkcontribs)

It seems like a lot of extensions on GitHub have failing links to TranslateWiki. These links should be something like mwgithub-something, but are ext-something. Extensions with this problem can be found in Category:Extensions in GitHub version control, and it seems to be several of them. The extension where I first saw this problem was Extension:Pickle.

Could anyone fix this?

Jeblad (talkcontribs)

Fixed it for Extension:Pickle, but all extensions listed in the category should be checked.

Ciencia Al Poder (talkcontribs)

It should be posted in Project:Current issues. If all extensions hosted on GitHub have that prefix, a bot could do that.

Reply to "Links to TranslateWiki.net fails for some repos"
Stitchill (talkcontribs)

I am trying to log in as Крепкий чай, which used to be my main identity for creating and editing wikipedia pages. I haven't logged in for ages, but remember (I am fairly certain) the password - however it isn't letting me log in - I get this message, which I do not understand

Central user log in

No active login attempt is in progress for your session.

Please advise what I can do to log in once again as Крепкий чай. Thanks. Stitchill

Stitchill (talkcontribs)

PS - I am still able to log in and out as Stitchill.

Stitchill (talkcontribs)

Please advise. Again this morning I have attempted to log in and work under my old username Крепкий чай, but there still seem to be problems of access which I don't understand. The last edit I made as that user, on the page I wish to contribute further to now, was in January 2016. @Stitchill

Ciencia Al Poder (talkcontribs)

Open a bugreport for it, using your Stitchill account you can login to phabricator to report this.

This comment was hidden by Ciencia Al Poder (history)
Reply to "Log-in problem"
Rbizzell40 (talkcontribs)

I have Media Wiki installed on Windows Servers and the math modules aren't parsing correctly. I am not sure how to resolve this issue with php on windows. Failed to parse (Missing <code>texvc</code> executable.

120.144.27.95 (talkcontribs)

See Texvc#Windows. In short: Don't try to use texvc on windows.

Reply to "Math Module and texvc"

Template which expands to 4 columns (Conditional Table)

3
Blumenfuchs (talkcontribs)

Hey,

I`ve got problems building a template, which should be a table that expands up to 4 columns.

That´s the template-code:

<onlyinclude>{| class="wikitable"

|- {{#if: {{{Skills 1-4|}}} |

{{!}} Skills: {{!!}}

{{{Skills 1-4}}} {{!!}} {{{Skills 5-8}}} {{!!}} {{{Skills 9-12}}}

}}

|- |}

Including it into a page, it would look like that:

{{NameofmyTemplate

|Skills 1-4= |Skills 5-8= |Skills 9-12=

}}

But the {{!!}} after {{{Skills 1-4}}} and {{{Skills 5-8}}} don´t work, I just get displayed pipes, but actually I wanted that the Skills 5-8 and will be shown in additional columns. I only get displayed the column "Skills" and a second column where the contents of Skills 1-4, Skills 5-8 and Skills 9-12 are displayed. The skills should be listed with bullet points, so I typed them in like

*1. Skill

*2. Skill

Could anybody tell me how I get more columns, but only if there´s content in Skills 5-8 or 9-12?

AhmadF.Cheema (talkcontribs)

Apparently, the newline after the line {{!}} Skills: {{!!}} in your code is causing problems. Try the following:

{| class="wikitable"
|-
{{#if: {{{Skills 1-4|}}} |
{{!}} Skills: {{!!}} {{{Skills 1-4|}}} {{#if: {{{Skills 5-8|}}} | {{!!}} {{{Skills 5-8|}}} |}} {{#if: {{{Skills 9-12|}}} | {{!!}} {{{Skills 9-12|}}} |}}
|}}
|}

Don't know yet how to get the bullet points included in the table, though.

Update: For bullet points you can use the following::

{| class="wikitable"
|-
{{#if: {{{Skills 1-4|}}} |
{{!}} Skills: {{!!}} <li>{{{Skills 1-4|}}}</li> {{#if: {{{Skills 5-8|}}} | {{!!}} <li>{{{Skills 5-8|}}}</li> |}} {{#if: {{{Skills 9-12|}}} | {{!!}} <li>{{{Skills 9-12|}}}</li> |}}
|}}
|}

A practically exact copy of the above, but with better template page representation:

{| class="wikitable"
|-
{{#if: {{{Skills 1-4|<noinclude>a</noinclude>}}} |
{{!}} Skills: {{!!}} <li>{{{Skills 1-4|<noinclude>Skill alpha</noinclude>}}}</li> {{#if: {{{Skills 5-8|<noinclude>b</noinclude>}}} | {{!!}} <li>{{{Skills 5-8|<noinclude>Skill beta</noinclude>}}}</li> |}} {{#if: {{{Skills 9-12|<noinclude>c</noinclude>}}} | {{!!}} <li>{{{Skills 9-12|<noinclude>Skill gamma</noinclude>}}}</li> |}}
|}}
|}
This comment was hidden by Neil P. Quinn (history)
Reply to "Template which expands to 4 columns (Conditional Table)"
Haroun al Mouwahid (talkcontribs)

Hello,

I have a problem when im trying to install automatically mw 1.23.17 but actually, I dont know really how to do step by step and I did not find any exhaustive doc on that. First of all, is it possible ? I mean how to install MW automatically till the end. When you connect with your browser, you should not have any config to set (database account, mw name, database type etc.....).

Haroun al Mouwahid (talkcontribs)

I can't install a version more recent because it required a php version that I can't install for the time being.

DB Type : Postgres

Postgres : 9.4.0

PHP : 5.4.20

php-pgsql : 5.4.34

Here is my command :

# cd /srv/mediawiki

# php maintenance/install.php --dbname wikidb --dbschema mediawiki --dbserver localhost --dbtype postgres --dbuser wikiuser --dbpass wikipass --installdbuser wikiuser --installdbpass wikipass --pass toto1234 --scriptpath /mediawiki mywiki WikiSysop

PHP 5.4.20 is installed.

Warning: Could not find APC, XCache or WinCache.

Object caching is not enabled.

Found GD graphics library built-in. Image thumbnailing will be enabled if you enable uploads.

Git version control software not found.

Using server URL "/mediawiki".

Warning: Your default directory for uploads (/srv/mediawiki/images/) is not checked for vulnerability to arbitrary script execution during the CLI install.

Using the intl PECL extension for Unicode normalization.

The environment has been checked.

You can install MediaWiki.

Setting up database

PHP Fatal error: Class 'Database' not found in /srv/mediawiki/includes/installer/PostgresInstaller.php on line 161.

Haroun al Mouwahid (talkcontribs)

And before all, I do that :

sudo -u postgres psql -c "CREATE USER wikiuser with password 'wikipass';"

sudo -u postgres psql -c "CREATE DATABASE wikidb ENCODING 'UTF8' OWNER wikiuser;"

sudo -u postgres psql -c "alter database wikidb owner to wikiuser;"

Ciencia Al Poder (talkcontribs)

MediaWiki 1.23 doesn't have a "Database" class, nor is there any attempt to create a Database class object. You most likely upgraded from an older version and you left old files behind that are causing conflicts. Please unpack MediaWiki 1.23 (or preferably a supported version) on a new and empty directory as explained in Manual:Upgrading

Haroun al Mouwahid (talkcontribs)

Not at all, I don't have any older version of mediawiki installed. Im just trying to install MW 1.23 from scratch. But apparently it's not possible ?

Ciencia Al Poder (talkcontribs)

I have a MediaWiki 1.23 installed and there's nothing in the code trying to instantiate a "Database" class, because on 1.23 it's called "DatabaseBase" instead. That's why I think you unpacked over old files.

Another option may be that your linux distribution already contains a MediaWiki installation, with their files located somewhere, and being included in the include_path, conflicting with your installation.

Haroun al Mouwahid (talkcontribs)

My OS does not have any other install of MW, Im trying to install from scratch. I put it in /srv/mediawiki :

tar xvf /home/sagemuser/mediawiki-1.23.15.tar.gz -C /srv

mv /srv/mediawiki-1.23.15 /srv/mediawiki

Then I create the vhost /etc/httpd/extra/mediawiki.conf :

Alias /mediawiki /srv/mediawiki

<Directory /srv/mediawiki/>

        Options +FollowSymLinks

        AllowOverride All

        order allow,deny

        allow from all

</Directory>

<Directory /srv/mediawiki/config>

        Options -FollowSymLinks

        AllowOverride None

</Directory>

Then, I don't know if I have to prepare the database in posgres. If I do it, here is how I do

sudo -u postgres psql -c "CREATE USER wikiuser with password 'wikipass';"

sudo -u postgres psql -c "CREATE DATABASE wikidb ENCODING 'UTF8' OWNER wikiuser;"

sudo -u postgres psql -c "ALTER DATABASE wikidb owner to wikiuser;"

sudo -u postgres psql -c "CREATE SCHEMA mediawiki;"

sudo -u postgres psql -c "ALTER SCHEMA mediawiki OWNER TO wikiuser;"

sudo -u postgres psql -c "GRANT ALL ON SCHEMA mediawiki TO wikiuser;"

Then, I open the URL https://my-server/mediawiki

Page 1

LocalSettings.php not found

Please complete the installation and download LocalSettings.php.

Page 2 : Language (mediawiki/mw-config/index.php)

English

Page 3 : Welcome (mediawiki/mw-config/index.php?page=Welcome)

Welcome to MediaWiki!

[..]

The environment has been checked. You can install MediaWiki.

[..]

I click on Continue

Page 4 : Connect to database (mediawiki/mw-config/index.php?page=DBConnect)

Database type: PostgreSQL

Database host: localhost

Database name: wikidb

Schema for MediaWiki: mediawiki

Database username: postgres

Database password: toto

I click on Continue

I get a white page....

Im sure of the postgres password, if I do sudo -u postgres psql -U postgres -W, it's working.

Haroun al Mouwahid (talkcontribs)

Nobody can help me ? :/

Haroun al Mouwahid (talkcontribs)

No one ?

Reply to "MW auto install"