Project talk:Support desk

From MediaWiki.org
Jump to: navigation, search
This page is only for discussion about the Support desk page.
An archive box Archives 

1 (2006–2008)
2 (2008–2010)

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

Start a new discussion
First page
First page
Previous page
Previous page
Last page
Last page

I can't log in as admin!!

I can't log in as admin!!

Me niether!

NovaNetInc (talk)22:51, 29 May 2013
 

Character counter

Hello everyone. I want to restrict users of my site to create a page/article within 500 characters. I want to add one character counter which will count total number of characters inserted in that page from 500 to 0. How to do it ? My mediawiki version is 1.20.5 .

106.209.89.9609:06, 21 May 2013

Load.php CSS

I'm having a hard time trying to figure out where this css is coming from. I'm using the default mono book skin.

<link rel="stylesheet" href="http://www.site.com/w/load.php?debug=false&lang=en&modules=site&only=styles&skin=monobook&*" type="text/css" media="all" />

Where is the actual css file. It's not main.css in the monobook folder because that has different css attributes.

24.21.188.12400:23, 21 May 2013

You don't mention which version of MW you have, but I'll assume it is a recent one. Put &debug=true at the end of the url you use to load the page. That should tell ResourceLoader to load each style sheet separately and make it a little easier to track down.

MarkAHershberger(talk)01:16, 21 May 2013
 

CSS stylesheets not loading correctly after upgrade 1.5 -> 1.20.05

If found some earlier threads about this problem, but I have not been able to reach a solution. My case is bit special as I have TWO separate mediawiki isntallations on same virtual server.

My setup
wiki.xxxx.com/it now running 1.20.5
wiki.xxxx.com/cd still on 1.5.x

if I look at working /cd main_page source I see this:

<link rel="stylesheet" href="/cd/skins/common/shared.css?207" type="text/css" media="screen" />
<link rel="stylesheet" href="/cd/skins/common/shared.css?207" type="text/css" media="screen" />
<link rel="stylesheet" href="/cd/skins/common/commonPrint.css?207" type="text/css" media="print" />
<link rel="stylesheet" href="/cd/skins/monobook/main.css?207" type="text/css" media="screen" />
<link rel="stylesheet" href="/cd/index.php?title=MediaWiki:Common.css&usemsgcache=yes&ctype=text%2Fcss&smaxage=18000&action=raw&maxage=18000" type="text/css" />
<link rel="stylesheet" href="/cd/index.php?title=MediaWiki:Print.css&usemsgcache=yes&ctype=text%2Fcss&smaxage=18000&action=raw&maxage=18000" type="text/css" media="print" />
<link rel="stylesheet" href="/cd/index.php?title=MediaWiki:Monobook.css&usemsgcache=yes&ctype=text%2Fcss&smaxage=18000&action=raw&maxage=18000" type="text/css" />
<link rel="stylesheet" href="/cd/index.php?title=-&action=raw&maxage=18000&smaxage=0&ts=20130507083517&gen=css" type="text/css" />
-->

But if I look at upgraded /it source I see only this:

<link rel="stylesheet" href="http://wiki.xxxx.com/it/load.php?debug=false&lang=en&modules=mediawiki.legacy.commonPrint%2Cshared%7Cskins.monobook&only=styles&skin=monobook&*" />
<style>a:lang(ar),a:lang(ckb),a:lang(fa),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}
/* cache key: mediawiki_it-mw1_:resourceloader:filter:minify-css:7:efb677ba611191e9f30fad6f893ae33f */</style>

So one basic stylesheet is loaded in /it but most are missing.

I have been playing around with without any result: $wgScriptPath, $wgLoadScript, $wgServer

Also there are no errors in http error log concerning this. So how do I get skins: common/shared.css, common/commonprint.css and monobook/main.css loaded in the new version?

Regards TA07:07, 8 May 2013

Try using the debug log and see if it reveals anything.

MarkAHershberger(talk)20:28, 8 May 2013
 

How to keep CategoryTree stayed opened after clicking any category in sidebar in Vector skin?

Edited by author.
Last edit: 14:51, 29 April 2013

When I am going down in one category and subcategories (depth 5-6), after loading the specified category , the category tree is folded again. Is there any chance the tree stays opened? Please reply ASAP... How to keep nodes expaneded even after clicking any category from the tree?Any code changes to be done in Categorytree extension? It would be great to have the tree expanded to the current page after clicking any article , so that the users can get a quick impression about the location of the current article in the overall context?

Satyamcompany (talk)14:51, 29 April 2013

I don't think this is available out of the box. If you want it added, file a bug requesting this.

If you want to try adding it (and I'm right that it isn't implemented) then you add a cookie from JS to manage the tree's state.

MarkAHershberger(talk)15:13, 29 April 2013

Please mention code changes if any is there.I referred to some websites but was of no help. http://edutechwiki.unige.ch/fr/Accueil http://clc-wiki.net/wiki/Main_Page http://wikispooks.com/wiki/Main_Page. I am using Vector skin

Satyamcompany (talk)20:54, 29 April 2013
 
 

edit create account page on my mediawik site

how do I edit the create account page on my media wiki site? i want to change the forms and include different things to stop bots from registering.

RobbinsDick (talk)12:55, 28 April 2013

You should see Extension:ConfirmEdit to provide Captchas and the like. If you want to change the text displayed, then you can add "uselang=qqx" to the url to find the pages to modify.

MarkAHershberger(talk)15:08, 29 April 2013
 

Can't enable reference tooltips

I accidentally disabled the reference tooltips (clicked on the gear when it appeared over a citation); I can't get it back, even though it says it's enabled in my account settings. How do I get this back?

Kayelldee (talk)00:52, 11 April 2013

When you disable reference tooltips on enwiki, it sets a cookie in your browser named RTsettings. If you delete this cookie, you should be able to see the tooltips again.

You should look at the discussion pages on Reference Tooltips for more help.

MarkAHershberger(talk)14:39, 27 April 2013
 

Main page style tables

Is there any way to create tables like those on the MediaWiki homepage? I'd like to be able to layout the structure of my pages using those kind of tables. Ordinary tables don't float like the others do.

Dj357 (talk)12:22, 17 April 2013

I'm not sure exactly what you mean, but have you tried looking at the source or editing the page?

MarkAHershberger(talk)18:30, 18 April 2013
 

Location for page curation extension?

Hello all. Per a discussion at en:Wikipedia talk:Page Curation, I was wondering if someone could point me to the location in the repo for the page curation extension (not even sure if it's an actual extension). Thanks!

FreeRangeFrog (talk)18:22, 4 April 2013

Multilevel navigation in sidebar

Hi, I am new to this wiki, how does mediawiki support multilevel navigation in sidebar. Like: Country->State->City->localitity. It is said that if we modify css and skin.php, we can achieve this, but nowhere it is specified how it is to be done. It would be very grateful if there are clear instructions provided how to do this.

Mediawiki:1.20.3 PHP: 5.20

Thanks and regards, Chary

209.234.147.709:47, 7 April 2013

Does $wgCapitalLinkOverrides work on the pagename level or is it only by namespace?

Will

$wgCapitalLinkOverrides[ NS_FILE:favicon.png ] = true;

(or something of the sort) work?

T13   ( C • M • Click to learn how to view this signature as intended )</spa15:11, 19 March 2013

Unable to make file upload working

Hello I've just installed mediawiki on my apache web server. So far everything ran smoothly, then only thing left was for me to add image upload.

Once I enabled that image upload module I wanted to test by uploading one image. So I did successfully upload image but for some reason it wasn't displaying on my wiki page.

I went to a upload directory to see if the actual file size matches the one on my laptop and it does so I guess file upload went successful.

However once I click on the broken image to access the image directly I get a internal server error, i.e http://mydomain.com:10000/wiki/images/f/f1/test.png :

   Internal Server Error
   
   The server encountered an internal error or misconfiguration and was unable to complete your request.
   
   Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
   
   More information about this error may be available in the server error log.

When I look at the error logs this is what I see :

   [Sun Mar 10 13:57:09 2013] [alert] [client xxx.xx.x.xxx] /usr/share/mediawiki/images/.htaccess: RewriteEngine not allowed here, referer: http://mydomain.com:10000/wiki/index.php/File:test.png
   [Sun Mar 10 13:57:09 2013] [error] [client xxx.xx.x.xxx] File does not exist: /var/www/html/favicon.ico
   [Sun Mar 10 13:58:04 2013] [alert] [client xxx.xx.x.xxx] /usr/share/mediawiki/images/.htaccess: RewriteEngine not allowed here, referer: http://mydomain.com:10000/wiki/index.php/File:test.png
   [Sun Mar 10 13:58:04 2013] [alert] [client xxx.xx.x.xxx] /usr/share/mediawiki/images/.htaccess: RewriteEngine not allowed here, referer: http://mydomain.com:10000/wiki/index.php/File:test.png
   [Sun Mar 10 13:58:07 2013] [alert] [client xxx.xx.x.xxx] /usr/share/mediawiki/images/.htaccess: RewriteEngine not allowed here, referer: http://mydomain.com:10000/wiki/index.php/File:test.png
   [Sun Mar 10 13:58:07 2013] [error] [client xxx.xx.x.xxx] File does not exist: /var/www/html/favicon.ico
   [Sun Mar 10 13:58:12 2013] [alert] [client xxx.xx.x.xxx] /usr/share/mediawiki/images/.htaccess: RewriteEngine not allowed here
   [Sun Mar 10 13:58:12 2013] [error] [client xxx.xx.x.xxx] File does not exist: /var/www/html/favicon.ico
   [Sun Mar 10 14:02:09 2013] [alert] [client xxx.xx.x.xxx] /usr/share/mediawiki/images/.htaccess: RewriteEngine not allowed here, referer: http://mydomain.com:10000/wiki/index.php/File:test.png

And I wonder if there is any opinions how to solve this issue?

178.77.9.21713:05, 10 March 2013

Looks like you need to enable mod_rewrite.

MarkAHershberger(talk)23:07, 15 March 2013
 

Fatal error Translate vs.20 upgrade

I've installed the translate boundle http://www.mediawiki.org/wiki/MediaWiki_Language_Extension_Bundle and upgraded to 20.2

Now I got a error after turning debugo on: includes/HTMLForm.php undefined index: api line 288

please, can you help me?

201.21.19.22308:43, 20 February 2013

MediaWiki installation issues

Hello.

When I installed MediaWiki I got an error, I am unsure of how to solve it. It is made to this domain: www.monovia.co.uk

Regards

Fitzy (talk)18:38, 8 February 2013

Do you mean this error? Are you trying to write a custom skin?

MarkAHershberger(talk)19:20, 8 February 2013

Yes, its that error. Well, I wasn't, I just finished installing it and I got that error.

Fitzy (talk)21:45, 8 February 2013

What OS are you running on? It looks like you're in the middle of setting up the wiki again, but I would check out the permissions of the directories.

If you still have trouble you can try contacting me.

MarkAHershberger(talk)16:56, 9 February 2013
 
 
 

Change "open wiki" to "closed wiki"

Hello, which parameter is responsible for configuring the wiki as "open" or "closed" (in german: "geschlossenes Wiki")? During the installation I was unsure which option to choose and now I don't find the according parameter to change it. Can anybody help? Thanks a lot!

129.69.131.1009:25, 14 January 2013

There are several extensions. See Preventing access

MarkAHershberger(talk)20:09, 14 January 2013

The installer "only" set some values in the variable $wgGroupPermissions differently. I guess the clou is to not allow all users (I think theat are the user groups "user" and "*") to edit the wiki. So set the according values to false (instead of true). --88.130.96.134 02:04, 28 January 2013 (UTC)

88.130.96.13402:04, 28 January 2013
 
 

Limiting the width of the entire wiki + centering OR a substitution for max-width with Chrome

Edited by another user.
Last edit: 17:56, 11 January 2013

We're facing a dilemma because Chrome does not limit tables to max-width value. This means we either need to find a simple alternative or limit the entire page's width. Starting with the former, we've tried <div> and that works to a degree, but our spam filter prevents using that ubiquitously. So we looked into the latter, but when we limit the page width, the edit/discussion tabs/search tabs stay the normal 100% width, so you end up with a weird display. In short,

  1. Is there a non-DIV max-width for Chrome?
  2. Can we limit the width of the entire page, including the edit/discussion/search tabs and center the entire site?
Kajikai (talk)17:06, 11 January 2013

This really isn't the right place for that sort of question, but I think this question and answer on StackOverflow may help you.

MarkAHershberger(talk)18:00, 11 January 2013

I'll be sure to remember that for the future. Nevertheless, thanks for the helpful link.

Kajikai (talk)23:06, 11 January 2013
 
 

I need the up-to-date UsabilityInitiative extension

When I went to the UsabilityInitiative page to download the extension, I noticed that it is not for the current release of mediawiki. Where can I find the extension matching the current release of mediawiki?

64.130.162.16901:43, 7 December 2012

The extension no longer exists, it was an group of different experiments during development of MediaWiki 1.16, the current development cycle is MediaWiki 1.21.

Please read the notice on top of Extension:UsabilityInitiative. The different features have been extracted in to separate stand-alone extensions. Pick the ones you need and install them (the configuration is not backwards compatible, be sure to update your settings accordingly).

Krinkle (talk)18:55, 10 December 2012
 

error after editing "LocalSettings.php"

using version 1.9.2

hi there,

i just wanted to edit a new logo... after that i get the error:

Warning: Cannot modify header information - headers already sent by (output started at /customers/5/f/e/findet-tanjagraeff.de/httpd.www/wiki/LocalSettings.php:1) in /customers/5/f/e/findet-tanjagraeff.de/httpd.www/wiki/includes/WebResponse.php on line 38 Warning: Cannot modify header information - headers already sent by (output started at /customers/5/f/e/findet-tanjagraeff.de/httpd.www/wiki/LocalSettings.php:1) in /customers/5/f/e/findet-tanjagraeff.de/httpd.www/wiki/includes/WebResponse.php on line 38 Warning: Cannot modify header information - headers already sent by (output started at /customers/5/f/e/findet-tanjagraeff.de/httpd.www/wiki/LocalSettings.php:1) in /customers/5/f/e/findet-tanjagraeff.de/httpd.www/wiki/includes/WebResponse.php on line 38 Warning: Cannot modify header information - headers already sent by (output started at /customers/5/f/e/findet-tanjagraeff.de/httpd.www/wiki/LocalSettings.php:1) in /customers/5/f/e/findet-tanjagraeff.de/httpd.www/wiki/includes/WebResponse.php on line 38 


the adress: www.findet-tanjagraeff.de/wiki

hope, that someone cam help me... thanks a lot

ThorstenRink (talk)17:24, 3 November 2012

I had the same problem awhile back, does your file have "<(something)" at the very last line ? if so, it needs to be deleted and that should fix the error.

Mlpearc (powwow)19:15, 9 November 2012
 

Asp Project ADODB.Connection is returning null after media-wiki installation

I am working on a asp site. It is working fine with windows 7 but after installation of media-wiki its ADODB.connection is returning null value. I have checked odbc settings for both 32 bit and 64 bit and its working fine. The error comes when ADODB try to open a connection with sql server. Can anyone help?

203.92.44.21508:11, 9 August 2012

Introduction of all category items in a single page

Can I use the API the fetch just the introduction of all the articles in a category so that I don't have to open all the links to read them.

Earlier I could do something like this by adding a list of iframes in a page with SRCs that look like "en.wikipedia.org/w/api.php?format=xml&action=query&prop=extracts&exsentences=10&titles=Sattriya". But now chrome is throwing an error "Refused to display document because display forbidden by X-Frame-Options". Though i could get only the unparsed html text, it was enough. Pls help.. Aravind V R (talk) 08:48, 10 September 2012 (UTC)

Aravind V R (talk)08:48, 10 September 2012
First page
First page
Previous page
Previous page
Last page
Last page