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
শাহাদাত সায়েম (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)

Reply to "Do not work recent page"
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.

Reply to "Invalid characters"

syntax highlighter doesn't work properly

8
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.

Reply to "syntax highlighter doesn't work properly"
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"

[EXTENSION] Visual Editor | Page / Old id error

2
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.

Reply to "[EXTENSION] Visual Editor | Page / Old id error"

noob hyperlink to another server in network???

5
Tim.turner (talkcontribs)

hello

i am attempting to put a hyperlink in a page to another server in my network and cant figure it out.

i can put in [//server_name/folder/folder/thing.pdf] but this will give me "This site can't be reached" what i need is for \\server_name/folder/folder/thing.pdf to work.

windows xampp phpmyadmin

MarkAHershberger (talkcontribs)

I haven't done this, but try "file://server_namee/folder/thing.pdf"....

Tim.turner (talkcontribs)

didnt work :[

just installed some ParserFunctions don't know what it is but somewhere i read that it would help so i installed and put his text at the bottom of my localsetting.php

wfLoadExtension( 'ParserFunctions' );
array_push($wgUrlProtocols, "file://");
$wgPFEnableStringFunctions = true;

now i just get sent to an about:blank

MarkAHershberger (talkcontribs)

I'd guess that UNC links is the page that you're getting your information from, right?

Did you create the template and try to use it? Which browser are you using?

Tim.turner (talkcontribs)

that's the one, i did create the template but i left the #replace in both places alone. wasnt sure what to do with it, the text said to just paste it in. {{unc | \\servername\SharedFolder}} just gave me another about:blank

im using chrome but i enabled locallinks in chrome

Reply to "noob hyperlink to another server in network???"
2620:11E:1000:120:3EA9:F4FF:FE85:CA50 (talkcontribs)

I am migrating our old wiki to MediaWiki 1.28.0. To that end, I have exported all of the old wiki pages and am now trying to import them to MediaWiki via the API. But when I try, I get the following response back from the server (in JSON):

{'error': {'code': 'cantimport-upload', '*': 'See http://localhost/api.php for API usage', 'info': "You don't have permission to import uploaded pages"}}

I am trying to do this in Python, but will happily accept solutions or examples using curl.

From an account in the Administrator group, I created a bot password. Here's is what I have so far:

import json
import os

import requests

bot_endpoint = 'http://localhost/api.php'
bot_username = 'Admin@Migration'
bot_password = '<censored>'

session = requests.Session()

with open('/temp/test.xml') as f:
    xml_out = f.read()

# get a login token
login_token_params = {'format':'json', 'action':'query', 'meta':'tokens',
    'type':'login'}
resp = session.get(bot['endpoint'], params=login_token_params)
login_token = json.loads(resp.text)['query']['tokens']['logintoken']

# login to api
login_params = {'format':'json', 'action':'login', 'lgname':bot['username'],
    'lgpassword':bot['password'], 'lgtoken':login_token}
resp = session.post(bot['endpoint'], data=login_params)

# get a csrf token
csrf_token_params = {'format':'json', 'action':'query', 'meta':'tokens',
    'type':'csrf'}
resp = session.get(bot['endpoint'], params=csrf_token_params)
csrf_token = json.loads(resp.text)['query']['tokens']['csrftoken']

# try to upload a file
import_params = {'format':'json', 'action':'import', 'token':csrf_token }
resp = session.post(bot['endpoint'], data=import_params,
    files={'file': ('dummy.xml', xml_out)})


print(json.loads(resp.text))

When I run this, I get the error above. It's possible that I'm not uploading/importing the XML correctly, but good examples of this in python are hard to come by.

I have verified that the user is in the Administrator group (which contains the "importupload" permission). However, when I check the bot in Special:BotPasswords, I don't see any particular grants for importing files. Furthermore, following the link to Special:ListGrants, neither "import" or "importupload" appear there either.

I am certain I am barking up some kind of tree here, just don't know which is the wrong one.

2620:11E:1000:120:3EA9:F4FF:FE85:CA50 (talkcontribs)

ugh, the formating of the code got messed up :(

MarkAHershberger (talkcontribs)

Are you sure you're not getting any errors from the login calls?

2620:11E:1000:120:3EA9:F4FF:FE85:CA50 (talkcontribs)

Yes, fetching the tokens and logging in work just fine, no errors.

2620:11E:1000:120:3EA9:F4FF:FE85:CA50 (talkcontribs)

Also I see some other typos in my script... I copied and pasted a few things wrong, but the original script is working correctly. (Substitute bot['endpoint'] for bot_endpoint, etc.)

Reply to "Import via API permissions issue?"

repository key for parsoid install broken(?)

3
63.249.65.78 (talkcontribs)

The instructions to install parsoid are not currently working. Importing the repository gpg key fails

$ sudo apt-key advanced --keyserver pgp.mit.edu --recv-keys 90E9F83F22250DD7 
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.b9vmmIeB7V --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver pgp.mit.edu --recv-keys 90E9F83F22250DD7
gpg: requesting key 22250DD7 from hkp server pgp.mit.edu
gpgkeys: key 90E9F83F22250DD7 can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
MarkAHershberger (talkcontribs)

Worked for me. Do you need to use a proxy? What happens if you try again?

mah@flynn:~$ sudo apt-key advanced --keyserver pgp.mit.edu --recv-key 90E9F83F22250DD7
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.Tn0In9MQ3T --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/ansible-ansible.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyring /etc/apt/trusted.gpg.d/mjblenner_ubuntu_ppa-hal.gpg --keyring /etc/apt/trusted.gpg.d/saltstack-salt.gpg --keyring /etc/apt/trusted.gpg.d/shredder-nightly-archive-automatic-2013.gpg --keyserver pgp.mit.edu --recv-key 90E9F83F22250DD7
gpg: requesting key 22250DD7 from hkp server pgp.mit.edu
gpg: key 22250DD7: public key "MediaWiki releases repository <wikitech-l@lists.wikimedia.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
mah@flynn:~$ 
63.249.65.78 (talkcontribs)

Works for me now as well. Not sure what the issue was as I haven't changed anything.

Thanks for checking.

Reply to "repository key for parsoid install broken(?)"

Users cannot login after switch to https (cookies)

4
Subfader (talkcontribs)

I switched to https a few days ago and now I have users complaining that they cannot login.

On different browsers (FF, Safari) and with activated cookies they get the error:

  Login error
  MyWiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.

I cannot reproduce it, but since a few reported it already...

My settings (changed on switch):

   $wgServer = "//www.mywiki.com";
   $wgCanonicalServer = "https://www.mywiki.com";

My settings (unchanged since switch):

   $wgCookieDomain = "www.mywiki.com";
   $wgCookieExpiration = 31104000; // 1 year

What could I try?

Ciencia Al Poder (talkcontribs)

Tell them to try to login using private browsing. If that works, then they should clear their cookies.

Subfader (talkcontribs)

I told them directly to clear their cookies. No feedback yet.

Subfader (talkcontribs)

A chrome user has reported details now:

  • Windows 10
  • Chrome 55.0.2883.87 m (64-bit)
  • all extensions disabled
  • also in incognito mode

Please let me know what the problem could be, I cannot reproduce it :(

Reply to "Users cannot login after switch to https (cookies)"