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".
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
88.3.61.97 (talkcontribs)

Hi,

how can I change the path for temporary files?

Thanks

Ciencia Al Poder (talkcontribs)

Manual:$wgTmpDirectory

Reply to "Change the path for temporary files"

Problem with cancel and publish buttons

5
89.148.10.241 (talkcontribs)

I have a problem with cancel and publish buttons which appear at the top of the edit or new article body textbox. When I click them they takke me to error page. Page is not available. Version I'm using is latest 1.29.1 and vector is the theme and . I have uninstalled the software and reinstalled it again but same problem.

星耀晨曦 (talkcontribs)

Hi,

What error do you see?

89.148.10.241 (talkcontribs)

This page doesnt exist

77.69.136.197 (talkcontribs)

Anyone can help in thus?

Ciencia Al Poder (talkcontribs)

Check the URL of the page it redirects to. You probably have misconfigured $wgServer, $wgArticlePath, $wgScriptPath or similar.

Reply to "Problem with cancel and publish buttons"

Image insert mixed Datei: and File:

5
SteveStx (talkcontribs)

Hello everyone!

Since a short time, i've the phenomen that the editor inserts [[File:xxxx.filetype]] instead of [[Datei:xxxx.filetype]].

Since my wiki is formerly used in German languge, this is a problem, so most of the images are only shown as links, which are not working.

My Questions:

1) Where can i set the inser languge of the editor to makje him always produce "Datei:" links?

2) Can i set the Wiki to accept both "File:" and "Datei:" as Image-Links?

Thanks,

Steve

MarkAHershberger (talkcontribs)
  1. You shouldn't need to.
  2. It should already do that.

To show that this is how things should work, I copied Salasaca to my sandbox on dewiki and then changed the wikitext to use "File:" or "Image:" instead of "Datei:".

Both continued to work.

Maybe we could be more help if you point to your wiki or, if it isn't public, give us the version number of MediaWiki that you are running.

SteveStx (talkcontribs)

I am using MediaWiki 1.23.5

[[Image:]] is working. But the WYSIWIG-editor always creates [[File:xxx]] and after PreView there are more '[' and ']' arounf [[File:]]

Ciencia Al Poder (talkcontribs)

Note that if you set file: in $wgUrlProtocols it would break File: image syntax

Midlajm (talkcontribs)

Am creating acount using api, while calling curl am getting invalid csrf token error

how can i solve it

Ciencia Al Poder (talkcontribs)

Provide the valid token previously requested, and propagate the same cookies received when you requested the token.

This comment was hidden by Ciencia Al Poder (history)

Remove page from internal search suggestions

4
Jer Hughes (talkcontribs)

When I start typing in my wiki's search bar, articles that match what I'm typing start to appear. Is there a way to remove certain pages from being listed? I have a page that is a redirect which I would like to exclude from the search suggestions. I placed __NOINDEX__ on the page but it looks like that only affects how other search engines view the page.

AhmadF.Cheema (talkcontribs)

According to this, it should get excluded from search suggestions. 

Maybe there are some jobs left which are causing this delay. To see number of remaining jibs, browse to your Wiki's: https://www.mediawiki.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm

Jer Hughes (talkcontribs)

No pending jobs. I'm confused by the link though, it talks about deleting the redirect page. I didn't delete the page, I'd like to keep it, just not have it appear in the search suggestions.

Ciencia Al Poder (talkcontribs)

No, NOINDEX doesn't affect search suggestions.

Looking at mailarchive:wikitech-l/2016-February/084776.html, apparently you would need to create a custom SearchEngine class and use it in $wgSearchType.

Create user group that can read articles, and post to all user talk pages, but nothing else?

1
Banaticus (talkcontribs)

I'd like to create a "noob" user group that can read articles, post to all user talk pages, but can't post anywhere else or edit any articles. Is that possible?

Edit: Manual:$wgNamespaceProtection does what I'm looking for.

Is there a way to display global variables from wikitext?

2
Marc Kupper (talkcontribs)

I wanted to update some documentation on Wikipedia and as part of that wanted to include the $wgEchoMaxMentionsCount value. I suspect I could get it from a user defined JavaScript function but want the value to be available to everyone looking at the article. Is there something I can put in standard wikitext to display the global variable's value?

For example, the value is hardcoded on wikipedia:Wikipedia:Notifications#Spamming as "50". I'd rather replace that with something that shows the $wgEchoMaxMentionsCount variable's value as it may not be set to 50 on all sites.

https://phabricator.wikimedia.org/diffusion/ECHO/browse/master/includes?grep=wgEchoMaxMentionsCount shows where this variable gets set and used.

MarkAHershberger (talkcontribs)

There is no way to display an arbitrary variable such as this in standard wiki text.

90.63.11.194 (talkcontribs)

Hello,

I want to use a infobox in my Mediawiki but i don't understand how to install it.

When i use it, i get a message "template loop detected" :/

thx for your help.

(sry, i'm not english)

AhmadF.Cheema (talkcontribs)

See Manual:Importing Wikipedia infoboxes tutorial.

Rosaann (talkcontribs)

Copying templates from Wikipedia won't work, you'll require to install the Scribunto extension, see Thread:Project:Support desk/invoke infobox error in mediawiki.

If you don't have MediaWiki:Common.css on your wiki, you'll have to create it by simply navigating to MediaWiki:Common.css on your wiki and editing the page.

Cheers

NostalgicColorBird (talkcontribs)

Are there any extensions that allow commenting on articles no matter what?

Star Warden (talkcontribs)

Comments and CommentStreams

Reply to "Commenting extensions"
Evolution and evolvability (talkcontribs)

Hi! As WikiJournals expand on Wikiversity (v:WikiJMed, v:WikiJSci, v:WikiJHum), the need to format references from DOI or PMID codes is becoming more important. Is it possible to enable the Citoid extension?

TheDJ (talkcontribs)

It already is installed, as far as I understand, you just need to configure it to match the preferences of your wiki installation. Please see VisualEditor/Citation_tool and Citoid#Configure_Citoid_on_a_Citoid-enabled_wiki.

Evolution and evolvability (talkcontribs)

I've had a look though the documentation, but it's a bit beyond my technical expertise. Would it be possible to ask for some assistance so that I don't break anything?

Reply to "Wikiversity Citoid"