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: 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
Ashni rai (talkcontribs)

we have wysiwyg as a default editor .How to make wiki editor as default as we have both the editors.

AhmadF.Cheema (talkcontribs)

Shouldn't this practically work for your purposes: Extension:WYSIWYG#Disable for some namespaces

Reply to "WYSIWYG"

How to get Original user name or user id of article page??

4
Jainuddin786 (talkcontribs)

I want to show Original User name or User ID, who create the article first time.???

Star Warden (talkcontribs)

To view the original author of an article, simply click 'history' (on monobook) or 'view history' (vector) at the top of any article (monobook)/in the left of the search bar (vector) and you should see a sorting option 'newest/oldest'. Choose 'oldest' then scroll at the very bottom of the page. The first edit that you see is the original author of the article. If no such sorting option is available (meaning there is only one page detailing the history of edits of the page), simply scroll at the very bottom. I hope I understood your question right and what I suggested helps.

Star Warden (talkcontribs)

And to give you an example, I sorted by oldest the history of this article and scrolled at very bottom of it where I can see that, on the 14th of September 2011, Jack Phoenix created the article.

182.74.178.178 (talkcontribs)

Thanks,

Reply to "How to get Original user name or user id of article page??"
Ashni rai (talkcontribs)

Need “navigational templates” installed, such as Navbox or InfoBox

To display top toolbar & left navigation path.How to implement this?

AhmadF.Cheema (talkcontribs)

See: Manual:Importing Wikipedia infoboxes tutorial

Reply to "Navigational templates"
46.165.101.153 (talkcontribs)

Category are not created when added to a page, rows are not added to the category database.

I've set $wgJobRunRate = 1;

$wgRunJobsAsync = false;

But still the same thing.

I am unable to generate categories on my wiki ...

87.123.0.195 (talkcontribs)

See Manual:$wgRunJobsAsync!

It is recommended to set $wgJobRunRate to something higher than 1 - and depending on how your wiki is used, it may still take some time until all jobs got done, especially if you don't use the runJobs.php script.

46.165.101.153 (talkcontribs)

Yeah but i said i 've already put that to false but still nothing goes into category. And i cannot launch maintenance script :(

87.123.0.195 (talkcontribs)

Set

$wgJobRunRate = 2;
This comment was hidden by 87.123.0.195 (history)
Reply to "Categories are not created."
Tenerifeyeah (talkcontribs)

I have translated an article from Russian to French and published it with no problem. After that I have translated it to English, but when I try to publish it, I have this warning:

An error occurred while publishing the translation. Please try to publish the page again. Error: Hit AbuseFilter: Content Translation Edits

An automated filter has identified this edit as potentially unconstructive, and it has been disallowed. If this edit is constructive, please report this error.

If I understand it right, I have to wait for a month to publish it?? Why?

87.123.19.142 (talkcontribs)

No, I do not see that it would say you would have to wait a month. I would guess that, if you waited one month, the message would still be the same.

Honestly, don't know, what the problem is with a Content Translation Edit. It might be (but I am only guessing) that the guys in the English Wikpedia want the article history to be there before you start translating? However, such imprts can also be done ''after'' an article has been created, so: I don't know what the problem is, but I oubt that it will go away by itself, just because of time passing.

Tenerifeyeah (talkcontribs)

Thank you for your answer.

Setvproducer (talkcontribs)

I am trying to add pages to various new categories on my Wiki, however it does not seem to be working at all. At the bottom of any given pages, say "Computer A" I want to be in category "Desktops"

So I add [[Category:Desktops]] to the bottom and go to Category:Desktops and nothing shows up.

I have another problem where "Computer B" Shows up in a category, despite no [[Category:XX]] being defined.

What am I missing?

Example: I want these three pages in http://wiki.ssdcougars.tv/index.php?title=Category:SETV_Machines

http://wiki.ssdcougars.tv/index.php?title=Advanced_Edit_Tower

http://wiki.ssdcougars.tv/index.php?title=Archive/Owncloud_Server

http://wiki.ssdcougars.tv/index.php?title=Wowza_Server

but no matter what I do, Category: SETV Machines is empty!

Setvproducer (talkcontribs)

Well, apparently this is not an automatic, or at least an immediate process. I fixed it by going to my wiki/maintenance directory and running rebuildall.php from terminal.

Is there a way to make this process automatic? Why is this not an immediate process? To update category pages when a link has been added to a page?

110.148.150.85 (talkcontribs)

Updates are handled by the job queue, make sure you have it set up correctly.

Setvproducer (talkcontribs)

OK, so It wasn't entirely solved. I checked the job queue, set up a cron job, and manually ran runJobs.php but there are still several pages of mine with a template that has a category attached, and only 2 of the 10 articles I need in that category are in that category, and ShowJobQueue shows no jobs queued.

Setvproducer (talkcontribs)

I have tried, with one article, like over 10 times to add a transcluded template with a category to an article, and no matter what I change, how many times I save it, the category does not show up on the page.

But it shows up on two other pages that have the template, but not the other ones I want to edit?

How can I ensure that when I edit an article, the changes are immediately propagated? If this is not a viable process, then I am scrapping MediaWiki in favor of something more practical and immediate.

87.123.63.88 (talkcontribs)

You can also try to set up $wgRunJobsAsync to false in case running jobs asynchronously is a problem on your setup.

Monitor the job table to see if page requests are picking up jobs from there.

46.165.101.153 (talkcontribs)

Hi i have the same problem how did you fixed your issue ?

Reply to "Categories not updating"
HappyLarry (talkcontribs)

MW:1.23.5 PHP 5.5.37 DB 10-0-20 MAriaDB URL:alevel-computing.x10.mx/mw

I would like to install the StatCounter extension but I have read the installation instructions and I don't understand what to do when it says

"Fill in [[MediaWiki:Statcounter-project-id]] and [[MediaWiki:Statcounter-security]] with the values of the JavaScript variables sc_project and sc_security, respectively, as provided to you by StatCounter.com"

Suppose my statcounter project id (sc-project) was 123456 - what do I type and where?

87.123.0.195 (talkcontribs)

The value from sc_project, in your case 123456, belongs into the wiki page MediaWiki:Statcounter-project-id in your wiki and the value of sc_security (whatever that is) belongs into the page MediaWiki:Statcounter-security.

Reply to "mediawiki and StatCounter"
TraaBBIT (talkcontribs)

I run this:

/usr/local/php/p56/bin/php composer.phar update

Loading composer repositories with package information

Updating dependencies (including require-dev)

- Removing composer/semver (1.4.2)

- Removing wikimedia/composer-merge-plugin (v1.3.1)

- Removing param-processor/param-processor (1.3.1)

- Installing symfony/polyfill-mbstring (v1.2.0)

Downloading: 100%

- Installing symfony/console (v2.8.11)

Downloading: 100%

- Installing symfony/yaml (v3.1.4)

Downloading: 100%

- Installing sebastian/version (2.0.0)

Downloading: 100%

- Installing sebastian/resource-operations (1.0.0)

Downloading: 100%

- Installing sebastian/recursion-context (1.0.2)

Downloading: 100%

- Installing sebastian/object-enumerator (1.0.0)

Downloading: 100%

- Installing sebastian/global-state (1.1.1)

Downloading: 100%

- Installing sebastian/exporter (1.2.2)

Downloading: 100%

- Installing sebastian/environment (1.3.8)

Downloading: 100%

- Installing sebastian/diff (1.4.1)

Downloading: 100%

- Installing sebastian/comparator (1.2.0)

Downloading: 100%

- Installing doctrine/instantiator (1.0.5)

Downloading: 100%

- Installing phpunit/php-text-template (1.2.1)

Loading from cache

- Installing phpunit/phpunit-mock-objects (3.2.7)

Downloading: 100%

- Installing phpunit/php-timer (1.0.8)

Loading from cache

- Installing phpunit/php-file-iterator (1.4.1)

Loading from cache

- Installing sebastian/code-unit-reverse-lookup (1.0.0)

Downloading: 100%

- Installing phpunit/php-token-stream (1.4.8)

Downloading: 100%

- Installing phpunit/php-code-coverage (4.0.1)

Downloading: 100%

- Installing webmozart/assert (1.1.0)

Downloading: 100%

- Installing phpdocumentor/reflection-common (1.0)

Downloading: 100%

- Installing phpdocumentor/type-resolver (0.2)

Downloading: 100%

- Installing phpdocumentor/reflection-docblock (3.1.0)

Downloading: 100%

- Installing phpspec/prophecy (v1.6.1)

Downloading: 100%

- Installing myclabs/deep-copy (1.5.4)

Downloading: 100%

- Installing phpunit/phpunit (5.5.5)

Downloading: 100%

- Installing ockcyp/covers-validator (v0.4.0)

Downloading: 100%

- Installing squizlabs/php_codesniffer (2.7.0)

Downloading: 100%

- Installing symfony/filesystem (v3.1.4)

Downloading: 100%

- Installing symfony/dependency-injection (v3.1.4)

Downloading: 100%

- Installing symfony/config (v3.1.4)

Downloading: 100%

- Installing pdepend/pdepend (2.2.4)

Downloading: 100%

- Installing phpmd/phpmd (2.4.3)

Downloading: 100%

symfony/console suggests installing symfony/event-dispatcher ()

symfony/console suggests installing symfony/process ()

symfony/console suggests installing psr/log (For using the console logger)

sebastian/global-state suggests installing ext-uopz (*)

phpunit/php-code-coverage suggests installing ext-xdebug (>=2.4.0)

phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)

phpunit/phpunit suggests installing ext-xdebug (*)

symfony/dependency-injection suggests installing symfony/expression-language (For using expressions in service container configuration)

symfony/dependency-injection suggests installing symfony/proxy-manager-bridge (Generate service proxies to lazy load them)

Writing lock file

Generating autoload files

But now I get some error:

[budrysl2@s53:: ~/domains/westeros.com.pl/public_html/maintenance ]:$ php update.php

MediaWiki 1.26.3 Updater

symfony/finder: 3.1.1 installed, ^3.1 required.

param-processor/param-processor: not installed, ~1.0 required.

Error: your composer.lock file is not up to date, run "composer update" to install newer dependencies

TraaBBIT (talkcontribs)

Now I get this on my page:

Fatal error: Interface 'Psr\Log\LoggerAwareInterface' not found in /home/budrysl2/domains/westeros.com.pl/public_html/includes/libs/objectcache/BagOStuff.php on line 45

Reply to "Update error"
Ashni rai (talkcontribs)

how to enable unc links in media wiki 1.23.5.After enabling how to verify whether it is working fine?

87.123.0.195 (talkcontribs)

There is a manual on UNC links at UNC links!

Ashni rai (talkcontribs)

does unc links work in 1.23.5

87.123.0.195 (talkcontribs)

It should.

Reply to "unc links"
Ashni rai (talkcontribs)

Is favicon feature supported in 1.23.5 version of media wiki?

87.123.0.195 (talkcontribs)

Yes, by setting $wgFavicon to the relative path or absolute URL of your favicon. See Manual:$wgFavicon for more information!

87.123.0.195 (talkcontribs)

And - unrelated to your question - please note that MediaWiki 1.23.5 is an old and insecure version. You should not use it! Instead, do an upgrade to a supported version.

The current version from the 1.23 branch is MediaWiki 1.23.15!

Ashni rai (talkcontribs)

introduced version of favicon is 1.6.0..But we are using 1.23.5

87.123.0.195 (talkcontribs)

That means it's working!

In fact, you should upgrade to version 1.23.15!

Reply to "favicon"