Project:Support desk

Jump to: navigation, search

About this board

vde   Welcome to'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".
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

LuaSandbox configure script does not find Lua libs

Stromoxpage (talkcontribs)

I have MW 1.28 and Lua 5.1 on Arch Linux. I'm trying to build LuaSandbox so I can get Scribunto to work.

I need Scribunto to run the Template:Navbox that Wikipedia uses; that's my goal.

Trying to build with: $ sudo phpize && sudo ./configure && sudo make && sudo make install

but ./configure fails with this message:

checking for lua >= 5.1 lua < 5.2... no

checking for lua5.1... no

checking for lua-5.1... no

checking for luajit... no

configure: error: Package requirements (luajit) were not met:

No package 'luajit' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables LUA_CFLAGS

and LUA_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

I have the required Lua libs:

$ ls /usr/include/lua5.1
lauxlib.h  lua.h  lua.hpp  luaconf.h  lualib.h

And I've tried export LUA_LIBS='-L/usr/include/lua5.1' and export PKG_CONFIG_PATH='/usr/include/lua5.1' but no change.

How do I get LuaSandbox to build?

Reply to "LuaSandbox configure script does not find Lua libs"
PaleoIsh (talkcontribs)

I'm trying to redirect to a section on my internal Wiki (e.g. #REDIRECT [[target_page#section]]). While the redirect will link to the document, it will not go to the section itself.

Do you know if there's a known issue with respect to this? I have seen JavaScript as a possible cause (, but I have it enabled.

Thank you.

Reply to "Redirects to sections" (talkcontribs)

I try to register to the wiki and help translate/create and i cannot confirm my email, i always got a message : Failed to connect to [SMTP: Failed to connect socket: Connection refused (code: -1, response: )]

My mail is

I always use this mail for years now and i am always receiving/sending all my mail from there but your server doesn't seem to be able to send me one.

Reply to "mail confirmation"

What editor is this mediawiki using and is it included in the latest mediawiki install package?

6 (talkcontribs)

What editor is this mediawiki using and is it included in the latest mediawiki install package? (talkcontribs)

Ok so looks like its just called visual eidtor, is it part of the latest mediawiki install?

Cloakedboltz (talkcontribs)

I could be wrong but I think it uses WikiEditor since 1.26. (talkcontribs)

what this wiki ( uses wikieditor thats included in the installs since 1.26?

Cloakedboltz (talkcontribs)

It appears they are using this extension: VisualEditor

This is not included with MediaWiki.

Wargo (talkcontribs)

There are number of "editors" and you can switch between them. For visual editing (WYSIWYG) is VisualEditor but if you mean more advanced toolbar in sourcecode editing, it may be WikiEditor.

Reply to "What editor is this mediawiki using and is it included in the latest mediawiki install package?"
2600:1010:B059:3F8E:9840:A903:4083:D2FD (talkcontribs)

I've been to Encyclopedia Dramatica once, and had learned that it is a bad site with inappropriate pics, bad words, and... you guessed it... lots and lots of drama. Can you please take Encyclopedia Dramatica down?

Zoranzoki21 (talkcontribs)

It is not part of the Wikimedia Foundation.

Reply to "About Encyclopedia Dramatica"

Warnings after Migrating from MySql to sqlite3

Cbo0485 (talkcontribs)

Due to reasons out of my control I had to move my instance of mediawiki from mysql to sqlite3.

New Version Info:

MW 1.25.1

php 5.6.9 (apache2handler)

SQLite with full-text search support

In doing so it went pretty smooth, I followed the basic directions found at:

As far as I can tell all the functionality is working. I can browse from page to page, viewing images works, creating new pages works, modifying existing pages works. But on every page I have the following at the top of the page:

Notice: unserialize(): Error at offset 65 of 6279 bytes in /opt/apps/asa/apache/asaSite/htdocs/wiki/includes/cache/LocalisationCache.php on line 1161

Warning: Invalid argument supplied for foreach() in /opt/apps/asa/apache/asaSite/htdocs/wiki/includes/cache/LocalisationCache.php on line 411

This also shows up when trying to add an image to a page when using the WYSIWYG editor. Images do still work though, b/c if I switch over to the Source portion in WYSIWYG, and type in the mediawiki syntax to add an image, the image shows up on the page.

Reply to "Warnings after Migrating from MySql to sqlite3"

URLs to Uploaded Files are Being Unintentionally Redirected

Jordan Barden (talkcontribs)

Hello all:

I have a MediaWiki installation--viewable at ""--that is running MediaWiki 1.27.1, PHP 5.6.27 and MySQL 5.1.56, and have come across a couple of issues that have me stumped.

1. The URLs to some of the uploaded files are redirecting improperly when accessed without the "www." prefix. For example, when I click on, the "www." prefix is appended, as intended, but the "w/images/" portion is being stripped from the URL.

I have no clue why this is happening, given the current .htaccess file, the contents of which follow:

RewriteEngine On

RewriteCond %{HTTP_HOST} ^alecexposed\.org$ [NC]

RewriteRule ^(.*)$$1 [L,R=301]

RewriteRule ^/?wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA]

RewriteRule ^/?wiki/*$ /w/index.php [L,QSA]

RewriteRule ^/*$ /w/index.php [L,QSA]

2. Additionally, it appears that some of the uploaded files are not searchable within the list of uploaded files (, despite the fact that they do appear in the list. I ran rebuildtextindex.php to rebuild the search index but it did not fix the problem.

I'm not sure if these two issues are related or it's just a coincidence that they are occurring simultaneously.

Any assistance you can give me is greatly appreciated.

Thank you!

Ciencia Al Poder (talkcontribs)

there must be another .htaccess somewhere. Is this one the .htaccess inside the /images folder? in this case, it may be this:

RewriteRule ^(.*)$$1 [L,R=301]

Although it's a bit strange because this one will append the whole URL at the end of the server name. The [L] will skip processing the rest of the rewrite rules.

Reply to "URLs to Uploaded Files are Being Unintentionally Redirected" (talkcontribs)

Hi. I'd like to know how to hide the title of a page, like the Wikipedia main page, for example.

Thank you.

Ciencia Al Poder (talkcontribs)

See Manual:FAQ#How do I hide the main page title?

Reply to "Hide page title"

Users not receiving confirmation code to validate email

Summary by Jan.Archer

I just figured out that I had not put in the correct IP address in the #wgDBServer field! DUH.

Jan.Archer (talkcontribs)

I've just installed 1.27.1 and BlueSpice 2.27. I'm having trouble with users not getting an email with confirmation code. LocalSettings.php has this:

$wgEnableEmail = true;

$wgEnableUserEmail = true; # UPO

$wgEmergencyContact = "";

$wgPasswordSender = "admin@AWPDesign";

$wgEnotifUserTalk = true; # UPO

$wgEnotifWatchlist = true; # UPO

$wgEmailAuthentication = true;

The wiki is an internal company wiki and only internal users will be using it. I've been reading about $wgSMTP but am confused about how to make this work.

I'm running the wiki on a Windows 2012 R2 system.

Any help would be appreciated.

Olcaorakci (talkcontribs) giving this error. I have Adobe flash player installed and activated on chrome.

Reply to "Translation box doesn't work"