Project:Support desk

Jump to navigation Jump to search

About this board

Welcome to the MediaWiki Support desk, where you can ask MediaWiki questions!

(Read this message in a different language)

See also

Other places to ask for help:

Before you post

Post a new question

  1. To help us answer your questions, please indicate which versions you are using, as found on your wiki's Special:Version page:
    • MediaWiki version
    • PHP version
    • Database type and version
  2. Please include the web address (URL) to your wiki if possible. It's often easier for us to identify the source of the problem if we can see the error directly.
  3. To start a new thread, click "Start a new topic".

Navbox, can't seem to get it working

5
122.111.236.125 (talkcontribs)

Hi there, I'm sure questions have been asked regarding Navbox before, however I've search google, mediawiki, youtube, wikipedia and can't seem to find the exact thing.


So I've compiled the so called code for a Navbox, based on templates found on Wikipedia and Mediawiki. I've tested the code on the wikipedia website and it works, however when I go and save it on my own wiki, the navbox comes up as so:

Template:Navbox Template:Collapsible option

and in red.


As mentioned in the previous paragraph, I copy across the same compilation into a pre-existing Wikipedia template just to test it out and the template appears correctly in the preview option.


I would assume that there is something else that needs to be enabled or turned on somewhere?

I am running the latest version of Mediawiki, I have double checked and I do have those extensions that people have vaguely mentioned in other posts Parserfunction and Scribunto, however I have not touched anything in there as I am not sure on where to go or what to do as I can't seem to find anything online relating to the exact issue i present above.


Any help would be greatly appreciated. I do apologise in advance if this is a stupid question. I've only just installed mediawiki and played around with it the last 2 days :)

Malyacko (talkcontribs)

The two links link to non-existing pages. Also, which specific documentation (link) do you follow?

122.111.236.125 (talkcontribs)

Template:Navbox

https://en.wikipedia.org/wiki/Template:Navbox


so what I'm saying is, on my wiki it comes up with 1 line Template:Navbox Template Collapsible option


when I copy the same coding over to wikipedia.com and click on preview, it opens up showing the navigation box that normally appears on some articles at the bottom of the screen


So I do not understand why that is the case, since its the same coding that I've applied


Also when I copy the code below it shows it in the table as a navbox


Template:Collapsible option

B1Bayon (talkcontribs)

Even when I've put a basic one, when i go to save the page, it simply shows "Template:Navbox" on the page, it doesn't show the table out previewable here on mediawiki

B1Bayon (talkcontribs)

so I've worked out that i need the module setup/template setup which I've done So i managed to work out to allow permissions to run the LUA executable, and also installed extensions templatestyles so the import of Module:navbox and template:navbox worked Now the hopefully the last issue I have regarding this, when I open the template:navbox on my wiki it comes up with this error: Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.

Reply to "Navbox, can't seem to get it working"

After i import some template from English wiki to my own wiki, template styles are broken.

1
Emojiwiki (talkcontribs)
Reply to "After i import some template from English wiki to my own wiki, template styles are broken."
Faribi (talkcontribs)

����=ko�Ǒ��_���"2�Y�.I�!r/�E���e���H¢w�w��ٙ�yp�v�$98�p8��� �9�8�C�>96�!q�������_rU��3�O>D��`æw��������������{[�?���:I׫Ϭ�����8ް�O ?���il1��� ��[̕ц�%����w�]�p�tx��d�z{w�^��<��'��i����l+H���-�Fڅ��d���,��C���n������GG����|yt����/��>^�W�f�c'�aRw�'��qe�a����H�˻"#������ֽ�;��Y���H��Z���k���=�!�x�D����V�uwy����#�*Y��lsS�e2Z_y�T�'�����d�q��8��8Y~��� 8����?�="����"���WG��;:���?�������c��G����S��i�U����_��|>���U_ W����NE��r�k?��?�>��y�{���Np���o�Aoss�Y��������w���-���t�G��9�X�@��P8�{�y[`#����M�M�Yk�,�[YF ������ %h(%h�~C+A�����E�/@�H}��i�@��X�>�aueU1f�h3J�� ,Y\�aɭX���*�����Nb���$���ۗB��v,"5L?�u�\������0{�����螿�IgoLͶ� ����Od�rB�DHg��� �R|D)�(�)�)-S��'(�~��=�ɝ�X�����a����F�$��7�w?mˆ;�Oa��>�/���c�0b��2��^���zG�$��5m��������]Au����=5������@�v�I�F�$zqj��;�Lv�PUw`j����YP��A䢖��px�O��5�{�6d����@�w'k����o��B�µf�8��Г-)�]5�Jq�7����e������9���w7w�a �A��q�����!vqe��%����D{�!��7 ��[ط�Ѹ��(;c���������2��qm�%اkV�Z���]�t�ie�LcjRY��YױuM�Љ� h\���5���[�p|���+�-K_�p����揷�ܻ������h������`��έ'���O�9���n��ѓ������g?{�d���qg������s�u{e�����hr�g���G�λmi�2�(=}+�Q�����+b����'�ޛ������< %�I�'�t��g�Z%Q��b�0���ǖ���EN���%���t�"�o_Y2m�����o��`��X$� K�MG��b�H�6���?��/����ɩo�?����M�1�8�����v�$��˵-�

Vincent Eisfeld (talkcontribs)

Do you use MW 1.35? I got this error with Safari, Chrome, Explorer... but Mozilla works! I just change the PHP (from CGI/FastCGI to FPM).

Malyacko (talkcontribs)
122.111.236.125 (talkcontribs)

I actually had the exact same issue, when i first installed mediawiki onto my domain 2 days ago. That it only worked on firefox.

I contacted my webhost and they were able to fix it on their end and now it works fine on all browsers and devices.

Peculiar Investor (talkcontribs)

It would be helpful to the community and those who have encountered this problem if you could share what the webhost changed/fixed that resolved the problem.

Faribi (talkcontribs)

122.111.236.125 How do I view it in Google chrome other browser no

122.111.236.125 (talkcontribs)
Reply to "Mediawiki error"

Can I proceed to delete these users from the database?

7
Goodman Andrew (talkcontribs)

I have deleted their contributions, but they all have a message in their user_talk which was added by the extension:new_user_message when they signed up, but since that is not their contributions technically, would it caused a problem?

In other words, must I removed the talk message from their user_talk page before I proceed? But there's no easy way to do this, unlike their contributions which was easily removed with Special:Nuke.

The maintenance script: RemoveUnsedAccount.php doesn't seem to work, maybe because of the welcome talk message in them.

Please advise.

This trouble concerns MW_1_35

Malyacko (talkcontribs)

deleted their contributions how? Please provide clear steps.

Goodman Andrew (talkcontribs)

@Malyacko: Their only contributions was in the user namespace, where they wrote nonsense and added a url, so I just Nuke their userpage, but I couldn't nuke the associated talk_page where the only message there is the one added by the extension:new_user_message.

Goodman Andrew (talkcontribs)

Strange but I went ahead an risk it.

What I have discovered is, even when I deleted the user from the database the number of registered user from Special:Statistics hasn't changed yet and the talk_page message still exist even when the Unser is deleted from the database.

But when I visit the user page for example Christy57J, MediaWiki says: 'User account "Christy57J" is not registered. Please check if you want to create/edit this page.'

But when I visit it user_talk page, I see the welcome message that was added by extension:new_user_message when the account was registered.

Is there something I should worry about or proceed to delete all the account I wanted likewise?

@Bawolff: @Malyacko:

Malyacko (talkcontribs)

(Please don't ping random people for no reason - thanks a lot!)

Bawolff (talkcontribs)

you should probably not delete random records from the database due to potential referential integrity issues.


What you describe (statistics wrong and user talk page still present) is what is expected (among other things) if you try and delete users in db.


If you want tk delete users, try extension:UserMerge or the hideuser right.

Goodman Andrew (talkcontribs)
Reply to "Can I proceed to delete these users from the database?"

VisualEditor not enabled 1.35.1

7
RookieBeard (talkcontribs)

Dear Support,

I am new to this, but installed MediaWiki hosted via Siteground.

The version is 1.35.1.

As far as I know, with this version the VisualEditor is enabled and installed by default.

When I go to my website to edit, VisualEditing is not available. There is also no Edit Source button available, meaning edit source is the only option. Nowhere in the settings can I enable this.

In my filemanager, I do see VisualEditor.

Do I still need to do something before the VisualEditor is enabled?

Bawolff (talkcontribs)

Is it listed as enabled on the page Special:Version on your wiki?

Whether or not it is enabled by default depends on what options you selected in the installer. If its not enabled, you typically have to add a wfLoadExtension line to LocalSettings.php. See also Extension:VisualEditor.

RookieBeard (talkcontribs)

In my page special, I see the following:

Installed extensions:

Extension Version License

VisualEditor 0.1.2 MIT


I have tried to add the following line to localsettings.php

wfLoadExtension( 'VisualEditor' );

After that, I get the error when I try to edit in my website:

"Error contacting the Parsoid/RESTBase server (HTTP 500)"

Am I missing something?


Update edit:

I have now changed the extension.json document from false to true and the popup seems gone, but still not working as intended, the changes below:


       "VisualEditorRestbaseURL": {

           "value": true

       },

  "VisualEditorFullRestbaseURL": {

           "value": true

       },

       "VisualEditorEnableWikitext": {

           "value": true

       },

       "VisualEditorEnableWikitextBetaFeature": {

           "value": true

       },

       "VisualEditorEnableDiffPage": {

           "value": true

       },

       "VisualEditorEnableDiffPageBetaFeature": {

           "value": true

       },

       "VisualEditorUseSingleEditTab": {

           "value": true

       },


Currently, when I try to edit, the visual editor now is usable.

However, when I edit, the previous texts are not showing up. So everytime I edit, there are no previous texts.

Furthermore, the Parsoid/RESTBase server (HTTP 500) error pops up when I use the edit on a heading.

How do I fix this?

Bawolff (talkcontribs)

You should not change anything in extension.json. extension.json provides the defaults. If you want to override the defaults you put something like $wgSETTINGNAMEHERE = true; in LocalSettings.php. You probably also don't want to be changing some of those from the default (I have no idea what changing VisualEditorRestbaseURL from false to true will do, but its probably not something you want).

Are you sure you have the right version of Visual Editor for your version of MediaWiki (e.g. its the version that was included with the tarball). I believe in 1.35 VisualEditor no longer requires separate restbase/[js]parsoid

RookieBeard (talkcontribs)

I have this version of visualeditor:

{

   "name": "VisualEditor",

   "version": "0.1.2",


The version of MediaWiki is

<?php

# This file was automatically generated by the MediaWiki 1.35.1


I also thought 1.35 did not require seperate parsoid, somehow I keep receiving this error by default.

How can I prevent this error from happening (after enabling the the VirtualEditor by using this wfLoadExtension( 'VisualEditor' )

"Error contacting the Parsoid/RESTBase server (HTTP 500)"

RookieBeard (talkcontribs)

Dear Support,

I am still trying out everything, still without luck.

Do you happen to know to solution to this issue, using the VisualEditor?

"Error contacting the Parsoid/RESTBase server (HTTP 500)" ?

Thanks in advance.

SalSocks (talkcontribs)

I am also having this exact same issue using Siteground. Were you ever able to solve it? Thanks.

Reply to "VisualEditor not enabled 1.35.1"

This category has the following N subcategories, out of N total.

3
A-lú-mih (talkcontribs)

In every category page there is a message saying something like "This category has the following 15 subcategories, out of 15 total" which contains two numbers.


It seems in most cases the two number have same value, and I don't understand what this "total" means. Or maybe a more direct question: At what condition these two numbers would have different values?


Thank you.

Bawolff (talkcontribs)

if there are more than 200 or less than 2.

That said, i thought we displayed a diffferent message for small categories.

A-lú-mih (talkcontribs)

Thanks. I forgot it could be paged.

Change default text in search bar

2
Shadibasyuni (talkcontribs)

How can I change the default text in my search bar. On desktop view it is currently correct but on mobile view the name of the site is wrong ("&amp;" is coming up in between my wiki title)

Bawolff (talkcontribs)

you might want to file a bug at https://phabricator.wikimedia.org about this double escaping issue.


You can usually append ?uselang=qqx (or &uselang=qqx) to find which page in the mediawiki namespace controls which part of the interface.

Reply to "Change default text in search bar"

Showing weird characters on every page on my mediawiki

3
Michael13414 (talkcontribs)
Malyacko (talkcontribs)
Peculiar Investor (talkcontribs)

If you are running MediaWiki 1.35.x then Yes. Known issue T235554. There are a number of other topics here with possible workarounds to try.

Reply to "Showing weird characters on every page on my mediawiki"

Extension to add edit summary after page revision has been saved

1
Jonathan3 (talkcontribs)

Does such a thing exist? Sometimes I forget to add an edit summary, and sometimes it would be good to edit one that's been made. Thanks.

Reply to "Extension to add edit summary after page revision has been saved"
2600:8800:5009:9800:E83D:52:FF3A:E31F (talkcontribs)

I just completely hosed my install by accidentally deleting the "SpecialPage" subfolder. Now the wiki won't load at all. Is there way to a "repair install" of the application?

Malyacko (talkcontribs)

Download a tarball release of the corresponding version of your wiki and copy that subfolder with the correct permissions from the tarball release to your installation, I'd say. :)

2600:8800:5009:9800:E83D:52:FF3A:E31F (talkcontribs)

I'll give that a shot, thanks

Bawolff (talkcontribs)

you could also just take the latest version of mediawiki and follow the Upgrade instructions.

Reply to "Repair Install?"