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

How to imigrate a wordpress site to mediawiki?

1
Winnieji (talkcontribs)

I have a wordpress site with more than 40000 posts and I want to export them to a fresh new mediawiki site.So is it possible to achieve that?

Reply to "How to imigrate a wordpress site to mediawiki?"
Aurquiel (talkcontribs)

Hello i have a issue with the syntax highlighter, take a look to my board

http://forumberserk.com/index.php?title=Algoritmos_Gen%C3%A9ticos_en_C%2B%2B

I don't know where is the problem, the extension is enable.

I am using this code

<syntaxhighlight lang="cpp" line='line'>

#ifndef AG_H

#define AG_H

class AG

{

public:

//Función constructora

AG(bool f_maximizar_o_minimiza, double long f_limite_superior,

double long f_limite_inferior, long long int f_presicion, double long f_probabilidad_de_cruce,

double long f_probabilidad_de_mutacion,unsigned long long int f_tamanio_de_poblacion,

unsigned long long int f_numero_de_generaciones);

private:

//Variables externas del programa, las toma en el constructor

bool maximizar_o_minimizar;

unsigned long long int presicion;

double long limite_superior;

double long limite_inferior;

double long probabilidad_de_cruce;

double long probabilidad_de_mutacion;

unsigned long long int tamanio_de_poblacion;

unsigned long long int numero_de_generaciones;

//Final

};

#endif // AG_H

</syntaxhighlight>

But doesn't work

MarkAHershberger (talkcontribs)

How did you install the syntaxhighlight extension? From a tarball or from git? if you set up a debug log file, does the log file show you anything?

Aurquiel (talkcontribs)

I just downloaded the mediawiki 1.28 from the official page, inside the script was the extension and it was enable during the installation. I tried to get work the debug file but always is empty.

I enable other debug, there are the outputs

LocalSettings.php:

error_reporting( -1 );

ini_set( 'display_errors', 1 );

$wgShowSQLErrors = true;

$wgDebugDumpSql  = true;

$wgDebugToolbar =TRUE;

$wgShowExceptionDetails=true;

$wgDevelopmentWarnings=TRUE;

$wgShowDebug =true;

index.php:

error_reporting( -1 );

ini_set( 'display_startup_errors', 1 );

ini_set( 'display_errors', 1 );

I GOT THIS

Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311

Aurquiel (talkcontribs)

Strange that file has the necessary permissions 750

MarkAHershberger (talkcontribs)

/hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize has permissions 750? What happens if you give it the permissions 755?

201.208.246.96 (talkcontribs)

I change to 750 and tried 777, but same

Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311 Notice: Failed to invoke Pygments: sh: 1: /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/pygments/pygmentize: Permission denied [Called from SyntaxHighlight_GeSHi::highlight in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php at line 296] in /hermes/bosnaweb04b/b1925/ipg.camelloshakicom/14/includes/debug/MWDebug.php on line 311

Aurquiel (talkcontribs)

I also tried reinstall, but i have the same issue

MarkAHershberger (talkcontribs)

It may be that your hoster doesn't allow you to execute processes. You should talk to them.

Aurquiel (talkcontribs)

What are the names of the processes that should be executed?

Reply to "syntax highlighter doesn't work properly"
Faintaxis (talkcontribs)

Hi there,

I'm trying to get MediaWiki (v1.26.2) to send emails but it doesn't seem to work. Whenever it tries to send an email, I get the following error: "Mailer returned: authentication failure [SMTP: SMTP server does not support authentication (code: 250, response: server.name.here Hello [ip.addr.here] SIZE 36700160 PIPELINING DSN ENHANCEDSTATUSCODES 8BITMIME BINARYMIME CHUNKING)]"

I have the configuration in LocalSettings.php thus:

$wgSMTP = array(
 "host"     => 'mail.server.here', // could also be an IP address. Where the SMTP server is located
 "IDHost"   => 'domain.co.uk',      // Generally this will be the domain name of your website (aka mywiki.org)
 "port"     => 25,                 // Port to use when connecting to the SMTP server
 "username" => '',     // Username to use for SMTP authentication (if being used)''
 "password" => '',       // Password to use for SMTP authentication (if being used)''
 "auth"     => false               // Should we use SMTP authentication (true or false)
);

Unfortunately the server doesn't support authentication, though as you can see the auth setting is set to fale. However, MW doesn't seem to be honouring this and so I get the error above. I have Pear and Pear SMTP installed:

Installed packages, channel pear.php.net:
=========================================
Package          Version State
Archive_Tar      1.4.2   stable
Auth_SASL        1.0.6   stable
Console_Getopt   1.4.1   stable
Mail             1.2.0   stable
Mail_Mime        1.10.0  stable
Net_SMTP         1.6.1   stable
Net_Socket       1.0.14  stable
PEAR             1.10.1  stable
Structures_Graph 1.1.1   stable
XML_Util         1.3.0   stable

I've tried various settings both with username, password, different ports, auth turned on and off but the results are still the same. I'm at a loss. MW is running on Ubuntu and running PHP 5.3.

Reply to "Unable to send emails with MediaWiki"
ShiningSoldier (talkcontribs)

Hello! I have troubles with Mediawiki 1.28.0. I am trying to load the main page but getting an error message. It says that the name of this page is invalid because it contains invalid characters: "%D0". But I can't see any invalid characters! After this text, there is a link to the main page. I click on it and everything is OK - it takes me to the real main page. What am I doing wrong?

MarkAHershberger (talkcontribs)

Is your wiki public? Could you link to it so we can see the problem?

MarkAHershberger (talkcontribs)

Otherwise, a screenshot would help.

ShiningSoldier (talkcontribs)

There is a link: https://evs.falanster.info It's Belorussian localisation.

ShiningSoldier (talkcontribs)

Ah, I have already fixed problem! Thanks.

Reply to "Invalid characters"

Sporadic error (docserver-http: 404) on start of visual editor

1
Arganoide (talkcontribs)

I installed mediawiki 1.27.1 with Visual Editor 1.27 following the instructions on https://www.mediawiki.org/wiki/VisualEditor/Setup . I followed the troubleshooting instructions as well, but everything seems to work. Sometimes I get the error, if I try to edit an article, but not always. I wasn't able to reproduce the error reliably.

Do you have any ideas on my problem?

Your help is very appreciated!


The Parsoid service is installed on a different server. The configuration is as follows: IP of Parsoid server: 1.1.1.1 Domain of wiki: www.wiki.com URL of wiki:

Configuration of parsoid server: /etc/mediawiki/parsoid/config.yaml: mwApis:

       - uri: 'http://www.wiki.com/testWiki/api.php'

Configuration wiki: localSettings.php wfLoadExtension( 'VisualEditor' ); $wgDefaultUserOptions['visualeditor-enable'] = 1;

$wgHiddenPrefs[] = 'visualeditor-enable';

$wgVirtualRestConfig['modules']['parsoid'] = array( # URL to the Parsoid instance // Use port 8142 if you use the Debian package 'url' => 'http://1.1.1.1:8142', );

Reply to "Sporadic error (docserver-http: 404) on start of visual editor"
শাহাদাত সায়েম (talkcontribs)

Hello , I have a wiki site . recently in my site, recent page does not work .When any make an edit , recent page have not show this edit . please help me . my site is textileedu.org . Thanks-শাহাদাত সায়েম (talk) 12:51, 16 January 2017 (UTC)

MarkAHershberger (talkcontribs)

Your RC page shows edits up to the 12th. Is there a page with more recent edits that isn't showing up? (I poked around at random and didn't find any recent edits.)

শাহাদাত সায়েম (talkcontribs)

Yes , I have make more edit after 12th , but do not show in recent page . I don't know, how can I solve this problem . If you can , please help me-শাহাদাত সায়েম (talk) 07:44, 17 January 2017 (UTC)

MarkAHershberger (talkcontribs)

Could you point to a recent edit?

শাহাদাত সায়েম (talkcontribs)

yes, I have given you some link below , which do not show in recent page: 1. http://textileedu.org/index.php?title=টেমপ্লেট:Robox/C2&diff=prev&oldid=2311 2. http://textileedu.org/index.php?title=টেমপ্লেট:Root_subject&diff=prev&oldid=2316 3. http://textileedu.org/index.php?title=বিষয়শ্রেণী:বাংলাদেশে_টেক্সটাইল_শিক্ষা_প্রতিষ্ঠান&diff=prev&oldid=2263 4. http://textileedu.org/index.php?title=টেমপ্লেট:প্রধান_পাতা_শীর্ষ&diff=prev&oldid=2252 5. http://textileedu.org/index.php?title=টেমপ্লেট:প্রধান_পাতা_অনুক্রমণিকা&diff=prev&oldid=2255 Tkanks-শাহাদাত সায়েম (talk) 07:07, 18 January 2017 (UTC)

Ciencia Al Poder (talkcontribs)

You have CheckUser extension installed, probably caused by it. See Topic:Tgdzaqg43leftovb

Reply to "Do not work recent page"

Resolved [EXTENSION] Visual Editor | Page / Old id error

4
MUSEION (talkcontribs)

Hi everyone, i have locally installed latest version of mediawiki with visual editor (parsoid installed and linked to mediawiki). Mediawiki is running perfectly but a minor bug of Visual Editor is annoying me. When i save a page i have an error "The parameters "page" and "oldid" can not be used together."

What can I do?

Thanks, have a good day

MUSEION

MarkAHershberger (talkcontribs)

Have a look at phab:T152547. It looks like it is addressed there.

MUSEION (talkcontribs)

Hi! I am confused, i did not find this page searching on google but it seems like I do not have to edit ApiParse.php, the "fix" is already in the file. // No easy way to say that text & title are allowed together while the // rest aren't, so just do it in two calls. $this->requireMaxOneParameter( $params, 'page', 'pageid', 'oldid', 'text' ); $this->requireMaxOneParameter( $params, 'page', 'pageid', 'oldid', 'title' );

MUSEION (talkcontribs)

Well, not familiar with all of this, i had to edit /mediawiki/extensions/VisualEditor/ApiVisualEditorEdit.php

And now it works, thanks to you, thank you very much! Have a nice day!

Loman87 (talkcontribs)

Hi everybody,

I am trying to add a new toolbar section to wikieditor, following the rules described here.

Since I want all users to use this toolbar, I am working on Mediawiki:Common.js (is this correct? I have also set '$wgUseSiteJs = true' in LocalSettings.php) . I validated the code and it is correct, but some of my edits are not loaded in the toolbar. E.g. the toolbar section is visible, but seems to be empty, since no groups or buttons are shown.

My wiki is at http://mediawikiarchivio.unigre.it/mediawiki/index.php/Main_page

Does anyone have any idea of the reasons?

Thanks for the help!

Lorenzo

Ciencia Al Poder (talkcontribs)

You seem to have fixed it, or maybe you were facing caching problems, because I can see a section called "Annotation" next to "Help" with a bunch of buttons

Loman87 (talkcontribs)

Hi,

thanks for the answer. Yes, in some way the problem is fixed but not totally. Now I can see the new toolbar ('Annotation') in several namespaces but not in all ones. E.g. it is ok in the Page namespace but not in the Main namespace. In Main I can see the new toolbar just after a cache refresh and then it is missed.

Any suggestions?

Thanks again,

Lorenzo

Ciencia Al Poder (talkcontribs)

Editing the main page (even if it's read-only because I'm not logged-in), reloading the page several times, etc, displays the toolbar just fine for me. What browser are you using? can you try a different one?

Loman87 (talkcontribs)

You are right, the problem appears only when I am logged in (everything works fine without log in). Which could be the cause?

Thanks,

Lorenzo

Loman87 (talkcontribs)

An update: I added $wgAllowUserJs = true; to LocalSettings.php and then I put my code into User:myusername/common.js after deleting the same code from Mediawiki:common.js.

In this way I continue to see the new toolbar just in some namespaces (Mediawiki, Page) but not in the Main namespace (without log in obviously I don't see anything anywhere).

If I maintain the code in both User:myusername/common.js and Mediawiki:common.js, the result is catastrophic as you can see here. But at list I see this mess in every namespace!

I can't understand this issue and I am going crazy :(

Maybe is it a conflict between the user preferences and the wiki settings?

Please help!

Ciencia Al Poder (talkcontribs)

Does this happen to other users on your wiki? You can create an account for me and send me the user and password so I can test it being logged in.

Ciencia Al Poder (talkcontribs)

After some testing with the logged-in account, sorry I have no more time, I think it's a timing issue of loading of scripts.

One thing you can try:

Change the line (near the end of MediaWiki:Common.js):

mw.loader.using( 'ext.wikiEditor.toolbar' ), $.ready

To:

mw.loader.using( [ 'ext.wikiEditor.toolbar', 'jquery.wikiEditor.toolbar' ] ), $.ready

Wait like 10 minutes and reload. If it doesn't work, revert the change and use this instead:

Change the line:

).then( customizeToolbar );

To:

).then( function(){ window.setTimeout(customizeToolbar, 1000); } );
Loman87 (talkcontribs)

Tried both...and the second one works!!

Many many thanks,

Lorenzo

Ciencia Al Poder (talkcontribs)

Good. Pinging @He7d3r: in case he has a suggestion, since he wrote the original way to add them in Special:Diff/1081622

Reply to "WikiEditor issue"
WikiUser22222 (talkcontribs)

I'm having trouble installing this extension on my project, I followed all the rules described on the page and the message gave me was this. How to proceed?

[93aa6bfd49be8f750f16490d] /mw/mediawiki-1.27.1/index.php/P%C3%A1gina_principal MWException from line 176 of /var/www/html/mw/mediawiki-1.27.1/includes/Hooks.php: Invalid callback MathHooks::onParserAfterTidy in hooks for ParserAfterTidy

Backtrace:

#0 /var/www/html/mw/mediawiki-1.27.1/includes/parser/Parser.php(1377): Hooks::run(string, array)
#1 /var/www/html/mw/mediawiki-1.27.1/includes/parser/Parser.php(449): Parser->internalParseHalfParsed(string, boolean, boolean)
#2 /var/www/html/mw/mediawiki-1.27.1/includes/cache/MessageCache.php(1103): Parser->parse(string, Title, ParserOptions, boolean)
#3 /var/www/html/mw/mediawiki-1.27.1/includes/Message.php(1141): MessageCache->parse(string, Title, boolean, boolean, Language)
#4 /var/www/html/mw/mediawiki-1.27.1/includes/Message.php(824): Message->parseText(string)
#5 /var/www/html/mw/mediawiki-1.27.1/includes/Message.php(880): Message->toString()
#6 /var/www/html/mw/mediawiki-1.27.1/includes/page/Article.php(982): Message->parse()
#7 /var/www/html/mw/mediawiki-1.27.1/includes/page/Article.php(573): Article->showRedirectedFromHeader()
#8 /var/www/html/mw/mediawiki-1.27.1/includes/actions/ViewAction.php(44): Article->view()
#9 /var/www/html/mw/mediawiki-1.27.1/includes/MediaWiki.php(503): ViewAction->show()
#10 /var/www/html/mw/mediawiki-1.27.1/includes/MediaWiki.php(288): MediaWiki->performAction(Article, Title)
#11 /var/www/html/mw/mediawiki-1.27.1/includes/MediaWiki.php(745): MediaWiki->performRequest()
#12 /var/www/html/mw/mediawiki-1.27.1/includes/MediaWiki.php(519): MediaWiki->main()
#13 /var/www/html/mw/mediawiki-1.27.1/index.php(43): MediaWiki->run()
#14 {main}
MarkAHershberger (talkcontribs)

The only think I can think of right now is that there isn't a file that is supposed to be there. Is there a file at /var/www/html/mw/mediawiki-1.27.1/extensions/Math/Math.hooks.php that contains a line like

	public static function onParserAfterTidy( &$parser, &$text ) {

??

Reply to "Extension:Math"
Nouklea (talkcontribs)

Hi,

I have been looking for an answer to that question for a while, I hope I might find help here!

I would like to modify the default title display on my Wiki in order to avoid long page names created by the use of subpages. If a page's link is a/b/c/d/e, I would like the appearing title to be only "e". I know there is a code you can add on a single page to modify the page title display, but I do not want my users to have to insert this code every time they create a subpage (the less they code, the happier they are!). So I am looking for a parameter to change withing the general settings to modify the title display.

I'm sorry but I can not give infos about the version I'm using (I just became an admin, the previous one left without giving me any infos, so I have no idea what version we are using. He installed it in december, so I believe it's not an obsolete version).

Thank you for your help!

Cavila (talkcontribs)

See http://www.mediawiki.org/wiki/Manual:$wgRestrictDisplayTitle and http://www.mediawiki.org/wiki/Manual:$wgAllowDisplayTitle. You will need to have access to localsettings.php in the wiki folder to enable or disable those settings.

Ron Barker (talkcontribs)

You can find the version by clicking 'Special pages' then under 'Wiki data and tools' click on version.

Regards

Nouklea (talkcontribs)

Thanks! And so my settings is:

  • MediaWiki : 1.16.0
  • PHP : 5.3.0
  • MySQL : 5.1.36
Nouklea (talkcontribs)

If I'm right, the commands indicated by Cavila, ie $wgRestrictDisplayTitle and $wgAllowDisplayTitle give the possibility to a user to modify, on a single page, the title display. What I am looking for is a way to change the display on all pages, to show only the last section of the name and avoid listing all the parents names in the page title.

Thanks for your help!

Cavila (talkcontribs)

I'm sorry, you're right about that. Is there any good reason why those pages should be subpages? There are other, more common ways to make clear to you readers that certain pages are arranged hierarchically, e.g. through the use of categories and custom menus.

I don't know of any easy, site-wide solutions I'm afraid. An idea which may or may not work is to ensure that users add a template to subpages which includes the following line:

{{DISPLAYTITLE:{{SUBPAGENAME}}}}

(see further Help:Magic words for the two 'magic words' that are used here. Note that DISPLAYTITLE may not work with some skins.)

You can also have a look, if you haven't done so yet, at Extension:SubpageIndex and Category:Subpage extensions to see if there's anything which suits your needs.

Farinasa6 (talkcontribs)

I know this is 5 years old, but it keeps coming up in my search for how to do this. My solution was to edit the VectorTemplate.php skin. On line 117 (or wherever you can find the <h1> element with id="firstHeading" and class="firstHeading"):

   $this->html('title')

was changed to:

   echo $this->getSkin()->getTitle()->getSubpageText();

Hope this helps someone.

Reply to "subpage titles : change default display"