Jump to content

Project:Support desk/Flow/2016/01

Add topic
From mediawiki.org
This page is an archive.
Please ask questions on the current support desk.


Hello. I inserted an image in a place on Wikipedia, using "caption" and "link" attributes. I want to add a line break to the caption, but couldn't. How do I do that? MisterSanderson (talk) 03:50, 1 January 2016 (UTC)

Same as anywhere on the page: <br> 137.147.148.145 (talk) 09:46, 1 January 2016 (UTC)
I tried using <br />, but the line doesn't breaks... MisterSanderson (talk) 15:27, 1 January 2016 (UTC)
[[File:Test.png|thumb|Works<br> for<br> me]]
137.147.148.145 (talk) 01:10, 2 January 2016 (UTC)
You didn't understand. It's not about "Image: caption + line break", it's "Image: link + caption + line break". I'm using the "link" parameter. MisterSanderson (talk) 01:18, 2 January 2016 (UTC)
Well the link makes no difference, so I can only assume you're talking about a tooltip rather than an actual caption (the text that shows when hovering over the image), in which case it isn't possible in MW to add a line break. 137.147.148.145 (talk) 04:20, 2 January 2016 (UTC)
The code I used is:
[[File:Translation icon.svg|15px|Artigo traduzido da língua "{{{trad-língua}}}" usando o "Content Translation" do MediaWiki.<br />O artigo original chama-se "{{{trad-título}}}". Clique neste ícone para acessá-lo.|link={{{trad-língua}}}:{{{trad-título}}}]] MisterSanderson (talk) 16:51, 2 January 2016 (UTC)

After upgrade, wiki visit stats go to zero

Hi. After upgrading from MW 1.21 to 1.26, my wiki visit stats went to zero, and now the tally goes from there. Is there a way to continue counting the visits from the previously recorded number? Thanks. 24.53.231.9 (talk) 02:34, 2 January 2016 (UTC)

As far as this functionality has to do with page counters, you have to install Extension:HitCounters to get that functionality back.
Please note that the upgrade to MediaWiki 1.26 by default removes certain information from the database. This includes the page hit numbers.
Currently I do not see a way of how to run the update.php script in MediaWiki 1.26 without removing the hit numbers. This basically renders extension HitCounters useless. 87.123.44.213 (talk) 16:15, 2 January 2016 (UTC)
Hi. Thanks for your reply. It is strange that 1.26 removes that info from the database, but I know I cannot do much about it. I feel very uneasy about altering the database myself. 24.53.231.9 (talk) 21:33, 2 January 2016 (UTC)
I think that the update.php script already has deleted the information from your DB. So in order to get it back, you would have to take a backup from before the upgrade and start from there.
There is a patch, https://gerrit.wikimedia.org/r/#/c/260173/ , which should allow migrating the data of the hitcounters functionality. Saper, who wrote it, however things that it still has issues. It might however get your system running with the extension anyway:
  • Go back to MediaWiki 1.21 and upgrade it to MediaWiki 1.25.
  • Then install the extension HitCounters with Saper's patch.
  • Run update.php again (still in MediaWiki 1.25).
You should now have the Hitcounter data in the extensions' tables. Then upgrade to MediaWiki 1.26 (also running update.php). This should again remove the hitcounter data from the old places. But since you have migrated it to the extensions' tables, the feature should still be usable.
Feedback on https://gerrit.wikimedia.org/r/#/c/260173/ is surely welcome! 87.123.44.213 (talk) 22:12, 2 January 2016 (UTC)
I have updated Extension:HitCounters with updating instructions.
Please check, if following these instructions solve the problem! 87.123.44.213 (talk) 02:50, 3 January 2016 (UTC)

Creating a table from data on another page.

Is it possible to get data from another to create table with. Say Page B had this information

Page B

Data1 Data2 Data3

Data4 Data5 Data6

I'd like to create a Table on Page A, and Page C using that data. That way I can change one page and have multiple tables update. 2602:306:C550:8930:69EC:C84F:65FA:36A9 (talk) 06:23, 2 January 2016 (UTC)

MediaWiki has a feature called transclusion, which should somehow be able to do what you want. 87.123.44.213 (talk) 16:07, 2 January 2016 (UTC)

Correcting the name of a newly created page.

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Created the page "Mark hobart" but the H in last name should be capitalized. How can I make the change?

Thank you! LilyTiare (talk) 14:11, 2 January 2016 (UTC)

See Help:Moving a page Ciencia Al Poder (talk) 15:24, 2 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Did the CentralAuth install process go correctly?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


  • MediaWiki: 1.26.2
  • PHP: 5.6.14-0+deb8u1 (apache2handler)
  • MySQL: 5.5.46-0+deb8u1

So, I'm trying to install CentralAuth following this guide and when I run php migratePass0.php I get the following reply:

CentralAuth migration pass 0:
my_wiki preparing migration data...
DB connection error: Access denied for user 'Wikis'@'localhost' to database 'my_wiki' (localhost)

my_wiki doesn't exist, so is there a way to verify that the process was successful? NeedAGoodUsername (talk) 22:46, 2 January 2016 (UTC)

I think the error message already tells it: The process was not successful, because it could not connect to the database "my_wiki". Make sure that the MySQL user "Wikis" has access to this database! 87.123.44.213 (talk) 00:03, 3 January 2016 (UTC)
Except that "my_wiki" doesn't exist and not mentioned anywhere in LocalSettings. And when I look into the database, it appears that it was successful but I'm not sure, which is what I'd like to check. NeedAGoodUsername (talk) 15:57, 4 January 2016 (UTC)
That is interesting. The source code, which does the migration is just using the normal database functions in order to get the migration data. Also when I grep the source code for "my_wiki", there are no hits.
The name "my_wiki" is used for the variable $wgDBname in DefaultSettings.php. In your LocalSettings.php file, you must have set $wgDBname to the actual name of the DB. If you have done so, I am not sure, why this name suddenly does not get used.
It looks like the maintenance script does not use the right LocalSettings.php file... 87.123.52.27 (talk) 18:56, 4 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Hi, i am having trouble signing in and getting aggravated. i do have an account but it still will not let me in. help

help me with signing in. 98.244.92.223 (talk) 03:59, 3 January 2016 (UTC)

Where are you having trouble signing in? NeedAGoodUsername (talk) 19:55, 5 January 2016 (UTC)

Upgrading Error

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


When upgrading from MW 1.24 to 1.26.2, I'm running into this error:

MediaWiki 1.26 internal error

Installing some external dependencies (e.g. via composer) is required.

External dependencies

MediaWiki now also has some external dependencies that need to be installed via composer or from a separate git repo. Please see mediawiki.org for help on installing the required components.

I've installed Composer and run the installation and upgrade commands, but nothing seems to fix this. How do I install these external dependencies? The documentation on this is difficult to understand.

URL: http://rose.irowiki.org/wiki/Special:Version Resplendent (talk) 05:13, 3 January 2016 (UTC)

How are you installing MediaWiki?
The recommended way is to download the tarball and to extract it to a new folder. Then move your installation specific files in there and run update.php. These steps do not need composer to be run. 87.123.13.117 (talk) 12:26, 3 January 2016 (UTC)
When I visit your wiki, I see that you have this problem:
Manual:Load.php#Styles not displaying 87.123.13.117 (talk) 12:28, 3 January 2016 (UTC)
Looks like $wgScriptPath is not set correctly Ciencia Al Poder (talk) 10:27, 5 January 2016 (UTC)
Good evening. It seems I have also this problem.
When updating from MediaWiki 1.19 to 1.28, I well extracted new files in another folder, but I get the same problem. You can check here: http://www.quantumlap.eu/wikiflaps1.28/
All the best,
Thibault Tjyderrien2 (talk) 17:31, 2 December 2016 (UTC)
This may have to do with an extension. I've downloaded 1.28 tarball and enabled a bunch of the bundled extensions without problems. Try disabling all of them to find the culprit Ciencia Al Poder (talk) 17:58, 3 December 2016 (UTC)
Good evening.
I simply forgot to upload the vendor/ folder, which is not included in the "core" version of mediawiki.
Finger crossed. Tjyderrien2 (talk) 22:31, 4 December 2016 (UTC)
If you stumble into this bug, check Talk:Download/Archive 2/Flow export#h-"Installing_some_external_dependencies_(e.g._via_composer)_is_required."-2018-10-08T04:57:00.000Z. It might be that you have recreated the archive in another format, and that the new archive is incomplete. Jeblad (talk) 05:00, 8 October 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Custom block stuff

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I would like to make a message like "You are about to block yourself! Are you sure you want to do that?" except it targets ONE user on the wiki and it would say for example "You are about to block the founder. Are you sure you want to do that?". Is that possible?
Reception123 (talk) 12:55, 3 January 2016 (UTC)
What you could do without too much of a hassle is change the according interface text and add the sentence, which you are missing.
Anyway, I think that is superfluous: If you don't trust administrators or if they cannot use MediaWiki correctly, they should not have administrator privileges. 87.123.13.117 (talk) 15:01, 3 January 2016 (UTC)
It is a test wiki. And how could I change the according interface text? I know how to for all users but I'm not sure for a specific user. Reception123 (talk) 06:38, 4 January 2016 (UTC)
Here is an overview of the different interface texts, which are used on that page:
https://www.mediawiki.org/w/api.php?action=query&meta=allmessages&amprefix=ipb-
In order to change one of them in your wiki, go to the according page in the MediaWiki:... namespace in your wiki. E.g. in order to change the text called "ipb-blockingself", edit the text on the wiki page MediaWiki:ipb-blockingself in your wiki. 87.123.52.27 (talk) 12:36, 4 January 2016 (UTC)
Thank you. Reception123 (talk) 18:57, 7 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

I have no extensions registering

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Version: 1.24.4

My wiki has extensions that came with the install, as well as two I've tried to add tonight to deal with a spam problem - however, my wiki claims it has zero extensions installed. I tried switching ?IP with my website url and that did nothing. Can someone help? I've been reading the extension help pages for the past hour and I can't seem to find the solution in them. 207.161.46.40 (talk) 14:24, 3 January 2016 (UTC)

You do not tell us, which extension you want to install.
Basically, for every extension, you have to add the according require_once('...'); line to your LocalSettings.php file. Afterwards, the extension will show up on your Special:Version page in your wiki.
The according extension page here on mediawiki.org will contain detailed information on how to install a given extension. 87.123.13.117 (talk) 14:59, 3 January 2016 (UTC)
Oh sorry, I should have been more clear. ANY extension. Here's a sample of my local settings:
#require_once "$IP/extensions/LocalisationUpdate/LocalisationUpdate.php";
#require_once "$IP/extensions/Nuke/Nuke.php";
#require_once "$IP/extensions/ParserFunctions/ParserFunctions.php";
#require_once "$IP/extensions/PdfHandler/PdfHandler.php";
#require_once "$IP/extensions/Poem/Poem.php";
None of these are showing up as installed. 207.161.46.40 (talk) 18:44, 3 January 2016 (UTC)
If the lines start with a "#", then they are comments, which are disregarded when the file is read by the PHP parser. You will have to remove the diamond sign in order to make the according line effective. 87.123.13.117 (talk) 21:58, 3 January 2016 (UTC)
Oh my goodness. I knew it was going to be something simple like that. Thank you so much and i am SO embarrassed. In all my reading I um, missed that one little fact.
Thank you, this should make a lot of this go a lot easier. 207.161.46.40 (talk) 11:41, 4 January 2016 (UTC)
If you edit the file with an editor, which has syntax highlighting, things like that are kind of obvious. I am using Notepad++ for that purpose - works like a charm! 87.123.52.27 (talk) 12:31, 4 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Multiple joins in one database query

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Is it possible to do multiple joins in one database query using the select method of the database base class? In the documentation, it only deals with the case of two tables and one join statement. Is this even possible? I'm talking about doing something like this:

SELECT t1 LEFT join t2 ON t1.x=t2.y INNER JOIN t3 ON t3.z=t2.w; 76.68.138.124 (talk) 00:35, 4 January 2016 (UTC)

I had a look at the revision.php file which executes a query with multiple joins. Here is a snippet of code which shows how to do it:
 
return $db->select(
    array( 'revision', 'page', 'user' ),
    $fields,
    $conditions,
    __METHOD__,
    $options,
    array( 'page' => self::pageJoinCond(), 'user' => self::userJoinCond() )
);
76.68.138.124 (talk) 06:57, 4 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Wildcard for #switch?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I have a #switch case where I just need to pick out one word out of a pile of 100's which are always changing. Would it be possible to make a wildcard case?

Example:

{{#switch: {{{test|}}} | *foo* = Foo | Bar }} Frybread (talk) 04:01, 4 January 2016 (UTC)

You can use #pos, but it'd be far more performant and readable to not try to use wikitext as a programming language. Inside install an actual programming language, like lua or php. 137.147.148.145 (talk) 08:28, 4 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Recent Changes page reports Fatal Error.

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Greetings. I help monitor and moderate a tabletop wiki for URealms Live. As stated in the title, we currently have an issue with the Special:RecentChanges page, where it errors when calling getTitle() in the EnhancedChangesList.php (page in question: https://urlivewiki.com/wiki/Special:RecentChanges, with an archive of the error https://archive.is/2Ybgm . If it means anything, we just recently upgraded to 1.2.6, and we are using MySQL with PHP 5.6. I can provide redacted apache logs, if necessary, but they more or less reflect what is pushed onto the screen. Tdis8629 (talk) 05:45, 4 January 2016 (UTC)

For the backtrace it seems one of the entries has some weird thing in the summary that the special page is trying to parse as a internal link, giving that error.
https://urlivewiki.com/wiki/Special:RecentChanges?limit=28 works currently, increasing the limit breaks. It may be some flow post edit that uses a weird summary, but I'm unable to identify it.
I don't know how to get "flow recent changes" from api, they doesn't seem to appear in the api: [1] Ciencia Al Poder (talk) 11:23, 4 January 2016 (UTC)
Thank you for the reply.
It turns out that there was an issue with the page which placed a null block in the page's database table, which was then being called by getTitle(). As a workaround, we had the output log going to /dev/null, although this is far from ideal. While the current issue was resolved, the head sysop also noticed some discrepancies on our side which may cause problems later on. At the moment, this seems resolved, although worrying. Tdis8629 (talk) 18:03, 4 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Automatically add something to talkpage after using CreateWiki

Hi, I volunteer at a wiki (Miraheze) and we have a extension called CreateWiki (https://github.com/Miraheze/CreateWiki). I would like to know if it's possible after using CreateWiki to have it automatically create a talkpage for the "founder" and add a template to it. If yes, how?

Note : The template is {{subst:Wiki created|wiki=https://NAMEOFWIKIWHICHDIFFERS.miraheze.org}} Reception123 (talk) 06:42, 4 January 2016 (UTC)

Bugs in #time

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Some dates get interpreted wrong or even throw an error - please see https://www.mediawiki.org/w/index.php?title=Project:Sandbox&oldid=2001499 for an example. How to fix this?

PS: This also happens on a wiki with language "German". Stefahn (talk) 13:05, 4 January 2016 (UTC)

As it appears to me this seems to be something for a bug report on phabricator for the ParserFunctions extension. [[kgh]] (talk) 13:15, 4 January 2016 (UTC)
I just figured out that it's not a bug. It's just the way #time works - the function accepts only english month names, not german ones.
To fix this I used |?Date#ISO in my SMW ask query.
This way the date is not given out as German (21 Juni 2014), but as 2014-06-21 - which then can be put into #time without any issues :) Stefahn (talk) 17:17, 4 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Problems with users and publishers that have nothing to do with the wiki.

Hello people today come with some questions and hope you can help me thank you very much in advance.

My problem it that i have many users that have nothing to do with my wiki and recorded at the time that created the wiki. As I do that only users who i choose. They can come and post on my wiki? BersSer (talk) 15:01, 4 January 2016 (UTC)

I am not sure, if I understood your question correctly.
The user group rights on your wiki determine, if anonymous users can create new user accounts. They also determine, if anonymous users and logged in users are allowed to edit pages. Depending on your user group rights, this may or may not be the case. See Manual:User rights for more details!
For example, with these lines in LocalSettings.php you can prevent new users from creating accounts. Only administrators will be able to create new accounts:
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['user']['createaccount'] = false;
$wgGroupPermissions['group']['createaccount'] = true;
With these settings, normal users cannot add new accounts. If a new user wants to have an account, an administrator has to create it. 87.123.52.27 (talk) 19:04, 4 January 2016 (UTC)
Ahh, and maybe you are interested in Manual:Combating spam as well. 87.123.52.27 (talk) 19:05, 4 January 2016 (UTC)

Mediawiki serving pages slow to users.

Hi there, i noticed my personal mediawiki is running slow serving other users. I have the mediawiki running on a Virtual machine and there is about 30 users. But there is max 2 users accessing the mediawiki at a time from my stats. We noticed the pages serving to us is slow. I read improve performance in the mediawiki site: https://www.mediawiki.org/wiki/Manual:Performance_tuning#memcached

I checked that currently the memory settings is set to non

$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = array();

Then, i read that i should try memcached. I am not sure how do i enable memcached in my virtual machine. I tried inserting the following into localsettings instead, which causes the loading of pages even worst. I am assuming 127.0.0.1 is my current virtual machine localhost address, and port 11211 is something i tell it to do?

$wgMainCacheType= CACHE_MEMCACHED;
$wgParserCacheType= CACHE_MEMCACHED;
$wgMessageCacheType= CACHE_MEMCACHED;
$wgMemCachedServers=array("127.0.0.1:11211");

Should i keep it to none ? what other methods should i sought to to improve faster serving page? Currently, the VMware is running at 4gb at dual core. AmazingTrans (talk) 23:12, 4 January 2016 (UTC)

In order to use memcached, you need to install memcached and be sure it's running on your server! If not, MediaWiki will try to contact memcached and will fail (although it won't give you any visible error message), increasing the time to serve pages.
memcached is a process that stores data in memory. Note that this will make things faster but at the cost of more memory consumption. If your virtual machine has not a lot of free RAM it will cause problems.
Other things you may consider is caching in database, or using Manual:File cache for anons, which would be very effective in case you don't have a frontend caching layer like varnish or squid. Ciencia Al Poder (talk) 10:20, 5 January 2016 (UTC)

Prevent image downloading

Hello everyone. So, I have read this article: Manual:Image Authorization, but it didn't really answer my question. If I follow the instructions there, do I prevent any user from downloading images from my wiki? I want everyone to be able to see images, but want to prevent their download. Is that possible? 79.116.57.186 (talk) 23:37, 4 January 2016 (UTC)

No, that is impossible. Even professional image hosting sites like flickr pretend that users could configure images not to be downloadable - and they fail. Displaying an image to the user requires that image to be transferred to the user in what way ever. After that, the image is available to the user - end of story. After that you cannot control what he is doing with it. 87.123.52.27 (talk) 01:55, 5 January 2016 (UTC)

swiftmailer extension settings?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Ok I'm new to all of this especially php so please bear with me

I am trying to get Swiftmailer extension (1.0) to work with mediawikii (version 1.23.11) also have Bluespice (2.23.2)

SM suggests it should work out the box but it does not seem to. I can initiate a message send (using the confirmation mail function on the user page) and It claims that the message has been sent (no error return (which was not the case before installing SM so something is working better if not completely)

I guess it has to do with the SMTP server parameters but not sure where or how I set these (I have tried a couple of things in LocalSettings etc but these cause exception errors) I was under the impression that SM (mediawiki) works "out the box" but I cannot find any reference to how to do this (a lot of stuff for using SM in other situations).

A simple pointer in the right direction would help enormously

Regards Colin 86.133.185.85 (talk) 15:18, 5 January 2016 (UTC)

Ok finally cracked it , I installed latest versions of everything ran composer update , sorted out which $wgsmtp statements go where and probably the real cause was the $wgsmtpAuthenticationMethod was not set correctly in Swiftmailer.php.
Learn a little more everyday 86.133.185.85 (talk) 10:54, 6 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Set visualedit as default, TOC Always On

Hi there,

Whenever i search for a page that is not available it will show the following: But when i click on the Test, it open with sourceedit rather than visual edit. Is there anyway i can parameterize so it default to visualedit?

<pre>

There were no results matching the query.

Create the page "Test2" on this wiki!

\n

</pre>

Also, whenever we created a new page, is it possible to set the Table of content as "always on" by default.? AmazingTrans (talk) 15:30, 5 January 2016 (UTC)

Searchbox on mainpage?

How do i include a searchbox like wikipedia on a main page? AmazingTrans (talk) 15:36, 5 January 2016 (UTC)

<inputbox>
type=search
</inputbox>
Job done!
See this for customising it a bit more. NeedAGoodUsername (talk) 19:52, 5 January 2016 (UTC)

Creating template to include special html tags?

Hi there,

I would like a template where it includes the following tags

<vidFile>link</vidFile>

where the link contains the youtube link such as the following:

https://www.youtube.com/watch?v=_l6CQRHIGyg

I've created the template with the following: but it doesn't seem to include the video properly.

<vidFile>{{{Link}}}</vidFile>

<noinclude>
<templatedata>
{
	"params": {
		"Link": {
			"description": "The link to the desired video.",
			"type": "string",
			"default": "#null",
			"required": true
		}
	},
	"description": "Video Template."
}
</templatedata>
</noinclude>

AmazingTrans (talk) 16:20, 5 January 2016 (UTC)

Wikitable sortable and mw-collapsible not working after update

Several months ago, my wiki administrator updated our wiki. After the update, both new and existing wikitables stopped being sortable, and mw-collapsible sections do not collapse. The little black arrows for both sortable tables and collapsible elements no longer appear on these elements. I've tried pasting in examples from various example pages (such as https://en.wikipedia.org/wiki/Help:Introduction_to_tables_with_Wiki_Markup/3) but even they won't work. The wiki in question is private unfortunately, so I can't provide examples, but even pasting in several different example tables exactly as they appear on other sites isn't working. Thankful for any thoughts or advice on what I might be doing wrong! Brendokay (talk) 20:21, 5 January 2016 (UTC)

This may be a JavaScript error that prevents loading/executing the required modules that provide that functionality.
Check the error console of your browser (accessible usually by hitting F12 or F11) and look for any error condition in load.php URLs Ciencia Al Poder (talk) 11:27, 6 January 2016 (UTC)
In older versions I once had a similar problem. In my case, I had to allow access to files in the folder resources/. I think the problem was that with debugging enabled, MediaWiki did not use load.php to deliver CSS and JS files, but it somehow referenced the original files, which were located in that folder. Once I allowed access to them, the problems disappeared. 87.123.46.59 (talk) 14:18, 6 January 2016 (UTC)

Search Wiki and highlight text that it searches?

Is there any extension where, whenever i does a search and click on that link, in that page it will highlight all the words that have been search? AmazingTrans (talk) 23:24, 5 January 2016 (UTC)

See Extension talk:CirrusSearch/2018#h-Highlighting_search_term_in_end_page-2018-09-13T02:56:00.000Z and Project:Support desk/Flow/2018/11#h-Highlight_search_hits-2018-11-18T19:47:00.000Z AKlapper (WMF) (talk) 20:09, 12 May 2020 (UTC)

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hello. How to make the link Community Portal that was available in previous versions and that was shown in left Navigation Pane under the link Main Page to be available in our wiki upgraded to 1.26? Thank you! 198.232.185.11 (talk) 00:08, 6 January 2016 (UTC)

See Manual:Interface/Sidebar! 87.123.31.84 (talk) 00:43, 6 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

How to setup a new Wiki Page?

How to setup a new wiki page for my .ae website.

The content (wiki help on our software) will be written in Arabic.

Appreciate if someone can help me in setting up mediawiki page for my website.

Thank you. Ofarooq (talk) 07:43, 6 January 2016 (UTC)

Magic word "urlencode" not working in other browser

I have a file name as follow:

//Servername/subdirectory1/file;12 3.txt

And when i utilize urlencode for templates:

In chrome, it shows this (which work), but bad when someone decided to copy the link and paste it in the windows explorer, which doesn't work.

file:///%2F%2FServername%2Ffile%3B123.txt

In firefox, it shows (which doesn't work)

file:///%2F%2FServername%2Ffile%3B123.txt

In IE, it shows (which doesn't work too)

file://servername/file;123.txt

Any ideas?, how to just replace symbols in the servername, subdirectory1, & filename without replacing the backslashes ? AmazingTrans (talk) 14:23, 6 January 2016 (UTC)

"The environment has been checked. You can install MediaWiki" doesn't show up after selecting language

I get this:

Environmental checks

Basic checks will now be performed to see if this environment is suitable for MediaWiki installation. Remember to include this information if you seek support on how to complete the installation.

PHP 5.3.10-1ubuntu3.20 is installed.
Warning: Could not find APCXCache or WinCache.

Object caching is not enabled.

Is there something I can do?

Thanks!

145.28.204.14 (talk) 15:22, 6 January 2016 (UTC)

I have extacly the same. Same PHP version as well.. What to do? 88.159.53.96 (talk) 11:12, 6 April 2016 (UTC)
This situation should not happen. The PHP version is OK and a cache is not necessarily needed.
Try enabling error display and visit the page again to see what is going wrong! 87.123.51.230 (talk) 12:56, 6 April 2016 (UTC)

How can I get all history of all pages since the beginning of my Wiki?

Hey guys.

I need to get all history of all pages in my MediaWiki. Is there a way to get those information automatically (like a extension or something)? I went to Special:Logs, but it doesn't have page creation and modification. The information I need is in Special:RecentChanges, but it only shows me the last 91 days (my Wiki has 1 year old).

Please help! 143.107.176.135 (talk) 17:55, 6 January 2016 (UTC)

This information can be obtained in very different ways, e.g. through visiting the page histories or by doing API calls. Saving a database dump also is a way to get the complete history - this dump will then aso include deleted revisions, which you normally can no longer see using the other methods. What do you need this information for? 87.123.46.59 (talk) 20:05, 6 January 2016 (UTC)
All information is in the revision table, you could do a select of that table ordering by rev_timestamp
For logs you could go to Special:Log Ciencia Al Poder (talk) 10:41, 7 January 2016 (UTC)
5 years late to the party, however I also had this problem and I STILL couldn't find any way to do this so wrote a quick Special:AllContributions page to do this. We run a small internal Wiki that gets really random and infrequent edits, so to keep a cap on what were doing we wanted to see "recent" activity even if its a year back.
Pick up the code here; GITHUB.COM/LucienMP/AllContributions Lucienmp (talk) 10:42, 30 December 2020 (UTC)
Note that you can set $wgRCMaxAge to a very large value to prevent old entries from RecentChanges to be removed. Note that it should be reasonably large but not excessive, to prevent errors like setting a number longer than the maximum integer value that PHP can handle, or a value which may represent a date outside of the valid ranges of PHP.
After setting that value, old entries won't be visible. You probably can have them populated by running the rebuildrecentchanges.php maintenance script. Ciencia Al Poder (talk) 11:12, 30 December 2020 (UTC)

On $wgCookieDomain and $wgCentralAuthCookieDomain, it says the value should be set to .foo.com to cover subdomains like en.wikipedia.org and fr.wikipedia.org.

However, what would you set this to if you have several domains? Such as if you wanted to use CentralAuth to be able to login on foo.com, bar.com and foobar.com? NeedAGoodUsername (talk) 20:48, 6 January 2016 (UTC)

Enable Search uploaded pdf & doc?

Hi there, is there anyway to enable search on uploaded pdf & doc file? 206.51.148.2 (talk) 20:49, 6 January 2016 (UTC)

Upload file to different directory?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


  1. Is it possible to enable upload of picture files to mediawiki directory /mediawiki/htdocs/images and upload file of pdf, doc, xls to another server such as /mnt/Server2/Mediawiki/Files
  2. Also, I tried setting

$wgUploadPath = "/mnt/Server2/Mediawiki/Files/"

$wgUploadDirectory = "/mnt/Server2/Mediawiki/Files/"

When i tried uploading the file into the server, it gave me the following. I believe it is something to do with the permission in mnt folder. I tried chown 777 on the folder and also chown the proper user to it like in the images folder, the mnt folder did not change its permission at all and stayed at 755 and root:root

[045dd526] /mediawiki/Special:Upload MWException from line 1868 of /opt/mediawiki/htdocs/includes/filerepo/file/LocalFile.php: Could not acquire lock for 'datasheet_en.pdf.'

Backtrace:

0 /opt/mediawiki/htdocs/includes/filerepo/file/LocalFile.php(1147): LocalFile->lock()
1 /opt/mediawiki/htdocs/includes/upload/UploadBase.php(708): LocalFile->upload(string, string, string, integer, array, boolean, User)
2 /opt/mediawiki/htdocs/includes/specials/SpecialUpload.php(486): UploadBase->performUpload(string, string, boolean, User)
3 /opt/mediawiki/htdocs/includes/specials/SpecialUpload.php(197): SpecialUpload->processUpload()
4 /opt/mediawiki/htdocs/includes/specialpage/SpecialPage.php(384): SpecialUpload->execute(NULL)
5 /opt/mediawiki/htdocs/includes/specialpage/SpecialPageFactory.php(553): SpecialPage->run(NULL)
6 /opt/mediawiki/htdocs/includes/MediaWiki.php(249): SpecialPageFactory::executePath(Title, RequestContext)
7 /opt/mediawiki/htdocs/includes/MediaWiki.php(682): MediaWiki->performRequest()
8 /opt/mediawiki/htdocs/includes/MediaWiki.php(476): MediaWiki->main()
9 /opt/mediawiki/htdocs/index.php(46): MediaWiki->run()
10 {main}
AmazingTrans (talk) 22:51, 6 January 2016 (UTC)
All files, independently of file type, must be on the same location.
About /mnt, assuming it's a mount point for a different filesystem, maybe you need to remount it again with options to allow other users to be owners of those files Ciencia Al Poder (talk) 10:39, 7 January 2016 (UTC)
have the same problem 46.252.133.250 (talk) 15:20, 28 January 2016 (UTC)
Get an error if i try to post my log. Great Job!
A brief description of the abuse rule which your action matched is: Temporary mass spambot attack. 46.252.133.250 (talk) 15:22, 28 January 2016 (UTC)
chmod -R 777 /mnt/Server2/Mediawiki/Files
resolve you problem. 46.252.133.250 (talk) 15:33, 28 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Update categories

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I have added a category to my wiki and changed categories on a few pages, but my Wiki isn't updating.
I have no command line access, hence can't run maintenance routines.
How can I update my wiki?
Thank you in advance!
EFFemeer (talk) 13:19, 7 January 2016 (UTC)
If the changed page do not update, you can do a null-edit to purge their cache. Without access to the command line, maintenance scripts like refreshLinks.php can still be run using Extension:MaintenanceShell. 87.123.45.167 (talk) 13:26, 7 January 2016 (UTC)
Thanks for the reaction!
Null edit doesn't help, unfortunately. I installed Extension:MaintenanceShell and ran refreshLinks.php but that didn't work: I got
Refreshing redirects table.
Starting from page_id 1 of 530.
100
200
300
400
500
Refreshing links tables.
Starting from page_id 1 of 530.
A database query error has occurred.
Query: DELETE FROM `vclj_geo_tags` WHERE gt_page_id = '1'
Function: GeoDataHooks::doLinksUpdate
Error: 1146 Table 'drebbel.vclj_geo_tags' doesn't exist (localhost)
<br />
<b>Notice</b>:  Uncommitted DB writes (transaction from RefreshLinks::fixLinksFromArticle). in <b>/www/htdocs/drebbel/wiki/includes/db/Database.php</b> on line <b>4262</b><br />
<br />
<b>Notice</b>:  DB transaction callbacks still pending (from Title::invalidateCache, HTMLCacheUpdate::doUpdate). in <b>/www/htdocs/drebbel/wiki/includes/db/Database.php</b> on line <b>4270</b><br /> EFFemeer (talk) 18:24, 7 January 2016 (UTC)
You obviously have Extension:GeoData installed, which adds the database table vclj_geo_tags to the tables, which refreshLinks.php should update. This extension includes code in its GeoDataHooks.php file, which does these updates then. However, while the extension obviously is installed, this table is missing in your installation.
Obviously this extension is not installed properly.
Maybe updating it to the latest version for your version of MediaWiki helps? Or you could "fix" this by manually creating the table using the SQL code in GeoData/sql/db-backed.sql or GeoData/sql/externally-backed.sql for the Elasticsearch backend. Or if you do not use the extension, you should uninstall it. 87.123.45.167 (talk) 22:57, 7 January 2016 (UTC)
Many thanks!
I took GeoData away from my LocalSetting.php and refreshLinks.php went fine. Problem solved. EFFemeer (talk) 10:14, 8 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Help page

Hi,

is there pospolity to delete "help" page or edit it.

I want to have there only "my" help pages. 213.189.41.130 (talk) 14:34, 7 January 2016 (UTC)

I don't suppose you could link to the page you mean? NeedAGoodUsername (talk) 14:44, 7 January 2016 (UTC)
I don't think we will remove all pages, which have not been written by "him" - whoever he is. 87.123.45.167 (talk) 14:49, 7 January 2016 (UTC)

Syncing Calendars

Hello!

I have been told I can use this text to create a calendar on my page: <mscalendar>Organization Name</mscalendar>

I am wondering if there is some other text that will allow me to sync this calendar with my work Gmail calendar.

Thank you. 69.85.207.114 (talk) 17:07, 7 January 2016 (UTC)

That mscalendar thing is provided by Extension:MsCalendar, which does not allow integration.
What you want can be probably achieved by getting the iframe code to embed a google calendar (see instructions here) and the most "secure" way to do this would be to use Extension:Widgets and create one to embed that calendar code, maybe having a variable so you can use it specifying your calendar ID. Ciencia Al Poder (talk) 10:35, 8 January 2016 (UTC)

Opt-out for new contribution options

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Since today when hovering over "Beiträge" (i.e. "contributions) on de.wikipedia I get 3 options (contributions, translations and uploaded media). When clicking on Contributions on de.wikipedia the page "User contributions" starts with these 3 options. This is completely useless for me since I upload my files to Commons anyway and I don't need a shortcut for that and the translation software I never use because before translating I always read the sources and references - and when I do that I can write the article myself without having to translate it. How can I get rid of these 3 options? Gereon K. (talk) 19:03, 7 January 2016 (UTC)

Found the solution: Unlick "Content Translation" from the Beta features of my Preferences. Can't remember to activate that. Gereon K. (talk) 10:27, 8 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Problem loading page

A colleague of mine directed me to have a look at this page in TRDwiki: "http://wiki.pharma.novartis.intra/wiki/index.php/Chemical_and_Pharmaceutical_Profiling". I did not have an account so I went through the steps to create one, but I still am not able to log in to this page (I appear to be logged in to MediaWiki, but the page asks for login to "EUNET" and says my password is incorrect). Do you know how can I access this site? Thanks for your help! Vulicka2 (talk) 21:56, 7 January 2016 (UTC)

Since your page is internal, we cannot view it and we cannot see, what the problem is.
However, your system administrator or coworkers should know how to log in to this EUNET. 87.123.45.167 (talk) 22:43, 7 January 2016 (UTC)

InputBox extension search only category?

Hi there,

I have a search inputbox. is it possible to limit the search only to category ? AmazingTrans (talk) 22:47, 7 January 2016 (UTC)

Yes. See Extension:InputBox#Parameters under the part namespaces=. NeedAGoodUsername (talk) 03:25, 8 January 2016 (UTC)
Hmm, but i would want to search in specific category such as: State category, rather than entire namespace. AmazingTrans (talk) 14:47, 8 January 2016 (UTC)
I guess you would set the name space to a category and then say which one. NeedAGoodUsername (talk) 18:03, 8 January 2016 (UTC)
So, do you mean i have to create additional namespace call Namespace:State then link it to category:State ? AmazingTrans (talk) 18:56, 8 January 2016 (UTC)
Hi,
I need that option too.
Creating namesspaces would blow our namespace management 37.157.250.213 (talk) 14:54, 6 December 2016 (UTC)
If Extension:CirrusSearch is installed, this can be done by making use of the incategory parameter.
The following should work:
<inputbox>
type=search
searchfilter=incategory:Category_name
</inputbox>
AhmadF.Cheema (talk) 12:32, 10 October 2017 (UTC)
A big UP for this request. Megajoule (talk) 07:11, 21 February 2021 (UTC)

Private user page and set visibility?

Hi there, is it possible to set visibility or content shown only to the user only?

Is there any extension that can do that? AmazingTrans (talk) 22:49, 7 January 2016 (UTC)

There's Extension:Lockdown but there's no recommended way to set up private pages while others should remain visible. Ciencia Al Poder (talk) 10:37, 8 January 2016 (UTC)

Error 404 File not found

When I upload file to my wiki I received a page "Error 404. File not found".

Why?

P.S. Sorry for my english

95.179.25.80 (talk) 01:02, 8 January 2016 (UTC)

Without a link to your wiki that's difficult to know... Is the file actually uploaded (the upload is shown in Special:Log)?
  • If this happens also when editing pages or performing a search, It may be a misconfigured path like $wgScriptPath
  • It may be a security measure imposed by the webserver if it founds a specific string in the upload form, like the ones provided by mod_security, etc. Server logs may tell you more. Ciencia Al Poder (talk) 10:43, 8 January 2016 (UTC)
My wiki site - www.elchanin.ru
When I upload jpg file, it loading, thumbnail created and file (for example) http://www.elchanin.ru/images/3/39/Lopatin.jpg is ok, but link http://www.elchanin.ru/index.php/File:Lopatin.jpg in result "Error 404. File not found".
Sorry for my english ElchaninRu (talk) 00:59, 9 January 2016 (UTC)
Thanks, that clarifies a lot!
The page exists on MediaWiki:
But accessing the page gives a 404 error.
Accessing http://www.elchanin.ru/index.php?title=%D0%A4%D0%B0%D0%B9%D0%BB:Lopatin.jpg&test works, though. If I remove "&test" from the URL, it gets redirected to the short URL which gives the 404 error
If I edit any of the URLs that work, and append ".jpg" at the end of it, the same problem happens. If I use ".txt" instead the problem doesn't happen.
It seems to be caused by the configuration of your webserver. Maybe there's a rewrite rule in place or something that does a special treatment of URLs ending in .jpg and .png (with no query string) which is conflicting with PHP
Disabling short URLs (setting $wgUsePathInfo to false) may solve the problem, if you can't find what's causing this. Ciencia Al Poder (talk) 12:24, 9 January 2016 (UTC)

Composer mysteries

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I'm getting these notes, which I do not really understand. Why is 2.3.0 not satifying 2.3?

mediawiki/semantic-media-wiki: 2.3.0 installed, 2.3 required.

mediawiki/parser-hooks: 1.4 installed, ~1.4 required. EFFemeer (talk) 13:42, 8 January 2016 (UTC)

See [0].
[0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1359 MWJames (talk) 06:54, 9 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

SphinxSearch installation & purpose?

I want to enable search for uploaded pdf. does sphinxsearch do that?

After i installed the extension into mediawiki/htdocs/extensions/SphinxSearch

Also, I am at step 3 where it says run sphinx indexer. What is this installation/bin/indexer? I cannot find this file name indexer to run.

Step 3 - Run Sphinx Indexer

Run the sphinx indexer to prepare for searching:

/path/to/sphinx/installation/bin/indexer --config /path/to/sphinx.conf --all

AmazingTrans (talk) 14:49, 8 January 2016 (UTC)

Catchable fatal error

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I'm a bit confused by the following:

My contact form works fine when logged in. But when not logged in, I get

Catchable fatal error: Argument 1 passed to ReCaptcha::getForm() must be an instance of OutputPage, none given, called in /www/htdocs/drebbel/wiki/extensions/ContactPage/ContactPage_body.php on line 488 and defined in/www/htdocs/drebbel/wiki/extensions/ConfirmEdit/ReCaptcha/ReCaptcha.class.php on line 12

___

My LocalSettings.php:

wfLoadExtensions( array( 'ConfirmEdit', 'ConfirmEdit/ReCaptcha' ) );

require_once "$IP/extensions/ContactPage/ContactPage.php";

$wgContactUser = 'xxxx';

$wgContactSender = $wgPasswordSender;

$wgContactSenderName = 'Contact Form on ' . $wgSitename;

$wgContactConfig['default'] = array(

'RecipientUser' => 'xxxx', // Must be the name of a valid account which also has a verified e-mail-address added to it.

'SenderName' => 'Contact Form on ' . $wgSitename, // "Contact Form on" needs to be translated

'SenderEmail' => null, // Defaults to $wgPasswordSender, may be changed as required

'RequireDetails' => true, // Either "true" or "false" as required

'IncludeIP' => true, // Either "true" or "false" as required

'AdditionalFields' => array(

'Text' => array(

'label-message' => 'emailmessage',

'type' => 'textarea',

'rows' => 10,

'cols' => 80,

'required' => true,  // Either "true" or "false" as required

),

),

        // Added in MW 1.26

        'DisplayFormat' => 'table',  // See HTMLForm documentation for available values.

        'RLModules' => array(),  // Resource loader modules to add to the form display page.

        'RLStyleModules' => array(),  // Resource loader CSS modules to add to the form display page.

);

$wgCaptchaClass = 'ReCaptcha';

$wgReCaptchaPublicKey = '6xxxxK';

$wgReCaptchaPrivateKey = '6xxxxi';

$wgGroupPermissions['*'            ]['skipcaptcha'] = false;

$wgGroupPermissions['user'         ]['skipcaptcha'] = true;

$wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true;

$wgGroupPermissions['bot'          ]['skipcaptcha'] = true; // registered bots

$wgGroupPermissions['sysop'        ]['skipcaptcha'] = true;

$wgCaptchaTriggers['edit']          = true;

$wgCaptchaTriggers['create']        = true;

$wgCaptchaTriggers['createaccount'] = true;

$wgCaptchaTriggers['contactpage'] = true; // Adds reCAPTCHA to the contact page if created

_________________

I've changed the function getForm( OutputPage $out ) into getform() {in ReCaptcha.class.php} and now it works fine apart from the fact that one often has to refresh the contactpage for the Captcha to appear.

EFFemeer (talk) 15:25, 8 January 2016 (UTC)
The code of the ReCaptcha plugin and of the ContactPage extension are not compatible currently.
For ReCaptcha, the first parameter in the call to getForm() must be an instance of OutputPage like so:
getForm( OutputPage $out, $tabIndex = 1 )
ContactPage_body.php line 488 however calls it like so:
$captcha->getForm()
without providing any parameters.
Does it work, if you change this call as follows?
$captcha->getForm( OutputPage $out ) 87.123.31.241 (talk) 16:17, 8 January 2016 (UTC)
Thanks for the prompt reaction.
Unfortunately this gives Parse error: syntax error, unexpected T_VARIABLE in /www/htdocs/drebbel/wiki/extensions/ContactPage/ContactPage_body.php on line 488
Changing the function getForm( OutputPage $out ) into getform() {in ReCaptcha.class.php} works better, but the Captcha window generally doesn't appear until the page is refreshed. http://drebbel.net/wiki/Special:Contact
It seems that other Captcha's aren't doing any better? EFFemeer (talk) 16:29, 8 January 2016 (UTC)
I would still try to fix this error in ContactPage_body.php on line 488.
Oh, there is an error in my code. Sorry for that! Maybe try this way:
Old:
 return '<div class="captcha">' .
     $captcha->getForm() .
     "</div>\n";
New:
 global $wgOut;
 return '<div class="captcha">' .
     $captcha->getForm( $wgOut ) .
     "</div>\n";
87.123.38.25 (talk) 12:59, 10 January 2016 (UTC)
This works fine apart from the fact that the captcha rectangle isn't shown automatically. In other words, upon first access of the contactpage one only gets the text CAPTCHA without the image. The user has to refresh the page to get the image displayed.
http://drebbel.net/wiki/Special:Contact EFFemeer (talk) 16:19, 10 January 2016 (UTC)
It does appear when I open the page the first time, at least for me :)
Btw.: This should be fixed in the ContactPage extension directly, editing the code of ConfirmEdit isn't the solution you want ;) See phabricator:T123222. Florianschmidtwelzow (talk) 08:19, 11 January 2016 (UTC)
Thanks for helping me out, Florian.
This morning it did appear for me also. But after a login - logout sequence it doesn't anymore. Probably a problem with caching?
Let's wait and see what the extension update will do. EFFemeer (talk) 08:37, 11 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Hi there, is there extension where when we open a page, the 1st section of the page texts will contains links to internal wiki pages that existed.For example:In the page: https://en.wikipedia.org/wiki/ElectricityWe notice that the page has multiple phrase electric charge.I would want this Electricity page to make a link automatically for electric charge maybe 2 or 3 times from the beginning. Does such extension exists? 206.51.148.2 (talk) 18:54, 8 January 2016 (UTC)

image replication

Is it possible to replicate images when setting up Mysql replication on our wiki database? Or would we have to use rsync or shared storage? Red0Menace (talk) 21:54, 8 January 2016 (UTC)

Images are stored directly on the filesystem, not inside the database, so you'll need some method like rsync for that. Ciencia Al Poder (talk) 12:33, 9 January 2016 (UTC)
Another way to do this would be to set up one wiki as the foreign file repository for your wiki. MarkAHershberger(talk) 17:25, 11 January 2016 (UTC)

pdf search with file upload? Search engine?

This is a private wiki that i have in virtual machine on my network.

  1. What kind of extension can support pdf, doc, xls indexing?
  2. Should i replace mediawiki search with cirrus / sphinx since i cannot search text when they are case-sensitive. For example: I have a text LocalSettings, I tried searching for loca or local, but the standard mediawiki doesn't return anything.
  3. I noticed every of my search, there is a \n at the end of the page. What would cause this issue?

Thanks! AmazingTrans (talk) 22:24, 8 January 2016 (UTC)

Extension:BlueSpice can index PDFs and DOCs, IIRC. MarkAHershberger(talk) 17:24, 11 January 2016 (UTC)

Picture search in VE

In my private wiki,

I have uploaded couple of pictures: PictureA.jpg, PictureTest.jpg, PictureHey.jpg, PictureDEER.jpg,

When i did a insert media using VE, the search box pop-ups without any picture first, then I type the words P nothing comes out, i have to type Picture Then only the pictures are shown.

Is there anyway to setup so, VE show all picture during the start, and then show picture as long as 1st letter is typed?

I was told to use CirrusSearch. I'm wondering does the standard wiki come with cirrusSearch, or its just a normal full text mysql search?

https://www.mediawiki.org/w/index.php?title=Talk%3AVisualEditor/2015#c-Whatamidoing_%28WMF%29-2016-01-09T01%3A55%3A00.000Z-AmazingTrans-2015-12-23T16%3A28%3A00.000Z AmazingTrans (talk) 04:41, 9 January 2016 (UTC)

I think there's nothing we can do here. I think @Whatamidoing (WMF): already told you any information available. If you want to know, if CirrusSearch is installed, please look at your Special:Version page, and in your LocalSettings.php if you configured CirrusSearch correctly (please read the documentation for that).
Best,
Florian Florianschmidtwelzow (talk) 08:12, 11 January 2016 (UTC)
Standard wikis do not come with CirrusSearch. MarkAHershberger(talk) 17:22, 11 January 2016 (UTC)

Indexing in Mediawiki.

I've noticed that the mediawiki does not index realtime or does it index realtime. For example, i have uploaded a file, but the file did not get index right away unless i run the following script: rebuildall.php

How do i enable so wiki can enable this script at least when i finish uploading? AmazingTrans (talk) 04:44, 9 January 2016 (UTC)

Hi,
indexing of new files/pages and edits is normally done using the JobQueue. This means, that, depending on how you configured the job queue, it depends on how many users visiting your wiki (and generating page views). It's possible, that no job runs, if you turn off the job queue runs on page views (it's mostly done to increase the performance, but can result in such problems). Please check, how and if you configured the job queue and how hey run. If you turned it off or to a very limited number of job runs per page views (e.g. run jobs only every 10th page view), that's your problem :)
Best,
Florian Florianschmidtwelzow (talk) 08:05, 11 January 2016 (UTC)
If you want "real time" indexing, Extension:CirrusSearch is your best bet. MarkAHershberger(talk) 17:20, 11 January 2016 (UTC)
hmmm, apaprently, with CirrusSearch i have to have elasticsearch server as well?
I only have a mediawiki VM. AmazingTrans (talk) 00:26, 13 January 2016 (UTC)

Whether I can use mediawiki for my teaching site

I am going to teach student an education with free of cost. Meanwhile I can going to use google adsense for profit for the website to run. Whether I can use mediawiki for my site? Sudharsanmcet (talk) 18:47, 9 January 2016 (UTC)

It basically is your own decision, which content you are putting into a MediaWiki installation. There are ways to integrate Google Adsense into a MediaWiki site.
There is Extension:Google AdSense, which however seems to be unmaintained. I also found Extension:AdsWherever, which however is consider unstable and it will (only) show the advert, if an according tag has been added to a given wiki page.
This blogpost describes other ways of how to use hooks in order to cleanly integrate Google Adsense - even at different positions inside the wiki. Jörgi123 (talk) 12:50, 10 January 2016 (UTC)

I need help with something

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


User:AngrydroidForce99/Help

The link should tell you AngrydroidForce99 (talk) 00:34, 10 January 2016 (UTC)

See Manual:User rights for the code, which you have to put into LocalSettings.php in order to create a new user group! 87.123.38.25 (talk) 12:44, 10 January 2016 (UTC)
How do you make it so it has all the rights of another group AngrydroidForce99 (talk) 17:10, 10 January 2016 (UTC)
$wgGroupPermissions['mygroup'] = $wgGroupPermissions['sysop'];
$wgGroupPermissions['mygroup']['reupload'] = false;
This creates the user group "mygroup", gives it the rights of the sysop group and then takes away the reupload right. 87.123.38.25 (talk) 18:59, 10 January 2016 (UTC)
Okay thanks. AngrydroidForce99 (talk) 22:54, 10 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

How to get hidden pages due to Mediawiki+Appserv version upgrade back?

I test php scripts with Appserv in my computer.

To use PHPBB, I have to upgrade Appserv.

After updating Appserv, the original can only errors and therefore I have no chance to backup.

I can only install the newest version of Mediawiki.

After updating Mediawiki to the most recent version, the original pages are hidden.

How do I get those pages back? 218.161.71.11 (talk) 00:57, 10 January 2016 (UTC)

Appserv is a package, which consists of Apache, PHP and MySQL.
Basically, for the MediaWiki upgrade you should follow the steps described on Upgrade!
From your deescription I can only guess what "are hidden" means exactly. Maybe you want to detail this further. Are you having this problem: Manual:Errors and symptoms#All pages have no content.2C but when editing a page the wiki text is there? 87.123.38.25 (talk) 12:42, 10 January 2016 (UTC)
For ways of how to create a backup, see Manual:Backing up a wiki.
Basically, you "only" need a copy of al wiki files and of the wiki database. That means: Only MySQL needs to be running, then you should be able to create the database backup! 87.123.38.25 (talk) 12:53, 10 January 2016 (UTC)

Upgrade a custom skin

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi There,

Is there any guidelines to upgrade a custom skin manually. The skin was developed in 1.2.0 pre json configuration. I have a fresh install with version 1.26.2. I think I need to create a skin.json file. Any instructions would be helpful. Rickjross (talk) 04:05, 10 January 2016 (UTC)

See Manual:Skin autodiscovery for the steps, which you have to take. That page also includes a migration guide for old skins like yours! 87.123.38.25 (talk) 12:39, 10 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Force category before save?

Is there extension that forces user to enter a category before saving in visual editor mode? This way, administrator doesn't need to keep up with un-categorized pages. AmazingTrans (talk) 07:08, 10 January 2016 (UTC)

I don't know any extension, that provides such a functionality. Maybe you want create one? Florianschmidtwelzow (talk) 07:44, 11 January 2016 (UTC)
You can use an AbuseFilter rule for this. I was going to look it up but I'm locked out of the wiki where I use this ATM. Just dropping a note for later. MarkAHershberger(talk) 17:18, 11 January 2016 (UTC)

Help! I lost all my work on Standtall78

Hi there, I was trying to change my user name and I realized all the work I have done on this page included all the talk I am yet to respond to is gone. Is there a way to get all this back pls?

Thank you. Standtall78 (talk) 10:52, 10 January 2016 (UTC)

I have no idea what you might have done or not done. It is completely unclear to me, why you might have "lost" your work.
If you changed the username and afterwards things did no longer work as expected, then you should change the username back and see, if it helps.
We won't be able to help you, if you don't give us a detailed description of the steps, that you have made, in order to break things. 87.123.38.25 (talk) 12:34, 10 January 2016 (UTC)

Firewall CIDR Blocking

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Manage IPs will only let us use single IP addresses.

How can we allow or block CIDR's like x.x.0.0/8 ? 192.60.115.65 (talk) 17:46, 10 January 2016 (UTC)

You can block a range of IPs as well as single IP address. Just use the range syntax when blocking an IP. See Help:Range blocks Ciencia Al Poder (talk) 10:47, 11 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Restore deleteOldRevisions?

deleteOldRevisions has deleted my current revisions on my wiki, is there anyway to restore my data? 109.149.219.82 (talk) 04:15, 11 January 2016 (UTC)

If you haven't hacked the maintenance script, I can't see a way, how deleteOldRevisions.php deletes the _actual_ revision of a page. I took a look at the code, and it explicitly exclude the actual revisions. However, if the revisions are deleted using the script, it's impossible to get them back, except if you have a database backup. If so, you could extract the revisions from the dump or restore it completely.
Best,
Florian Florianschmidtwelzow (talk) 07:41, 11 January 2016 (UTC)
If the current revisions have been deleted, then this must have happened with another script. The nukeNS.php script could be used to delete also the current revisions of pages.
Anyway, if it was me, I would restore the database from a backup.
Another option, if you have a backup and access to the following queries in the MySQL server binary log, might be to go to the last backup and to replay all queries after that from the log, leaving out the problematic ones. However, I am not a MySQL expert - I have never done that before. I only know that - depending on the server setup - it might be possible to do. 87.123.29.24 (talk) 13:06, 11 January 2016 (UTC)

Help with connection to FTP

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi,

Am using FileZilla. No problem connecting to host server. But as I now use a web security that directs my host IP to their secure IP, I am unable to connect to the server.

- Contacting the Web security people, they said they are able to connect using the host IP

- Contacted my hosting people and they suggested that I need to get in touch with FileZilla troubleshooting.

- Consulted the FileZilla Help section extensively and cannot find a solution.

Help, anyone? Any ideas? Tizzzzeeee (talk) 04:18, 11 January 2016 (UTC)

Hi,
unfortunately, we can't give support for software, we don't distribute/develop. You should ask this question in a more general forum/support desk, which might be able to help you, or contact the developer(s) of the ftp client you use.
Best,
Florian Florianschmidtwelzow (talk) 07:38, 11 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi

I put licences into my media wiki site after many images were uploaded. Is there any way to assign new licences to them ? I dont want to reupload whole pack.

Thanks 83.18.8.90 (talk) 10:25, 11 January 2016 (UTC)

If you upload a file over an existing one, the license won't be applied, that only works for new pages.
The license is nothing more than a template. You can edit those file description pages and manually add the license template. Ciencia Al Poder (talk) 10:38, 11 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

upload file in sidebar

Hi,

I want to delete * SEARCH * TOOLBOX * LANGUAGES in side bar (I know how to do that via mediawiki:sidebar) but I want to leave upload file I was trying to use code 'upload file-url | upload file', but it didn't work. How I can do that? 213.189.41.130 (talk) 12:10, 11 January 2016 (UTC)

You could use:
Special:Upload | upload file
That should work :) Florianschmidtwelzow (talk) 08:11, 12 January 2016 (UTC)

Who can edit Common.css?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Who?… :-) And if everyone have an access to that, how could I protect this page? Атомный трамвай (talk) 14:47, 11 January 2016 (UTC)

The page is protected, because it is part of the MediaWiki namespace. This namespace by default can only be edited by users with the according user rights. Usually, these are users in the sysop user group (wiki administrators). 87.123.29.24 (talk) 15:19, 11 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

How do I cancel my user name, password and email? This is not the site I was signing up to use.

Please tell me how to cancel this website? It's not the one I was trying to sign into. Cr&cjbass (talk) 17:23, 11 January 2016 (UTC)

No one will use your email here. Otherwise, you can request a deletion via phabricator. MarkAHershberger(talk) 17:28, 11 January 2016 (UTC)
Hi! You can delete your e-mail address easly in the preferences. Unfortunately, it's nearly impossible to delete an account in a wiki (by design). Otherwise your edits wouldn't be attributed to your username anymore. Florianschmidtwelzow (talk) 17:30, 11 January 2016 (UTC)

Did a software upgrade, now my user dashboard is missing. wehre did it go and how do i get i back?

My user dashboard is missing after doing an update, where did it go, how do I get it back?? 216.36.142.40 (talk) 22:09, 11 January 2016 (UTC)

About which software are you speaking? If it is MediaWiki, please tell us, how you created the dashboard, which now is missing! 87.123.29.24 (talk) 01:12, 12 January 2016 (UTC)
it's mediawiki. I don't KNOW how I created the dashboard, I'm not sure I even did. It had typical editing functions such as headers, italics, bold, url, image, etc. in a row a the top of an editing page. One could select one of the functions and the wiki markup code would be inserted onto the page at the curser. It was there the last time I wanted to do an edit, now it's gone. I HATE this. I want things left alone so that when I go back, features I expect to BE there, are there. I just want it back without a lot of hassle, and I can't seem to find ANYTHING about it ANYWHERE. To say I'm a little frustrated is a huge understatement. 216.36.142.40 (talk) 02:54, 12 January 2016 (UTC)
This isn't a "user dashboard" (it's very hard to understand, that you mean the edit toolbar with this name, so please excuse the questions, no reason to snap :P). From what version to which version you upgraded? Did you upgraded any extension, too? Do you have the extension WikiEditor installed or not (that's important to know, what edit toolbar is missing). Have you any other editing extension installed? Is your wiki public? If yes, can you please give a link to it? Florianschmidtwelzow (talk) 08:07, 12 January 2016 (UTC)
See also Manual:Errors and symptoms#Missing edit toolbar, JavaScript not working Ciencia Al Poder (talk) 10:23, 12 January 2016 (UTC)
I did a system Fedora Linux update, which I assume updated parts or portions of the media wiki. You ask me questions to which I have no answers; I've no idea what happened, except I lost a very useful part of my software and I only want it back. This is so over-complicated. We simply updated Fedora 21, that's all we told the system to do. That it did. When I went back to my wiki, my "dashboard" was gone. That's what I can tell you. I'm not a geek. This was set up for me, support which I no longer have. Trying to find things on my own has been an exercise in futility. This is proving to be the same. 216.36.142.40 (talk) 12:04, 12 January 2016 (UTC)
Sorry, we can't help you, if you don't give us complete information, or at least the ones we ask for :) Maybe it would help, if you give us a link to your wiki, or please give us the information we asked you for. You can check, what extensions are installed on the Special:Version page of your wiki. Another interesting thing would be, if you get an error message in your browsers console (see this ProWebmasters answer to know how to do this). Florianschmidtwelzow (talk) 22:23, 12 January 2016 (UTC)
How did you used to access this "dashboard"? NeedAGoodUsername (talk) 12:30, 12 January 2016 (UTC)
Does a Fedora update also update MediaWiki? 87.123.52.42 (talk) 14:00, 12 January 2016 (UTC)

How Find Out User Name?

How do I find out my user name? I know my password, but apparently I failed to write down the User Name. Thank you in advance. 2602:306:CC02:ABE0:9C23:6730:5A:5ED8 (talk) 23:51, 11 January 2016 (UTC)

If you provided an email address, you can use it to get your credentials, including the username, sent to it. This is possible by clicking on the "Forgot your password" link during login.
If you know a few of the first letters of the username, you could also go through the user list and see, if you find your name there. The list is at this page in the according wiki: Special:ListUsers. 87.123.29.24 (talk) 01:11, 12 January 2016 (UTC)
Also, if you remember to have edited any particular page, you can look at the page history of that page to see who contributed to that page. You should find your username there. Ciencia Al Poder (talk) 10:20, 12 January 2016 (UTC)

Skin not working as expected on WikiFree Hub

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Go to http://wikifree.altervista.org/ and you'll see what I mean. HELP! Luis/stranger195 (talkcontribsguestbook) 07:56, 12 January 2016 (UTC)

Hit F12 and see the error console: Syntax error in a load.php file. Open that URL and see the error message: Fatal error: Class 'FormatJson' not found in /membri/wikifree/w/extensions/EventLogging/includes/ResourceLoaderSchemaModule.php on line 115
If you haven't done anything weird during an upgrade, it may be an op-cache bug ( https://phabricator.wikimedia.org/T90430 ) try to restart the server. Ciencia Al Poder (talk) 10:23, 12 January 2016 (UTC)
Thanks, Ciencia. I had to upload the EventLogging extension again (overwriting the old ones, of course), for some reason. Luis/stranger195 (talkcontribsguestbook) 09:04, 13 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

OutOfBoundsException

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Problem (again) with Maps on Mediawiki:

Exception encountered, of type "OutOfBoundsException"

[f05b7a5e] /wiki/Drebbels_Wandeling OutOfBoundsException from line 130 of /www/htdocs/drebbel/wiki/extensions/SemanticMediaWiki/vendor/param-processor/param-processor/src/ParamDefinitionFactory.php: Unknown parameter type "mappingservice".

Backtrace:

#0 /www/htdocs/drebbel/wiki/extensions/SemanticMediaWiki/vendor/param-processor/param-processor/src/ParamDefinitionFactory.php(213): ParamProcessor\ParamDefinitionFactory->newDefinition(string, string, string, string, boolean)

#1 /www/htdocs/drebbel/wiki/extensions/SemanticMediaWiki/vendor/param-processor/param-processor/src/ParamDefinition.php(595): ParamProcessor\ParamDefinitionFactory->newDefinitionFromArray(array)

#2 /www/htdocs/drebbel/wiki/vendor/param-processor/param-processor/src/Processor.php(223): ParamProcessor\ParamDefinition::getCleanDefinitions(array)

#3 /www/htdocs/drebbel/wiki/vendor/param-processor/param-processor/src/Processor.php(212): ParamProcessor\Processor->setParameters(array, array, boolean)

#4 /www/htdocs/drebbel/wiki/extensions/SemanticMediaWiki/extensions/Validator/src/legacy/ParserHook.php(366): ParamProcessor\Processor->setFunctionParams(array, array, array)

#5 /www/htdocs/drebbel/wiki/extensions/SemanticMediaWiki/extensions/Validator/src/legacy/ParserHook.php(294): ParserHook->validateAndRender(array, integer)

#6 [internal function]: ParserHook->renderFunction(Parser, string, string, string, string, string, string, string)

#7 /www/htdocs/drebbel/wiki/extensions/SemanticMediaWiki/extensions/Validator/src/legacy/ParserHook.php(336): call_user_func_array(array, array)

#8 /www/htdocs/drebbel/wiki/extensions/SemanticMediaWiki/extensions/Validator/src/legacy/ParserHook.php(610): ParserHook->renderFunctionObj(Parser, PPFrame_DOM, array)

#9 [internal function]: ParserHookCaller->runFunctionHookObj(Parser, PPFrame_DOM, array)

#10 /www/htdocs/drebbel/wiki/includes/parser/Parser.php(3789): call_user_func_array(array, array)

#11 /www/htdocs/drebbel/wiki/includes/parser/Parser.php(3523): Parser->callParserFunction(PPFrame_DOM, string, array)

#12 /www/htdocs/drebbel/wiki/includes/parser/Preprocessor_DOM.php(1177): Parser->braceSubstitution(array, PPFrame_DOM)

#13 /www/htdocs/drebbel/wiki/includes/parser/Parser.php(3342): PPFrame_DOM->expand(PPNode_DOM, integer)

#14 /www/htdocs/drebbel/wiki/includes/parser/Parser.php(1239): Parser->replaceVariables(string)

#15 /www/htdocs/drebbel/wiki/includes/parser/Parser.php(439): Parser->internalParse(string)

#16 /www/htdocs/drebbel/wiki/includes/content/WikitextContent.php(331): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)

#17 /www/htdocs/drebbel/wiki/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)

#18 /www/htdocs/drebbel/wiki/includes/poolcounter/PoolWorkArticleView.php(140): AbstractContent->getParserOutput(Title, integer, ParserOptions)

#19 /www/htdocs/drebbel/wiki/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()

#20 /www/htdocs/drebbel/wiki/includes/page/Article.php(676): PoolCounterWork->execute()

#21 /www/htdocs/drebbel/wiki/includes/actions/ViewAction.php(44): Article->view()

#22 /www/htdocs/drebbel/wiki/includes/MediaWiki.php(490): ViewAction->show()

#23 /www/htdocs/drebbel/wiki/includes/MediaWiki.php(287): MediaWiki->performAction(Article, Title)

#24 /www/htdocs/drebbel/wiki/includes/MediaWiki.php(714): MediaWiki->performRequest()

#25 /www/htdocs/drebbel/wiki/includes/MediaWiki.php(508): MediaWiki->main()

#26 /www/htdocs/drebbel/wiki/index.php(41): MediaWiki->run()

#27 {main}

My version table:

Installed software

Entry point URLs

Installed skins

Installed extensions

Installed libraries

<aoaudio>, <aovideo>, <categorygallery>, <categorytree>, <catgallery>, <coordinates>, <display_line>, <display_map>, <display_point>, <display_points>, <distance>, <dpl>, <dynamicpagelist>, <emailform>, <embed_document>, <finddestination>, <gallery>, <geocode>, <geodistance>, <ggtube>, <googlespreadsheet>, <gtrailer>, <gvideo>, <historylink>, <html>, <indicator>, <info>, <itimeline>, <layer>, <mapsdoc>, <nicovideo>, <nowiki>, <pdf>, <pre>, <ref>, <references>, <section>, <slideshow>, <smwdoc>, <tangler>, <timelinetable>, <video>, <wegame> and <youtube> 

Parser function hooks

anchorencode, arraymap, arraymaptemplate, ask, autoedit, basepagename, basepagenamee, bidi, canonicalurl, canonicalurle, cascadingsources, categorytree, concept, coordinates, declare, default_form, defaultsort, display_line, display_map, display_point, display_points, displaytitle, distance, dpl, dplchapter, dplmatrix, dplnum, dplreplace, dplvar, eimage, eimagea, filepath, finddestination, formatdate, formatnum, forminput, formlink, formredlink, fullpagename, fullpagenamee, fullurl, fullurle, gender, geocode, geodistance, grammar, info, int, language, lc, lcfirst, localurl, localurle, mapsdoc, namespace, namespacee, namespacenumber, ns, nse, numberingroup, numberofactiveusers, numberofadmins, numberofarticles, numberofedits, numberoffiles, numberofpages, numberofusers, padleft, padright, pageid, pagename, pagenamee, pagesincategory, pagesize, plural, protectionlevel, queryformlink, revisionday, revisionday2, revisionid, revisionmonth, revisionmonth1, revisiontimestamp, revisionuser, revisionyear, rootpagename, rootpagenamee, set, set_recurring_event, show, slideshow, smwdoc, special, speciale, subjectpagename, subjectpagenamee, subjectspace, subjectspacee, subobject, subpagename, subpagenamee, tag, talkpagename, talkpagenamee, talkspace, talkspacee, uc, ucfirst, urlencode and widget EFFemeer (talk) 10:31, 12 January 2016 (UTC)

I'd try to ask in Extension talk:Maps since it seems a error very specific to that extension. Maybe it's related with Extension talk:Maps/Flow archive/2015#h-Problem_with_maps_after_upgrade_to_1.26-2015-12-03T11:21:00.000Z Ciencia Al Poder (talk) 10:40, 13 January 2016 (UTC)
Thank you, Ciencia. As a matter of fact, I submitted it as https://github.com/JeroenDeDauw/Maps/issues/101 where it was qualified as a bug.
Hence I suppose we can close the subject here, though it's not really resolved yet. EFFemeer (talk) 10:53, 13 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Central Auth issues

  • MediaWiki: 1.26.2
  • PHP: 5.6.14-0+deb8u1 (apache2handler)
  • Database: 5.5.46-0+deb8u1

I'm having some difficulty trying to get CentralAuth to work.

What is happening is, when a new user account is created, it's registered in the global user database but it's not creating any local accounts other than the wiki the account was registered on, and thus, not attaching.

I've come to the conclusion that I must be doing something wrong that I can't see for it to not work, even when doing the same thing that others have to that have CentralAuth working.

Would someone be able to take a look at my configuration and let me know where I'm going wrong? (note lines 122-124 are commented out when testing to see if it works)

This is the repo I am copying from. NeedAGoodUsername (talk) 12:48, 12 January 2016 (UTC)

CirrusSearch Extention Issues

Hey guys,

I'm trying to setup Cirrus Search with Elastica. I followed the steps on Extension:CirrusSearch. When I load Special:Version I see that Elastica (Version 1.3.0.0) is installed but as soon as I put require_once "$IP/extensions/CirrusSearch/CirrusSearch.php"; in my LocalSetting.php file and try to load Special:Version I now get "Fatal error: Class 'ConfigFactory' not found in /var/www/Wiki/extensions/CirrusSearch/includes/Hooks.php on line 946".

I did not modify this file manually "Hooks.php", I simply downloaded the file and extracted to EXTENSIONS as requested in the documentation.

Can anyone help please?

Michal sirek (talk) 15:39, 12 January 2016 (UTC)

Hi! I assume you try to install the false version of CirrusSearch :) What version did you download and what version of MediaWiki are you currently running? :) Florianschmidtwelzow (talk) 22:25, 12 January 2016 (UTC)

Editing plain text, without formatting features (for collaborating with compiled code)

Hello,

How can I turn off the formatting to achieve a WYSIWYG for plain text where CR/LF and TAB are translated into the displayed document, and all text is literally transcribed to the with no allowance for any kind of escape code.

This would be useful so that I can create a wiki to be used by a small group of people in sharing code ( predominantly C, C++, Java and LaTeX) while minimizing typing overhead in making the document wiki-friendly. There would also be less need for the collaborators to be skilled in wiki usage.

Timothy D Legg

North Dakota State University, Fargo, ND 2001:4930:192:0:5DE9:1DC2:28C5:FB45 (talk) 16:07, 12 January 2016 (UTC)

You should either wrap all the code inside <pre></pre> tags, or use an extension like Extension:SyntaxHighlight GeSHi that even highlight the code. Ciencia Al Poder (talk) 10:37, 13 January 2016 (UTC)

Is the Wikimedia Hackathon free?

Hi,
what do you mean with "free"? If you mean, if you have to pay a registration fee or something else to attend the event: no, as far as I know (and it was so the last year(s)), you don't need to pay a registration fee or something similar. However, you probably need to plan (and) pay for transportation to the hackathon location (Jerusalem, Israel this year) and maybe an accommodation (the events goes over several days). If you're an active member in the community you probably want to try to get a scholarship.
Btw.: You should ask your question on the discussion board of the hackathon: Talk:Wikimedia_Hackathon_2016 :)
Hope that helps!
Best,
Florian Florianschmidtwelzow (talk) 22:19, 12 January 2016 (UTC)

No sidebar no CSS

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


After upgrading to 1.26.2 there is only content but no navigational aereas visible. Probably I should work on skins or stylesheets. But how to begin? The site-url: http://agra-rundfunk.de Georg Berg (talk) 22:20, 12 January 2016 (UTC)

You have to allow access to the load.php file. It currently does not serve styles, but another MediaWiki page (with an error 404, but that is not relevant here). It should however serve CSS styles. 87.123.52.42 (talk) 22:22, 12 January 2016 (UTC)
See Manual:load.php for how to enable access to this file! 87.123.52.42 (talk) 22:23, 12 January 2016 (UTC)
The load.php file is in place. How should i manipulate it? Georg Berg (talk) 22:25, 12 January 2016 (UTC)
No. When you call that file with the webbrowser, the response actually has to come from load.php.
However, in your case, the call gets redirected to index.php. And this should not happen. You have to make sure that when a user requests load.php, that then Apache also serves this file. Manual:load.php contains an example on how to modify your .htaccess file in order to do exactly that. 87.123.52.42 (talk) 22:30, 12 January 2016 (UTC)
Now the load.php serves the navigation but no styles Georg Berg (talk) 22:38, 12 January 2016 (UTC)
No, a call to something like http://agra-rundfunk.de/wiki/load.php?debug=false&lang=de&modules=mediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.sectionAnchor%7Cmediawiki.skinning.interface%7Cskins.vector.styles&only=styles&skin=vector still returns a wiki page. And it should return CSS styles.
Do you have an .htaccess file? If so, what is its content? 87.123.52.42 (talk) 22:41, 12 January 2016 (UTC)
I don't think this is a problem with permissions, but with rewrite rules. Everything that's in the URL after agra-rundfunk.de/wiki/ is redirected to index.php, which is wrong.
You should stop redirecting load.php and api.php requests to index.php
Basically, your rewrite rules are broken.
See Manual:Short URL for tips on creating short URLs (if that what you had in mind when you implemented those redirect rules) Ciencia Al Poder (talk) 10:26, 13 January 2016 (UTC)
The content of my .htaccess file is
RewriteEngine On
RewriteRule ^wiki/(.*)$ /mediawiki/index.php?title=$1 [PT,L,QSA]
RewriteRule ^wiki/*$ /mediawiki/index.php [L,QSA]
RewriteRule ^/*$ /mediawiki/index.php [L,QSA]
RewriteRule ^(api|load)\.php - [L]
Options +FollowSymLinks Georg Berg (talk) 21:16, 15 March 2016 (UTC)
Try with a changed order:
RewriteEngine On
RewriteRule (api|load)\.php - [L]
RewriteRule ^wiki/(.*)$ /mediawiki/index.php?title=$1 [PT,L,QSA]
RewriteRule ^wiki/*$ /mediawiki/index.php [L,QSA]
RewriteRule ^/*$ /mediawiki/index.php [L,QSA]
Options +FollowSymLinks
The order of RewriteRules is important. What you had before, did not make sense. Also note that I have removed the "^" from the rule with api.php and load.php in it. 87.123.24.101 (talk) 21:22, 15 March 2016 (UTC)
after the change
http://agra-rundfunk.de/
still has no styles Georg Berg (talk) 21:28, 15 March 2016 (UTC)
You need to change $wgScriptPath to "/mediawiki" since that's where load.php resides: http://agra-rundfunk.de/mediawiki/load.php Ciencia Al Poder (talk) 22:03, 15 March 2016 (UTC)
load.php is now accessible and is displaying styles. That's a step into the right direction. 87.123.24.101 (talk) 23:35, 15 March 2016 (UTC)
Where do I change $wgScriptPath ? Georg Berg (talk) 11:47, 16 March 2016 (UTC)
Inside the LocalSettings.php file in the mediawiki/ folder. 87.123.57.36 (talk) 12:49, 16 March 2016 (UTC)
that was the solution
Thank You Georg Berg (talk) 19:41, 16 March 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

MediaWiki 1.27.0-wmf.9 Updater skips table creation and table field modification

Hi

I did: sudo -u www-data php ./maintenance/update.php --dbuser wikiadmin --quick --conf ./LocalSettings.php on a shared wiki family resource and the messages showed no errors. However the actual Wiki throws error messages that some tables do not exist – even after update.php. Following tables seem a problem and are not created by update.php

...iwl_prefix key doesn't exist.
...ar_page_revid key doesn't exist.
...hitcounter doesn't exist.
...msg_resource_links doesn't exist.
...msg_resource doesn't exist.
...trs_page key doesn't exist.

Some other lines show that table fields are missing:

...revision table does not contain inverse_timestamp field.
...image table does not contain img_type field.
...category table does not contain cat_hidden field.
...site_stats table does not contain ss_admins field.
...recentchanges table does not contain rc_moved_to_title field.
...recentchanges table does not contain rc_cur_time field.
...site_stats table does not contain ss_total_views field.
...page table does not contain page_counter field.

Those tables do not get upgraded or are created. Do you have any solution to get the update.php work or do I have to file a BUG? Andreas P. 23:21, 12 January 2016 (UTC)

Or do I have to run php patchSql.php for each of those tables manually? I assumed that php update.php takes care of this, does it not? Andreas P. 09:36, 13 January 2016 (UTC)
If you're seeing this in the updater, then they're not errors. Those are outdated tables and fields which the updater is trying to delete, but since they already don't exist, it doesn't need to do anything. 137.147.145.254 (talk) 10:13, 13 January 2016 (UTC)
Can you describe the errors you're getting on your wiki? Ciencia Al Poder (talk) 10:21, 13 January 2016 (UTC)
I posted this because of the missing table msg_resource: it broke the functioning of the Wiki. In the JavaScript Console I saw thrown errors that showed it tries to select table mywiki.msg_resource that did not exist. So I conclude that it must be a relevant error. With sudo -u www-data php ./maintenance/patchSql.php --dbuser wikiadmin --quick --conf ./LocalSettings.php patch-msg_resource.sql I only could fix this. I only wonder if update.php should take care of this normally or not. After doing patchSql.php patch-msg_resource.sql I did again sudo -u www-data php ./maintenance/update.php --dbuser wikiadmin --force --quick --conf ./LocalSettings.php and now table mywiki.msg_resource is missing again. In the JavaScript Console of the browser I see the following errors, which complains that I might not have run update.php («Did you forget to run maintenance/update.php after upgrading?»), but I did:
[cff16e53] /testwiki2/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector DBQueryError from line 1090 of /usr/share/mediawiki27wmf/includes/db/Database.php: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT mr_blob,mr_resource,mr_timestamp FROM `msg_resource` WHERE mr_resource IN ('jquery.accessKeyLabel','jquery.confirmable','jquery.makeCollapsible','jquery.tablesorter','mediawiki.feedback','mediawiki.htmlform','mediawiki.searchSuggest','mediawiki.Upload.Dialog','mediawiki.Upload.BookletLayout','mediawiki.ForeignStructuredUpload.BookletLayout','mediawiki.toc','mediawiki.action.edit.preview','mediawiki.action.view.metadata','mediawiki.action.view.postEdit','mediawiki.action.edit.editWarning','mediawiki.language','mediawiki.language.months','mediawiki.language.specialCharacters','mediawiki.page.patrol.ajax','mediawiki.page.watch.ajax','mediawiki.special.edittags','mediawiki.special.preferences','mediawiki.special.search','mediawiki.special.upload','mediawiki.special.userlogin.signup.js','mediawiki.special.unwatchedPages','mediawiki.special.javaScriptTest','mediawiki.legacy.protect','mediawiki.widgets','mediawiki.widgets.DateInputWidget','mediawiki.widgets.CategorySelector','oojs-ui','ext.uls.ime','ext.uls.interface','ext.uls.compactlinks','ext.geshi.visualEditor','ext.cite.a11y','ext.collapsiblevector.collapsibleNav','jquery.wikiEditor','jquery.wikiEditor.dialogs.config','jquery.wikiEditor.toolbar.i18n','ext.wikiEditor.preview','ext.wikiEditor.publish','mmv','mmv.ui.ondemandshareddependencies','mmv.ui.download.pane','mmv.ui.reuse.shareembed','mmv.bootstrap','ext.visualEditor.desktopArticleTarget.init','ext.visualEditor.targetLoader','ext.visualEditor.desktopArticleTarget','ext.visualEditor.mobileArticleTarget','ext.visualEditor.mediawiki','ext.visualEditor.core','ext.visualEditor.core.mobile','ext.visualEditor.switching','ext.visualEditor.mwcore','ext.visualEditor.mwformatting','ext.visualEditor.mwimage','ext.visualEditor.mwlink','ext.visualEditor.mwmeta','ext.visualEditor.mwreference.core','ext.visualEditor.mwtransclusion','ext.visualEditor.language','ext.visualEditor.mwgallery','ext.visualEditor.mwsignature','ext.maps.common','ext.maps.coord','mapeditor','ext.maps.googlemaps3','ext.maps.openlayers','ext.maps.leaflet','ext.semanticforms.main','ext.semanticforms.autoedit','ext.semanticforms.submit','ext.semanticforms.checkboxes','ext.semanticforms.select2','ext.srf.widgets','ext.srf.util.grid','ext.srf.dygraphs','ext.srf.listwidget','ext.srf.pagewidget.carousel','ext.srf.jqplot.bar','ext.srf.jqplot.bubble','ext.srf.gallery.slideshow','ext.srf.gallery.overlay','ext.srf.gallery.redirect','ext.srf.eventcalendar','ext.srf.filtered.calendar-view','ext.srf.template.jplayer','ext.srf.datatables','ext.sm.forminputs','ext.categoryTree','ext.translate.base','ext.translate.editor','ext.translate.groupselector','ext.translate.messagetable','ext.translate.quickedit','ext.translate.special.aggregategroups','ext.translate.special.languagestats','ext.translate.special.managetranslatorsandbox','ext.translate.special.pagemigration','ext.translate.special.pagepreparation','ext.translate.special.searchtranslations','ext.translate.special.translate','ext.translate.special.translationstash','ext.translate.statsbar','ext.translate.workflowselector','ext.collection.checkLoadFromLocalStorage','ext.uploadWizard.apiUploadHandler','ext.uploadWizard.apiUploadPostHandler','ext.uploadWizard.apiUploadFormDataHandler','ext.smw.tooltip','ext.smw.ask','ext.tmh.transcodetable','mw.MwEmbedSupport','mw.EmbedPlayer','mw.TimedText','ext.uploadWizard','uw.controller.Tutorial','uw.ui.Details','uw.ui.Thanks','uw.ui.Tutorial','uw.ui.Upload','ext.visualEditor.mwreference') AND mr_lang = 'en'
Function: MessageBlobStore::getFromDB
Error: 1146 Table 'testwiki2.msg_resource' doesn't exist (localhost)
[a8e954e6] /testwiki2/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector DBQueryError from line 1090 of /usr/share/mediawiki27wmf/includes/db/Database.php: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT mr_blob,mr_resource,mr_timestamp FROM `msg_resource` WHERE mr_resource = 'jquery.accessKeyLabel' AND mr_lang = 'en'
Function: MessageBlobStore::getFromDB
Error: 1146 Table 'testwiki2.msg_resource' doesn't exist (localhost)
Problematic modules: {"startup":"error"} Andreas P. 10:31, 13 January 2016 (UTC)
MessageBlobStore::getFromDB was removed, along with the msg_resource table, and running update.php indeed drops the table, as it should:
...hitcounter doesn't exist.
...site_stats table does not contain ss_total_views field.
...page table does not contain page_counter field.
Dropping table msg_resource_links ...done.
Dropping table msg_resource ...done.
Creating bot_passwords table ...done.
...site_stats is populated...done.
Unless you've only partially applied an updated version of MW, I can only assume you've attempted to downgrade your version, which isn't supported. 137.147.145.254 (talk) 12:28, 13 January 2016 (UTC)
«MessageBlobStore::getFromDB was removed, along with the msg_resource table» OK, I see. What can I do or set or avoid in the settings (LocalsSettings.php perhaps) to get it working correctly. It seems that I have some settings – an extension perhaps or global setting – which needs msg_resource table but is not required actually in MediaWiki 1.27.0-wmf.9. So where should I look for to get the LocalSettings right? Andreas P. 12:39, 13 January 2016 (UTC)
The simplest way would be to don't use unsupported MediaWiki releases :P MediaWiki 1.27.0-wmf.9 (like any other wmf.X version) isn't meant to be used in productive environments, if you don't know how to handle them.
What extensions do you have installed? Does the problem still exists, if you "uninstall" any extension (comment out the require_once/wfLoadExtension(s) lines from LocalSettings.php)? Florianschmidtwelzow (talk) 13:33, 13 January 2016 (UTC)
Hm, I see now my problem: I thought I do a smart git archive export of 1.27.0-wmf.9 over an 1.27.0-wmf.7 it caused me mixed versions, because I wanted to exclude the override of certain 0-level-directories (cache, mw-config etc.), I did:
cd /usr/share/mw-wmf-clone/core && \
 sudo git archive $git_branch | sudo -u root -g mwadmin tar --extract \
 --exclude="cache" \
 --exclude="extensions" \
 --exclude="images" \
 --exclude="mw-config" \
 --overwrite --directory="/usr/share/mediawiki27wmf/"
… but it also excluded sub-level directory includes/cache/ in which MessageBlobStore::getFromDB was removed. I guess when the git archive export is done correctly it will work as expected. I have to read the manual of tar again (man tar) if it is possible to exclude only 0-level-directories but not sub-level-directories … but my git archive export of 1.27.0-wmf.9 was on Dec 22 and until recently it worked somehow. This week I added extension translate and errors started to be thrown into the JavaScript console. Now, I try to get the git archive export correctly first … :-/ Andreas P. 14:48, 13 January 2016 (UTC)
I'm not sure, how the Translate extension works in detail, but (like the name says) it's an extension that heavily relies on the localisation features of MediaWiki, so it's possible that your wiki, since your last upgrade, worked very well with cached versions of the localisation messages in some way and that the Translate extension doesn't use the cache :) I think, if you really want to use the latest wmf.9 branch, you should use a better (or at least working) deployment strategy. I assume, that your solution will work (hopefully)! Please, if you find the time, it would be great to get some feedback, if the problem was solved (especially how you did it, maybe you had to workaround some other problem(s), too) :) Florianschmidtwelzow (talk) 15:11, 13 January 2016 (UTC)
OK, now the described error messages are gone and I have a clean 1.27.0-wmf.9. I did:
cd /usr/share/mw-wmf-clone/core && sudo git archive origin/wmf/1.27.0-wmf.9 | sudo -u root -g mwadmin tar --extract \
  --anchored --recursive-unlink \
  --exclude="cache*" --exclude="extensions*" --exclude="images*" --exclude="skins*" --exclude="mw-config*" \
  --overwrite --directory="/usr/share/mediawiki27wmf"
I figured out that tar --anchored --exclude="MATCHPATTERN" tells tar to match from the very beginning of MATCHPATTERN, so all sub folders that would match by default do not match here. This way one can filter out level-zero-folders. The --recursive-unlink does only delete folders that are going to be in the archive, so other existing folders are not deleted – a nice tar feature. I forgot to --exclude="skins*" the first time so I overwrote also the skin folders :-/ and I had to "check out" again the appropriate git branch origin/wmf/1.27.0-wmf.9 of my skin git clone but the skins are handled separately anyway (Download from Git, see skins section). Andreas P. 23:26, 13 January 2016 (UTC)

save checkboxes

Dear community,

I have been using mediawiki as a knowledgebase source for our IT department to use.

Recently I have been trying to make a page with a high amount of tables with checkboxes in them,

this wasnt hard at all since there are free table generators to use. The checkboxes however are a bigger problem, I have been able to put the checkboxes in the tables using an extension called "chklist". As by standard however this extension doesnt actually save the value of the checkbox when changed and I haven't been succesful in trying to make this possible.

I do have full acces to the webserver, database and all accounts involved. I hope someone will be able to help me find an extension that is able to save values or otherwis make this possilbe. I have been looking into extensions that make it possible to add php content in the pages itself but this appeared to be overly complicated for my goals.

Brian Automatisering (talk) 13:09, 13 January 2016 (UTC)

Does anyone have a clue?
If my question is a stupid one where can I find an article that'll help me, I cant find any information about this topic. Automatisering (talk) 10:02, 14 January 2016 (UTC)
Extension:Chklist allows to add checkboxes and mark them as checked or unchecked in wikicode. To save those values, the extension itself or someone else should provide something like a JavaScript that allows to save the values, which would require to fetch the wikitext of the page, find and update the checkbox syntax used inside <chklist></chklist>, and save a new revision of the page with those changes. This is of course subject to break in case there are more than one <chklist></chklist> on the page or it's transcluded from a template.
You'll need to edit the page manually every time you have to mark a check, unless you're adventurous enough to create such script :) Ciencia Al Poder (talk) 10:42, 14 January 2016 (UTC)
hey, thanks for your answer. Not being adventurous anough is probably the main problem next to not having anough time :). My knowledge of any java and jquery are very limited, in a sense that I really have no idea about it. But atleast its now clear that there is no plug-and-play solution so I can move on finding alternative solutions.
thanks Ciencia Al Poder :) Automatisering (talk) 14:44, 14 January 2016 (UTC)
Now that Ive opened this topic, Ive been looking into a number of table extensions to follow up the case I explained earlier. Do any of you have experience with them and/or prefer a favourite? Category:Table extensions Automatisering (talk) 15:52, 14 January 2016 (UTC)

Forcepreview and custom context menu

1. Is there a way to 'integrate' or make the 'forcepreview' right from Extension:ForcePreview work with the 'Publish' button of Extension:WikiEditor? Because, while the first extension does indeed force users with that right to first preview then save the edit using the standard save edit button, it does not do the same with the latter extension's button.

2. Is there an easy way to add a custom context menu (aka right-click menu) to a wiki? Or just remove some options. I've searched on stackoverflow (http://stackoverflow.com/questions/4909167/how-to-add-a-custom-right-click-menu-to-a-webpage), but nothing was satisfying or easy to put in practice (at least for me). 188.24.103.253 (talk) 13:59, 13 January 2016 (UTC)

Anyone? I could really use some help. 188.24.103.253 (talk) 14:37, 15 January 2016 (UTC)

Implementing Authority control Template

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I have imported the Authority Control Template, Module and associated Templates/Modules but am getting the following error:

Lua error in Module:Authority_control at line 346: attempt to index field 'wikibase' (a nil value).

I have searched Google but not been able to find a solution.

Can anyone offer any help or advice?

I am new to MediaWiki so my experience with a Wiki is minimal. Terryrogers1984 (talk) 14:35, 13 January 2016 (UTC)

@Terryrogers1984, did you find a solution for this problem? I have the same problem, but can't find a solution.
I get this error:
Lua error in Module:Authority_control at line 346: attempt to index field 'wikibase' (a nil value).
Thanks. Atef81 (talk) 09:45, 24 April 2017 (UTC)
Probably needs the Wikibase Client extension. Tgr (WMF) (talk) 18:20, 25 April 2017 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Collapsible elements not working in mw 1.26.0

I just discovered this supposedly built in module, but it doesn't seem to work, even if I copy and paste examples from the Manual page. All I get is plain text. No buttons, no links, just the text. I did check for the existence of jquery.makeCollapsible.js in my src/jquery folder and it IS there. What am I missing or need to do to make this work? Are there any tests I can do do see if ANY jquery stuff is working? I'm wondering if there's something I have to turn on in a config file or something.

Do you have to copy the .js file from src to lib??? Drdlund (talk) 18:36, 13 January 2016 (UTC)

Not exactly the solution of your problem, but in MediaWiki 1.26, jQuery is included and should be available by default - and that normally out of the box, without the need to set anything. 87.123.5.131 (talk) 21:54, 13 January 2016 (UTC)
Maybe there's a JavaScript error somewhere preventing some (or all) scripts of the page from executing (properly). Look at the error console of your browser (F12) to see if there's any JavaScript error, to identify the source of the problem. Ciencia Al Poder (talk) 10:48, 14 January 2016 (UTC)

After image upload, mediawiki asks me to log in.

{{{text}}}

Hey guys. Hope you can help me with this on, google and other sites didn't.

I had my own wiki on 1,.24.1 and updated to 1.26.2, hoping that would maybe solve the problem. The wiki is readable only for logged in members.

Problem:

When I am uploading a picture, I can not enter the Image Site. Neither can I enter from every other picture. It redirects me to the to the index page but in the url it shows the correct link.

I see the pictures in the Specialpage for Images and also in the Articles. Miles.world (talk) 18:41, 13 January 2016 (UTC)

But without a more accurate description of what's happening it's hard to tell.
This is what comes to my mind: bad redirect/rewrite rules or configured settings ($wgServer, $wgArticlePath, $wgScriptPath) that cause cookies to be set for a specific domain or path but on upload you're redirected to a different domain or path, losing cookies and causing the logout.
Once it asks you to log in, do you really need to log in to see other pages?
Also clarify what do you mean by "enter the Image Site" Ciencia Al Poder (talk) 10:56, 14 January 2016 (UTC)
I thought this was pretty accurate, but I try again:
I click on the left side "Upload file" → I pick the file "expample.jpg" and press "Upload file" → Now I should the the Page "http:// mywiki.org/wiki/File:example.jpg" like here; but instead I see the Mediawiki:Loginreqpagetext Page, like I'm not logged in. Also in the top right corner it says "Log in", but I still am. Miles.world (talk) 15:24, 14 January 2016 (UTC)
Sadly, it still doesnt work.
I made a short video, maybe this shows what I mean.
https://www.youtube.com/watch?v=LruvUNn_k20 Miles.world (talk) 21:49, 15 January 2016 (UTC)
This looks like wrong rewrite rules or apache/server configuration, mapping URLs ending in .jpeg to the main page or something like that. The server's access log might give you more information Ciencia Al Poder (talk) 11:46, 14 July 2016 (UTC)
Sadly I don't have server access.
I'm using .htaccess for the like the Manual:Short URL/Apache says. Miles.world (talk) 14:04, 5 August 2016 (UTC)
You should contact your ISP then, because that looks like a rule made by them Ciencia Al Poder (talk) 01:56, 6 August 2016 (UTC)
Will do so, thanks so far. Miles.world (talk) 09:29, 6 August 2016 (UTC)

How can an extension add a wiki page?

Gentlemen,

I have an extension, which transcludes content from a page in the template: namespace. This content is then shown on selected pages (basically choosing on which pages to show or not to show the template is what the extension is doing).

Until now I have manually created the according template page in a wiki when I installed the extension.

However, I want the extension to provide the page automatically. I want it to be that way that the extension already ''comes'' with the template page. With other words: By installing the extension, the content of the according template page is made available - ''without'' the user having to create the page manually. (I see that such a concept - making the necessary texts available through the extension itself - basically is being used for interface texts as well.)

How can I achieve that for a template page? Or is there another way to provide a page with an extension? 87.123.5.131 (talk) 22:43, 13 January 2016 (UTC)

Can't log in my wikimedia after new install

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I've installed wikimedia

installation folder is: wikimedia/

$wgArticlePath = "/wiki/$1";

I've used redirection in httaccess to wiki:

# Short url for wiki pages

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

# Redirect / to Main Page

RewriteRule ^/*$ %{DOCUMENT_ROOT}/mediawiki/index.php [L]

wiki works ( http://www.goldtokens.net/wiki/Main_Page ) I just can't log in. On login submit nothing happens and the url is redirected to http://www.goldtokens.net/mediawiki/?title=Special:UserLogin&action=submitlogin&type=login&returnto=Main+Page

Not even getting an error on wrong login submit...

I've also changed editing and posting for public and when I try to create a new entry it just refreshes the page. Edit doesn't work ether. Chilixy (talk) 23:16, 13 January 2016 (UTC)

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Special:Categories and Category:

In Special:Categories categories are listed with their correct frequency. But Category:SomeCategory show less entries. Attempts to run some maintenance scripts do not help. Any hints? 91.46.131.183 (talk) 23:20, 13 January 2016 (UTC)

Reported in T85696. You can use populateCategory.php to fix this. Ciencia Al Poder (talk) 10:46, 14 January 2016 (UTC)
I did run php maintenance/populateCategory.php --force
but this does not solve the Problem. It changes nothing. The category page does not show all entries that exist.
My wiki is relatively small and I do heavily work with categories for navigation. So I need that all created pages show up in a category, but it does not. 91.46.131.56 (talk) 22:32, 14 January 2016 (UTC)
Ah, that's a different problem. I though it had to do with the count of pages inside a category.
If you edited a template modifying categories and this template is used on several pages, it may take a while for those pages to update the category page. This is handled by the Manual:Job queue and depending on how it's configured, they will be populated after a number of page views, unless an error is preventing those jobs from being run.
A simple way to refresh those categories is to manually edit one of those pages and saving without changing anything. Still, you should look at the job queue in case there's something not working properly or misconfigured. Ciencia Al Poder (talk) 10:36, 15 January 2016 (UTC)
I did run php maintenance/runJobs.php and saw some output while running. But the pages still not show up in the Category. Then I did rm -rf /var/cache/xcache/* and now the pages did appear.
So one problem is, that Jobs might not have been run. My wiki is a local one, rarely used. So queuing should not be a problem at all. Do I need explicit $wg Variables for this in LocalSettings.php? I have none as defaults should be sufficient, isn't it?
The second problem is that xcache had to be emptied manually. What is missing in my configuration? I did read Manual:Job but do not know what I should add to my LocalSettings.php? 91.46.157.1 (talk) 00:57, 22 January 2016 (UTC)
Default values are usually fine.
Executing runJobs in the shell may cause xcache to not be upated. I'm not sure if xcache is supported in shell scripts at all. Or maybe it uses a different php.ini where it's not enabled.
You can also try to set up $wgRunJobsAsync to false in case async jobs has a problem on your setup.
Monitor the Manual:job table to see if page requests are picking up jobs from there. Ciencia Al Poder (talk) 11:00, 22 January 2016 (UTC)
Having set $wgRunJobsAsync to false seems to work.
But the removal of a category does not work. A page with the catgory removed stays in the category list. 91.46.147.74 (talk) 14:32, 27 January 2016 (UTC)

How can i get a support desk area on my wiki site like this??

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


would really like to have this module on my site. thanks 2602:30D:14CB:6F0:7192:A3F9:CAA:D00 (talk) 03:15, 14 January 2016 (UTC)

This is still a flaming question that i have. I think it is needed on my wiki as a support center. 2602:30D:14CB:6F0:7192:A3F9:CAA:D00 (talk) 03:48, 14 January 2016 (UTC)
Extension:Flow 110.148.141.63 (talk) 08:22, 14 January 2016 (UTC)
thank you!! 2602:30D:14CB:6F0:481C:1380:5374:FD95 (talk) 16:20, 14 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Access Control List

Hi,

I find that the the link for the extension Access control which offers a work around for a Known issue get a 404 error

https://www.mediawiki.org/w/index.php?title=Extension:Access_Control_List&veaction=edit&vesection=9

Can you please have a look at this and redirect me to the correct URL

Will help us resolve this. 182.75.70.42 (talk) 12:10, 14 January 2016 (UTC)

How to setup an intranet mediawiki?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hello,

I have followed the steps on setting up mediawiki for intranet use and have been unable to to access media wiki from any other networked computers. I can however access it from the server that is hosting the application. Would anyone be able to help guide me how to do this successfully? Thanks! Meisterluv (talk) 16:15, 14 January 2016 (UTC)

Which guide have you followed?
Usually, when you cannot access the wiki from another computer, then [[Manual:$wgServer|$wgServer]] in LocalSettings.php is not set correctly. 87.123.52.87 (talk) 18:54, 14 January 2016 (UTC)
Woah, this posting feature is becoming more and more broken. Now you cannot even link to internal pages anymore: $wgServer 87.123.52.87 (talk) 18:55, 14 January 2016 (UTC)
Its not much of a guide but i used the mediawiki steps Manual:Installing MediaWiki on Windows Server 2008 R2 and http://social.technet.microsoft.com/wiki/contents/articles/2011.configure-iis-to-host-a-simple-intranet-website.aspx. Meisterluv (talk) 21:03, 14 January 2016 (UTC)
Also, would active directory affect this??? Meisterluv (talk) 21:19, 14 January 2016 (UTC)
A wrong value in $wgServer would affect that! 87.123.52.87 (talk) 22:23, 14 January 2016 (UTC)
Yes, as 87.123 says, don't set $wgServer to localhost, but to a server name or IP address accessible by the network Ciencia Al Poder (talk) 10:38, 15 January 2016 (UTC)
thank you very much that has done it for me! :D Meisterluv (talk) 16:26, 15 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

MediaWiki 1.26.x on GoDaddy Win2008R2 Plesk VPS issues

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I've tried just about every possible combination of settings and can't seem to get the wiki to work correctly.

http://wiki.mywinkathome.net

This is from a brand new dump of 1.26.1 into an empty folder.
I have tried PHPs v5.3.29, 5.4.45, 5.5.30, & 5.6.16
MySQL v5.6.26

The version that comes bundled with Plesk, 1.23.13, installs fine. But updating it to anything else does what you see in the link above. The same behavior is displayed if I copy in any version of MediaWiki > 1.25

Can anyone offer any suggestions? Trunzoc (talk) 17:58, 14 January 2016 (UTC)

First things first: If you are starting a new wiki, using version 1,26 instead of 1.23 is a good idea. For the PHP version, anything starting from PHP 5.3 is supported by MediaWiki. Given the choices you have, I would choose PHP 5.6.
Your wiki currently shows "LocalSettings.php not found. Please set up the wiki first."
This message is displayed, when the LocalSettings.php file is not at the place, where it should be.
If what you are doing currently is ''not'' a MediaWiki upgrade, but a new installation, then you should follow the link in that message and complete the setup of your wiki.
I just tried that and it brings up the web installer, but it is completely unstyled.
Reason for this is that you are encountering the following error:
Exception encountered, of type "Less_Exception_Parser"<br /> [97f55149] /mw-config/index.php?css=1 Less_Exception_Parser from line 447 of C:\Inetpub\vhosts\mywinkathome.net\wiki.mywinkathome.net\vendor\oyejorge\less.php\lib\Less\Parser.php: Less.php cache directory isn't writable: C:\Windows\TEMP<br />
I am not an expert in setting up Windows servers, but you have to configure a temporary directory, which is writable for the webserver. The folder C:\Windows\TEMP, which currently is configured as cache directory, obviously is not writable. 87.123.52.87 (talk) 19:09, 14 January 2016 (UTC)
Thanks for that. Where did you get that error log form?
I'll go make sure the web's user acct has access and try it again.
As far as not set up, I've been playing for a while so it keeps changing, but what I was getting at is the unstyled part which happens whether is't fully setup or not.
Thanks again for the tip! Trunzoc (talk) 19:12, 14 January 2016 (UTC)
well crap. That was easy.
Thanks again anonymous friend!
(Still curious how you got the error log) Trunzoc (talk) 19:16, 14 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

OpenSearch Issue with Firefox browser (...could not download opensearch_desc.php)

Problem Summary :

We have a Media Wiki based Wiki instance in which there is a .php file (opensearch_desc.php). This php file is generating the XML for opensearch. As an end user, clicking on add to enable firefox opensearch plugin for our application results in following error "Firefox could not download the search plugin from: http://docwiki.cisco.com/w/opensearch_desc.php".  Any help on this is greatly appreciated. Abhishekk08 (talk) 19:28, 14 January 2016 (UTC)

When I click that URL, I get the file offered for download and it also does contain the search plugin XML... 87.123.52.87 (talk) 20:32, 14 January 2016 (UTC)
The contents of the opensearch_desc.php URL that downloads has a lot of blank lines before the start of the XML. Also, any page of your wiki, if you inspect the HTML, also has 7 blank lines before the content.
This is likely the cause of the search plugin fail. The cause could be PHP files like LocalSettings.php having blank lines before the "<?php" at the start. Also, if you have "?>" in LocalSettings.php delete that. Ciencia Al Poder (talk) 10:43, 15 January 2016 (UTC)

My Wikia's Founder Closed Account

Wikia Version

Wikia code: release-359.008

Wikia config: release-359.003

MediaWiki: 1.19.24

PHP: 5.6.4-1+deb.sury.org~precise+1 (apache2handler)

MySQL: 5.1.70-rel14.8-log

Internals: city_id: 729761, cluster: c4, dc: sjc, file_repo: swift-backend

URL

http://owarinoseraph.wikia.com/wiki/Owari_no_Seraph_Wiki

I don't know if anyone has posted something like this before but, the Founder of the Owari no Seraph Wiki, Teppei Kiyoshi closed their account which means that I, an admin on the wiki, don't have the folder into that MediaWiki was installed to which means I can't update the MediaWiki or add extensions.

While it seems unlikely that this problem will be resoled, any help would be appreciated. ShadowRyu Kei (talk) 22:21, 14 January 2016 (UTC)

The wikia logs tell, that the founder has not only closed his account, but that he additionally also gave all his user rights away. Anyway, you have administrator rights and you are a bureaucrat. This gives you the possiblity to assign yourself and others additional rights.
According to http://community.wikia.com/wiki/Help:Extensions, the wikia team handles installation of extensions.
I think you should contact wikia support and detail the situation to them. They should be able to install extensions as needed. 87.123.52.87 (talk) 01:27, 15 January 2016 (UTC)

Math extension

Hi I need help in setting up the Math Enhancements . My English is not very good, I hope I get support in German.

Mein erstes Problem ist das einrichten von Math bzw den benötigten Zusatzmodulen. Math habe ich installiert und auch die Datenbank geupdatet nun kommt aber die Meldung

Fehler beim Parsen (Das <code>texvc</code></nowiki-Programm wurde nicht gefunden. Bitte zur Konfiguration die Hinweise in der Datei math/README beachten.): In der Readme habe ich nichts gefunden was mir weiterhilfe ich benötige Hilfe was ich jetzt tun kann bzw muss um Math zum Laufen zu bekommen. [[User:Stagenine|Stagenine]] ([[User talk:Stagenine|talk]]) 01:50, 15 January 2016 (UTC) == Better way to collaborate multilingual translators == I need help, not technical, but tactical. I have understood that translations, made with respective extension, couldn't be edited, just translated. So they are not meant to be standalone articles, they refer to sections existing in main-language page. But how to manage this, if I want ability to make changes to text in different language by its speakers? And then these changes could be applied to other variants of the article. Firstly, I wanted to create a number of different-language wikis, like Wikipedia. But when I have known about the extension, I changed my modus operandi and point of view, because in this case I don't have to copy/paste similar templates in the wikis and other stupid, useless actions. Extension really deals, but I don't see a good way to use power of editors with other languages, actually. Or do I miss smth? [[User:Атомный трамвай|Атомный трамвай]] ([[User talk:Атомный трамвай|talk]]) 03:28, 15 January 2016 (UTC) == A Glitch in Translation Functions (번역 오류) == I will write this in both English and Korean. I translated a English document named 'Chemical property' ([//en.wikipedia.org/wiki/Chemical_property https://en.wikipedia.org/wiki/Chemical_property]) into a Korean document named '화학적 성질' ([//ko.wikipedia.org/wiki/화학적_성질 https://ko.wikipedia.org/wiki/%ED%99%94%ED%95%99%EC%A0%81_%EC%84%B1%EC%A7%88]). You can click on the second URL, and check it if you like. Well, if a user translates a document and uploads it, it should be registered in my 'Contributions' tab. However, it doesn't, in contrast to some of the documents which I translated before. Please.... can you, one of the administrators, register the document into my contributions??? _______________________________________________________________________________________________________________ 이 글을 영어와 한글, 두 언어로 모두 쓰겠습니다. 저는 'Chemical property' ([//en.wikipedia.org/wiki/Chemical_property https://en.wikipedia.org/wiki/Chemical_property]) 라는 영어 문서를 한글로 번역해서 '화학적 성질' ([//ko.wikipedia.org/wiki/화학적_성질 https://ko.wikipedia.org/wiki/%ED%99%94%ED%95%99%EC%A0%81_%EC%84%B1%EC%A7%88]) 을 게시했습니다. 들어가서 '역사' 탭 눌러보시면 제가 번역했다는 걸 알 수 있을 겁니다. 근데 제가 번역한 문서들은 우측 상단 '기여' 탭 들어가서 '번역' 들어가면 '게시됨' 탭 클릭했을 때 전부 목록이 나오잖아요?? 이 문서만 그러지 않네요. 이거 관리자 쪽에서 직접 등록해주시면 안될까요?? [[User:Renamed user 16FE2Io20H|Renamed user 16FE2Io20H]] ([[User talk:Renamed user 16FE2Io20H|talk]]) 03:48, 15 January 2016 (UTC) :I see the page listed under your contributions here [https://ko.wikipedia.org/w/index.php?title=%ED%8A%B9%EC%88%98:%EA%B8%B0%EC%97%AC&dir=prev&offset=20131215021615&contribs=user&target=Sinrh0816&namespace=&tagfilter=] :Maybe it was a cache problem? [[User:Ciencia Al Poder|Ciencia Al Poder]] ([[User talk:Ciencia Al Poder|talk]]) 10:30, 15 January 2016 (UTC) :Well..... It appears in my 'Contributions' tab, but it doesn't in my 'Translations' > 'Published' Tab. :I got my screen captured : https://drive.google.com/open?id=0B2Zl3CkXGkercndTTVVfTXdVUnM :The document called 'Mendeleev's predicted elements' has been successfully registered, but this one named 'Chemical property' has been not. [[User:Renamed user 16FE2Io20H|Renamed user 16FE2Io20H]] ([[User talk:Renamed user 16FE2Io20H|talk]]) 05:02, 18 January 2016 (UTC) == Bug in sidebar translation == Seems like system message listed in side bar return value from English translation, if the original one is empty, even it has translation to the language I use. Just experienced this. Though … when I switched to other language, it return proper value from translation. And using Russian as interface language, I got this on English. It's strange. [[User:Атомный трамвай|Атомный трамвай]] ([[User talk:Атомный трамвай|talk]]) 05:18, 15 January 2016 (UTC) == What is article? == {{Archive top|status=resolved}} Not an issue, but a question. What does the MediaWiki software consider a "content page"? I've had a few pages on a managed wiki, and the Stats page says 0. [[User:Rmaster1200|Rmaster1200]] ([[User talk:Rmaster1200|talk]]) 10:14, 15 January 2016 (UTC) :See [[Manual:Article count]] [[User:Ciencia Al Poder|Ciencia Al Poder]] ([[User talk:Ciencia Al Poder|talk]]) 10:24, 15 January 2016 (UTC) {{Archive bottom}} == PEAR mail package is not installed, when it is? == I have contacted my host, and their response was that "all packages are installed and working and to contact your software developers". So Pear Mail is installed, but it does not work, I have enabled the PHP error messages being displayed and nobody can register on my Wiki as it cannot send them an email as it fails with this error: [6b4e34c7] /index.php?title=Special:UserLogin&action=submitlogin&type=signup&returnto=Main+Page MWException from line 291 of /home/toiletar/public_html/wiki/includes/mail/UserMailer.php: PEAR mail package is not installed Backtrace: <nowiki>#0 /home/toiletar/public_html/wiki/includes/User.php(4260): UserMailer::send(MailAddress, MailAddress, string, string, array)

#1 /home/toiletar/public_html/wiki/includes/User.php(4233): User->sendMail(string, string)

#2 /home/toiletar/public_html/wiki/includes/specials/SpecialUserlogin.php(437): User->sendConfirmationMail()

#3 /home/toiletar/public_html/wiki/includes/specials/SpecialUserlogin.php(333): LoginForm->addNewAccount()

#4 /home/toiletar/public_html/wiki/includes/specialpage/SpecialPage.php(384): LoginForm->execute(NULL)

#5 /home/toiletar/public_html/wiki/includes/specialpage/SpecialPageFactory.php(553): SpecialPage->run(NULL)

#6 /home/toiletar/public_html/wiki/includes/MediaWiki.php(281): SpecialPageFactory::executePath(Title, RequestContext)

#7 /home/toiletar/public_html/wiki/includes/MediaWiki.php(714): MediaWiki->performRequest()

#8 /home/toiletar/public_html/wiki/includes/MediaWiki.php(508): MediaWiki->main()

#9 /home/toiletar/public_html/wiki/index.php(41): MediaWiki->run()

#10 {main} PirateCraft (talk) 10:54, 15 January 2016 (UTC)

PEAR has a guide to check its installation status: http://pear.php.net/manual/en/installation.checking.php
Especially, PEAR must be in the include path. If it is not, then it won't be found. 87.123.52.87 (talk) 12:08, 15 January 2016 (UTC)
Ok thanks, Im not managing the environment my host is, I have forwarded them this reply. PirateCraft (talk) 10:26, 25 January 2016 (UTC)
I also have this issue and cannot seem to fix on IIS or Apache... both servers have the issue. 148.168.40.122 (talk) 20:58, 28 June 2016 (UTC)
I've run through the pear.php.net manual several times now in both environments. Pear is installed and running, but when I got to use the ConfirmAccount extension I get the error message that the PEAR mail package is not installed. 148.168.40.122 (talk) 21:00, 28 June 2016 (UTC)
Have you checked the thing with the include path?
PEAR must be in the include path. If it is not, then it won't be found. 87.123.19.225 (talk) 21:13, 28 June 2016 (UTC)
Hello. I've had the same problem. I'm not familiar with php, but what resolve the problem for me was change of the relative include_path with absolute include_path in my php.ini. In my case: include_path=".:/usr/share/php/"  >>> include_path="/usr/share/php/"  (without the prefix: .: ) Spas.Z.Spasov (talk) 20:01, 29 June 2016 (UTC)
I think that if you take "." away from the include_path, relative file inclusions will stop working. That way this change will cause more trouble... 87.123.11.71 (talk) 21:08, 29 June 2016 (UTC)
Maybe, but I have two points. Before editing of php.ini there wasn't any include_path. And second point is that in the root directory of my web server (which I called - relative path) "/usr/share/php/" (which contains System.php) just missing. I have it in my root of the Linux filesystem.
Maybe another approach is to be made symbolic link (ln -s) between "/usr/share/php/" (absolute path) and the place where it must be in the web server (the place of the relative path). Spas.Z.Spasov (talk) 08:30, 30 June 2016 (UTC)

What am I missing on my install?? Navigation bar, side menu are not being rendered.

Thank you for helping me on my intranet issue on windows server 2012r2. I am currently working through the configurations now and when I initially installed media wiki the UI looked a lot different from what I have seen from all the guides that I have been following. It looks like the navigation bars and etc. are not being generated http://imgur.com/3BuEzCy. PHP (7.0) and mySQL have been installed but I am not sure they are the cause of this issue.

Update: console error

Internal error Internal error Problematic modules: {"startup":"error"}

load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector()

I see that many have experienced this issue. Pointers always helpful. Meisterluv (talk) 16:37, 15 January 2016 (UTC)

Does the error message become more descriptive, when you change the debug=false to debug=true?
Like load.php?debug=true&lang=en&modules=startup&only=scripts&skin=vector 87.123.38.66 (talk) 17:48, 15 January 2016 (UTC)
Just so I know I am doing it right: I entered localhost/load.php?debug=true&lang=en&modules=startup&only=scripts&skin=vector%28%29
in the browser and got the following (doesn't look like anything changed)
/* Internal error Internal error Problematic modules: {"startup":"error"} */ if (window.console && console.error) {console.error("Internal error\n\nInternal error\n\nProblematic modules: {\"startup\":\"error\"}");}
I have also gone through the Manual:Load.php steps and have not been able to get the styles to kick in. Again double checking I made the recommended edits to the /img/.htaccess file since that was the only file that had any code in it
Accessing load.php via browser on the server that is hosting media wiki shows the following:
checkUrlExtension() ) { return; } // Respond to resource loading request. // foo()->bar() syntax is not supported in PHP4, and this file needs to *parse* in PHP4. $configFactory = ConfigFactory::getDefaultInstance(); $resourceLoader = new ResourceLoader( $configFactory->makeConfig( 'main' ), LoggerFactory::getInstance( 'resourceloader' ) ); $resourceLoader->respond( new ResourceLoaderContext( $resourceLoader, $wgRequest ) ); Profiler::instance()->setTemplated( true ); $mediawiki = new MediaWiki(); $mediawiki->doPostOutputShutdown( 'fast' );
This doesn't seem to coincide with what is expected from the guide Manual:Errors and symptoms Meisterluv (talk) 18:24, 15 January 2016 (UTC)
See T119934 Ciencia Al Poder (talk) 17:05, 17 January 2016 (UTC)
I've also described this on Manual:Errors and symptoms now Ciencia Al Poder (talk) 17:18, 17 January 2016 (UTC)

both SSO and LDAP

Hello,

 I want to have media wiki with LDAP authentification and SSO features. 

 I have installed the extension "/Extension:Auth_remoteuser " for SSO, and it works fine (with Lemon LDAP SSO tool). But unfortunately, the LDAP groups are not managed by the extension.So every body has the same right! 

 Is it possible to have both SSO and LDAP authentication features? For example we want that an administrator account authenticates with SSO, then your LDAP extension look at the administrator LDAP group, and associates the wiki group "Administrators". Is is possible? And we want that a normal user log in Media WIKI with sso, then belongs to group "User". How is realized the mapping between the LDAP group and the wiki groups ? (Users,Administrators,Bots...). 

 My configuration:mediawiki-1.26.2, LdapAuthentication-REL1_26-70ab129.tar.gz, Auth_remoteuser-REL1_26-6103d19. 

 Best regards 

 Zorgui Zorg724 (talk) 16:43, 15 January 2016 (UTC)

CSS class for every category

I want to apply a certain style on all pages of a certain category. But MediaWiki doesn't seem to add a CSS class "category-xy" to the body tag.

What is the simplest way to add such a class? Stefahn (talk) 19:33, 15 January 2016 (UTC)

I've created Snippets/Style pages based on categories Ciencia Al Poder (talk) 17:03, 17 January 2016 (UTC)
Hi Ciencia, this is just great work - thanks a lot for it!!
Just one thing: I added the snippet to my jQuery( document ).ready( function( $ ). Thus the class is inserted quite late and if you do a lot of CSS changes, they become visible to the user (since at some point some elements on the page disappear for example). Is there a way to insert your code "earlier", so not in the ready function but somewhere else? Stefahn (talk) 20:23, 18 January 2016 (UTC)
Ok, I've updated the code. Note that it was already waiting for DOM to be ready. Now it will try to execute it inmediately if document.body is available, and defer until DOM is ready otherwise. Put it as is on your MediaWikiCommon.js page without wrapping it in jQuery( document ).ready
If that still doesn't work, there's nothing much to do, because those scripts may be inserted at the end of the page, but browser tries to render the page first. Ciencia Al Poder (talk) 20:50, 18 January 2016 (UTC)
Thanks a lot for the update!
I think the class is added a bit earlier now.
Where can I vote for this to become part of MediaWiki core? :) Stefahn (talk) 10:45, 19 January 2016 (UTC)
create a bugreport Ciencia Al Poder (talk) 13:05, 19 January 2016 (UTC)

outlook calendar import

Does media wiki support importing MS outlook calendar? if yes, how? Saikamat (talk) 14:08, 16 January 2016 (UTC)

Considering mediawiki doesn't have any sort of calendar feature, how would importing a calender work or make sense? 124.180.130.110 (talk) 04:41, 17 January 2016 (UTC)

Cite Issue Version 1.26.2

I've went through the Cite page several times, but I can't figure out what is wrong.

I am using the Godaddy install of Wikimedia. I have version 1.26.2, the Cite extensions shows as installed in the files. I can see the settings on LocalSettings.PHP. however, it doesn't show up on my Special:Version pages among the installed extensions. I've tried the wfLoadExtension( 'Cite' ); and the  require_once "$IP/extensions/Cite/Cite.php"; methods. Nothing I do seems to work.

Using the <ref></ref> and the <references /> simply puts the tags in the page visibly. Cdneely64 (talk) 00:11, 17 January 2016 (UTC)

If extension Cite is not listed on our Special:Version page in your wiki, then it in fact is not installed. The fact that you can see the pure ref and references tags fits to that.
The lines wfLoadExtension( 'Cite' ); and require_once "$IP/extensions/Cite/Cite.php"; have to be added in your LocalSettings.php file - just to make sure that is clear.
Are you sure that you are editing the right LocalSettings.php file? (Make sure you are not in a different installation or so.)
Also, in the LocalSettings.php file, make sure that the code is actually parsed by the PHP parser. So make sure you did not add it inside a comment or so. 87.123.9.172 (talk) 17:02, 17 January 2016 (UTC)
I'm definitely in the right LocalSettings.php. All the other changes have worked perfectly.
I tried putting both settings you posted in the LocalSettings.php, but it didn't change anything.
Here is the code from my LocalSettings. Definitely not inside a comment
# Prevent new user registrations except by sysops
$wgGroupPermissions['*']['createaccount'] = false;
# Prevent anonymous editing
$wgGroupPermissions['*']['edit'] = false;
# Set a default target for external links.
 $wgExternalLinkTarget = '_blank'; 
require_once "$IP/extensions/Cite/Cite.php";
wfLoadExtension( 'Cite' );
I don't get it. I wonder if it might be something at Godaddy since it simply won't register as installed. Cdneely64 (talk) 23:29, 17 January 2016 (UTC)
If that is the exact content of your LocalSettings.php file, then it should work. In fact, you will only need _one_ of the two lines, not both.
I don't know it, but yes, maybe GoDaddy somehow manipulates what is going on in your wiki. Maybe you have some kind of caching activated? (Although I never saw that creating this kind of problem after a change in LocalSettings.php.)
Does something like a
die("Nothing to see here.");
show up in your wiki, if you add _that_ to the bottom of LocalSettings.php? 87.123.9.172 (talk) 00:00, 18 January 2016 (UTC)

How to delete my account?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


My friend is created a this user account using my e-mail and my common user name. Also he was added a image into this. I want to delete that image also this account. How to do it? Please help me. NiPoo (talk) 15:11, 17 January 2016 (UTC)

Accounts can't be deleted on MediaWiki, and Wikimedia wikis in particular. On Wikimedia wikis, though, you can request the deletion of your user page and any images uploaded. Note that if someone created an account with your email address, you can gain control over that account.
About your common user name, you can request your account to be renamed to something else, so your name isn't exposed. See meta:Changing username Ciencia Al Poder (talk) 16:16, 17 January 2016 (UTC)
According to your request, I have now added your deletion request to the image page. 87.123.9.172 (talk) 16:57, 17 January 2016 (UTC)
The file has now been deleted. 87.123.9.172 (talk) 23:11, 17 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

No image from pool is showing in the wiki

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I have a big problem.

i have installed one wiki "pool.wiki.net/wiki", and one "en.wiki.net/wiki"

In the database from the "en" wiki i set "INSERT INTO interwiki (iw_prefix, iw_url, iw_local, iw_trans) VALUES ("pool", "http://pool.wiki.net/wiki/index.php/$1", 1, 1);

In the "pool" wiki it set INSERT INTO interwiki (iw_prefix, iw_url, iw_local, iw_trans) VALUES ("en", "http://en.wiki.net/wiki/index.php/$1", 0, 0);

In the config from the en wiki i set "upload=true" and "$wgUploadNavigationUrl = "http://pool.wiki.net/wiki/index.php/Special:Upload";"

and: $wgUseSharedUploads = true;

$wgSharedUploadPath = 'http://pool.wiki.net/wiki/images';

$wgSharedUploadDirectory = '/(LOCALPATH)/POOL-FOLDER/images/';

$wgHashedSharedUploadDirectory = true;

When ich insert an image in the "en" wiki i will redirect to the "pool" wiki. I must log in there and can upload the file.

But in the "en" wiki i can´t see the image. There is only a placeholder. When i click the link i will redirect to the "pool" again.

Must i do any other things in the config? 

I have no idea

Thank for your help!

Mike

Versions:

mediawiki: 1.26.2

php:  5.4.45.

mySql: MariaDB 10.1.6-MariaDB-cll-lve HotteHorstmann1909 (talk) 21:14, 17 January 2016 (UTC)

on the "en" wiki, the image should be a direct link to the original image on pool. If the link is pointing correctly to the image, that's good. You should select the image, and view the URL of the image (not the link) and open it on your browser, to see if it gives an error message (a 404 not found error) or you are redirected to an HTML page. This may give you hints about the problem. Ciencia Al Poder (talk) 10:35, 18 January 2016 (UTC)
Thank you.
I do not know that I have understood you correctly .
In the "en"-wiki the url is still the upload url : "http://pool.wiki.net/wiki/index.php/Special:Upload?wpDestFile=Example.jpg".
The url in the pool-wiki is: "http://pool.wiki.net/wiki/images/a/a9/Example.jpg"
Mike HotteHorstmann1909 (talk) 10:56, 18 January 2016 (UTC)
Ah, so the en- wiki doesn't detect those images as uploaded. Maybe you need to purge the page in order to see it.
If both wikis are on the same database server, it's better to use a ForeignDBRepo configuration as explained in Manual:$wgForeignFileRepos, with the en- wiki accessing the pool- image table directly, so it instantly knows if the image exists or not. Ciencia Al Poder (talk) 20:40, 18 January 2016 (UTC)
That´s it.
Thanks, it works fine! HotteHorstmann1909 (talk) 06:49, 19 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Vector skin does not on effect on MW 1.26.2

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


'Today' I upgraded my wiki into MediaWiki 1.26.2. And after that time, my site does not effect on vector skin only, I tried to delete then reinstalled it, but it does not change yet. Is there anything I could try out? Ellif (talk) 10:31, 18 January 2016 (UTC)

Hi, the bug is known already, see phabricator:T119934. Please check any directory restrictions in your php configuration (e.g. open_basedir) and check, if the cache directory (/tmp or the value of $wgCacheDirectory, iirc) is writeable by the webserver user/MediaWiki. Florianschmidtwelzow (talk) 13:06, 18 January 2016 (UTC)
solved.
It seems that $wgTmpDirectory needs $wgCacheDirectory also. (firstly, i had $wgTmpDirectory only but not $wgCacheDirectory) Ellif (talk) 07:19, 19 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Find out when tablesorter.js has finished

In my tables I use tablesorter. We embed the sorted table on another (WordPress) page via an iframe. So I need to set the height of the iframe (via JavaScript).

Now the problem is that the height of the table is changed by the tablesorter script after the jQuery ready event.

Is there a way to find out when tablesorter.js has finished its work? Because then would be the right time to calculate the height of the iframe.

Up to now I solved it by waiting 500 ms within $( document ).ready(function(), but that's not a good solution... Stefahn (talk) 13:30, 18 January 2016 (UTC)

Make not optional the 'real name' field

In my wiki, I need to make not optional the 'real name' field in the 'create account' form. Armbis (talk) 14:36, 18 January 2016 (UTC)

Portals at af.wikipedia

Hi, the Afrikaans wiki does not seem to have any portals yet. How do I go about changing that? Is the portal namespace already available or does that need to be installed? Jcwf (talk) 16:25, 18 January 2016 (UTC)

Hi! I assume you mean something like the Information technology portal on enwiki? If so: If I haven't misread something, you can use the translation of the portal namespace (which seems to be "Portaal") to create/edit portals (there are some portals created already?) :) There doesn't need to be anything installed or configured :) Btw.: mediawiki.org in general isn't a support place for configuration changes or installation requests for Wikipedias. Florianschmidtwelzow (talk) 18:23, 18 January 2016 (UTC)

How does one enable / install preview on links?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I see on the main Mediawiki site that some links can display a head sentence of the involved page when hovering.

How do you enable this? Extension? Parameter? EFFemeer (talk) 17:02, 18 January 2016 (UTC)

By defining the text after a pipe: [[File:Example.jpg|frameless|Hovering Text]]. Notice that it only works with frameless pictures and that frameless pictures are on the left. When you use "thumb" instaed of "frameless" your picture will be on the right and you will find your text not hovering but under the picture. Gereon K. (talk) 22:20, 18 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Error message

Getting a fatal error message around the WYSIWYG extension. We are unable to update our wiki. Looking for some help with the issue.

Fatal error: Call to undefined function wfLoadExtensionMessages() in /home/jitasa74/public_html/extensions/WYSIWYG/CKeditor.body.php on line 532 RBMJitasa (talk) 17:46, 18 January 2016 (UTC)

I assume you haven't upgraded the WYSIWYG extension ;) wfLoadExtensionMessages() was removed in MediaWiki 1.21, iirc. Solution: Update all your extensions, too, if you upgrade your MediaWiki version. Florianschmidtwelzow (talk) 18:15, 18 January 2016 (UTC)
Is there anybody in the community that could help execute this for us? RBMJitasa (talk) 20:53, 18 January 2016 (UTC)
Uninstall the WYSIWYG extension. It is not compatible with current versions of MediaWiki. 87.123.39.231 (talk) 21:11, 18 January 2016 (UTC)
Any tips on how to do this. Possible web link to follow? RBMJitasa (talk) 22:02, 18 January 2016 (UTC)
Ok, I went into the localsettings.php file and removed the extension. We can edit pages now, but only in html. This poses a problem, because most folks using the wiki have no clue how to update the pages now. RBMJitasa (talk) 00:05, 19 January 2016 (UTC)
Solution: Use a more modern WYSIWYG editor, instead of the WYSIWYG extension ;) E.g. Extension:VisualEditor. Florianschmidtwelzow (talk) 07:45, 19 January 2016 (UTC)

MediaWiki not loading due to WinCache error

Versions:

MW 1.26.2

WinCache 2.0.0.4 (installed through WebPI)

PHP 7.0.0

Error I am getting when CACHE_ACCEL is used is:

PHP Warning:  wincache_ucache_cas() expects parameter 2 to be integer, string given in C:\inetpub\vhosts\wiki2\includes\libs\objectcache\WinCacheBagOStuff.php on line 52

Disabling caching altogether lets the wiki load fine, but it is slower than I like. Any suggestions on how to fix this? Andreonh (talk) 18:37, 18 January 2016 (UTC)

Upload File failing to create directories that already exists

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Versions:

OS CentOS 6.7

MW 1.23.1

PHP 5.3.3 (apache2handler)

MySQL 5.1.73

I tried to upload an image to my wiki and got the Upload Warning

[code]Could not create directory "mwstore://local-backend/local-public/5/58".[/code]

At first I thought I had a permissions problem but /mediawiki/images is owned by apache:apache with 755 permissions. I then browsed into the images directory to find that 5/58 exists and has old images in it. I read somewhere that I should change the desired filename (which seems like a hack) but I tried it and then got the same error but with 7/7c which also already exists (and has old images in it).

What is going on? Why is MW trying to create a directory that already exists instead of just using it or create one that doesn't exist? Begleysm (talk) 18:53, 18 January 2016 (UTC)

This particular problem was with SELinux blocking httpd from writing to the images directory and was fixed with information from the link below.
SELinux#Uploading Images Begleysm (talk) 22:30, 18 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Timezone used in generatesitemap

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Does the timezone in timestamps in sitemaps created dependent on the timezone that I put in LocalSettings? Or is it the same time zone for all mediawiki installations?

Eg: If I set my timezone to Australian in LocalSettings, Does the timestamps mentioned in sitemaps show this? or Is it gmt? 123.201.238.115 (talk) 05:43, 19 January 2016 (UTC)

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

watchlist (ou paginas vigiadas)

Tenho uma conta no WIKI Fábio da Silva Portella

a watchlist de en.wikipedia.org é diferente de as paginas vigiadas de pt.wikipedia.org

gostaria que fosse uma lista só pois uso os dois idiomas (português e inglês) para pesquisa

....

I have an account in WIKI Fábio da Silva Portella

the watchlist of en.wikipedia.org is different of the paginas vigiadas of pt.wikipedia.org

I'd like it were one list only 'cause I use both idioms (portuguese and english) for research

--- Fábio da Silva Portella (talk) 14:52, 19 January 2016 (UTC)

This has been requested in T5525 Ciencia Al Poder (talk) 10:12, 20 January 2016 (UTC)

How to move from WikiMedia 1.25.2 to 1.26.2 WikiMedia ?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hello

I am currently on MediaWiki 1.25.2 and  I would like past 1.26.2, but I do not understand much. I am go to the Manual page: Update, but I not understand how to save and transfer files.

I'm Localhost and Wamp server

Could you please help me ? 83.194.188.45 (talk) 23:14, 19 January 2016 (UTC)

You need a backup of two things: The files and the database.
Your server is stored somewhere on your computer. It has a subfolder called htdocs/. In this folder you will find the files, which you can access under localhost. These are the files, which you have to create a backup from.
You can for example create a zip archive out of this folder and store it at a save place. For the database, you can create a database dump with mysqldump or using PHPMyAdmin.
Later during the update you will start using the files of the new MediaWiki version. Since the files are on your local PC, you do not need wget, SCP, SSH or an FTP client. All these are only needed, if you have to store files on a different PC. In your case, you can just download the MediaWiki tarball and extract it into a new folder as described on the update page. Download the tarball with your webbrowser and extract it. 87.123.60.92 (talk) 23:49, 19 January 2016 (UTC)
Thank you very much.
I also have to keep the Local Setting?
Is it normal that in the htdocs folder I have only one HTML page named Index and when I click it opens a web page and me mark "It Works"
Last question, how much weighed the database file, I have .sql files a size of 771 bytes ,is that it may be just? 83.194.188.45 (talk) 22:50, 21 January 2016 (UTC)
Yes, you also have to keep your LocalSettings.php file.
The HTML file is not what you are looking for. This file comes with the Apache webserver. It does not have to do with your MediaWiki installation. If this is the only file you have in that folder, then this is not the foldr, in which MediaWiki is installed.
700 bytes for the database is too small. Depending on what you have in your wiki, the database size might be somewhere between a few megabytes and several gigabytes. Maybe you have not backed up the right database. Reading the contents inside the dump file might tell you more. The size of the database mostly depends on how many revisions you have in it and on how long the text of each revision is. 87.123.29.224 (talk) 00:32, 22 January 2016 (UTC)
Hi, thank you for your help.
The folders htdoc that I found and folder Wamp but in the folder there are only a html page that calls this index.
Regarding the database I took it from phpMyAdmin, how given the right saved the database? 90.48.30.42 (talk) 11:02, 25 January 2016 (UTC)
Search your computer for a file named "LocalSettings.php". This is the main configuration file of MediaWiki. The folder in which you have this file is the folder, in which MediaWiki is installed.
Then open LocalSettings.php with a text editor and read its contents. It will contain PHP code. Somewhere in that file, there will be a variable named $wgDBname. The value, which is set in that variable, is the name of the database, which MediaWiki is using. 87.123.45.172 (talk) 14:21, 25 January 2016 (UTC)
Thank you for your board.
I found the name of the database, but via PHPMyAdmin, there's no database called as written in Localsetting file.
To be more specific, the database in this Localsetting called "MyFirstWiki" but no database named "MyFirstWiki" in PHPMyAdmin.
How it does what it?
Thank you Sebunian (talk) 11:55, 27 January 2016 (UTC)
Your database name looks strange. Is that really the value from $wgDBname? Depending on the operating system, database names may or may not be case-sensitive. You are on Windows and there database names are case-insensitive. That means the casing of the letters is not relevant.
If you log in to PHPMyAdmin, make sure that you use the credentials of a MySQL user, who has access to that database. That should be working with the MySQL user root or with the username from $wgDBuser and the password from $wgDBpassword. 87.123.25.254 (talk) 14:08, 27 January 2016 (UTC)
Thank you for your response.
I'm SQLite, is that it can come of his?
Here is what it says beneath "Database settings" in my LocalSettings
    1. Database settings
$wgDBtype = "sqlite";
$wgDBserver = "";
$wgDBname = "MyFirstWiki";
$wgDBuser = "";
$wgDBpassword = ""; Sebunian (talk) 15:02, 27 January 2016 (UTC)
Yes, that is the reason why you don't find the database in MySQL. In that case you need to create a backup of the SQLite database.
How that works is e.g. explained here:
http://stackoverflow.com/questions/25675314/how-to-backup-sqlite-database 87.123.25.254 (talk) 23:20, 27 January 2016 (UTC)
Ok, thank you for your help.
But I did not understand how backed up the database via the website you gave me.
Is there a simpler means? 90.48.30.42 (talk) 11:56, 29 January 2016 (UTC)
Yes, if the database is _not_ in use currently, then you can also copy the database file. If there is not only the database file itself, but also a *-journal file or a *-wal file with the same name, then you should copy these files as well. 87.123.0.96 (talk) 13:23, 29 January 2016 (UTC)
I'm really sorry, but I did not understand.
I'm sorry if I ask too many questions Sebunian (talk) 17:59, 1 February 2016 (UTC)
You can just copy the sqlite file. 87.123.47.196 (talk) 18:43, 1 February 2016 (UTC)
I have to copy the folder, SQLite, which is in the Wiki folder?
But the problem is that there are two SQLite folder in the folder my Wiki.
Should I copy the two? 109.217.106.151 (talk) 00:05, 5 February 2016 (UTC)
You have to copy the database file. This file usually is located inside the SQLite data directory. This directory was set during installation of SQLite. In your case the file name in that directory should be MyFirstWiki.sqlite. 87.123.60.188 (talk) 01:32, 5 February 2016 (UTC)
So I have to copy / paste the file .sqlite, LocalSetting.php and the Image folder and the Extension folder ?
In the first response I've had, someone told me that I had copied the folder /htdocs, do I have to do and where found? Because I have a folder /htdocs and full document .htdocs, than take?
And I also forgot to apologize to me , from the beginning, of my English . I use Google translation Because I 'm French . 92.130.96.87 (talk) 11:49, 8 February 2016 (UTC)
> So I have to copy / paste the file .sqlite, LocalSetting.php and the Image folder and the Extension folder ?
Right and if you are using a special skin, then you will also have to paste the folder of that one skin from inside the skins/ folder. If you are using the Vector skin, then you do not have to do this. The Vector skin comes with MediaWiki by default.
These files, which you have to copy, are inside a folder, which is accessible from the web. Above you wrote that you have a folder with the LocalSettings.php file in it. This is the folder, of which you need a backup. 87.123.58.199 (talk) 12:26, 8 February 2016 (UTC)
Thank you for your answers.
On what website can I find the htdocs?
Do I have to install the Wiki before, or do I directly put the files in the folder of my Wiki?
How should I do to the MyFirstLegacy.sqlite that i have copied, I must the pasted  where? Because it is already the MyFirstLegacy.sqlite, in folder Wamp\data?
Sorry to reply so late, I was on vacation. And sorry to ask too many questions. 90.48.234.176 (talk) 12:18, 16 February 2016 (UTC)
htdocs is a folder on the server. It is the one, where your wiki files are in. This folder is accessible with the webbrowser. I do not know the URL, under which you find it. This URL depends on how the server is configured.
When you install the new version, you need to make sure that no files from the 1.25.2 tarball stay behind. Such files, which are from older versions of MediaWiki, will cause problems in the new version.
I understand that you have created a database backup called MyFirstLegacy.sqlite. Keep this file at a safe place. If the update is working correctly, you will not need it. Only, if the upgrade goes wrong, if the database gets broken dureing it or so, then you will have to replace the broken database with the backup file. 87.123.41.171 (talk) 13:03, 16 February 2016 (UTC)
I do not find the htdocs folder?
I am in Localhost, on Wamp server, and the database in SQLite.
When I install the Wiki in 1.26.2, I must choose the same characteristic as the Wiki in 1.25.2. Which means in Sqlite and appointed  my database MyFirstWiki? 90.6.174.121 (talk) 11:55, 17 February 2016 (UTC)
But you found the LocalSettings.php file. It is the folder where LocalSettings.php is inside. Anyway, you have to replace the old fles with the new ones. The folder where these files ar in, however it is called, is the one you are looking for.
You can continue using the same LocalSettings.php file. That way you automatically continue using the same database as well. 87.123.21.108 (talk) 22:27, 17 February 2016 (UTC)
I followed your advice and I would like to know, how to know if Wiki is in 1.26? Sebunian (talk) 10:50, 22 February 2016 (UTC)
Visit Special:Version on your wiki Ciencia Al Poder (talk) 11:01, 23 February 2016 (UTC)
Thank you very much, I managed to update my Wiko.
I would like to thank everyone who helped me.
But a new little problem appeared (Parsoid), but I'll make a new topic, for whatsoever it clearer.
Thank you very much for your help. Sebunian (talk) 23:49, 23 February 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Dynamic table template - add an extra column

193.36.34.12 (talk) 09:40, 20 January 2016 (UTC)

Please elaborate Ciencia Al Poder (talk) 09:10, 15 July 2018 (UTC)

Is this possible

I want to create a table that lists details of movies.

I want to then allow users to reuse that table on their pages in the wiki but with an added column for "watched" yes/no. The table must dynamically update when the original has new films added.

Is this possible? 94.197.121.13 (talk) 10:41, 20 January 2016 (UTC)

any help please? 193.36.34.12 (talk) 14:31, 22 January 2016 (UTC)

Reversed DNA Information

Accidentally submitted my raw DNA under my husbands name and his raw DNA under my name!!!! The Edit button won't let me change the names around!!!! OMG----please help me!!!! KM 75.88.6.25 (talk) 18:24, 20 January 2016 (UTC)

Welcome to the MediaWiki support desk. Your question doesn't seem related to MediaWiki. Maybe you posted your question on the wrong website? 87.123.13.33 (talk) 20:22, 20 January 2016 (UTC)

Images on the Wiki-page should visible on the downloaded PDF

HI,

I have latest stable version WIKI 1.25.

I am trying to get the extension which will support to view all images on an article in the downloaded PDF file.

Kindly let me know for the extension to be integrated.

Thanks in Adv.

Sanjay Sanjay (talk) 19:46, 20 January 2016 (UTC)

If you want to be able to create PDF files out of wiki pages, then have a look at Extension:Collection! 87.123.13.33 (talk) 20:21, 20 January 2016 (UTC)
I can able to download the PDF file out of a wiki page. But the embedded images like (.Jpeg or .gif) in that article page no more visible in the PDF file. Could you please help in this regards. Sanjay (talk) 07:41, 21 January 2016 (UTC)
Hi,
I can able to download the PDF file for any article page with below configuration while click on 'Download as PDF'. But, Still I can't able to find any configuration options in Extension:Collection that would support for download the embedded images(JPG, GIF etc) in the article page.
Below are my configurations for Collection :
require_once("$IP/extensions/Collection/Collection.php");
$wgCollectionMWServeURL = "http://hostname:8899";
$wgCollectionMWServeCredentials = 'sdpuse:password:domainname';
$wgCollectionFormats = array(
'rl' => 'PDF',
'odf' => 'ODT',
'docbook' => 'DocBook'
);
Please any help with the configuration options or it required to update/install some more dependent Extensions that I need to look into?
Please provide information to get it fixed.
Thanks in Adv,
Sanjay Sanjay (talk) 14:43, 4 April 2016 (UTC)

Text above Images

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hey. I was just adding a screenshot to a skin when all of a sudden a weird text appeared above the image. I cannot remove it no matter what I do. Skin:Modern Skylight

This is the wiki Page. Can anyone help me remove that text? 46.21.61.77 (talk) 20:05, 20 January 2016 (UTC)

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

I have some PDFs that I would like to import to the Wiki, Can you help?

I have some PDFs that I would like to import to the Wiki, Can you help? 24.178.72.29 (talk) 20:13, 20 January 2016 (UTC)
To see how to configure uploads to allow uploading of PDF files, see Manual:Configuring file uploads.
Import a PDF file to create a wiki page with its contents is not possible Ciencia Al Poder (talk) 20:27, 20 January 2016 (UTC)
I have tried that some years ago, around 2010. At that time, there was no tool, which could directly create wiki markup out of a PDF file. I had to go from PDF to HTML, DOC or RTF and then from there to wiki syntax.
The problem with the PDF to HTML tools, which I tested, was that they only recognized small part of the actual syntax. Most recognized bold and italic printing, but many could not understand lists or headers. That is why I finally used DOC or RTF and went on from there.
Today, maybe there are better solutions. Anyway, if you only have a few files or if they are short, then maybe the easiest solution will be to paste the text and to add the formatting manually again. 87.123.13.33 (talk) 20:28, 20 January 2016 (UTC)
There's a way to render PDFs to images. I use this on www.mobadaten.info.
  • You have to add pdf to $wgFileExtensions: see here
  • You have to install the extension PdfHandler
An example how its used:

I need to send users to a specific section rather than to a whole page. The browser seems to strip out the part of the url that goes to the section...so the url just goes to the page.

MediaWiki 10bikes (talk) 20:39, 20 January 2016 (UTC)

That should work using the diamond sign like so: Manual:Upgrading#Check_requirements. 87.123.13.33 (talk) 21:02, 20 January 2016 (UTC)
Does not work.
More Info---Here are the URLs (with root redacted)
Page URL
https://__________.com/index.php?title=How_do_I%3F
Section URL
https://__________.com/index.php?title=How_do_I%3F#Tag_ISSUE_.26_BUG_work_items_where_IT_is_dependent_on_EG_for_resolution 10bikes (talk) 16:50, 22 January 2016 (UTC)
Here is a test link in this wiki: 1.26, section "New features". This link is working. I guess such a "simple" link to a section is working for you? Or is ''no'' section link working, no matter how "simple" it is?
My guess is that some of the decoded special characters in your URL might cause the problem for you. These are the questionmark (%3F) and the .26, whatever that is. 87.123.61.219 (talk) 01:51, 24 January 2016 (UTC)
I tested more....
when I hyperlink to
https://__________.com/index.php?title=How_do_I%3F#Tag_ISSUE_.26_BUG_work_items_where_IT_is_dependent_on_EG_for_resolution
the browser resolves on:
https://__________.com/index.php?title=How_do_I%3F
so the rest of the url is removed. 10bikes (talk) 16:07, 26 January 2016 (UTC)
But the hyperlink in the wiki is in fact pointing to the URL _with_ anchor? Or is the anchor already no longer part of the linked URL? 87.123.10.41 (talk) 16:14, 26 January 2016 (UTC)

How to Install VisualEditor in CentOS 5.x?

My server runs CentOS 5.11.I've already installed a working version of MediaWiki and am trying to get Visual Editor to work. I've been poking around the net for a while and can't seem to find any guidance on how to install parsoid and its dependencies. Any help would be appreciated. 75.150.109.20 (talk) 21:38, 20 January 2016 (UTC)

Try Parsoid/Setup Ciencia Al Poder (talk) 10:20, 21 January 2016 (UTC)
Thanks. I saw that and was hoping a recipe and packages were floating around somewhere. Yum makes my maintenance life easy. In fact i don't have any source builds on this server at all. 75.150.109.20 (talk) 18:48, 21 January 2016 (UTC)

Some thumbnails throw "Error creating thumbnail: Unable to save thumbnail to destination" but others do not

Some of my thumbnails are throwing "Error creating thumbnail: Unable to save thumbnail to destination", but this only happens for certain files. I thought it might be a unicode thing (I just had an issue with normalization on Wordpress), but it happens on filenames without special characters too.

Then other thumbnails generate without a problem. I've been testing this out by using thumb.php

EDIT: I'm using MediaWiki 1.17.0 JoshSouthern (talk) 00:23, 21 January 2016 (UTC)

Look at Manual:How to debug and enable a debug log. It should contain details about what's doing in each step: the command used to create the thumbnail, moving the thumbnail from one folder to another, etc. There you can find the exact folder being accessed, so you can check for permission issues.
Thumbnails that work may be created before a change in configuration of your server, in that case check if you've enabled SELinux, or changed the effective user account used by the webserver, filesystem permissions... Or maybe you imported images from a command line script that created intermediate folders with the wrong permissions. Ciencia Al Poder (talk) 10:20, 21 January 2016 (UTC)

Wiki mit individuellen Seiten je nach User

Hallo!

Ich möchte ein Wiki aufsetzen in dem an verschiedenen Stellen (z.B. 1x pro Kapitel) ein eigener Text (,Links, Bilder,...) eingegeben werden kann, der auch nur für Ihn (und mich) sichtbar ist. Der Globaltext soll nur von mir bearbeitet werden können.

Im speziellen geht es um Handbücher, die in weiten Teilen fest vorgegeben werden, aber die auch individueller Ergänzungen und Anmerkungen bedürfen.

Wer hat einen Lösungsansatz, bzw kann ihn mir erstellen?

(sorry mein Englisch ist so schlecht, dann besser deutsch - gibt es ein gutes deutsches Forum?) Musenbaron (talk) 08:43, 21 January 2016 (UTC)

Hallo!
Fest vorgegebenen Text kann man mit Vorlagen/Templates realisieren. Siehe Transclusion. Auf der Seite des Benutzers wird dann das Template eingebunden und so erscheint der dort eingetragene Text. Darüber oder darunter kann der Benutzer dann eigenen Text schreiben.
Unterschiedlche Benutzer können so - auf Grundlage desselben Basistextes - unterschiedliche Seiten erstellen. Sichtbar sind diese Seiten dann aber für alle, also nicht nur für den einen Benutzer und für dich. Es gibt eine Reihe von Ansätzen, um eine Art Zugriffskontrolle in MediaWiki zu ergänzen (z.B. Extension:AccessControl), aber die Wahrhit ist: Dafür ist MediaWiki nicht gemacht. Wenn es für ein Projekt entscheidend ist, dass es eine Zugriffskontrolle gibt, dann solltest du lieber ein CMS anstelle von MediaWiki benutzen. 87.123.13.33 (talk) 11:07, 21 January 2016 (UTC)

Call to undefined function MediaWiki\suppressWarnings()

Updating MW 1.25.5 to version 1.26.2 gives me a problem: running update.php (working fine before upgrading) now gives:

PHP Fatal error:  Call to undefined function MediaWiki\suppressWarnings() in /home/test/mediawiki/core/maintenance/Maintenance.php on line 960

And trying to show the wiki (browser) gives:

Fatal error: Class 'Composer\Semver\VersionParser' not found in /home/test/mediawiki/core/includes/registration/CoreVersionChecker.php on line 42

Can't find a clue by googling for this issue. Waanders (talk) 11:15, 21 January 2016 (UTC)

It seems like you are missing a few libraries (e.g. mediawiki/at-ease), which MediaWiki 1.26 needs.
While you are following Upgrade, make sure that you extract the new files into a new folder and make sure that you are using the tarball (and not a version from Git). The tarball already includes those libraries, which you are missing currently. 87.123.13.33 (talk) 12:00, 21 January 2016 (UTC)
Thanks. We're using Git (Manual:Upgrading#Using Git), no problems till now.
I've added the external libraries to our composer.json: "mediawiki/at-ease", "composer/semver", "wikimedia/assert", "wikimedia/wrappedstring" and "wikimedia/ip-set".
Now it's working fine. Almost ... Wiki shows some warnings:
Warning: OutputPage::getModuleStyles: style module should define its position explicitly: ext.visualEditor.viewPageTarget.noscript ResourceLoaderFileModule [Called from OutputPage::getModuleStyles in /home/test/mediawiki/core/includes/OutputPage.php at line 623] in /home/test/mediawiki/core/includes/debug/MWDebug.php on line 300 Waanders (talk) 13:45, 21 January 2016 (UTC)
If you are using a Git checkout, then you have to make sure you run composer install or composer update in the root of the installation and also inside the GeSHi syntaxhighlight extension, if you use that one.
The warning "style module should define its position explicitly" and the solution are detailed at MediaWiki 1.26. 87.123.29.224 (talk) 15:47, 21 January 2016 (UTC)

hi someone can send me in PDF the manual of Microtick

hi, the manual is here http://wiki.mikrotik.com/wiki/Manual:TOC but i need it in one file, someone have it? and can send me to my email please, is fabricio.dandrea@lenorgroup.com, thanks for your attention , have a good day.- Zfabriciodandrea (talk) 13:34, 21 January 2016 (UTC)

Can't edit larger pages

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi, I recently moved my site to a new host and I can no longer edit some pages on my Wiki. It wasn't a problem with my old host.

My Wiki is at http://nevernotwiki.com/index.php?title=The_%22Never_Not_Funny%22_Wiki and the pages in question are linked from that front page, Seasons and Guests.

The pages use tables. I at first thought it was due to the size, they are the two largest pages on my site. However, I tried making a new page with a small table in it and even that wouldn't save; I took out the code for the table ({| class="wikitable"  style="width:100%") and I was able to save the page.

Any suggestions as to what I can try? Is there something wrong with the coding on those pages?

Thanks! 156.57.85.158 (talk) 14:22, 21 January 2016 (UTC)

I have just tried making a test edit on the Seasons page. Everything works fine until I hit the Save button. After that it takes some time and then I get redirected to the Main Page. The edit is not saved. Editing other pages however works correctly.
My guess is that this is somehow caused by RewriteRules. Have you tried setting up short URLs recently? A mistake there might cause this problem.
If you can influence this problem by using a different content on the pages (like saving it without tables in it), then this might be related to mod_security, which might disallow certain contents. 87.123.29.224 (talk) 15:57, 21 January 2016 (UTC)
See Manual:Errors and symptoms#Attempting to save an edit gives you a 403 Forbidden error, or you get redirected to the main page
See also Manual:Combating spam, having an open wiki on the wild can be problematic if you don't protect it Ciencia Al Poder (talk) 22:20, 21 January 2016 (UTC)
Thanks so much! I did contact my host, and they disabled some things and I can now edit again!
I am also going to work on the spam issue.
Thanks again! 156.57.85.158 (talk) 02:16, 22 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Help me with custom template, please.

On my local wiki I'm trying to make template which will show an icon near my text with options:

1=Name (if written then it will be [Name.png] Name)

2=Alternative_name (if written then it will be [Name.png] Alternative_Name)

3=LinkToWiki (if written then it will be [Name.png] Alternative_Name)

I used this:

Help:Parser functions in templates

Help:Extension:ParserFunctions

but cannot solve the problem

Here is my current function with more comments on my question: Project:Support desk/Flow/2016/01/Example.

If I used wrong page to ask such questions, please tell me where should I go.

Thanx. 193.93.186.172 (talk) 14:32, 21 January 2016 (UTC)

This should work:
[[File:{{{1}}}.png|{{{1}}}|24px|text-bottom]] {{#if: {{{2|}}} | {{#if: {{{3|}}} | [[{{{3}}}|{{{2}}}]] | {{{2}}} }} | {{#if: {{{3|}}} | [[{{{3}}}]] | {{{1}}} }} }}
Ciencia Al Poder (talk) 10:39, 22 January 2016 (UTC)

Applying mediawiki-1.23.11.patch

Error posting here:

[daf73db3] Exception Caught: Request to parsoid for 'html' to 'wikitext' conversion of content connected to title "Topic:Swwfemm9zza0quoy" failed: 503

Site: http://lsj.translatum.gr/wiki/Main_Page

I try a dry run for that patch and I get: patch -p 1 --dry-run < mediawiki-1.23.11.patch

can't find file to patch at input line 4Perhaps you used the wrong -p or --strip option?The text leading up to this was:--------------------------|diff -Nruw -x '*~' -x '.js*' -x '.git*' -x '#*#' -x '.#*' -x '.rubocop*' -x .travis.yml -x package.json -x messages -x Gemfile -x .mailmap -x '*.png' -x '*.jpg' -x '*.xcf' -x '*.gif' -x '*.svg' -x '*.tiff' -x '*.zip' -x '*.xmp' mediawiki-1.23.10/RELEASE-NOTES-1.23 mediawiki-1.23.11/RELEASE-NOTES-1.23|--- mediawiki-1.23.10/RELEASE-NOTES-1.23       2015-10-16 13:09:22.000000000 -0700|+++ mediawiki-1.23.11/RELEASE-NOTES-1.23       2015-10-16 13:05:17.000000000 -0700--------------------------File to patch: Spiros71 (talk) 17:38, 21 January 2016 (UTC)

Template:Box-round

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I added Template:Box-round and the related Templates (border-radius and Doc - redirected to Documentation) and it disabled my Table of Contents and the section edit links next to the section titles. Does anybody know why this is happening and how to fix it?

mw version 1.26.0

Thanks. Drdlund (talk) 19:08, 21 January 2016 (UTC)

I figured this out. There were NOEDITSECTION and NOTOC directives at the beginning of the template that I removed to get the result that I wanted.
__NOEDITSECTION__ __NOTOC__<div style="clear: both;"></div> Drdlund (talk) 19:48, 21 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

i need a hand with this

hey man, my email isn't working 2601:1C2:500:4E00:FD07:4D28:5377:CF7A (talk) 02:19, 22 January 2016 (UTC)

We know nothing about your email. Maybe ask somewhere else (eg: to your system administrator) Ciencia Al Poder (talk) 10:30, 22 January 2016 (UTC)

Installation - Media Wiki

I am trying to install Media wiki, need your help for the same. 72.163.189.134 (talk) 06:03, 22 January 2016 (UTC)

Follow Manual:Installation guide Ciencia Al Poder (talk) 10:31, 22 January 2016 (UTC)

Date-formats to ISO8601

The date formats used in search not used outside of the United States (well, Mongolia). Please allow for proper ISO 8601 dates in searches and representations. 185.35.202.78 (talk) 10:28, 22 January 2016 (UTC)

Can you please post a link to the search for date that you attempted to use ? —TheDJ (Not WMF) (talkcontribs) 13:45, 26 January 2016 (UTC)

"Missing" branche labels MW extensions in overview Git-commits

Why do I not see the labels of all REL1_xx-branches in the overview of the Git-commits?

For example: https://git.wikimedia.org/summary/mediawiki%2Fextensions%2FDataTransfer.git show a REL1_26-branch dated 2015-09-29.

But https://git.wikimedia.org/log/mediawiki%2Fextensions%2FDataTransfer.git show REL1_25 (green label), not REL1_26. Waanders (talk) 15:44, 22 January 2016 (UTC)

I don't know, maybe it was tagged differently. It's displayed only on the REL1_26 branch: https://git.wikimedia.org/history/mediawiki%2Fextensions%2FDataTransfer.git/refs%2Fheads%2FREL1_26 Ciencia Al Poder (talk) 18:26, 22 January 2016 (UTC)

HELP

How do I close the Wiki Page???? 65.31.47.211 (talk) 03:32, 23 January 2016 (UTC)

what does "closing" a wiki page mean? Ciencia Al Poder (talk) 11:12, 23 January 2016 (UTC)

Is it possible to completely re-skin MediaWiki?

Am I able to completely re-vamp the look of this? Movingmatters (talk) 04:34, 23 January 2016 (UTC)

You can create your own skin (see Manual:Skinning Part 1), or just add CSS to modify/override styles of an existing skin Manual:Interface/Stylesheets Ciencia Al Poder (talk) 11:11, 23 January 2016 (UTC)

Thumbnail error when uploading file bigger than 7 KB

Hi, I set up a wiki back in November and everything is working out greatly... except for uploads.

Ever since last week I've kept getting this error when uploading files bigger than 7 KB: "Error creating thumbnail: The system cannot find the path specified. Error code: 1". I think it is a problem with ImageMagick.

I am running:

MediaWiki 1.25.2

PHP 5.6.11 (cgi-fcgi)

MySQL 5.6.25-log

IIS 7

Windows 7 Home Premium

PLEASE help. 68.45.51.161 (talk) 20:24, 23 January 2016 (UTC)

7KB is very small to be problematic. See Manual:How to debug to enable a debug log and see if it has a more descriptive error message.
Maybe you don't have ImageMagick correctly configured and it fails when you upload images that need to be resized? Ciencia Al Poder (talk) 15:24, 24 January 2016 (UTC)

500 Error on Uploaded File

I have a new one click install of Mediawiki 1.23.9 on a shared server.

Running:

Red Hat Centos 6.x (not sure which)

PHP 5.6.14

ImageMagick 6.6.3

When I upload images using the Special:Upload the preview of the selected image displays and the upload executes without an error. However, the uploaded image does not render and when selected leads to a 500 error. I have tried .png, .jpg and .gif files with the same result.

This is the .htaccess file:

<IfModule mod_suphp.c>

    suPHP_ConfigPath /opt/php56/lib

</IfModule>

DirectoryIndex default.html

# Use PHP56 as default

AddHandler application/x-httpd-php56 .php

Only similar issue I have found while searching was related to a .htaccess issue but did not elaborate.

Help would be appreciated. Tim Spaulding (talk) 20:57, 23 January 2016 (UTC)

Without a detailed error message (instead of a generic 500 error) there's nothing we can do... If you get the error on the image description page (which is a PHP error), see Manual:How to debug for information about how to display errors. If the file description page opens but the image is missing, and clicking on the image leads to an error page, you should check the webserver error logs, usually even shared servers have access to logs for their own domains. Ciencia Al Poder (talk) 15:21, 24 January 2016 (UTC)
So for anyone else with this issue, I found that there is a .htaccess file in the images folder. That file has this code:
AddType text/plain .html .htm .shtml .php
   php_admin_flag engine off
# Protect against bug 28235
<IfModule rewrite_module>
RewriteEngine On
RewriteCond %{QUERY_STRING} \.[^\\/:*?\x22<>|%]+(#|\?|$) [nocase]
RewriteRule . - [forbidden]
</IfModule>
Web searched on bug 28235 and found this thread:
http://www.gossamer-threads.com/lists/wiki/mediawiki/617501
Which led to this thread:
https://phabricator.wikimedia.org/T30235
Apparently there was a reported issue with these two lines in the /images/.htaccess file:
#   AddType text/plain .html .htm .shtml .php
#   php_admin_flag engine off
Commented these out and images now render correctly. Tim Spaulding (talk) 21:13, 24 January 2016 (UTC)
Thanks man this solution works to me.. -rhalf 103.36.18.9 (talk) 11:00, 5 June 2019 (UTC)
I am using Mediawiki 1.26.4 with PHP 5.4 I SOLVED the problem by switching on XMLREADER in the php version via cpanel after seeing the error in the error log which is stored in the Mediawiki directory on my website.
Hope this helps ! Wobuck (talk) 11:13, 15 July 2018 (UTC)

Nudity

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


You need to make this so that kids can't access the pages that have nudity. Most places have at least a warning for nude pictures but no not the almighty stuck up snobs of wikipedia who get to decide what gets published and what gets flagged for removal. I am outraged that my grandkids can access pages on here that have nudity and you use a cope out disclaimer to attempt to protect yourselves?? MZDemonRaven (talk) 01:55, 24 January 2016 (UTC)

Thanks for your kind post. I am Jörg, one of the almighty stuck up snobs of Wikipedia and I will answer you today.
As far as I remember computers don't open web pages all by themselves. If someone sees nudity in Wikipedia, then he has willingly and deliberately searched for it. You can do the same thing with anything else, e.g. with the biology book of choice and it also won't have a disclaimer that a sexual topic wil be sexual. If I were you, I would be happy that they used an educational site like Wikipedia and not one of the gazillions of porn pages.
After all it seems like your grandkids have reached an age, where someone should tell them the facts of life. Or give them a piece of their mind.
Thank you again for your valuable input. I'll close this topic now. Jörgi123 (talk) 02:27, 24 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Default Date Format

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I have a wiki in persian. In my preferences (user preferences), I can change date format for persian. And, I can see that the date format is as follow:

this picture shows that the user date format is correct and in persian

which is correct. But when I have signed out, The date format of site is not persian. It looks like this:

this picture shows that the default date format is not persian

which is not the case I want to be.

I want the default date format of the site be in persian, too. It would be great if some one guide me how to change the default time zone and date format of the wiki site.

Wiki Site Address 46.225.183.147 (talk) 16:58, 24 January 2016 (UTC)

I think you are looking for the configuration variable $wgDefaultUserOptions, which you can set in LocalSettings.php.
According to the docs, adding
$wgDefaultUserOptions['date'] = 'persian';
should do. 87.123.18.162 (talk) 18:16, 24 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

"The hyperlink to a wiki page for "Rosary High School" takes the user to an incorrect reference page and should be changed or un-linked. Dale Schilly is a ~54-year-old male soccer coach who attended Rosary High School in the St. Louis, MO area. The wiki link page that is incorrectly connected to the link on the Dale Schilly page is for Rosary High School in Aurora, IL. The Aurora, IL school is (and always has been) an all-girls school. The Rosary High School that Dale Schilly attended (Class of 1979) is the same one that is now referenced in the wiki page named "Trinity Catholic High School (St. Louis)"... Here is a link that confirms Dale Schilly's High School affiliation: http://www.trinitycatholichigh.org/rosaryhs.html 73.208.124.203 (talk) 18:59, 24 January 2016 (UTC)

Thank you for your note! Btw.: You can also edit it yourself. :-)
I have now fixed the page on Dale Schilly accordingly. Please check, if it is correct now! 87.123.18.162 (talk) 22:05, 24 January 2016 (UTC)

Category Cloud on Selected Pages

I am currently using the extension "wikicategorytagcloud." I would like to set parameters to block certain pages from being included in the tag cloud. Can I do this with this or any other category cloud extension that is available? 63.152.112.111 (talk) 19:42, 24 January 2016 (UTC)

With WikiCategoryTagCloud this is definitely possible. The parameter is called exclude and you have to use underscores instead of spaces inside the page names, which you want to exclude.
See Extension:WikiCategoryTagCloud for more details! 87.123.18.162 (talk) 21:56, 24 January 2016 (UTC)

Updating: MW 1.6.1 to Current

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


We have an old Media Wiki site currently running 1.6.1 on a server 2003 VM. We need to bring this up to a current version as well as migrate over to Server 2012. Has anyone done a similar upgrade/migration and if so what steps did you take? Unfortunately my team does not have anyone overly familiar with MW so we are attempting this with minimal background.

The current VM has the following versions:

We have Manual:Upgrade for such cases. Just follow it and you should be fine! 87.123.45.172 (talk) 19:27, 25 January 2016 (UTC)
Thanks, hoping to attempt this tomorrow. 67.132.9.201 (talk) 21:29, 4 February 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

How to make a wiki site return 404 for nonexisting pages?

Hi,

I need my wiki to return 404 for non-existing pages rather than "page not there and you can create one". The reason is; otherwise search engines do not seem to delete from their index the long deleted pages.

I have edited the LocalSettings.php to have the line:

$wgSend404Code = true;

But it does not seem to work. Wiki simply returns the search page with a message saying that the page could not be found but can be created etc....

Any ideas?

Best! SAK (talk) 16:59, 25 January 2016 (UTC)

The wiki can return a 404 error code and at the same time display the message that there's no page with that name. This is not visible to you, unless you inspect response headers with the browser's developer console.
Note that even with this change, search engine need some time to refresh their index.
The "Wiki simply returns the search page" is a very different situation. The search page can't return a 404 status code even if it doesn't find anything. If you don't want search engines to index search result pages, create a rule in robots.txt for it Ciencia Al Poder (talk) 10:31, 26 January 2016 (UTC)
Hello Ciencia,
Thank you for your kind reply. My wiki returns "This page does not exist now" page for such pages. But I checked the HTTP response headers via firebug's Net menu and indeed it also returns 404. I thought these were mutually exclusive. Thank you for pointing out!
(just to summarize it in its entirety for people who may hit it in future):
After configuring the site to return 404 for such requests, I had submitted sitemap to search engines for crawling. My expectation was that, after (Bing.com) SE hitting 404 for those pages (created by spammers & removed by me), it would delete them from its index. But it did not happen.
The SE crawl status now is "crawled" but SE index still contains those non-existing pages . I am assuming either
a-Site is crawled but the results not reflected to the index yet
b-SE update their index only for those links in the sitemap and leave other entries in their index undisturbed (in this case I shot myself in the leg by providing a sitemap - I shall ask a new crawl after a week without a sitemap).
I had asked Bing.com to block a few of those page URLs. They were immediately in effect. Apparently it is a different process.
Thanks again for your kind reply
Best Regards. SAK (talk) 12:06, 26 January 2016 (UTC)
Apparently it should be possible to indicate in a sitemap that a page is no longer present and should be removed https://support.google.com/customsearch/answer/2631051
Maybe you can request a feature of adding such deleted pages on the sitemap Ciencia Al Poder (talk) 10:48, 27 January 2016 (UTC)

Login probelms

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I used to come in here and post, but haven't been here in maybe years. But I had a user name and password which don't work anymore. So I re-registered, but now it's telling me someone else is using that email address. At the same time, the info I used with that email address they won't accept. What can I do? I am tapering off Ativan after being on it for 41 years, so I'd appreciate being able to get on. My emails address is ctose1@gmail.com

Cecile Tose 68.148.8.23 (talk) 00:09, 26 January 2016 (UTC)

Use the "Forgot your password?" feature on the Special:UserLogin :) Malyacko (talk) 14:58, 28 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Lua binary still unexecutable after setting file permissions to 755

Here's the error message:

<pre style="overflow:auto">[9828bdc8] /w7/index.php?title=Module:Documentation&action=submit MWException from line 208 of /membri/wikifree/w7/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php: The lua binary (/membri/wikifree/w7/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic/lua) is not executable.

Backtrace:

  1. 0 /membri/wikifree/w7/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(114): Scribunto_LuaStandaloneInterpreter->__construct(Scribunto_LuaStandaloneEngine, array)
  2. 1 /membri/wikifree/w7/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(95): Scribunto_LuaStandaloneEngine->newInterpreter()
  3. 2 /membri/wikifree/w7/extensions/Scribunto/engines/LuaStandalone/LuaStandaloneEngine.php(8): Scribunto_LuaEngine->load()
  4. 3 /membri/wikifree/w7/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(197): Scribunto_LuaStandaloneEngine->load()
  5. 4 /membri/wikifree/w7/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(872): Scribunto_LuaEngine->getInterpreter()
  6. 5 /membri/wikifree/w7/extensions/Scribunto/engines/LuaCommon/LuaCommon.php(860): Scribunto_LuaModule->getInitChunk()
  7. 6 /membri/wikifree/w7/extensions/Scribunto/common/Base.php(179): Scribunto_LuaModule->validate()
  8. 7 /membri/wikifree/w7/extensions/Scribunto/common/Hooks.php(311): ScribuntoEngineBase->validate(string, string)
  9. 8 [internal function]: ScribuntoHooks::validateScript(EditPage, string, string, string)
  10. 9 /membri/wikifree/w7/includes/Hooks.php(201): call_user_func_array(string, array)
  11. 10 /membri/wikifree/w7/includes/content/ContentHandler.php(1185): Hooks::run(string, array)
  12. 11 /membri/wikifree/w7/includes/EditPage.php(1461): ContentHandler::runLegacyHooks(string, array)
  13. 12 /membri/wikifree/w7/includes/EditPage.php(1756): EditPage->runPostMergeFilters(ScribuntoContent, Status, User)
  14. 13 /membri/wikifree/w7/includes/EditPage.php(1331): EditPage->internalAttemptSave(NULL, boolean)
  15. 14 /membri/wikifree/w7/includes/EditPage.php(560): EditPage->attemptSave(NULL)
  16. 15 /membri/wikifree/w7/includes/actions/EditAction.php(58): EditPage->edit()
  17. 16 /membri/wikifree/w7/includes/actions/SubmitAction.php(40): EditAction->show()
  18. 17 /membri/wikifree/w7/includes/MediaWiki.php(490): SubmitAction->show()
  19. 18 /membri/wikifree/w7/includes/MediaWiki.php(287): MediaWiki->performAction(Article, Title)
  20. 19 /membri/wikifree/w7/includes/MediaWiki.php(714): MediaWiki->performRequest()
  21. 20 /membri/wikifree/w7/includes/MediaWiki.php(508): MediaWiki->main()
  22. 21 /membri/wikifree/w7/index.php(41): MediaWiki->run()
  23. 22 {main}

Luis/stranger195 (talkcontribsguestbook) 09:16, 26 January 2016 (UTC)

One of the most common reasons for this is that you are using the 32bit binary on a pure 64bits system. see if the 64bits version works any better. You can easily test their executability, by navigating to their respective parent directories and running ./lua -v. This should print the version number if they are executable. —TheDJ (Not WMF) (talkcontribs) 13:40, 26 January 2016 (UTC)
I can't "run ./lua -v" because WikiFree is hosted by a shared hosting provider (AlterVista). And how do I change it so that Scribunto uses the 64-bit version? Luis/stranger195 (talkcontribsguestbook) 11:44, 29 January 2016 (UTC)
Set $wgScribuntoEngineConf['luastandalone']['luaPath'] to the appropriate location of the lua executable Ciencia Al Poder (talk) 14:43, 30 January 2016 (UTC)
Now it says:
Script error: Lua error: Cannot create process: proc_open is not available. Check PHP's "disable_functions" configuration directive. Luis/stranger195 (talkcontribsguestbook) 09:39, 4 February 2016 (UTC)
The error message is self-explanatory Ciencia Al Poder (talk) 11:11, 4 February 2016 (UTC)
So how do I make proc_open available?
Edit: Project:Support desk/Flow/2014/04#h-Lua_error-2014-04-17T15:30:00.000Z implies that on ""cheap" shared host"s, the operators cannot do anything about it. Maybe replacing the templates with older versions from Wikipedia is much better than trying to fix something. Luis/stranger195 (talkcontribsguestbook) 10:12, 7 February 2016 (UTC)

MediaWiki - Page Load Errors

I have recently installed MediaWiki onto a Windows 7 Enterprise computer. I have tested the same setup (at home) on the same system and it has worked perfectly without any additional issues.

MediaWiki installation was setup through Microsoft Web Platform through WebMatrix. The installation process worked fine and I can readily access the http://localhost:1234 on the machine in which it is installed. The installation worked perfectly.

However, when I try to access the system on ANY OTHER system within the LAN I get a BAD REQUEST error 400 - invalid hostname. Now this is setup on an enterprise environment for a large organization. However, I have opened the firewall ports on the machine to allow traffic through port 1234. Also if I try to load up MediaWiki on the PC using the IP address of the computer (in place of localhost) I get the same HTTP Error 400.

I just want to make sure there isn't something I'm missing with the WIKI setup that should be set to allow this to work. In the mean time I will continue to dig on the enterprise side and see if I can locate some solutions. Appreciate your help! 159.121.202.141 (talk) 18:27, 26 January 2016 (UTC)

If you cannot access MediaWiki from _other_ PCs than localhost, hen the problem - if it is located inside MediaWiki - nearly always is the configuration variable $wgServer in LocalSettings.php. This variable must _not_ be set to localhost or 127.0.0.1 or similar, but to a domain name or the right IP address.
However, I have not yet seen cases, where a mistake in that variable would cause bad request errors. So possibly this is _not_ your problem, but who knows... 87.123.10.41 (talk) 20:31, 26 January 2016 (UTC)

Wiki farm edit but not read

Hi, I need am on a wiki farm (Miraheze) were some wikis are public, some private. I currently have editinterface but I can't edit interface pages on private wikis. I need to be able to edit interface pages on private wikis but not to be able to read ANYTHING on them. Config page: https://github.com/miraheze/mw-config/blob/master/LocalSettings.php Reception123 (talk) 19:15, 26 January 2016 (UTC)

.. Reception123 (talk) 17:28, 3 February 2016 (UTC)

Failed to open stream: File name too long in /mw/includes/cache/FileCacheBase.php on line 171

I do not understand why no one is complaining. Non-latin pagename is longer than ~41 characters will certainly entail a PHP warning in the errorlog:

 PHP Warning:  file_put_contents(/mw/cache/7/7e/%D0%9D%D0%9F%D0%90%3A%D0%93%D1%80%D0%B0%D0%B6%D0%B4%D0%B0%D0%BD%D1%81%D0%BA%D0%B8%D0%B9_%D0%BA%D0%BE%D0%B4%D0%B5%D0%BA%D1%81_%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D0%B9%D1%81%D0%BA%D0%BE%D0%B9_%D0%A4%D0%B5%D0%B4%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D0%B8%3A%D0%A1%D1%82%D0%B0%D1%82%D1%8C%D1%8F_612.html.gz): failed to open stream: File name too long in /mw/includes/cache/FileCacheBase.php on line 171

Everything works, but I want accuracy. StasR (talk) 19:50, 26 January 2016 (UTC)

Can you elaborate that with more detail?
To me it looks like the filename is somehow encoded incorrectly... 87.123.10.41 (talk) 20:32, 26 January 2016 (UTC)
A similar example is given in Manual:File cache. Just the example has one letter, but I have a lot. StasR (talk) 21:43, 26 January 2016 (UTC)
I see. According to your description, I think the impact of this problem depends on the signs, which are used in page titles and so mainly on the language used in the wiki. Or with other words: It is not a problem with English texts and it is broken with Arabic, Chinese and so on.
As a workaround you can set
$wgUseFileCache = false;
in LocalSettings.php.
I do not know of a solution currently. However, depending on the file system, a wide range of signs/letters may not be valid for file names so that -if page titles should be used for file names- there will be no way around encoding these signs/letters in some way. 87.123.10.41 (talk) 23:09, 26 January 2016 (UTC)
Thank you. That's what I wrote: The problem with non-Latin characters, and the problem with FileCache :-)
Exclude Russian letters or disable caching are not the solution. StasR (talk) 07:08, 27 January 2016 (UTC)

Upload File is not shown

Hello. We have upgraded wiki to 1.26 downloaded from your web site. As the default Upload File menu item is not shown on the left side in wiki 1.26. We made all necessary changes according to the instruction available at https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads: 1) In C:\Windows\php.ini file_uploads = On 2) The %SystemRoot%\TEMP folder that is c:\Windows\Temp IUSR has Read, Write and Execute rights; (we have IIS 7.5 on that machine). 3) The /images folder that is C:\easyphp\www\mediawiki-1.26.0\images for Users has Read, Write and Execute access. 4) LocalSettings.php has the setting $wgEnableUploads = true; 5) LocalSettings.php has the setting $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'doc',

   'xls', 'mpp', 'pdf', 'ppt', 'tiff', 'bmp', 'docx', 'xlsx', 'pptx', 'ps', 'odt', 'ods', 'odp', 'odg');

6) LocalSettings.php $wgUploadDirectory = "C:/easyphp/www/mediawiki-1.26.0";

Nevertheless, the Upload File menu item is still not shown but we need it! Please let us know what are we missing to make the Upload File menu item to be shown and selective? Thank you! 198.232.185.11 (talk) 21:35, 26 January 2016 (UTC)

Has file upload worked before? If so, with which version?
Apart from that: Does the user have the "upload" user right? You can check that by having a look at the wiki page Special:ListGroupRights in your wiki. 87.123.10.41 (talk) 22:55, 26 January 2016 (UTC)
Yes, previously for several years we had WIKI 1.19 and FileUpload was displayed in the left menu and worked without any problems. We just recently upgraded 1.19 to 1.26 since 1.19 is not supported anymore. Additionally it has to be said that as it's said on MediaWiki web site as the default 1.26 does not support LDAP Auto Authentication. So, we selected not to restrict users to upload files for our WIKI that is running just inside the intranet of our company. Please let us know if anything is missing and/or HOW to write/provide for ALL users the right to upload without any restrictions? Thank you! 198.232.184.254 (talk) 19:28, 27 January 2016 (UTC)
> we selected not to restrict users to upload files for our WIKI
Does that mean that the wiki page Special:ListGroupRights in your wiki shows the user right "upload" for the user group called "user"? 87.123.25.254 (talk) 23:24, 27 January 2016 (UTC)
On the Special Page in User group rights "upload" rights are shown currently only for Administrators.and Users. Might it be a reason? How we can grant "upload" rights to the group (all)? 198.232.184.254 (talk) 01:27, 28 January 2016 (UTC)
If your users do _not_ log in to MediaWiki, then this configuration is at least part of the problem.
If you add this line to LocalSettings.php
$wgGroupPermissions['*']['upload'] = true;
then users, who are not logged in, should be able to upload. Without this line, with the configuration, which you have until now, users who _are_ logged in should be able to upload files.
A second aspect might be relevant: Given that the user you are trying with is in a user group, which _does_ have the upload right, what happens when with such a user you are directly accessing the page Special:Upload by typing it in the URL bar of your browser? Does that show the upload page? Or do you get a permission error? 87.123.25.254 (talk) 03:34, 28 January 2016 (UTC)
Thank you so much for your reply! The sentence $wgGroupPermissions['*']['upload'] = true; has been added into LocalSettings.php file; now the link Upload file is shown on the left panel but when I click on the link, select file to upload and press Submit button, as the result, I'm getting '[51a7b818] 2016-01-28 19:11:41: Fatal exception of type 'UploadStashFileException'. What the code '[51a7b818]' might mean and HOW to avoid getting exception 'UploadStashFileException'? Thank you! Afilimonov1 (talk) 22:27, 28 January 2016 (UTC)
51a7b818 is just a random string so you can find it inside the error logs.
That's probably a permission error on the filesystem, your images directory doesn't allow apache to write on it.
For having a detailed error message set $wgShowExceptionDetails to true. Ciencia Al Poder (talk) 10:38, 29 January 2016 (UTC)
Hi. In LocalSettings.php file we have $wgUploadDirectory = "D:/wiki_uploads/wikidata";
Right now File uploading is successfull and file goes to D:/wiki_uploads/wikidata/.
but in order to display file in WIKI article it has to be located at C:/easyphp/www/mediawiki-1.26.0/images.
If after uploading I copy a file from D:/wiki_uploads/wikidata/ to C:/easyphp/www/mediawiki-1.26.0/images/, it works!
What has to be changed in settings to display file from D:/wiki_uploads/wikidata and not from "C:/easyphp/www/mediawiki-1.26.0/images"?
Thank you! Afilimonov1 (talk) 18:26, 1 February 2016 (UTC)
You need to create a virtual directory /images on the webserver pointing to D:/wiki_uploads/wikidata/, so access to yourdomain/images points to D:/wiki_uploads/wikidata/ instead of D:/easyphp/www/mediawiki-1.26.0/images/ Ciencia Al Poder (talk) 20:41, 1 February 2016 (UTC)

Kickass

if i ping the site in cmd it passes. but it is constantly greyed out in the searches. 142.114.59.133 (talk) 03:22, 27 January 2016 (UTC)

What is "the site", if this refers to MediaWiki at all? What "searches" where? Malyacko (talk) 14:57, 28 January 2016 (UTC)

ResourceLoader load.php causing jQuery conflict

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I am running both MediaWiki and Wordpress at the same time. Both of them load jQuery, although supposedly different versions. I cannot find anywhere what jQuery version MediaWiki 1.26.2 uses.

Having two instances of jQuery being loaded is causing conflicts with my WordPress plugins. I've tried removing the jQuery link from WordPress. But sadly, MediaWiki's jQuery does not take over and keep the functions working.

So in an attempt to work something out I have tried to disable ResourceLoader, and this makes the WordPress plugins work, but MediaWiki becomes useless.

I am wondering exactly how jQuery is being called in ResourceLoader so I may find a solution for my issue. 92.110.165.206 (talk) 06:44, 27 January 2016 (UTC)

Why are WordPress and MediaWiki interacting together on the same page? They should be different applications with different URLs Ciencia Al Poder (talk) 10:37, 27 January 2016 (UTC)
I use WordPress for the main structure of my website. My WordPress header and footer wrap around a MediaWiki installation for a consistent theme, but it also handles the Login system, which is synched with MediaWiki. Yes, it is very hacky, but other than this error it works perfectly.
I would like to know if it's possible to simply unload jQuery from the ResourceLoader and use the jQuery called by WordPress to handle everything. A hacky solution could be to empty the file containing jQuery in the MediaWiki installation, but thus far I haven't been able to locate it.
Any help is greatly appreciated! 92.110.165.206 (talk) 15:21, 27 January 2016 (UTC)
To give a short update on my issue. I found the jQuery file in "resources/lib/jquery/jquery,js" and have created a backup of the file. Then I emptied (read: deleted all the contents of jquery.js) the original file in order to disable jQuery loaded by MediaWiki.
I now have jQuery loaded on every page through my WordPress's head instead of MediaWiki. Please note that can hardly be called a solution as updating MediaWiki will break this setup. But this is not an issue for me since I do not plan to update MediaWiki now that my site structure is finished. 92.110.165.206 (talk) 17:07, 27 January 2016 (UTC)
What you are doing is totally scary, should not be done and is definitely not supported. —TheDJ (Not WMF) (talkcontribs) 20:38, 27 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Hi,

I was wondering if there is any way to create wiki then have other wiki pages linked into the same page and you can select which wik with a sort of drop down bar for these subset of wiki pages that are related directly to the first page? 137.201.242.130 (talk) 23:59, 27 January 2016 (UTC)

Why use a dropdown instead of a list of links which anyone can create? Malyacko (talk) 14:56, 28 January 2016 (UTC)
100 links might be messy, a drop down with alphabetized sub groups is more clean 137.201.242.130 (talk) 18:21, 28 January 2016 (UTC)
Also It customizes a page to the user's needs so they don't have to click back a forth between pages 137.201.242.130 (talk) 18:55, 28 January 2016 (UTC)

Wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.

I've searched for half a day on how to resolve this issue, and can't figure it out. Shortly after I made my wiki a private wiki according to the instructions at Manual:Preventing access#Simple private wiki , it started giving me the weird login error message: Wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.

Of course, if I remove those private wiki settings, the error disappears, even if I try logging in. But I need it to be a private wiki for only my team. So what do I do?

I wrote a long detailed post about the problem and what I've tried so far, but my post kept getting mislabeled as spam. So I posted at serverfault instead and perhaps you guys would be willing to view my post there? http://serverfault.com/questions/752375/how-can-i-get-my-mediawiki-to-stop-thinking-i-have-cookies-disabled PakG1 (talk) 12:02, 28 January 2016 (UTC)

Here's what I wrote before that was getting flagged as spam:
Here's what I've done so far. Just to be safe, after ever change, I try rebooting Apache using:
  • sudo /etc/init.d/apache2 restart
In my php.ini file, I have the following set:
  • session.save_path = "/var/lib/php5"
  • session.cookie_secure = secure
  • session.cookie_path = /tmp session.cookie_domain = my server's internal URL (should I even set this? this field was blank before, but not commented out)
  • session.referer_check = Off
I ran the following to ensure that the folders are writable:
  • sudo chmod -R 1777 /var/lib/php5
  • sudo chmod -R 1777 /tmp
In my LocalSettings.php file, I have the following added to the bottom of the settings file:
  • session_save_path("tmp");
  • $wgSessionsInObjectCache = true;
  • $wgMainCacheType = CACHE_ANYTHING;
  • $wgDebugToolbar = true;
  • $wgDebugLogFile='/var/log/mediawiki/mediawiki.log';
  • $wgShowExceptionDetails = true;
  • $wgShowDebug = true;
  • $wgDevelopmentWarnings = true;
For the above tmp, I created the folder /etc/mediawiki/tmp and also ran the following:
  • sudo chmod -R 1777 /etc/mediawiki/tmp
I know that the cookie is coming through to the browser because I can see the cookie in Firebug and verify that the same cookie got created in the /tmp folder.
SSL seems to be configured properly, because I get the green lock. PakG1 (talk) 05:33, 29 January 2016 (UTC)
And this is my debug output after trying to log in. Please help?  :(
Debug data:
  • Start request
  • POST /mediawiki/index.php?title=Special:UserLogin&action=submitlogin&type=login&returnto=Special:RecentChanges
  • HTTP HEADERS:
  • HOST: bs-wiki.sis.org.cn
  • CONNECTION: keep-alive
  • CONTENT-LENGTH: 122
  • CACHE-CONTROL: max-age=0
  • ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
  • ORIGIN: https://bs-wiki.sis.org.cn
  • UPGRADE-INSECURE-REQUESTS: 1
  • USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36
  • CONTENT-TYPE: application/x-www-form-urlencoded
  • DNT: 1
  • REFERER: https://bs-wiki.sis.org.cn/mediawiki/index.php?title=Special:UserLogin&returnto=Special%3ARecentChanges&returntoquery=
  • ACCEPT-ENCODING: gzip, deflate
  • ACCEPT-LANGUAGE: en-US,en;q=0.8
  • COOKIE: __gads=ID=f46767e352615a06:T=1453974579:S=ALNI_MaImAtsIj8Xb-3kERZtmSWx82DxNA; bs_wikiUserName=Rpark1; bs_wikiLoggedOut=20160128105049; bs_wiki_session=3fck92pn1uq1l1s852oq6rfdl3
  • CACHES: SqlBagOStuff[main] SqlBagOStuff[message] SqlBagOStuff[parser]
  • Connecting to localhost bs_wiki...
  • Profiler::instance called without $wgProfiler['class'] set, falling back to ProfilerStub for safety
  • Connected to localhost bs_wiki.
  • Connecting to localhost bs_wiki...
  • Connected to localhost bs_wiki.
  • DatabaseBase::query: Writes done: DELETE FROM objectcache WHERE keyname = 'bs_wiki:stats:request_with_session'
  • LocalisationCache: using store LCStore_DB
  • Unstubbing $wgParser on call of $wgParser::setFunctionHook from unknown
  • Parser: using preprocessor: Preprocessor_DOM
  • Fully initialised
  • Unstubbing $wgAuth on call of $wgAuth::validDomain from unknown
  • IP: 172.18.12.59
  • MessageCache::load: Loading en... got from global cache
  • Unstubbing $wgLang on call of $wgLang::_unstub from unknown
  • MWCryptRand::realGenerate: Generating cryptographic random bytes for LoginForm::setLoginToken/MWCryptRand::generateHex/MWCryptRand::realGenerateHex/MWCryptRand::generate/MWCryptRand::realGenerate
  • MWCryptRand::realGenerate: openssl_random_pseudo_bytes generated 16 bytes of strong randomness.
  • MWCryptRand::realGenerate: 0 bytes of randomness leftover in the buffer.
  • Class SkinVector not found; skipped loading
  • Class PEAR_Error not found; skipped loading PakG1 (talk) 05:34, 29 January 2016 (UTC)

readapidenied error when trying to create an offline copy.

I'am trying to create an offline copy of my wiki using mwoffliner. My wiki is private, but the script supports username and password to get a session cookie which is then passed to parsoid. The script works good for some time, but after a few hundred requests I get the "readapidenied" You need read permission to use this module" error on the mediawiki api.

I'am using "$wgSessionsInObjectCache = true" and "$wgMainCacheType = CACHE_ACCEL". (using APC storage) What could cause this problem? Is there maybe some limitation how much requests are possible in a certain amount of time and if this limit is reached the session is removed? TheNetStriker (talk) 15:29, 28 January 2016 (UTC)

maybe your user session expires after that time? If that's the case, that seems a bug on the script, which should autologin when this happens.
I don't see anything api-related in Manual:$wgRateLimits Ciencia Al Poder (talk) 10:46, 29 January 2016 (UTC)

Colon indentation and

tags

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


At the moment, colons used to indent text are ignored by <blockquote> tags after the first line break created in the text by placing the text on a separate line. Can this be fixed? Esszet (talk) 15:40, 28 January 2016 (UTC)

No, use <blockquote> for that instead of the colon notation. wiki syntax is for simple needs Ciencia Al Poder (talk) 10:42, 29 January 2016 (UTC)
Alright, I'll add something to the documentation subpage for the main template that uses it, then. Esszet (talk) 22:59, 30 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Error Msg when connecting

Hi, I'm using FileZilla for the first time and not that familiar with FTP tools.

I enter my UN/PW, and the site connects, but it only gets so far, then gives me this error message. Can anyone tell me why it's timing out on this command. Happened repeatedly. (Used to use another tool, and that worked fine on XP, but not Win7 which is what I have now.) THANKS

Command: MLSD

Error: Connection timed out after 20 seconds of inactivity

Error: Failed to retrieve directory listing 24.52.177.203 (talk) 18:43, 28 January 2016 (UTC)

Wiki inaccessable / vandalized?

Hi,

Our fan-based web-site set up a wiki a few years ago and now it has become inaccessible. All the people who once were registered to work on it are locked out, including those with administrative level access. Any suggestions on how to resolve this problem?

http://wiki.usagiyojimbo.com/wiki/Main_Page Usagigoya (talk) 19:19, 28 January 2016 (UTC)

Your wiki shows PHP errors. This happens, when someone (the host?) updates parts of the server environment while at the same time your MediaWiki version is too old to be able to work with the new versions of that software. A number of these PHP errors is e.g. caused by a new version of the PCRE package, with which your version of MediaWiki is not compatible. This is also the reason for why you do no longer see the page contents - in fact all that content is still there.
Your MediaWiki version is 1.18.1, which is really old and unsupported. It has known security holes, which attackers might exploit.
You should follow the upgrade guide and upgrade your wiki to a supported version!
Based on the MediaWiki version lifecycle, I recommend upgrading to MediaWiki 1.26.
When I have a look at your recent changes
http://wiki.usagiyojimbo.com/api.php?action=query&list=recentchanges&rcprop=title%7Ctimestamp%7C%7Csizes%7Cflags%7Cuser&rclimit=10
then this does not look like the wiki would be hacked or filled with spam. There are only very few edits with the last one being from 2014. That looks good.
Once you upgraded MediaWiki, you will also again see the content of your wiki! 87.123.51.38 (talk) 19:39, 28 January 2016 (UTC)

Automatically include a page in multiple categories

I'm wondering if there's an extension out there that will automatically include a page in multiple categories.

Let's say I have a category for each country of the world, and I have a page I'd like to include in every country category. I'd like to be able to have something that will automatically add that page to all of them. eg, start an "All Countries" category, and any page in that category is also included in each country category. Chazbot7 (talk) 21:11, 28 January 2016 (UTC)

SQL Errors upon submitting changes

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Mediawiki Version: 1.23.5

PHP Version: 5.4.45

MySQL Version: 5.5.45

Hi there, I'm one of the contributors on http://www.spaceengineerswiki.com/

For quite some time now we've had issues with the wiki occasionally displaying these SQL errors after any user submits changes to a page. We've asked the users to try and ignore these errors, but they happen at random and too frequently that it has discouraged quite a few from posting even the smallest changes. The changes are saved thankfully though.

The administrators have tried figuring out the issue, but they've put it aside as its stonewalled them. Hopefully it's something that can be easily fixed. I have permission on the site owners behalf to ask here if there is any solution to this issue or a way to debug the problem.

Any help would be appreciated, the errors are listed below.

Notice: Array to string conversion in /var/www/spaceengineerswiki.com/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Writers.php on line 383

Notice: Array to string conversion in /var/www/spaceengineerswiki.com/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Writers.php on line 384

Warning: Cannot modify header information - headers already sent by (output started at /var/www/spaceengineerswiki.com/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Writers.php:384) in/var/www/spaceengineerswiki.com/includes/WebResponse.php on line 111

Warning: Cannot modify header information - headers already sent by (output started at /var/www/spaceengineerswiki.com/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Writers.php:384) in/var/www/spaceengineerswiki.com/includes/WebResponse.php on line 37 Sapphire104 (talk) 02:28, 29 January 2016 (UTC)

The "Notice" is just that, a notice, that PHP has done some implicit conversion or action that may not be wanted, but that's not a real error. On production servers you can generally ignore them. That's most likely a fault / bug of SemanticMediaWiki.
To ignore this notice (which should also prevent the error of "headers already sent") see this SO question. Ciencia Al Poder (talk) 10:28, 29 January 2016 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Listings on special pages alphabetical order down columns

I cannot for the life of me work out how to get AllPages on our wiki to be alphabetical down the columns. Currently it is in three columns and goes alphabetical ACROSS the columns and is nearly impossible to read.

We want to make it like the one here Special:AllPages Standgale2 (talk) 03:32, 29 January 2016 (UTC)

Maybe you need to Upgrade your wiki to a newer version that has this new listing format Ciencia Al Poder (talk) 10:24, 29 January 2016 (UTC)
oh really, its because of the versions? That's a pain - I am not in charge of the wiki software for our organisation, so I doubt I can get it upgraded. Standgale2 (talk) 01:34, 1 February 2016 (UTC)

index.php now displays file listing

Don't know what happened, but when I navigate to my wiki, instead of loading the main page, it displays the file listing of the folder.

Help!

I have not made any changes to the index.php or index.php5 files. Tim Spaulding (talk) 03:47, 29 January 2016 (UTC)

maybe your hosting provider did?
That's usually controlled by the DirectoryIndex directive in apache: DirectoryIndex index.php Ciencia Al Poder (talk) 10:23, 29 January 2016 (UTC)

how so I suggest changes to an entry

I found an error in an entry. How do I go about changing that? 83.85.78.251 (talk) 11:47, 29 January 2016 (UTC)

Just press the "Edit" button in the top right of the according page, just below the search box, edit the page and hit the "Save" button. 87.123.0.96 (talk) 13:24, 29 January 2016 (UTC)

Content Translation

能否不要把繁體中文簡體中文綁在一起而是拆分開,好嗎?有很多地方,繁體簡體的翻譯是很不同的。 -- By LNDDYL. (Talk) 12:07, 29 January 2016 (UTC)

How to "mass-protect" pages ?

Is there a easyer way to protect a list of pages perhaps by a maintenance script or the like? The only way I've found is Help:Protecting and unprotecting pages.

It somehow boring to open each single page , click the settings, save ... Carchaias (talk) 12:30, 29 January 2016 (UTC)

There's protect.php. See also Manual:Protection Ciencia Al Poder (talk) 14:40, 30 January 2016 (UTC)
This is only on V 1.25+ , I'm on V 1.23+. There is further no explanation how to use it. Carchaias (talk) 09:58, 9 February 2016 (UTC)
protect.php as well as the mechanisms described on Manual:Protection will also work in 1.23. 87.123.58.199 (talk) 10:45, 9 February 2016 (UTC)

Missing paragraphs in translation table

While reading Hilfe:VisualEditor/Handbuch (german version of Help:VisualEditor/User_guide) I found a couple of untranslated sentences. So I pressed the "translation" tab, but these sentences were nowhere to be found.

Examples:

If you have not selected any text, then when you click the "A" to open the menu, and then select an item, that formatting will apply to the text that you start typing, from wherever your cursor is located.

The table item allows you to insert a table.

What can I do? Harri~dewiki (talk) 12:53, 29 January 2016 (UTC)

There is a remark on the top of Help:VisualEditor/User guide
Perhaps this is the reason. 92.79.145.134 (talk) 13:20, 29 January 2016 (UTC)

PHPVersionCheck.php file problem after install

Hi there,

I just finished MediaWiki installation, put LocalSettings.php file, refresh index page and this shown up:

Warning: require_once(): open_basedir restriction in effect. File(/3w/wz.cz/a/anotherearth/wiki/includes/PHPVersionCheck.php) is not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT:/var/php:/usr/share/pear) in /3w/wz.cz/a/anotherearth/wiki/index.php on line 35

Warning: require_once(/3w/wz.cz/a/anotherearth/wiki/includes/PHPVersionCheck.php): failed to open stream: Operation not permitted in /3w/wz.cz/a/anotherearth/wiki/index.php on line 35

Fatal error: require_once(): Failed opening required '/3w/wz.cz/a/anotherearth/wiki/includes/PHPVersionCheck.php' (include_path='.:/usr/share/pear:/usr/share/php') in /3w/wz.cz/a/anotherearth/wiki/index.php on line 35

I looked for PHPVersionCheck.php file and it is in /includes folder. I tried reinstall MediaWiki, delete all files from FTP and delete all tables, but nothing works. I also tried change attributes for files, but it doesn't work too.

Do you know, where is the problem? 89.177.161.129 (talk) 16:02, 29 January 2016 (UTC)

The problem is that the path, in which you have your wiki files, is not in the list of allowed paths, which are defined in the PHP configuration setting open_basedir.
In the PHP configuration, that is in your php.ini file, you should add /3w/wz.cz/a/anotherearth or /3w/wz.cz/a/anotherearth/wiki to open_basedir so that PHP files, which are inside that path can be used. 87.123.0.96 (talk) 16:15, 29 January 2016 (UTC)

Skinning: Categories as classes?

Is it possible to use the current page's categories as a class? For example I have a category named Weapons.

<body class="mediawiki <?php $this->data['classes']; ?>">

Would like to output something like:

<body class="mediawiki weapons"> 92.110.165.206 (talk) 16:18, 29 January 2016 (UTC)

I've created Snippets/Style pages based on categories but a PHP solution would be more desirable. Ciencia Al Poder (talk) 11:46, 30 January 2016 (UTC)
Thanks for this! A PHP solution would definitely be more desirable but this will do for now :) 92.110.165.206 (talk) 14:57, 1 February 2016 (UTC)

Souci, j'arrive à l'index et non à la page d'accueil

J'ai installé mediawiki-1.26.2 sur hebfree.org et j'arrive sur l'index.php, au lieu d'arriver sur la page d'accueil qui existe pourtant

l'adresse :

http://cosmevegetal.hebfree.org/

au lieu de

http://cosmevegetal.hebfree.org/mediawiki-1.26.2/index.php/Accueil

que dois je faire

Zazoult Zazoult49 (talk) 19:01, 29 January 2016 (UTC)

Do you only want to install MediaWiki and nothing else at http://cosmevegetal.hebfree.org/ ?
If that is the case, then you can just move all the files and folders from inside mediawiki-1.26.2 into the document root, one folder above. Then you can delete the empty mediawiki-1.26.2 folder. 87.123.0.96 (talk) 19:41, 29 January 2016 (UTC)

not all files could be uninstalled

I had some problems with fuze so i wanted to uninstall and install new version. After uninstallation i get massage not all files could be uninstalled ; .install4j

When trying to open app i get massage about other copy running.

I try azureus.instance.lock.disable=1 but i get massage command not found.

What to do? 188.146.7.184 (talk) 12:12, 31 January 2016 (UTC)

You seem to be asking on the wrong place, this is the support desk for MediaWiki software. Ciencia Al Poder (talk) 19:34, 31 January 2016 (UTC)