# Project talk:Support desk

Archives

Please don't post requests for support on this talk page, do that on the actual Support desk instead.

Previous discussion was archived at Project talk:Support desk/Archive 1 on 2016-09-21.

## Out of memory - No luck using memsize=63

2

I wrote a baseball program with over 6500 lines of code (using functions, etc.) and I'm at a point where I cannot add any more code. Out of memory. Is there any way to add memory? I'm at memsize=16 but nothing else will work.

You can use ini_set function in your code.

Reply to "Out of memory - No luck using memsize=63"

## Backed-up by primary sources content was refused

3
Summary by Tropicalkitty

Outside of MediaWiki.org's scope, see Project:About.￼

This post was hidden by Sir artur (history)

Welcome, this is the support desk for installing and running the MediaWiki software. Unfortunately, we cannot help you with your question.

oh, really sorry. I thought it is a place for such controversies. Sorry. I am ashamed. Where should I contact?

## MediaWiki 1.30 : Internal Error

1
Summary by SteveGAU

Just noticed that I'm not meant to post support requests here. Apologies.

I am trying to get MediaWiki set up locally but I am getting the title error, followed by:

---------------------------------------------------------

Installing some PHP extensions is required.

Required components

You are missing a required extension to PHP that MediaWiki requires to run. Please install:

- fileinfo

---------------------------------------------------------

- I have PHP v7.0 installed and verified the next 2 points in both the x86 and x64 directory.

- the 'php_fileinfo.dll' file is located in the ext/ directory

- I have added the line: ' extension=php_fileinfo.dll ' into the php.ini file and it is not commented out.

Just wondering if I'm missing something basic? :P Or if anyone has any idea...

## New Wikimedia Developer Support channel (test pilot)

2

Hi, https://discourse-mediawiki.wmflabs.org/ has just been announced.

As explained at Discourse#One_place_to_seek_developer_support, Project:Support desk has been until now the only channel whose main purpose is to offer support for developers and other technical contributors. As maintainers of the Support desk, you are invited to check the new Wikimedia Developer Support test pilot. Your feedback will be key to decide the next steps of this pilot and its relationship with Support desk.

While in Discourse (the software used in this new space) users get more permissions automatically as they make useful contributions to the project, I think that those of you maintaining the Support desk could be assigned directly the Moderator role there. If you are interested, create a new user in the Discourse instance and ping me.

Also, what would be the best way to proceed advertising Wikimedia Developer Support here at the Support desk? Reasonable options could go from not announce it (to avoid confusion to users landing here) to direct developers to invite developers to use the test pilot space instead (which would bring more traffic and therefore better conditions for a good test).

Reply to "New Wikimedia Developer Support channel (test pilot)"

## How to implement OTP...

2
Summary by MarkAHershberger

How to implement OTP enable login...

## How to get Parsoid always running on Windows Server 2012 so ViaualEditor Works

8

Hi, I'm really struggling getting Parsoid running on Windows Server 2012 R2 ans stay running when I close the command prompt window

I can Get Visual Editor working when I run in CMD (or PowerShell):

node bin\server.js ("node bin\server.js &" or "node bin\server.js > stdout.txt 2> stderr.txt &")

Visual Editor runs when I leave this window open, however as soon as I close it, log off or anything that terminates it, Visual Editor stops working.

How am I able to run this command and keep it working and not have it rely on my profile also?

I have copied "C:\Users\%UserName%\node_modules" to the Root of the C:\ and it works running it from there so it's no longer profile reliant. However I still can't get it to run without closing a the window.

I have setup a windows domain account that doesn't have desktop access so it can run scheduled tasks if required but I am not successfully got it running allowing wiki to work, or without flooding the task manager with loads of node.exe's, so I'm still stuck on the always running part

Thanks, this isn't working for me? I did the parts:

The recommended way to install node-windows is with npm, using the global flag:

npm install -g node-windows

Then, in your project root, run:

npm link node-windows

Then ran the .vbs file with the code in it (with my edits and as it is to make sure typo's etc):

var Service = require('node-windows').Service;
// Create a new service object
var svc = new Service({

name:'Hello World',
description: 'The nodejs.org example web server.',
script: 'C:\\path\\to\\helloworld.js'

});

// Listen for the "install" event, which indicates the
// process is available as a service.
svc.on('install',function(){
svc.start();
});

svc.install();


My Edits:

var Service = require('node-windows').Service;
// Create a new service object
var svc = new Service({

name:'WikiMedia Parsoid Service',
description: 'The nodejs.org example web server.',
script: 'C:\\node_modules\\parsoid\\bin\\server.js'

});

// Listen for the "install" event, which indicates the
// process is available as a service.
svc.on('install',function(){
svc.start();
});

svc.install();


But I get the error each time:

---------------------------
Windows Script Host
---------------------------
Script:    C:\Users\alacey\Desktop\TEST.vbs
Line:    1
Char:    23
Error:    Syntax error
Code:    800A03EA
Source:     Microsoft VBScript compilation error
---------------------------
OK
---------------------------


Am I missing something obvious here?

Kind regards

It says it is erroring out on character 23 of line 1. Make sure you aren't using smartquotes there and that it is just a regular, ascii apostrophe.

Also, make sure you have node-windows installed.

Let me know if neither of those fixed it.

I've retyped the characters in case copy and paste did anything and made sure node-windows by running it again in the I said above was installed with the results below,

npm install -g node-windows

+ node-windows@0.1.14

added 5 packages in 1.433s

but it still doesn't work and returns the same error message

Try the other answers from the link I gave above. One of them should work. Unfortunately, I don't have any experience with node.js running as a service under windows.

No worries, thanks for your assistance so far @MarkAHershberger, I will use the Task Scheduler on start up to run the node.exe, it runs the node.exe averagely that 34 times but not loads more it seems, so they will do as it is working.

Many thanks

Reply to "How to get Parsoid always running on Windows Server 2012 so ViaualEditor Works"

## Mediawiki 1.23.3 site not working

2

Hi,

We had used mediawiki 1.23.3 and we have stopped using it for sometime now. But when i tried to use the site recently it's not working as expected. Is there any general reason that might be causing this like is this related the version of mediawiki. My mediawiki site looks like below. Even if i try to navigate any of the following links say 'main page' or 'login', it's throwing the "HTTP Error 404.0 - Not Found".

Kindly help me with this as am not able to find a reason to why it's not working properly.

---------------------------------------------------------------------------------------------------------------

### Personal tools

• 127.0.0.1
• Talk for this IP address

• Special page

### Actions

• Main page
• Recent changes
• Random page
• Help

### Tools

• Special pages
• Printable version
• Disclaimers

-----------------------------------------------------------------------------------------------------------------------------

Thanks & regards,

Sethu

Reply to "Mediawiki 1.23.3 site not working"

## Changing MathML font size to match surrounding text

2

I don't have an immediate answer for your question ("How can one alter the rendered font size of MathML?") but I will point out that Wikipedia is using mathoid which is not part of the default MW install with the Math extension.

Reply to "Changing MathML font size to match surrounding text"

## Error with MobileFrontend

3
Summary by MarkAHershberger

I get this full error log version 1.29.1: Only when mobile front end is enabled:

[db99bfb7fb2c5122cb162fb4] /mediawiki-1.29.1/ MWException from line 561 of /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/cache/localisation/LocalisationCache.php: LocalisationCache::readJSONFile: Invalid JSON file: /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/extensions/MobileFrontend/i18n/en.jsonBacktrace:#0 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/cache/localisation/LocalisationCache.php(900): LocalisationCache->readJSONFile(string)#1 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/cache/localisation/LocalisationCache.php(462): LocalisationCache->recache(string)#2 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/cache/localisation/LocalisationCache.php(379): LocalisationCache->initLanguage(string)#3 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/cache/localisation/LocalisationCache.php(294): LocalisationCache->loadSubitem(string, string, string)#4 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/languages/Language.php(2582): LocalisationCache->getSubitem(string, string, string)#5 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/cache/MessageCache.php(918): Language->getMessage(string)#6 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/cache/MessageCache.php(873): MessageCache->getMessageForLang(Language, string, boolean, array)#7 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/cache/MessageCache.php(814): MessageCache->getMessageFromFallbackChain(Language, string, boolean)#8 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/Message.php(1257): MessageCache->get(string, boolean, Language)#9 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/Message.php(842): Message->fetchMessage()#10 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/Message.php(934): Message->toString(string)#11 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/title/MalformedTitleException.php(49): Message->text()#12 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/title/MediaWikiTitleCodec.php(312): MalformedTitleException->__construct(string, string)#13 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/Title.php(3415): MediaWikiTitleCodec->splitTitleString(string, integer)#14 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/Title.php(355): Title->secureAndSplit()#15 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/MediaWiki.php(84): Title::newFromURL(NULL)#16 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/MediaWiki.php(140): MediaWiki->parseTitle()#17 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/MediaWiki.php(777): MediaWiki->getTitle()#18 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/includes/MediaWiki.php(523): MediaWiki->main()#19 /misc/26/000/343/282/2/user/web/antimalwareprogram.co/mediawiki-1.29.1/index.php(43): MediaWiki->run()#20 {main}


The problem is a corrupted en.json file. You can see this from this bit of the message:

Invalid JSON file: .../extensions/MobileFrontend/i18n/en.json