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

I was just wondering, is it possible to get a bare bones version of the Modern, Monobook and Vector skins at all?

Malyacko (talkcontribs)

What does "bare bones" mean?

TheDJ (talkcontribs)

There is the example skin. Does that suit your needs ?

Reply to "Bare bones versions of skins"
শাহাদাত সায়েম (talkcontribs)

Hey, Can I use Extension:ZeroPortal for free content service for my wiki site? -শাহাদাত সায়েম (talk) 07:59, 23 January 2017 (UTC)

Malyacko (talkcontribs)

Are you a mobile provider? :)

Reply to "Extension:ZeroPortal"

Premature end of script when upgrading from mediawiki-1.26.2 to mediawiki-1.28.0

1
Summary by TheGreatPiata

The problem was Dreamhost's VPS. MySQL is terribly slow, especially during business hours. I waited until after 5pm and the upgrade went through, very slowly.

TheGreatPiata (talkcontribs)

Hi, I'm trying to upgrade my media wiki from 1.26.2 to 1.28.0 and when upgrading the tables in the database I get an internal server error. I checked the log and it's saying there's been a premature end of script:

[error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.php, referer: http://website.com/w/mw-config/?page=Upgrade [Tue Jan 24 12:33:22 2017]

Any idea how I can solve this?

I'm going through the standard wiki upgrade process. Clean directory with LocalSettings.php only.

Server is Dreamhost VPS running MySQL 5.6 and PHP 5.6.29.

Thanks.

Mcelwain1 (talkcontribs)

Our Ward recently assigned a blind member as a Visiting Teaching Coordinator. She is having trouble navigating lds.org to report visits. She previously was called to the same position several years ago before we went to electronic reporting. Is there a app or different site that can help her fulfill her calling?

Malyacko (talkcontribs)

Welcome on the support desk for the MediaWiki software. lds.org does not run MediaWiki and is an unaffiliated third-party website, hence your question is off topic for this support desk.

Reply to "Vision impaired and lds.org"

Change Special:ListFiles list default view to 500

1
Ohmyiv (talkcontribs)

Hi,

I would like to change the Special:ListFiles default list viewing size from 50 to 500. Is that possible and can someone point me to the right file to edit? I'm having a hard time finding it.

Thanks!

Reply to "Change Special:ListFiles list default view to 500"
Indo583 (talkcontribs)

Hello,

I am unable to view the embedded flash objects on the machinations wiki. Instead of displaying the game diagrams, it shows a mirror of the wiki page. I have tried different web browsers and making sure flash and java are up to date. An example of the issue can be found on this page: http://www.jorisdormans.nl/machinations/wiki/index.php?title=Pac-Man

Thanks, Matt

Reply to "Imbedded flash objects not displaying"
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

He7d3r (talkcontribs)

I don't know. I remember seeing some changes to the MediaWiki code related to this since 2014, and I don't know what is the recommended way to customize this toolbar nowadays (some of my scripts also change the toolbar and I've seen this issue).

You could try asking some other users who developed scripts for customization of the toolbar: Extension:WikiEditor/Toolbar customization#See also.

Reply to "WikiEditor issue"

How to install MediaWiki on subfolder in Centos 7

1
Mattlcass (talkcontribs)

I am currently trying to install MediaWiki to the subdirectory, /var/www/html/w/ in Centos 7 alongside Wordpress (in the root), but am receiving a 500 error when trying to access any pages in /var/www/html/w/. Prior to installing MediaWiki to the directory I was able to access a test index.php file with no trouble. My error log does not show anything, other subdirectories work correctly, and I have an .htaccess file with the following...

RewriteEngine On RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L] RewriteRule ^/*$ %{DOCUMENT_ROOT}/w/index.php [L]

I've also set ownership of the /var/www/html/w/ directories recursively to apache:apache, and the permissions to 755.

Do you know why I can't install, and get the 500 error? Thank you.

Reply to "How to install MediaWiki on subfolder in Centos 7"

MediaWiki doesn´t work after a phpbb Update?!

1
31.16.250.60 (talkcontribs)

Hello,

i have a Phpbb3 Forum and a MediaWiki. I have updated the phpbb3 forum from 3.1.9 to 3.2. Now my Wiki doesnt work

I think the reason it the phpbb/mediawiki Bridge?

Extension:Phpbb Single Sign-On

can someone help me?

Reply to "MediaWiki doesn´t work after a phpbb Update?!"
96.4.216.7 (talkcontribs)

Hi, I am a teacher creating a makerspace at school, and I would love to have permission to use some of your Code of Conduct in my classroom. If I attribute credit, may I use parts of it? Thanks!

Ciencia Al Poder (talkcontribs)

The content is provided under the terms of the CC-BY-SA 3.0 and GFDL licenses, so I guess that yes, you can, if you give the proper attribution required from those licenses. Pinging @Qgil-WMF: just in case.

Qgil-WMF (talkcontribs)

Of course! I am very happy to see that you find it useful. You might be also interested in Expected behavior.

96.4.216.7 (talkcontribs)

Wonderful! Thank you so much! Just found it to be very well said and clear. I'll be sure to give credit, and I'll check out the Expected behavior section as well. Thanks for being excellent pioneers and examples. I'm finding the wiki very helpful.

Reply to "Permission to use Code of Conduct"