This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made.
Latest comment: 10 years ago7 comments2 people in discussion
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)
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
Latest comment: 10 years ago5 comments2 people in discussion
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.
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?
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?
Latest comment: 10 years ago4 comments3 people in 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.
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)
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.
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
Latest comment: 7 years ago8 comments5 people in discussion
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.
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:
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/
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.
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:
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)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
I have no extensions registering
Latest comment: 10 years ago6 comments3 people in 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.
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.
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.
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
Latest comment: 10 years ago2 comments1 person in 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.
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:
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Wildcard for #switch?
Latest comment: 10 years ago2 comments2 people in 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.
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?
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.
Latest comment: 10 years ago3 comments2 people in 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.
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.
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
Latest comment: 10 years ago1 comment1 person in discussion
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?
Latest comment: 10 years ago3 comments2 people in 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.
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.
Latest comment: 10 years ago3 comments2 people in discussion
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:
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)
Latest comment: 10 years ago2 comments2 people in discussion
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
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?
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.
Latest comment: 10 years ago2 comments2 people in discussion
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?
Latest comment: 10 years ago2 comments1 person in 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.
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
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.
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
Latest comment: 10 years ago1 comment1 person in discussion
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?
Wikitable sortable and mw-collapsible not working after update
Latest comment: 10 years ago3 comments3 people in discussion
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.
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?
Latest comment: 6 years ago2 comments2 people in discussion
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)
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)
"The environment has been checked. You can install MediaWiki" doesn't show up after selecting language
Latest comment: 10 years ago3 comments3 people in discussion
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.
How can I get all history of all pages since the beginning of my Wiki?
Latest comment: 5 years ago5 comments4 people in discussion
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).
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
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.
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.
Latest comment: 10 years ago5 comments3 people in 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.
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
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}
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Update categories
Latest comment: 10 years ago5 comments2 people in discussion
RESOLVED
Many thanks!
I took GeoData away from my LocalSetting.php and refreshLinks.php went fine. Problem solved.
Note: I started using Composer about a month ago. It's not straightforward and caused me a lot of trouble.
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.
<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)
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
Latest comment: 10 years ago2 comments1 person in 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.
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
Latest comment: 10 years ago2 comments2 people in discussion
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.
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".
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
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
These messages were due to the fact that the composer.lock and composer.json files were not up to date.
Such things happen more easily when composer is run on another computer than the Wiki server.
Thanks for the help !
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?
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 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
$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.
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
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.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Extension to create new link within page content?
Latest comment: 10 years ago1 comment1 person in 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
Latest comment: 10 years ago3 comments3 people in discussion
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)
Latest comment: 10 years ago2 comments2 people in discussion
This is a private wiki that i have in virtual machine on my network.
What kind of extension can support pdf, doc, xls indexing?
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.
I noticed every of my search, there is a \n at the end of the page. What would cause this issue?
Latest comment: 10 years ago3 comments3 people in discussion
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?
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).
Latest comment: 10 years ago4 comments3 people in discussion
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
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 :)
Latest comment: 10 years ago2 comments2 people in discussion
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.
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.
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
Latest comment: 10 years ago2 comments2 people in 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 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)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Force category before save?
Latest comment: 10 years ago3 comments3 people in discussion
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)
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
Latest comment: 10 years ago2 comments2 people in discussion
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?
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
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
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
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.
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.
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
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
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.
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.
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.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Add copyright license to uploaded images
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
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.
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.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
upload file in sidebar
Latest comment: 10 years ago2 comments2 people in discussion
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)
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
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).
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.
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.
Latest comment: 10 years ago3 comments3 people in discussion
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?
Latest comment: 10 years ago9 comments6 people in discussion
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)
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)
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
Latest comment: 10 years ago3 comments2 people in 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.
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
Jeroen noticed a possible complication due to Composer. I replaced my Semantic MediaWiki extension by the tarball and the problem is now solved.
It is not clear to me why Semantic Mediawiki can't be installed with Composer, though.
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".
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Central Auth issues
Latest comment: 10 years ago1 comment1 person in discussion
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)
Latest comment: 10 years ago2 comments2 people in discussion
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.
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)
Latest comment: 10 years ago2 comments2 people in discussion
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.
Latest comment: 10 years ago1 comment1 person in discussion
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.
Latest comment: 10 years ago16 comments5 people in 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.
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)
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)
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
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)
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
Latest comment: 10 years ago11 comments4 people in discussion
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
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)
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'
[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'
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:
… 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:
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
Latest comment: 10 years ago5 comments2 people in discussion
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.
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.
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.
Latest comment: 10 years ago2 comments1 person in discussion
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.
Latest comment: 9 years ago3 comments3 people in 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.
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.
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
Latest comment: 10 years ago3 comments3 people in discussion
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.
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.
Latest comment: 9 years ago8 comments2 people in discussion
{{{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.
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?
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.
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)
Latest comment: 10 years ago1 comment1 person in discussion
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.)
Latest comment: 10 years ago1 comment1 person in discussion
RESOLVED
I've figured it out... Had some other Rewrite rules that were messing up the wiki post links. Had to tweak the rewrite rules to make it work.
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.
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:
Latest comment: 10 years ago7 comments5 people in discussion
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)
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.
How can i get a support desk area on my wiki site like this??
Latest comment: 10 years ago4 comments3 people in 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.
Latest comment: 10 years ago8 comments3 people in 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.
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)
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
Latest comment: 10 years ago4 comments2 people in 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.
I've tried just about every possible combination of settings and can't seem to get the wiki to work correctly.
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
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.
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)
Latest comment: 10 years ago3 comments3 people in discussion
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)
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
Latest comment: 10 years ago2 comments2 people in discussion
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.
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.
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
Latest comment: 9 years ago9 comments6 people in discussion
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)
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)
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.
Latest comment: 10 years ago5 comments3 people in discussion
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.
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' );
Latest comment: 10 years ago1 comment1 person in discussion
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.
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)
Latest comment: 10 years ago4 comments2 people in discussion
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.
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
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.)
Latest comment: 10 years ago4 comments3 people in 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.
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.
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
Latest comment: 10 years ago5 comments2 people in 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.
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";"
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"
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
Latest comment: 10 years ago3 comments2 people in discussion
RESOLVED
in MW 1.26, $wgTmpDirectory needs of $wgCacheDirectory
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, 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
Latest comment: 10 years ago1 comment1 person in discussion
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
Latest comment: 10 years ago1 comment1 person in discussion
Latest comment: 10 years ago2 comments2 people in discussion
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?
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
Thanks for the hint Gereon. I will certainly make use of it
Meanwhile I found another the feature I was looking for. Extension:Popups
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.
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
Latest comment: 10 years ago7 comments3 people in discussion
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)
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)
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
Latest comment: 10 years ago2 comments1 person in discussion
RESOLVED
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
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.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Timezone used in generatesitemap
Latest comment: 10 years ago1 comment1 person in 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.
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?
How to move from WikiMedia 1.25.2 to 1.26.2 WikiMedia ?
Latest comment: 10 years ago25 comments18 people in 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.
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.
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"
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.
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.
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
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)
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?
> 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?
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.
Latest comment: 10 years ago2 comments2 people in discussion
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.
Latest comment: 10 years ago2 comments2 people in discussion
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
Latest comment: 10 years ago4 comments2 people in discussion
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.
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.
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
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
Latest comment: 10 years ago6 comments4 people in discussion
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.
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)
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?
Latest comment: 10 years ago3 comments2 people in discussion
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)
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
Latest comment: 10 years ago2 comments2 people in discussion
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
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
Latest comment: 10 years ago2 comments2 people in discussion
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?
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()
Latest comment: 10 years ago4 comments3 people in discussion
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
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)
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 300Waanders (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.
Latest comment: 10 years ago4 comments3 people in 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 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.
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?
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)
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
Latest comment: 10 years ago2 comments1 person in 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.
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?
Latest comment: 10 years ago2 comments2 people in discussion
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)
Thumbnail error when uploading file bigger than 7 KB
Latest comment: 10 years ago2 comments2 people in discussion
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.
Latest comment: 6 years ago5 comments4 people in discussion
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.
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:
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.
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
Closing the issue. Questioner used inappropriate tone.
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.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Default Date Format
Latest comment: 10 years ago2 comments2 people in 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.
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:
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.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
incorrect hyperlink on page "Dale Schilly"
Latest comment: 10 years ago2 comments2 people in 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.html73.208.124.203 (talk) 18:59, 24 January 2016 (UTC)
Thank you for your note! Btw.: You can also edit it yourself. :-)
Latest comment: 10 years ago2 comments2 people in discussion
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.
Latest comment: 10 years ago3 comments2 people in 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.
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 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?
Latest comment: 10 years ago4 comments2 people in discussion
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....
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.
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
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
Latest comment: 10 years ago7 comments3 people in discussion
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.
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) (talk • contribs) 13:40, 26 January 2016 (UTC)
Latest comment: 10 years ago2 comments2 people in discussion
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
Latest comment: 10 years ago2 comments1 person in discussion
Failed to open stream: File name too long in /mw/includes/cache/FileCacheBase.php on line 171
Latest comment: 10 years ago5 comments2 people in discussion
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
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 :-)
Latest comment: 10 years ago10 comments6 people in discussion
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',
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.
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
Latest comment: 10 years ago2 comments2 people in discussion
Latest comment: 10 years ago5 comments3 people in discussion
RESOLVED
setup not supported
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 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.
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)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Hi,
Latest comment: 10 years ago4 comments2 people in discussion
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)
Wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.
Latest comment: 10 years ago3 comments1 person in discussion
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?
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:
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.
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.
readapidenied error when trying to create an offline copy.
Latest comment: 10 years ago2 comments2 people in discussion
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.
Latest comment: 10 years ago3 comments2 people in 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.
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)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Error Msg when connecting
Latest comment: 10 years ago1 comment1 person in discussion
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
Latest comment: 10 years ago2 comments2 people in discussion
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?
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.
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.
Automatically include a page in multiple categories
Latest comment: 10 years ago1 comment1 person in discussion
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
Latest comment: 10 years ago2 comments2 people in 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.
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 37Sapphire104 (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.
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
Latest comment: 10 years ago3 comments2 people in discussion
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.
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
Latest comment: 10 years ago2 comments2 people in discussion
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.
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
Latest comment: 10 years ago1 comment1 person in discussion
Latest comment: 10 years ago4 comments3 people in discussion
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.
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.
Latest comment: 10 years ago2 comments2 people in discussion
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.
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?
Latest comment: 10 years ago3 comments2 people in discussion
Is it possible to use the current page's categories as a class? For example I have a category named Weapons.
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
Latest comment: 10 years ago2 comments2 people in discussion
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.