2 options:
- Use a bot, for example, pywikibot and the category.py script
- Extension:Replace Text
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. |
This page is an archive. |
Please ask questions on the current support desk. |
RESOLVED | |
The maintenance script deleteArchivedFiles.php does what you want. |
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.
$ cd $IP/images
$ mv deleted not-yet-deleted
?action=purge
to be sure you're seeing something up-to-date -- and see how the page's appearance has changed.I want to create simple pages in a company-wiki by Perl. In reposetory i found the modul MediaWiki::API - but not a simple example to create a page.
can someone help to me ? JanTappenbeck (talk) 13:10, 1 September 2015 (UTC)
use MediaWiki::API;
my $mw = MediaWiki::API->new();
$mw->{config}->{api_url} = 'YOUR-API-URL';
# log in to the wiki
$mw->login( { lgname => 'username', lgpassword => 'password' } )
|| die $mw->{error}->{code} . ': ' . $mw->{error}->{details};
my $pagename = "Project:Sandbox";
my $ref = $mw->get_page( { title => $pagename } );
$mw->edit( {
action => 'edit',
title => $pagename,
text => "Additional text"
} ) || die $mw->{error}->{code} . ': ' . $mw->{error}->{details};
2: Failed to decode JSON returned by http://ma22-wiki-001/eblwiki/api.php Decoding Error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "\x{feff}{"login":{"r...") at C:/strawberry/perl/site/lib/MediaWiki/API.pm line 400.
<?xml version="1.0"?>
<api>
<error code="help" info="" xml:space="preserve">
Good day,
The wiki of whonix.org is using the MediaWiki software, as well as the accompanying language extension bundle with its language selector. However, noone really knows how to use it. And after reading through the guidelines written on the "mediawiki wiki", I still am unable to understand it. As far as I could gather, to translate a page, each section of text needs to be surrounded by the <language> tag. However, doing so simply doesn't work. The tags just appear in the text, as if they would serve no purpose. Also, adding the language selector, by using the <languages /> tag, doesn't work either. Only the homepage, was affected by these changes, however other sites of the forum seem to be unaffected.
If someone would be able to explain, what I'm doing wrong, I would be more than thankful.
Have a nice day,
Ego 178.114.20.135 (talk) 15:51, 1 September 2015 (UTC)
RESOLVED | |
TrainCraft, formerly Trains and Zeppelin mod, is a Mincraft mod. This page here however is the Support Desk for 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.
Hellow,
Are you working on a version traincraft rotatable on a servuer in 1.7.10 ???
Thanks. 2A02:A03F:EDA:2B00:64A4:226D:CDA0:F94D (talk) 16:40, 1 September 2015 (UTC)
Hello,
First I apologize if this seems to be a repetitive question however, I have been searching and testing numerous things for a few weeks now. My organization is currently using the ApprovedRevs format of MediaWiki which I understand means that users with Admin/Bureaucrat permissions can approve newly created wiki pages as well as any/all revisions. However, the amount of approvals is getting rather big as more and more of our organization is taking advantage of this wonderful tool so we would like the creator/owner of a wiki page to be able to approval revisions themselves. We do NOT want everyone to be given admin/Bureaucrat permissions as to avoid users going to other pages they did NOT create and editing them whether accidently or on purpose. I have implanted many commands and lines of syntax to try and allow this including the below lines however, I can not seem to get the desired results. Can anyone assist? Thank you very much, Jaison
$egApprovedRevsAutomaticApprovals= false;
$egApprovedRevsApproveLatest = True;
$egApprovedRevsBlankIfUnapproved = True;
$egApprovedrevsSelfOwnedNamespace[] = array (NS_Main, NS_USER) Jaisonmb (talk) 18:51, 1 September 2015 (UTC)
RESOLVED | |
Manual:Combating spam and Manual:Combating vandalism have an overview on the topic. |
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 everyone. Im just seeking some help. Im veey new to this software and cant do much without guides quite yet. I found this link http://thread.gmane.org/gmane.org.wikimedia.mediawiki/41614/focus=41697 but im honestly unsure of how to implement anything suggested. I had the link to my wiki available for maybe 1 day before it was slammed with trash pages and bots. Bots registering and posting trash. Im not sure if any anonomous bots have created any pages. I just want it to stop and to clean the wiki. Is there a quick way I can delete all the spam pages and bots? I do have some legitimate users so I believe purging the database is not a good idea. Any help including telling me how to implement the sigges Serena Eclipse (talk) 20:11, 1 September 2015 (UTC)
RESOLVED | |
2 options:
|
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
The dutch Nationaal Register Varende Monumenten got a new name: Register Varend Erfgoed Nederland. How can I transfer the categories in Category:Nationaal Register Varende Monumenten to the new Category:Register Varend Erfgoed Nederland without doing it by hand? Cat-a-Lot doesn't do the job. @Stunteltje Stunteltje (talk) 08:34, 2 September 2015 (UTC)
RESOLVED | |
Tracked in Phabricator T111199 |
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.
On the French Wiktionary, I notice occasional odd sort glitches. For instance, http://fr.wiktionary.org/w/index.php?title=Cat%C3%A9gorie:Noms_communs&subcatfrom=bok%0ANoms+communs+en+bok#mw-subcategories will show "Noms communs en bokobaru", "Noms communs en boko", "Noms communs en bokyi" despite the fact that the first two sub-categories are indexed with Catégorie:Noms communs|bokobaru and Catégorie:Noms communs|boko, respectively. The few times this happens, it is always the case that the out-of-sequence sort key is a prolongation of the key it should go after.
Another particularly bad example is http://fr.wiktionary.org/w/index.php?title=Cat%C3%A9gorie:Noms_communs&subcatfrom=dan%0ANoms+communs+en+dan#mw-subcategories where we have danaru, dangaléat, dani de l’Ouest, dani de Mid Grand Valley, danois, dano, and only then dan (so we have dan moved down six slots, and dano moved down one slot). Urhixidur (talk) 13:38, 2 September 2015 (UTC)
RESOLVED | |
Set caching correctly |
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
How to update all Template inside this pages? I cant do it! 177.180.71.38 (talk) 20:55, 2 September 2015 (UTC)
RESOLVED | |
Use the API. |
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 wonder if there is a way, extension or otherwise that I can have text from my mediawiki generated on other websites, specifically on a wordpress site.
Ex: I have an entry on a company, and they want that text to be on their about page, so as things change, they dont have to update their about page because that is already done in the wiki.
Similar to using the twitter API to link to tweets on other sites.
Hope that's clear. Vapblack (talk) 13:38, 3 September 2015 (UTC)
We run a wikifarm and the moment I try to add a new wiki (mw-config) I get an errormessage: "Invalid callback SFParserFunctions::registerFunctions in hooks for ParserFirstCallInit". Found out (https://phabricator.wikimedia.org/T101536) as a work-around to temporarily disable Semantic Forms, this works.
But: is this a MediaWiki problem/error, if so, when will it be fixed? Waanders (talk) 15:38, 3 September 2015 (UTC)
So I very recently migrated a decent sized wiki (around 20k edits) from one server to another and something weird must have happened during the db restore that I lost a few special pages (only special pages as far as I can tell).
The problem is that a lot hapened in between and I already had a lot of edits after the migration which I wouldn't want to lose if the db was to be restored again,
The pages are:
Special:RecentChangesLinked
Special:NewFiles
Special:ListFiles
Special:Redirect
These appear completely blank (not even side menus) like there was nothing on the server. I had nginx setup on the old server because it was a temporary migration to deal with a huge wave of traffic and when we moved back to the old server nginx was disabled, so I don't know if that had anything to do with it.
The wiki is still using media wiki 1.24, I wonder if upgrading to 1.25 would patch these pages and fix them? Or if my only option is to restore the db completely
Thanks in advance 2001:8A0:6A43:7801:B05D:3C00:C9D1:70AD (talk) 16:54, 3 September 2015 (UTC)
This indicates that your server is running into errors. See these trouble-shooting tips for a blank page. ☠MarkAHershberger☢(talk)☣ 02:16, 4 September 2015 (UTC)These appear completely blank (not even side menus)
RESOLVED | |
Probably the easiest way to do things if you only have FTP access is to That should be it. |
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 want to upgrade my MediaWiki installation from where it currently stands:
Product | Version |
---|---|
MediaWiki | 1.22.4 |
PHP | 5.3.29 (cgi-fcgi) |
MariaDB | 10.0.21-MariaDB |
To the latest version (1.25, I believe?).
Every time I visit the MediaWiki page for upgrading, I get a bit lost. I'm technically adept, but it seems the MediaWiki upgrade instructions are written for people comfortable with Linux server administration, which is not me.
I'm most comfortable with graphical FTP software, and simple instructions that don't cover every edge case.
What gives me most pause is the note that there are several schema changes from 1.24 to 1.25, and that the database will need to be updated or somesuch.
Can anyone confirm what steps I need to take, specifcally, to upgrade from my version to the latest? I'm a bit lost and I'm worried about doing damage to my MediaWiki installation that I won't know how to fix! 77.101.154.218 (talk) 17:41, 3 September 2015 (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.
I like to either exporting everything out of wiki or duplicate my old wiki to my 2nd wiki without having to copy and paste everything. Is there a way of doing this?
Also, where is the site map? Newmediacc (talk) 21:17, 3 September 2015 (UTC)
RESOLVED | |
caching problem |
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, my installation at http://youthdebates.org/partners was working fine up until recently, when suddenly the Wikipedia logo appeared. I've double and triple checked, and all LocalSettings.php settings are as they should be. The logo file itself is still there. Cleared all browser caches and tried other devices. If I inspect element on the Wikipedia logo, it tells me it's my logo.
Any ideas? :( Allegrif1 (talk) 22:46, 3 September 2015 (UTC)
Hi,
How would I update my wiki farm with hundreds of wikis? The wikis are stored as sqlite files and the farm is set up in the format of example.com/project1, example.com/project2, etc. Thanks Farmer193 (talk) 01:30, 4 September 2015 (UTC)
RESOLVED | |
See Extension:OATHAuth or, for a simpler TOTP implementation of OTP, see Extension:TwoFactorAuthentication. |
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 heard from a community member that this is an option, but I don't see it in my local wiki(wikipeida). Does anybody know how to activate this feature? Bluedeck 02:57, 4 September 2015 (UTC)
RESOLVED | |
This isn't the place to get support for a Wikipedia wiki. Here you can ask for general support for the MediaWiki software. |
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 know, how were can I get copyrigth information to use a image from the wikepedia ALMAwike (talk) 03:02, 4 September 2015 (UTC)
When Edit full page, title will show simplified 编辑, but section will show Traditional 編輯. Tunglinwu (talk) 06:24, 4 September 2015 (UTC)
I added some javascript for some popups and tracking software to /MediaWiki:Common.js and its not working. What am I doing wrong or what is the best way to do this? 191.101.244.70 (talk) 23:32, 4 September 2015 (UTC)
Hello, I would like to get help to integrate the infobox template in my Wiki.
I am French, and knows very little English, and I do not understand how installed "Extension: Scribunto" and I do not have a page "Special: Import"
How to do ? Cooperiens (talk) 14:20, 5 September 2015 (UTC)
importupload
right? And please check, if you really try "Special: Import" or "Special:Import (without "). The first one has a white-space between the "Special:" and "Import" part, the second (correct one) not. Florianschmidtwelzow (talk) 06:13, 7 September 2015 (UTC)RESOLVED | |
This question doesn't seem to be related to 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.
Is there a number I may call to get a tech to log onto my computer and help me upload to GED MATCH.com 2602:306:370E:8F10:C855:643:507A:221F (talk) 14:50, 5 September 2015 (UTC)
RESOLVED | |
If this hosting fullfils the requirements from Manual:Installation requirements, then yes. |
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 in a shared hosting plan but want to create a small wiki site. is this possible? Enhu~mediawikiwiki (talk) 22:35, 5 September 2015 (UTC)
RESOLVED | |
This is not the right place to ask. Please see the rename policy. |
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 nickname - Участник:Beath111
I want to change - Pack
Thank's Beath111 (talk) 00:10, 6 September 2015 (UTC)
I have created an extension based on https://www.mediawiki.org/wiki/Extension:DeletePagePermanently and doint know what to call the extension. What the extension is it deletes pages permanently but is based on DeletePagePermanently extension it has updated code and fixes for it work with mw 1.26 and maybe 1.25. I have tested the code I did with mw 1.26. Paladox (talk) 17:05, 6 September 2015 (UTC)
RESOLVED | |
Since my post I use max-age=12 (except when action=...) and I see no problems so far. |
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.
Why does Output.php set max-age to 0? Why not something like 10 seconds? Subfader (talk) 21:19, 6 September 2015 (UTC)
if ( !in_array( 'sysop', $wgUser->getGroups() ) ) {
$wgAPIModules['edit'] = 'ApiDisabled';
}
$user = $article->getContext()->getUser();
writeapi
right from non-sysops. Legoktm (talk) 01:43, 7 September 2015 (UTC)writeapi
will disable the ability of users to add pages to their watchlist, from the page itself. Ciencia Al Poder (talk) 09:19, 7 September 2015 (UTC)Hello,
For one of my customer, I have made an upgrade of his mediawiki from 1.15 to last version. I have copy / paste the images directory but when I visit some pages, in place of thumbnails, I have "Erreur lors de la création de la miniature : Error code: -1"
If I go to the same page connected as admin, that works! I see thumbnails.
Other problem is that when I try to click on an image, I can't see file data and history but I have "
Une erreur de requête de base de données s'est produite. Cela peut provenir d'un bogue dans le logiciel.
Thx for your help,
Olivier 109.133.112.200 (talk) 07:59, 7 September 2015 (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.
Hi !
I want to ask how to gain access to the text which was put above "save page" "show preview" "show changes" buttons in edit form ? I have wrong url there on my own mediawiki site and want to fix it. Here's example with correct url:
https://www.mediawiki.org/w/index.php?title=Help:Recent_changes&action=edit
thanks 83.18.8.90 (talk) 09:48, 7 September 2015 (UTC)
RESOLVED | |
See Extension:UserMerge or Extension:Renameuser |
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.
How do i change my user name? Ginieaton (talk) 13:37, 7 September 2015 (UTC)
RESOLVED | |
LocalSettings.php not looking in right directories. |
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 just set up a new wiki and wanted to install the Translate extension. I have set it up using XAMPP and saw the problem with using the web updater. Tried it, failed. Used the update.php script as suggested and I am getting this error
Notice: Undefined variable: EXT in C:\xampp\htdocs\mediawiki\mediawiki-1.25.2\mediawiki-1.25.2\LocalSettings.php on line 163
Warning: require_once(/Babel/Babel.php): failed to open stream: No such file or directory in C:\xampp\htdocs\mediawiki\mediawiki-1.25.2\mediawiki-1.25.2\LocalSettings.php on line 163
Fatal error: require_once(): Failed opening required '/Babel/Babel.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\mediawiki\mediawiki-1.25.2\mediawiki-1.25.2\LocalSettings.php on line 163
Any help would be appreciated :D Leepbn (talk) 14:29, 7 September 2015 (UTC)
RESOLVED | |
I think you are speaking about this article. In that case, the right place to ask would be this discussion 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.
Why not color Marshall County green since it has so much green beauty anyway in the form of mountains, trees, grass, lawns, and Lake Guntersville to top it off? If it isn't given a color, don't you think that this would be quite confusing for someone who doesn't know the state very well? I know it would be for me, if I hadn't known where Marshall County is in the first place. Arab in Marshall County is where I live right now. Bmgbamano1 (talk) 21:42, 7 September 2015 (UTC)
I created a mediawiki site from years ago, actually i´m attempt to make it work again, i have the database and the site backup.
I regenerated the LocalSettings.php and it works, but i have a little problem the images doesn't work, the error :
GET http://localhost/Wiki/images/b/be/NuevoRecursoGlassfish.png 404 (Not Found)
GET http://localhost/Wiki/images/2/22/Jdbc_step1.png 404 (Not Found)
In all the images.
For test i'm working in localhost and all the images are in 'C:\xampp\htdocs\Wiki\images',
how i can modify the source path directory, or how i can make it work.??? Ospina9 (talk) 16:37, 8 September 2015 (UTC)
Hi.
After migration to another server (from Debian 7 with PHP 5.4, Apache 2.2 and MySQL 5.5 to Ubuntu Server 14.04 LTS with the latest PHP 5.6.13, MariaDB 10.0.0.21 and Apache 2.4.16) I am getting error when accessing Special pages.
Warning: require(/var/www/html/wiki/includes/specials/SpecialAllPages.php): failed to open stream: No such file or directory in /var/www/html/wiki/includes/AutoLoader.php on line 90
Fatal error: require(): Failed opening required '/var/www/html/wiki/includes/specials/SpecialAllPages.php' (include_path='/var/www/html/wiki:/var/www/html/wiki/includes:/var/www/html/wiki/languages:.:/usr/share/php:/usr/share/pear') in /var/www/html/wiki/includes/AutoLoader.php on line 90
Before migration was everything OK. What is wrong? What should I do or at least try?
Using MediaWiki 1.25.2
URL: https://wiki.inf.upol.cz/
Special pages with error: https://wiki.inf.upol.cz/index.php/Speci%C3%A1ln%C3%AD:Speci%C3%A1ln%C3%AD_str%C3%A1nky Bari007 (talk) 19:08, 8 September 2015 (UTC)
Hi. I am an administrator on Ladino Wikipedia (lad.wikipedia.org) [] [] . We have five (5) versions of our home page. Each of them includes the current date (conventional and Jewish calendars). We do not regularly update the content of our home pages, so on a regular basis the only item on them that would change every day is the date, which is changed through the #date parser function, sometimes in combination with the #switch parser function. I've been told that people do not see the dates updating automatically. Is there some way to make sure this happens? Thanks. StevenJ81 (talk) 19:25, 8 September 2015 (UTC)
MediaWiki 1.23.3
PHP 5.3.24 (cgi-fcgi)
MySQL 5.0.96-log
wiki.voteforthegirls.us
After editing a page or even attempting to delete an article, I keep running into the fatal error:
Warning: Class 'Diff\Differ\CallbackListDiffer' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 20
Warning: Class 'Diff\Differ\Differ' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 21
Warning: Class 'Diff\Differ\ListDiffer' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 22
Warning: Class 'Diff\Differ\MapDiffer' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 23
Warning: Class 'Diff\Differ\OrderedListDiffer' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 24
Warning: Class 'Diff\Patcher\ListPatcher' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 26
Warning: Class 'Diff\Patcher\MapPatcher' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 27
Warning: Class 'Diff\Patcher\Patcher' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 28
Warning: Class 'Diff\Patcher\PatcherException' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 29
Warning: Class 'Diff\Patcher\PreviewablePatcher' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 30
Warning: Class 'Diff\Patcher\ThrowingPatcher' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 31
Warning: Class 'Diff\DiffOp\Diff\Diff' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 33
Warning: Class 'Diff\DiffOp\Diff\ListDiff' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 34
Warning: Class 'Diff\DiffOp\Diff\MapDiff' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 35
Warning: Class 'Diff\DiffOp\AtomicDiffOp' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 37
Warning: Class 'Diff\DiffOp\DiffOp' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 38
Warning: Class 'Diff\DiffOp\DiffOpAdd' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 39
Warning: Class 'Diff\DiffOp\DiffOpChange' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 40
Warning: Class 'Diff\DiffOp\DiffOpRemove' not found in /home/content/71/10238071/html/wiki/extensions/Diff/Diff.php on line 41
Fatal error: Call to undefined function socket_create() in /home/content/71/10238071/html/wiki/includes/SquidPurgeClient.php on line 96
Even adding the Diff and Trusted XFF extensions, the errors still appear. Nsgaeverine (talk) 19:26, 8 September 2015 (UTC)
LinksUpdate::incrTableUpdate
#0 /home/content/71/10238071/html/wiki/includes/db/Database.php(1205): DatabaseBase->reportQueryError('Unknown column ...', 1054, 'INSERT IGNORE I...', 'LinksUpdate::in...', false)
#1 /home/content/71/10238071/html/wiki/includes/db/Database.php(2087): DatabaseBase->query('INSERT IGNORE I...', 'LinksUpdate::in...')
#2 [internal function]: DatabaseBase->insert('pagelinks', Array, 'LinksUpdate::in...', 'IGNORE')
#3 /home/content/71/10238071/html/wiki/includes/db/LoadBalancer.php(1276): call_user_func_array(Array, Array)
#4 /home/content/71/10238071/html/wiki/includes/deferred/LinksUpdate.php(344): DBConnRef->__call('insert', Array)
#5 /home/content/71/10238071/html/wiki/includes/deferred/LinksUpdate.php(344): DBConnRef->insert('pagelinks', Array, 'LinksUpdate::in...', 'IGNORE')
#6 /home/content/71/10238071/html/wiki/includes/deferred/LinksUpdate.php(155): LinksUpdate->incrTableUpdate('pagelinks', 'pl', Array, Array)
#7 /home/content/71/10238071/html/wiki/includes/deferred/LinksUpdate.php(145): LinksUpdate->doIncrementalUpdate()
#8 /home/content/71/10238071/html/wiki/includes/deferred/DataUpdate.php(101): LinksUpdate->doUpdate()
#9 /home/content/71/10238071/html/wiki/includes/page/WikiPage.php(2201): DataUpdate::runUpdates(Array)
#10 /home/content/71/10238071/html/wiki/includes/page/WikiPage.php(1869): WikiPage->doEditUpdates(Object(Revision), Object(User), Array)
#11 [internal function]: WikiPage->doEditContent(Object(WikitextContent), '', 98, false, NULL, 'text/x-wiki')
#12 /home/content/71/10238071/html/wiki/includes/page/Article.php(2016): call_user_func_array(Array, Array)
#13 /home/content/71/10238071/html/wiki/includes/EditPage.php(1921): Article->__call('doEditContent', Array)
#14 /home/content/71/10238071/html/wiki/includes/EditPage.php(1921): Article->doEditContent(Object(WikitextContent), '', 98, false, NULL, 'text/x-wiki')
#15 /home/content/71/10238071/html/wiki/includes/EditPage.php(1305): EditPage->internalAttemptSave(Array, false)
#16 /home/content/71/10238071/html/wiki/includes/EditPage.php(539): EditPage->attemptSave(Array)
#17 /home/content/71/10238071/html/wiki/includes/actions/EditAction.php(56): EditPage->edit()
#18 /home/content/71/10238071/html/wiki/includes/actions/SubmitAction.php(40): EditAction->show()
#19 /home/content/71/10238071/html/wiki/includes/MediaWiki.php(395): SubmitAction->show()
#20 /home/content/71/10238071/html/wiki/includes/MediaWiki.php(273): MediaWiki->performAction(Object(Article), Object(Title))
#21 /home/content/71/10238071/html/wiki/includes/MediaWiki.php(566): MediaWiki->performRequest()
#22 /home/content/71/10238071/html/wiki/includes/MediaWiki.php(414): MediaWiki->main()
#23 /home/content/71/10238071/html/wiki/index.php(41): MediaWiki->run()
#24 {main}
RESOLVED | |
The easiest thing to do is probably to use Extension:Replace Text to replace the old names. |
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're building a new wiki using some ancient content that contains products that have moved onto newer product names. I'm wondering whether its possible to setup a hook/event handler to look at each word on a page as its rendered and wrap each deprecated word in a \{\{!xt\}\} template. Is this the best approach? Has this problem already been solved? If not, please point me in a direction to solve it. TYIA
Product | Version |
---|---|
MediaWiki | 1.25.1 |
PHP | 5.3.3 (apache2handler) |
MySQL | 5.1.73 |
在LocalSettings.php中我配置如下,
$wgSMTP = array(
'host' => 'smtp.exmail.qq.com',
'IDHost' => 'exmail.qq.com',
'port' => '25',
'auth' => true,
'username' => 'xxxxxx',
'password' => 'xxxx',
);
结果返回 [af57fe96] 2015-09-09 02:09:42: 类型“MWException”的致命错误
help me? thanks 222.73.151.50 (talk) 02:10, 9 September 2015 (UTC)
For some strange reason, only on the main page, internal links are build differently than anywehere else. An internal link like should look like www.carteamuntilor.ro/index.php?title=xxxxxx and so it does on any page of the wiki, except on the main page where it links to www.carteamuntilor.ro/enciclopedie/index.php?title=xxxxxx, although in the page content is the same way of building them (2 square paranthesis).
Also the WikiSeo extension does not work on the main page, but it works on any other page.
It can be observed here: http://www.carteamuntilor.ro Sorin.sfirlogea (talk) 13:22, 9 September 2015 (UTC)
Hi,
Is it possible to realise search in the "full area of names" Mediawiki (ver. 1.25.1) with prefix "ALL" include "Custom namespaces"? Faithdr (talk) 16:49, 9 September 2015 (UTC)
Hello there! I'm trying to upgrade my MW from 1.15 to 1.25.2 version.
I followed the Upgrading Manual but I encountered some errors of type "Exception" (Exception encountered, of type "Exception"...) when I run the update.php.
That happened both using "wfLoadExtension" and old "require_once".
So I temporarily decided to not import old extensions (by comment the lines in LocalSettings.php).
The installation page (mydomain/mediawiki-1.25.2/mw-config) finally started and I added the $wgUpgradeKey to LocalSettings.php.
Nevertheless I encountered another error:
Fatal error: Class 'DatabaseBase' not found in /web/htdocs/MYDOMAIN/home/mediawiki-1.25.2/includes/installer/MysqlInstaller.php on line 154
Where did I go wrong? What I have to do to fix the problem?
Thank in advance and forgive my very poor English. Ruster1969 (talk) 17:05, 9 September 2015 (UTC)
I used to have Mediawiki v.1.16 and I hot linked a Photobucket image to my wiki to display a logo on the top left of each page. Since then I've updated to v.1.24 and believe that it's now possible to display an uploaded wiki image in that position.
In simple terms (please) what is the procedure for removing the hotlink and displaying an uploaded image. Seedier Wiki (talk) 19:54, 9 September 2015 (UTC)
RESOLVED | |
Solved it: https://kb.asmallorange.com/customer/portal/articles/1603639-install-mediawiki Such a banal mistake by me ... :/ |
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 unable to redirect the wiki to the subdomain that I have set up in the Apache-sites-available.
The IP works and when I have it set up like this in the LocalSettings.php, then I am able to access the wiki, but when I say
$wgServer = potatoGod.worldgovernment.terra then I get an error:
Not Found
The requested URL /w/BLA/index.php/wiki/Main_Page was not found on this server.
Where my the error in my logic.
The script path points to the correct directory. I have used the stuff form the ShortUrl page. Temptuousinsolence (talk) 20:41, 9 September 2015 (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.
I would like to change the default search results when no page is found.
Currently if a users looks for an item example "tank" and there is no existing page. The result will say
Create the page "tank" on this wiki!
I would like to have my own custom text and add some inspirational quotes.....like "be the change you wish to see in the world" Kaysevenmm (talk) 01:53, 10 September 2015 (UTC)
Query on JWPlayer which is bundled as part of MediaWiki platform:
Mediawiki is based on GNU GPL v2. Does the same license apply to JWPlayer as well or are there any different licensing terms? If there are different terms, please tell me the terms under which it is used as part of Mediawiki platform.
Rajiv.thanawala (talk) 05:48, 10 September 2015 (UTC)
RESOLVED | |
Not a MediaWiki problem. |
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 I try to access a js file from public folder I get error 404, but file is on app/public 79.144.135.208 (talk) 08:03, 10 September 2015 (UTC)
And I can't ". You'll need to contact the application author for help with this." ... :)
So, I am trying to use node passport, with the module written to support mediawiki login. And in effect it makes three calls:
callbackURL: "http://127.0.0.1:30005/auth/mediawiki/callback",
requestTokenURL: 'http://v-ghost.port0.org:8081/dbfswiki/index.php?title=Special:OAuth/initiate',
accessTokenURL: 'http://v-ghost.port0.org:8081/dbfswiki/index.php?title=Special%3AOAuth%2Ftoken',
userAuthorizationURL: 'http://v-ghost.port0.org:8081/dbfswiki//wiki/Special:OAuth/authorize',
As far as I can tell this is inline with the requirement. And as far as I can tell it works up to a point. More specifically, it gets the token http://v-ghost.port0.org:8081/dbfswiki/index.php?title=Special:OAuth/initiate
It then goes on to authenticate (either to the ID I am already logged in as, or I get a login prompt, so that SHOULD mean that http://v-ghost.port0.org:8081/dbfswiki//wiki/Special:OAuth/authorize works.
But I then get the following error message:
Sorry, something went wrong. You'll need to contact the application author for help with this.
Unknown URL, E003
However, I do not know which URL this is, or where it's trying to read it from, and I can't find any error on what E003 means, and I do not know if there is any tracing options somewhere that I am missing. The callback is set to 127.0.0.1:30005/auth/mediawiki/callback
This is the same as callback url for the token.
Any suggestions what I can do about this issue? 86.176.111.244 (talk) 13:40, 10 September 2015 (UTC)
Start request GET /dbfswiki/index.php/Special:OAuth/authorizewiki/Special:OAuth/authorize?oauth_token=&oauth_consumer_key=449c71620457972e86ef20e083ccb87b
HTTP HEADERS:
HOST: v-ghost.port0.org:8081
CONNECTION: keep-alive
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
UPGRADE-INSECURE-REQUESTS: 1
USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36
ACCEPT-ENCODING: gzip, deflate, sdch
ACCEPT-LANGUAGE: en-US,en;q=0.8
COOKIE: wikiEditor-0-toolbar-section=advanced; dbfswikiLoggedOut=1441890109; dbfswikiUserID=1; dbfswikiUserName=Dbfswiki; dbfswiki_session=orfe7osq7ekrpkq3df4fufcfo4
[caches] main: EmptyBagOStuff, message: SqlBagOStuff, parser: SqlBagOStuff
[caches] LocalisationCache: using store LCStoreCDB
Unstubbing $wgParser on call of $wgParser::setHook from registerEmbedDocumentHandler
Parser: using preprocessor: Preprocessor_DOM
Fully initialised
User: cache miss for user 1
Connected to database 0 at localhost
Query dbfswiki (1) (slave): BEGIN /* DatabaseBase::query (User::loadFromDatabase) */
Query dbfswiki (2) (slave): SELECT /* User::loadFromDatabase */ user_id,user_name,user_real_name,user_email,user_touched,user_token,user_email_authenticated,user_email_token,user_email_token_expires,user_registration,user_editcount FROM `user` WHERE user_id = '1' LIMIT 1
Query dbfswiki (3) (slave): SELECT /* User::loadGroups */ ug_group FROM `user_groups` WHERE ug_user = '1'
Connected to database 0 at localhost
Query dbfswiki (4) (slave): SELECT /* SqlBagOStuff::getMulti */ keyname,value,exptime FROM `objectcache` WHERE keyname = 'dbfswiki:messages:en'
MessageCache::load: Loading en... got from global cache
Gadget::loadStructuredList: MediaWiki:Gadgets-definition parsed, cache entry dbfswiki:gadgets-definition:7 updated
User: loading options for user 1 from database.
Query dbfswiki (5) (slave): SELECT /* User::loadOptions */ up_property,up_value FROM `user_properties` WHERE up_user = '1'
User: logged in from session
User: loading options for user 1 from override cache.
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions::__construct
Query dbfswiki (6) (slave): SELECT /* MediaWiki\Extensions\OAuth\MWOAuthConsumer::newFromKey Dbfswiki */ oarc_id,oarc_consumer_key,oarc_name,oarc_user_id,oarc_version,oarc_callback_url,oarc_callback_is_prefix,oarc_description,oarc_email,oarc_email_authenticated,oarc_wiki,oarc_grants,oarc_registration,oarc_secret_key,oarc_rsa_key,oarc_restrictions,oarc_stage,oarc_stage_timestamp,oarc_deleted FROM `oauth_registered_consumer` WHERE oarc_consumer_key = '449c71620457972e86ef20e083ccb87b' LIMIT 1
[autoloader] Class FormatJSON was loaded using incorrect case
User::getBlockedStatus: checking...
User: cache miss for user 1
Query dbfswiki (7) (slave): SELECT /* User::loadFromDatabase Dbfswiki */ user_id,user_name,user_real_name,user_email,user_touched,user_token,user_email_authenticated,user_email_token,user_email_token_expires,user_registration,user_editcount FROM `user` WHERE user_id = '1' LIMIT 1
Query dbfswiki (8) (slave): SELECT /* User::loadGroups Dbfswiki */ ug_group FROM `user_groups` WHERE ug_user = '1'
User: loading options for user 1 from database.
Query dbfswiki (9) (slave): SELECT /* User::loadOptions Dbfswiki */ up_property,up_value FROM `user_properties` WHERE up_user = '1'
Query dbfswiki (10) (slave): SELECT /* Block::newLoad Dbfswiki */ ipb_id,ipb_address,ipb_by,ipb_by_text,ipb_reason,ipb_timestamp,ipb_auto,ipb_anon_only,ipb_create_account,ipb_enable_autoblock,ipb_expiry,ipb_deleted,ipb_block_email,ipb_allow_usertalk,ipb_parent_block_id FROM `ipblocks` WHERE ipb_address = 'Dbfswiki'
Query dbfswiki (11) (slave): SELECT /* LinkCache::addLinkObj Dbfswiki */ page_id,page_len,page_is_redirect,page_latest,page_content_model FROM `page` WHERE page_namespace = '0' AND page_title = 'Main_Page' LIMIT 1
LoadBalancer::reuseConnection: this connection was not opened as a foreign connection
Query dbfswiki (12) (slave): SELECT /* LinkBatch::doQuery (for Skin::preloadExistence) Dbfswiki */ page_id,page_namespace,page_title,page_len,page_is_redirect,page_latest,page_content_model FROM `page` WHERE (page_namespace = '2' AND page_title = 'Dbfswiki') OR (page_namespace = '3' AND page_title = 'Dbfswiki')
Query dbfswiki (13) (slave): SELECT /* User::checkNewtalk Dbfswiki */ user_id FROM `user_newtalk` WHERE user_id = '1' LIMIT 1
Query dbfswiki (14) (slave): SELECT /* SqlBagOStuff::getMulti Dbfswiki */ keyname,value,exptime FROM `objectcache` WHERE keyname = 'dbfswiki:sitenotice'
Query dbfswiki (15) (slave): SELECT /* ResourceLoaderWikiModule::getTitleInfo Dbfswiki */ page_namespace,page_title,page_touched,page_len FROM `page` WHERE (page_namespace = '8' AND page_title IN ('Common.js','Foreground.js','Common.css','Foreground.css','Print.css') )
Query dbfswiki (16) (slave): SELECT /* ResourceLoaderWikiModule::getTitleInfo Dbfswiki */ page_namespace,page_title,page_touched,page_len FROM `page` WHERE (page_namespace = '8' AND page_title IN ('Group-bureaucrat.js','Group-bureaucrat.css','Group-oauthadministrators.js','Group-oauthadministrators.css','Group-sysop.js','Group-sysop.css','Group-user.js','Group-user.css','Group-autoconfirmed.js','Group-autoconfirmed.css') )
Query dbfswiki (17) (slave): SELECT /* NewMessages::newMessageCount Dbfswiki */ 1 FROM `user_message_state` WHERE ums_user = '1' AND ums_read_timestamp IS NULL LIMIT 500
Query dbfswiki (18) (slave): SELECT /* ResourceLoaderWikiModule::getTitleInfo Dbfswiki */ page_namespace,page_title,page_touched,page_len FROM `page` WHERE (page_namespace = '8' AND page_title IN ('Common.js','Foreground.js','Common.css','Foreground.css','Print.css') )
Query dbfswiki (19) (slave): SELECT /* ResourceLoaderWikiModule::getTitleInfo Dbfswiki */ page_namespace,page_title,page_touched,page_len FROM `page` WHERE (page_namespace = '8' AND page_title = 'Noscript.css')
Query dbfswiki (20) (slave): SELECT /* SqlBagOStuff::getMulti Dbfswiki */ keyname,value,exptime FROM `objectcache` WHERE keyname = 'dbfswiki:resourceloader:filter:minify-css:7:67f1fbd7c11038f0915f3c80cbc4dc25'
Query dbfswiki (21) (slave): SELECT /* SqlBagOStuff::getMulti Dbfswiki */ keyname,value,exptime FROM `objectcache` WHERE keyname = 'dbfswiki:resourceloader:filter:minify-css:7:9e509ea665bc3b91ef00abebf315c10d'
Query dbfswiki (22) (slave): SELECT /* ResourceLoaderWikiModule::getTitleInfo Dbfswiki */ page_namespace,page_title,page_touched,page_len FROM `page` WHERE (page_namespace = '8' AND page_title IN ('Group-bureaucrat.js','Group-bureaucrat.css','Group-oauthadministrators.js','Group-oauthadministrators.css','Group-sysop.js','Group-sysop.css','Group-user.js','Group-user.css','Group-autoconfirmed.js','Group-autoconfirmed.css') )
Parser: using preprocessor: Preprocessor_DOM
Query dbfswiki (23) (slave): SELECT /* MessageBlobStore::getFromDB Dbfswiki */ mr_blob,mr_resource,mr_timestamp FROM `msg_resource` WHERE mr_resource IN ('user.options','user.tokens') AND mr_lang = 'en'
Query dbfswiki (24) (slave): SELECT /* SqlBagOStuff::getMulti Dbfswiki */ keyname,value,exptime FROM `objectcache` WHERE keyname = 'dbfswiki:resourceloader:filter:minify-js:7:4367998603c03ddf8a4e047e167eae39'
86.176.111.244 (talk) 13:53, 10 September 2015 (UTC)OAuth
. Setting $wgDebugLogGroups accordingly makes your life easier. Tgr (talk) 20:29, 12 September 2015 (UTC)Fresh installation.
Mediawiki: 1.25.2
PHP: 5.3.29 (but also changing to 5.4.45 or 5.5.29)
MySQL: 5.0.92
When I go to MYDOMAIN/home/SUBFOLDERmw-config/ this is the result:
[a3643e26] /SUBFOLDER/mw-config/ MWException from line 552 of /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/cache/LocalisationCache.php: LocalisationCache::readJSONFile: Invalid JSON file: /web/htdocs/MYDOMAIN/home/SUBFOLDER/languages/i18n/en.json
Backtrace:
#0 /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/cache/LocalisationCache.php(892): LocalisationCache->readJSONFile(string) #1 /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/cache/LocalisationCache.php(449): LocalisationCache->recache(string) #2 /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/cache/LocalisationCache.php(323): LocalisationCache->initLanguage(string) #3 /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/cache/LocalisationCache.php(260): LocalisationCache->loadItem(string, string) #4 /web/htdocs/MYDOMAIN/home/SUBFOLDER/languages/Language.php(478): LocalisationCache->getItem(string, string) #5 /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/search/SearchEngine.php(391): Language->getNamespaces() #6 /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/User.php(1514): SearchEngine::searchableNamespaces() #7 /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/User.php(4948): User::getDefaultOptions() #8 /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/User.php(2587): User->loadOptions() #9 /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/context/RequestContext.php(342): User->getOption(string) #10 /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/StubObject.php(204): RequestContext->getLanguage() #11 /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/StubObject.php(160): StubUserLang->_newObject() #12 /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/parser/ParserOptions.php(588): StubObject->_unstub() #13 /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/installer/Installer.php(407): ParserOptions->__construct() #14 /web/htdocs/MYDOMAIN/home/SUBFOLDER/includes/installer/WebInstaller.php(138): Installer->__construct() #15 /web/htdocs/MYDOMAIN/home/SUBFOLDER/mw-config/overrides.php(68): WebInstaller->__construct(WebRequest) #16 /web/htdocs/MYDOMAIN/home/SUBFOLDER/mw-config/index.php(41): InstallerOverrides::getWebInstaller(WebRequest) #17 /web/htdocs/MYDOMAIN/home/SUBFOLDER/mw-config/index.php(36): wfInstallerMain() #18 {main}
Where did I go wrong? 37.182.66.90 (talk) 14:26, 10 September 2015 (UTC)
Our wiki pages yields this error:
A database query error has occurred. This may indicate a bug in the software.
WikiPage::pageData
On Windows it provides the images, tables, and login forms in addition to this error and trying to login results in a cookies error. On Mac, using the same browser (Chrome), it results in nothing except for the message, "A database query error has occurred. This may indicate a bug in the software." 47.16.220.101 (talk) 15:45, 10 September 2015 (UTC)
RESOLVED | |
I did it via the .htaccess file: added
|
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,
This is probably very simple but I haven't been able to find any information. I have two mediawikis on one domain -- production and testing. For the testing site, I want to use a different php version than the production site.
How can I do this? Can I add something in Localsettings. php?
Thanks. Julievancouver (talk) 17:42, 10 September 2015 (UTC)
AddHandler application/x-httpd-php54 .php
Julievancouver (talk) 17:54, 10 September 2015 (UTC)I use a few standard thumb sizes (e.g. all articles use the same standard size, galeries etc.).
I'd love to generate thumbs for them via maintenance script.
Background: I have plenty of webspace and spare CPU power. Generating the thumb son the fly takes quite some while, esp. on dynamic galeries.
I found no maintenance script or extension for it :/ Subfader (talk) 21:23, 10 September 2015 (UTC)
i dont know why i cant post a translation. can anyone help me? Jucum (talk) 04:36, 11 September 2015 (UTC)
Hi, I'd like to set up something similar to editthis.info where different projects are located at different sub-directories like example.com/cats and example.com/dogs. So far I've got NGINX set up this way:
location / { try_files $uri $uri/ @rewrite; } location @rewrite { rewrite ^/(.*)$ /index.php; }
There's the php-fpm stuff at the end, but that's pretty standard. For LocalSettings.php, I've got:
if (file_exists('../sqlite/'.$project.'.sqlite')) {
$wgDBname = $project;
$wgSitename = ucfirst($project);
$wgServer = 'https://example.com/'.$project.'/';
$wgArticlePath = '/$1';
$wgScriptPath = '';
} else {
echo 'Project does not exist';
echo $project;
}
But things are getting really weird... could anyone help me with this unorthodox set up? I'm not sure how editthis does it, but I'm running into issues of redirects and general messiness. Primer19 (talk) 06:04, 11 September 2015 (UTC)
I am currently trying to get oauth to work, even raised another issue to that effect which I have now resolved partially.
I now get as far as getting asked to authorise the oauth application for the user on a screen that reads:
Hi Dbfswiki,
ResourceEdge Dev 5 would like to have basic access on your behalf on all projects of this site.
Privacy Policy Cancel Allow
Once I press Allow, I get the same box, but with the statement
"There are problems with some of your input."
But no info as to what the issue is. Not certain if there is any logs or similar that might tell me what the actual issue is, have looked at the standard ones, including the debug log (can't debug the actual window as its a pop up box, not certain how I would debug that).
Any suggestions where to look. Vrghost1 (talk) 10:46, 11 September 2015 (UTC)
Hi what do I replace deprecated UnkownAction hook with. The documentation should be updated on how to migrate please. https://www.mediawiki.org/wiki/Manual:Hooks/UnknownAction Paladox (talk) 10:25, 12 September 2015 (UTC)
I can't find a hook for when thumb creation is complete, so I want to hack core.
Which function is the last to handle thumb creation so I can grab the full path of the newly created thumbs?
I hope this includes thumbs created by $wgUploadThumbnailRenderMethod. Subfader (talk) 12:01, 12 September 2015 (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.
I upload a picture to my wiki http://warcraftwikicz.tk/MediaWiki/index.php?title=Hlavn%C3%AD_strana
but MediaWiki can't find it. When I want to use the picture on my main page, it doesnt display, and when I write URL of the picture -http://warcraftwikicz.tk/MediaWiki/images/8/87/Desert.jpg<meta />- it write "Internal Server Error", like the picture doesn't exist. But when I go to the directory I can see the picture and I can for example copy it to my PC and open it.
My page: http://warcraftwikicz.tk/MediaWiki/index.php?title=Hlavn%C3%AD_strana
Page with the picture: http://warcraftwikicz.tk/MediaWiki/images/8/87/Desert.jpg Lukáš Hypša (talk) 12:31, 12 September 2015 (UTC)
Options +SymLinksIfOwnerMatch.
Hi, I have a problem of spam on Speedypedia and I had to protect the English version with a password. How can I delete the spam from the database and why do I see all the spam in "recent changes" even after I deleted all the spam from tables user, page and logging? The spammers created about 200 users and 250 pages, how do I block bots from adding spam to this website? I added a math captcha but it didn't block the spammers, and they all have email addresses. Will it help if I will prevent users from adding articles until they confirm they email address? I don't want to block disabled users and that's why I don't want to put another captcha which computers can't read, is there any other solution to prevent spam? I read all the article about spam in MediaWiki but I don't want to make it too hard to real users to create an account and edit articles, what can I do?
If you want to see Speedypedia in English, send me an email and I will send you the password. Uri Even-Chen (talk) 15:06, 12 September 2015 (UTC)
Product | Version |
---|---|
MediaWiki | 1.25.1 |
PHP | 5.5.9-1ubuntu4.11 (apache2handler) |
MySQL | 5.5.43-0ubuntu0.14.04.1 |
First of all, I am not what you would consider an advanced user of Mediawiki. I have been working with it for a few years, but have never really dove into categories
I am trying to create a Wiki page dedicated to categorizing Community names, sorted by US state. However, I can't quite get categories to work the way that I would like to.
Example of what I am not trying to accomplish as seen here: Category:Category
See how it puts the letter "A", B.... and then something underneath that? If the "A" could be replaced with for example, "Alaska", and then list existing page names in alphabetical order that I have put a category tag into, that would be great.
I would also like the ability to utilize the category tag on the bottom of an existing wiki page to then display in alphabetical order under the appropriate state and not have to manually insert a link under "Alaska".
Here is a link to a PDF to illustrate what I am trying to accomplish: https://drive.google.com/file/d/0Bz4qfV-a8tqAQWRUNUJXeWxWWkU/view?usp=sharing Any help would be greatly appreciated and if I am going about this the wrong way, please recommend what I should be doing.
For reference, we are currently running Mediawiki Software version 1.23.2. I am trying to get my admin to upgrade to the newest version.
Again, thank you in advance to anyone who can help me accomplish this. Polydectus (talk) 18:24, 12 September 2015 (UTC)
Product | Version |
---|---|
MediaWiki | 1.23.2 |
PHP | 5.5.9-1ubuntu4.11 (apache2handler) |
MySQL | 5.5.43-0ubuntu0.14.04.1 |
Polydectus (talk) 18:28, 12 September 2015 (UTC)
Hi I have set up centralauth I am getting this error
The provided authentication token is either expired or invalid.
When I login it redirects to my main login wiki.
When I logout of one of the wikis it is still logged in on one of those wikis.
Please help.
Also when I login on my main wiki which is the main login in wiki it wont login on the other wikis I have to login on the other wiki to get it logged in on all the wikis. Paladox (talk) 13:11, 13 September 2015 (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.
Whenever I add the require statement to my localsettings.php file...my wiki fails to load.
require_once("$IP/skins/Nimbus/Nimbus.php");Hey all
I recently migrated my mediawiki install from dev to production, everything went smoothly and it worked with no issues.
Yesterday I went back to the wiki after a few weeks to finish up some work. when I noticed the thumbnails are missing.
It shows:
Error creating thumbnail:
Screenshot: http://i.imgur.com/El3RLqM.png
But that's it. I checked other similar threads here and tried some solutions but none of them worked so far
I've already tried adding to my localsetting.php:
$wgMaxShellMemory = 524288;
$wgFileExtensions[] = 'svg'; $wgAllowTitlesInSVG = true; $wgSVGConverter = 'ImageMagick';
as well as
error_reporting( -1 ); ini_set( 'display_errors', 1 );
Additional specs: Mediawiki version 1.25.1, PHP 5.3 and running on a VPS (Ubuntu)
Any help to finding a solution would be greatly appreciated.
Cheers! Rusty mtl (talk) 22:49, 13 September 2015 (UTC)
$wgTmpDirectory = "$IP/images/temp";
$wgForeignFileRepos[] = array(
'class' => 'ForeignAPIRepo',
'name' => 'shared',
'apibase' => 'http://commons.wikimedia.org/w/api.php',
'fetchDescription' => true, // Optional
'descriptionCacheExpiry' => 43200, // 12 hours, optional (values are seconds)
'apiThumbCacheExpiry' => 43200, // 12 hours, optional, but required for local thumb caching
);
How to make a columns like at this page.
http://sportwiki.to/Категория:Питание_и_диеты 87.222.38.162 (talk) 22:59, 13 September 2015 (UTC)
I need a step by step instructions to install it manually after I've downloaded the ApiBot. I've access to all the files of my wiki. 220.255.3.185 (talk) 07:47, 14 September 2015 (UTC)
How do you allow anyone to edit Discussions but restrict Page edits to a group?
We've already successfully configured limited Page editing privileges, but we want anyone (or a different group) to edit Discussion pages. Mike46V (talk) 13:59, 14 September 2015 (UTC)
Hi. Could somebody please clarify an issue regarding Autoblock expiry after 24 hours, as Autoblock is not clear on the issue. It states that:
"There is an internal autoblock expiry time variable, $wgAutoblockExpiry, which is set to 24 hours, meaning that autoblocks only last for 24 hours."
Does that mean that the autoblocking function will only be active for the original underlying IP for 24 hours, or does it mean that users who become autoblocked will only be blocked for 24 hours, or both?
In the following situation:
Given that there was no activity from the IP address for a week, will User:Jane be autoblocked? TigerShark (talk) 16:44, 14 September 2015 (UTC)
When I run maintenance/runJobs.php half of the entries are "enqueue Main_Page":
enqueue Main_Page jobsByWiki=array(1) (id=X) STARTING enqueue Main_Page jobsByWiki=array(1) (id=X) t=0 good
t=0 but what the heck is that? I think runJobs.php could finish much faster without that. Subfader (talk) 19:28, 14 September 2015 (UTC)
2015-09-19 08:59:27 refreshLinks Main_Page (id=7860751) STARTING
2015-09-19 08:59:27 refreshLinks Main_Page (id=7860751) t=294 good
2015-09-19 08:59:27 refreshLinks Main_Page (id=7862450) STARTING
2015-09-19 08:59:28 refreshLinks Main_Page (id=7862450) t=280 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702188) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702188) t=0 good
2015-09-19 08:59:28 refreshLinks MyWiki:Some_other_page (id=7861946) STARTING
2015-09-19 08:59:28 refreshLinks MyWiki:Some_other_page (id=7861946) t=72 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702158) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702158) t=0 good
2015-09-19 08:59:28 refreshLinks MyWiki:Some_page (id=7862332) STARTING
2015-09-19 08:59:28 refreshLinks MyWiki:Some_page (id=7862332) t=9 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702119) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702119) t=0 good
2015-09-19 08:59:28 refreshLinks MyWiki:Some_page (id=7862477) STARTING
2015-09-19 08:59:28 refreshLinks MyWiki:Some_page (id=7862477) t=8 good
2015-09-19 08:59:28 refreshLinks Main_Page (id=7861709) STARTING
2015-09-19 08:59:28 refreshLinks Main_Page (id=7861709) t=268 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702433) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702433) t=0 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6701921) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6701921) t=0 good
2015-09-19 08:59:28 refreshLinks MyWiki:Some_page (id=7860285) STARTING
2015-09-19 08:59:28 refreshLinks MyWiki:Some_page (id=7860285) t=9 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702282) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702282) t=0 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702401) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702401) t=0 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6701964) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6701964) t=0 good
2015-09-19 08:59:28 refreshLinks Main_Page (id=7861915) STARTING
2015-09-19 08:59:28 refreshLinks Main_Page (id=7861915) t=264 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702344) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702344) t=0 good
2015-09-19 08:59:28 refreshLinks Main_Page (id=7860724) STARTING
2015-09-19 08:59:28 refreshLinks Main_Page (id=7860724) t=265 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702351) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702351) t=0 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702377) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702377) t=0 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702425) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702425) t=0 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6701937) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6701937) t=0 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702398) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702398) t=0 good
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702249) STARTING
2015-09-19 08:59:28 enqueue Main_Page jobsByWiki=array(1) (id=6702249) t=0 good
2015-09-19 08:59:28 refreshLinks MyWiki:Some_page (id=7860670) STARTING
2015-09-19 08:59:29 refreshLinks MyWiki:Some_page (id=7860670) t=9 good
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6702345) STARTING
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6702345) t=0 good
2015-09-19 08:59:29 refreshLinks Main_Page (id=7861437) STARTING
2015-09-19 08:59:29 refreshLinks Main_Page (id=7861437) t=268 good
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6702221) STARTING
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6702221) t=0 good
2015-09-19 08:59:29 refreshLinks MyWiki:Some_page (id=7862076) STARTING
2015-09-19 08:59:29 refreshLinks MyWiki:Some_page (id=7862076) t=9 good
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6702326) STARTING
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6702326) t=0 good
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6702264) STARTING
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6702264) t=0 good
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6702116) STARTING
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6702116) t=0 good
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6702369) STARTING
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6702369) t=0 good
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6701227) STARTING
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6701227) t=0 good
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6700718) STARTING
2015-09-19 08:59:29 enqueue Main_Page jobsByWiki=array(1) (id=6700718) t=0 good
2015-09-19 08:59:29 refreshLinks Main_Page (id=7860759) STARTING
2015-09-19 08:59:29 refreshLinks Main_Page (id=7860759) t=294 good
2015-09-19 08:59:29 refreshLinks Category:Enter (id=7862169) STARTING
Subfader (talk) 09:02, 19 September 2015 (UTC)Is there a way to either hide text on a page from everyone other than a certain user group - or (my main preference) to set the talk page so that noone other than that user group can even see the page? 2601:405:4000:B96B:7D57:7544:B115:BF78 (talk) 03:59, 15 September 2015 (UTC)
/* Hide stuff meant for accounts with special permissions. Made visible again in
[[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]],
[[MediaWiki:Group-templateeditor.css]] and [[Mediawiki:Group-autoconfirmed.css]]. */
.sysop-show,
.accountcreator-show,
.templateeditor-show,
.autoconfirmed-show {
display: none;
}
The last time checked my MediaWiki page wiki-joke.com I received the error "internal error. Exception caught inside exception handler. Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.". I proceeded to add
the required code. However, when I added the code when I went back to my site the site went totally blank. I removed the code and my site is still totally blank. I need to fix this error quickly as my my thousands of viewers will be very disappointed.
Thanks SO Much Hans.gundlach (talk) 07:26, 15 September 2015 (UTC)
error_reporting( E_ALL );
ini_set( 'display_errors', 1 );
Hans.gundlach (talk) 17:41, 15 September 2015 (UTC)I would like to be able to include "tags" on a MediaWiki site that would lead users to other pages that deal with the same topic. The only way I can see to accomplish that is to create the tags as links that target the site search. The result would be that clicking the tag would take the user to search results arising from a search on that tag. Is there a more elegant way to get a similar result? Wajohnst (talk) 15:55, 15 September 2015 (UTC)
If I try to make a link display "and" or "or", I get a 403 Forbidden message when I try to save the page:
You don't have permission to access /rccwiki/index.php on this server.
However, if I use an ampersand, it works fine. I'm new to using mediawiki so can't tell if it's on their side or if it's something within PHP, but would really appreciate any help.
For reference, this fails:
* [[Posts|Skate Posts 12oz and 16oz]]
but this goes through fine
* [[Posts|Skate Posts 12oz & 16oz]]
Skavoovee (talk) 16:36, 15 September 2015 (UTC)
So this code line
<code><code>{{</code>ébauche | ''vénètes'' | ''gaule'' | …<nowiki>}}</nowiki>
{{
ébauche | vénètes | gaule | …}}
becomes this on my wiki. (Follow the link to the screencap)
How can my first <code tag can be closed at the end and not by the first </code in the line? Intern25 (talk) 19:48, 15 September 2015 (UTC)
I copied WP's Template:Color to my wiki. It works as expected within a single line, but if I put two line breaks in the second parameter (making two paragraphs), only the first one is colored.
Here's the template:
<span style="color:{{{1|}}}">{{{2|{{{1|}}}}}}</span><noinclude>
{{documentation}}
</noinclude>
Here's the text:
{{color|green|Here's one green paragraph.
And here's another.}}
Here it is on Wikipedia, where it makes this HTML:
<p><span style="color:green">Here's one green paragraph.</span></p> <p><span style="color:green">And here's another.</span></p>
And here's how it shows up on my wiki. It makes this HTML:
<p><span style="color:green">Here's one green paragraph. </p><p>And here's another.</span> </p>
I can kinda guess how it gets there, but how can I have it do The Right Thing, as it does on WP?
Product | Version |
---|---|
MediaWiki: | 1.25.1 |
PHP | 5.5.9-1ubuntu4.9 (apache2handler) |
MySQL | 5.5.43-0ubuntu0.14.04.1 |
Unfortunately, it's not publicly accessible. P1h3r1e3d13 (talk) 01:37, 16 September 2015 (UTC)
div
instead of span
). 137.147.180.136 (talk) 12:56, 18 September 2015 (UTC)Hi!
Everytime I registrate a new user including the option to send a random password, the automatically created password is wrong. But when I send an e-mail with a new random password (to changing the user's password), this temporary password is OK. Although I searched for similar problems, I couldn't find this specific issue.
This is my enviroment:
MediaWiki | 1.25.1 |
PHP | 5.3.10-1ubuntu3.11 (apache2handler) |
MySQL | 5.5.38-0ubuntu0.12.04.1 |
Hope to hear soon!
Thanks! Vivideo (talk) 07:59, 16 September 2015 (UTC)
Installation VisualEditor. parsoid normal work. Editor LocalSettings.php wiki. Added this content
require_once "$IP/extensions/VisualEditor/VisualEditor.php";
// Enable by default for everybody
$wgDefaultUserOptions['visualeditor-enable'] = 1;
// Don't allow users to disable it
$wgHiddenPrefs[] = 'visualeditor-enable';
// OPTIONAL: Enable VisualEditor's experimental code features
#$wgDefaultUserOptions['visualeditor-enable-experimental'] = 1;
Error Messages "Fatal exception of type MWException". Dier2014 (talk) 08:27, 16 September 2015 (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.
Why background-image (css) not working in the usual wiki-pages? — Green Zero обг 11:52, 16 September 2015 (UTC)
When clicking on pages that have information below the fold, it will navigate the user to sections of the page that are not the top. Macks3500 (talk) 18:35, 16 September 2015 (UTC)
hallo mensen
mijn schoonvader heeft een renault megane uit 2001 met een 1.9 dci motor
nu doet de dagteller het niet en het verbruik op het scherm waar ook de zender van de radio word weergegeven word het verbruik ook niet weergegeven de zender van de radio word wel weer gegeven het knopje op het uiteinde wat op de ruitenwisser schakelaar zit reageert ook niet
wie kan ons hiermee helpen? 77.163.139.192 (talk) 19:30, 16 September 2015 (UTC)
I have two errors with UploadWizard that may or may not be related.
When I try to add a Campaign I get the following error: Fatal error: Call to a member function getJsonData() on a non-object in /path/w/extensions/UploadWizard/includes/UploadWizardCampaign.php on line 76
I also can't upload pictures (I click the button to get to the last stage after entering file name and source, and nothing happens, as described in Extension talk:UploadWizard#Generality issues and Extension talk:UploadWizard#Next button doesn.27t work).
I've run update.php and enabled everything in the config file. I've also installed the EventLogging extension. Any ideas? RDGGDR (talk) 05:15, 17 September 2015 (UTC)
Hi. I install MediaWiki-CMS and removed from myself my flags sysop and bureaucrat. How can I regain the bureaucrat for myself? In the MediaWiki do not have more any bureaucrats.... I have a ftp access to CMS. — Green Zero обг 10:52, 17 September 2015 (UTC)
Hello All,
I want to register a sub-domain of Wikipedia. I have seen many wiki sites having Wikipedia sub-domain (*.wikipedia.org). It would be a great help if someone explains the process for registering Wikipedia sub-domain.
Thanks in advance. RN.IN (talk) 13:07, 17 September 2015 (UTC)
I had a MediaWiki site a long time ago. Back then I used MediaWiki 1.13.3 and I want to revive the site. I installed MediaWiki 1.13.3 and connected it with the database. After that I got the following error;
Database errorA database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:(SQL query hidden)from within function "Article::pageData". MySQL returned error "1054: Unknown column 'page_counter' in 'field list' (localhost)".
What does this mean and how can I fix it? I didn't practice a lot lately with MySQL, so I am not sure what to do, without making it worse than it is now. Your help will be appreciated, thank you! Config006 (talk) 15:46, 17 September 2015 (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.
Hi all-
We did an upgrade on our Wiki from 1.16 to 1.24 a couple months ago. Recently a user tried to delete a file that had been uploaded a few years ago (2011), and is unable to do so.
Here's the error we're getting:
Error deleting file: Correspondence.docx
Error deleting file: Could not move file "mwstore://local-backend/local-public/archive/20110128215148!Correspondence.docx" to "mwstore://local-backend/local-deleted/ravoo34jq7wb44u1gmgzqxzm91dpypj.docx".
(Filename has been truncated for formatting purposes.)
We're running it on Windows Server 2008, IIS 7.5. IUSR has full control to images directory and subdirectories (e.g., temp, archive, deleted, etc. -- I double checked and made sure it was propagating down to every file.).
Have tried various solutions, like specifically setting $wgDeletedDirectory, etc., but no go.
Nothing else is showing up in PHP or IIS logs, either. We've had only a few deleted uploads since the upgrade (from what I can tell by checking the dates in the deleted images folder), but otherwise I can't figure out what the heck is going on!
Excerpt from debug log:
Start request POST /index.php?title=File:Correspondence.docx&action=delete HTTP HEADERS: CONTENT-TYPE: application/x-www-form-urlencoded CONTENT-LENGTH: 113 UPGRADE-INSECURE-REQUESTS: 1 ORIGIN: http://mysite.com USER-AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 REFERER: http://mysite.com/index.php?title=File:Correspondence.docx&action=delete HOST: mysite.com COOKIE: ... ACCEPT-LANGUAGE: en-US,en;q=0.8 ACCEPT-ENCODING: gzip, deflate ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 CONNECTION: keep-alive CACHE-CONTROL: max-age=0 [caches] main: EmptyBagOStuff, message: SqlBagOStuff, parser: SqlBagOStuff [caches] LocalisationCache: using store LCStoreDB Unstubbing $wgParser on call of $wgParser::setHook from wfabsHTMLExtension Parser: using preprocessor: Preprocessor_DOM Fully initialised Connected to database 0 at localhost Title::getRestrictionTypes: applicable restrictions to [[File:Correspondence.docx]] are {edit,move,upload} [ContentHandler] Created handler for wikitext: WikitextContentHandler User: cache miss for user 3068 User: loading options for user 3068 from database. User: logged in from session MediaHandler::getHandler: no handler found for application/msword. User::getBlockedStatus: checking... User: loading options for user 3068 from override cache. Connected to database 0 at localhost MessageCache::load: Loading en... got from global cache Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions::__construct WikiPage::doDeleteArticleReal DatabaseBase::query: Writes done: INSERT INTO `mw_archive` (ar_namespace,ar_title,ar_comment,ar_user,ar_user_text,ar_timestamp,ar_minor_edit,ar_rev_id,ar_parent_id,ar_text_id,ar_text,ar_flags,ar_len,ar_page_id,ar_deleted,ar_sha1,ar_content_model,ar_content_format) SELECT page_namespace,page_title,rev_comment,rev_user,rev_user_text,rev_timestamp,rev_minor_edit,rev_id,rev_parent_id,rev_text_id,'X' AND (page_id = rev_page) DatabaseBase::query: Writes done: DELETE FROM `mw_page` WHERE page_id = 'X' DatabaseBase::query: Writes done: DELETE FROM `mw_revision` WHERE rev_page = 'X' DatabaseBase::query: Writes done: INSERT INTO `mw_logging` (log_id,log_type,log_action,log_timestamp,log_user,log_user_text,log_namespace,log_title,log_page,log_comment,log_params) VALUES (NULL,'X') No bloom filter store 'main'; using EmptyBloomCache.DatabaseBase::query: Writes done: DELETE FROM `mw_page_restrictions` WHERE pr_page = 'X' DatabaseBase::query: Writes done: DELETE FROM `mw_pagelinks` WHERE pl_from = 'X' DatabaseBase::query: Writes done: DELETE FROM `mw_imagelinks` WHERE il_from = 'X' DatabaseBase::query: Writes done: DELETE FROM `mw_categorylinks` WHERE cl_from = 'X' DatabaseBase::query: Writes done: DELETE FROM `mw_templatelinks` WHERE tl_from = 'X' DatabaseBase::query: Writes done: DELETE FROM `mw_externallinks` WHERE el_from = 'X' DatabaseBase::query: Writes done: DELETE FROM `mw_langlinks` WHERE ll_from = 'X' DatabaseBase::query: Writes done: DELETE FROM `mw_iwlinks` WHERE iwl_from = 'X' DatabaseBase::query: Writes done: DELETE FROM `mw_redirect` WHERE rd_from = 'X' DatabaseBase::query: Writes done: DELETE FROM `mw_page_props` WHERE pp_page = 'X' DatabaseBase::query: Writes done: DELETE FROM `mw_recentchanges` WHERE (rc_type != N) AND rc_namespace = 'X' DatabaseBase::query: Writes done: DELETE FROM `mw_recentchanges` WHERE (rc_type != N) AND rc_cur_id = 'X' BacklinkCache::queryLinks: got results from DB BacklinkCache::queryLinks: got results from DB BacklinkCache::queryLinks: got results from DB DatabaseBase::query: Writes done: DELETE FROM `mw_titlekey` WHERE tk_page = 'X' DatabaseBase::query: Writes done: INSERT INTO `mw_filearchive` (fa_storage_group,fa_storage_key,fa_deleted_user,fa_deleted_timestamp,fa_deleted_reason,fa_deleted,fa_name,fa_archive_name,fa_size,fa_width,fa_height,fa_metadata,fa_bits,fa_media_type,fa_major_mime,fa_minor_mime,fa_description,fa_user,fa_user_text,fa_timestamp,fa_sha1) SELECT 'X' DatabaseBase::query: Writes done: INSERT INTO `mw_filearchive` (fa_storage_group,fa_storage_key,fa_deleted_user,fa_deleted_timestamp,fa_deleted_reason,fa_deleted,fa_name,fa_archive_name,fa_size,fa_width,fa_height,fa_metadata,fa_bits,fa_media_type,fa_major_mime,fa_minor_mime,fa_description,fa_user,fa_user_text,fa_timestamp,fa_sha1) SELECT 'X') FileBackendStore::getFileStat: File mwstore://local-backend/local-public/Correspondence.docx does not exist. FileBackendStore::getFileStat: File mwstore://local-backend/local-deleted/ravoo34jq7wb44u1gmgzqxzm91dpypj.docx does not exist. FileBackendStore::getFileStat: File mwstore://local-backend/local-deleted/q04k00i4o0cwcvtavk33e4qe1jqq3ji.docx does not exist. FileBackendStore::getFileStat: File mwstore://local-backend/local-deleted/9u6gi9hc1c5r484eyhh5o6wtlohhgom.docx does not exist. FileBackendStore::getFileStat: File mwstore://local-backend/local-deleted/mw554up2dctvoqum3wh9zsosqrn5zad.docx does not exist. [FSFileBackend] rename(G:\WebRoot\Wiki/images/archive/20110128215148!Correspondence.docx,G:\WebRoot\Wiki/images/deleted/ravoo34jq7wb44u1gmgzqxzm91dpypj.docx): Access is denied. (code: 5) [FileOperation] MoveFileOp failed (batch #7557bsgq5jy8dyvjqt2w3n2pom39l1j): {"src":"mwstore://local-backend/local-public/archive/20110128215148!Correspondence.docx","dst":"mwstore://local-backend/local-deleted/ravoo34jq7wb44u1gmgzqxzm91dpypj.docx","overwriteSame":true,"dstExists":false,"failedAction":"attempt"} [FileOperation] MoveFileOp failed (batch #7557bsgq5jy8dyvjqt2w3n2pom39l1j): {"src":"mwstore://local-backend/local-public/archive/20110204152112!Correspondence.docx","dst":"mwstore://local-backend/local-deleted/q04k00i4o0cwcvtavk33e4qe1jqq3ji.docx","overwriteSame":true,"dstExists":false,"failedAction":"attempt_aborted"} [FileOperation] MoveFileOp failed (batch #7557bsgq5jy8dyvjqt2w3n2pom39l1j): {"src":"mwstore://local-backend/local-public/archive/20110217185827!Correspondence.docx","dst":"mwstore://local-backend/local-deleted/9u6gi9hc1c5r484eyhh5o6wtlohhgom.docx","overwriteSame":true,"dstExists":false,"failedAction":"attempt_aborted"} [FileOperation] MoveFileOp failed (batch #7557bsgq5jy8dyvjqt2w3n2pom39l1j): {"src":"mwstore://local-backend/local-public/archive/20131002183024Correspondence.docx","dst":"mwstore://local-backend/local-deleted/mw554up2dctvoqum3wh9zsosqrn5zad.docx","overwriteSame":true,"dstExists":false,"failedAction":"attempt_aborted"} FSFileBackend::getFileListInternal() given directory does not exist: 'G:\WebRoot\Wiki/images/thumb/Correspondence.docx' LocalFile::purgeThumbList: array () [squid] SquidUpdate::purge: /images/Correspondence.docx BacklinkCache::partition: got from full result cache FSFileBackend::getFileListInternal() given directory does not exist: 'G:\WebRoot\Wiki/images/thumb/archive/20110128215148!Correspondence.docx' LocalFile::purgeThumbList: array () FSFileBackend::getFileListInternal() given directory does not exist: 'G:\WebRoot\Wiki/images/thumb/archive/20110204152112!Correspondence.docx' LocalFile::purgeThumbList: array () FSFileBackend::getFileListInternal() given directory does not exist: 'G:\WebRoot\Wiki/images/thumb/archive/20110217185827!Correspondence.docx' LocalFile::purgeThumbList: array () FSFileBackend::getFileListInternal() given directory does not exist: 'G:\WebRoot\Wiki/images/thumb/archive/20131002183024!Correspondence.docx' LocalFile::purgeThumbList: array () [warning] FileDeleteForm::doDelete: No transaction to rollback, something got out of sync! [Called from DatabaseBase::rollback in G:\WebRoot\Wiki\includes\db\Database.php at line 3617] Title::getRestrictionTypes: applicable restrictions to [[File:Correspondence.docx]] are {create,upload} Title::getRestrictionTypes: applicable restrictions to [[File:Correspondence.docx]] are {create,upload} Title::getRestrictionTypes: applicable restrictions to [[File:Correspondence.docx]] are {create,upload} OutputPage::sendCacheControl: private caching; ** LoadBalancer::reuseConnection: this connection was not opened as a foreign connection [runJobs] Running 10 job(s) via '/index.php?title=Special%3ARunJobs&tasks=jobs&maxjobs=10&sigexpiry=1442502850&signature=160eb45ec94e12b14e4d86f24272556d35eebd53'
Thanks all-
KC Kchurch05 (talk) 18:39, 17 September 2015 (UTC)
I was able to run through setup with no issues, but the page loads with no styling (on the host or any other workstation with any browser). The FAQ references the .htaccess file, but there isn't one in the root directory and there are several located elsewhere. Can anybody point me in the right direction?
Thanks,! Storm311 (talk) 22:23, 17 September 2015 (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.
Hi all,
I tried to upload images using Upload file page, but I got the error: Could not create directory "mwstore://local-backend/local-public/4/40".
I'm using Ubuntu 14.04.3 LTS, and I have change the images folder with www-data user as follow:
drwxrwxrwx 2 www-data www-data 4096 Sep 18 14:42 images/
However I still couldn't upload any images, please help, thanks. 220.241.135.125 (talk) 07:47, 18 September 2015 (UTC)
Can you please let me know how can I optimise my search option in MediaWiki?
Ex- If i am misspelling it's not suggesting me right word or related words? 15.203.137.73 (talk) 12:24, 18 September 2015 (UTC)
RESOLVED | |
Account was reset by Phabricator admin. Entered the mail correct this time -> works as designed. |
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 wanted to add a bug to the Extension CategoryTree.
To do so, I created a mediaWiki account and then wanted to connect to Phabricator. During the connection process (please state your user and e-mail) I messed up my email spelling for Phabricator. Phabricator now wants me to confirm the registration e-mail, but this mail was sent to the wrong account...
Revoking the connection from mediawiki and re-establishing it always takes me to the "confirm your mail adress first" page - so i am stuck simply wanting to post an issue :(
Is there a way around this process, so that I can stop the registration process in Phabricator and start it over?
Would be glad if someone could help...
Cheers,
ebbmo Ebbmo (talk) 13:29, 18 September 2015 (UTC)
I am facing problem in the installation of mediawiki on windows 8.1
Warning: require_once(C:\xampp\htdocs\mediawiki\mw-config/../includes/PHPVersionCheck.php): failed to open stream: No such file or directory in C:\xampp\htdocs\mediawiki\mw-config\index.php on line 25
Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\mediawiki\mw-config/../includes/PHPVersionCheck.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\mediawiki\mw-config\index.php on line 25
This is the message displayed on the localhost.
Mediawiki: 1.25.2
MySQL: 5.6.26
PHP: 5.6.12 Shrutika719 (talk) 15:54, 18 September 2015 (UTC)
Hi when is mediawiki getting a special page that allows to check for updates. Paladox (talk) 15:55, 18 September 2015 (UTC)
Hello,
Maybe, someone faced with such challenge.
Every user in MediaWiki logging by username and password. And email address is optional. Does exist any way to replace username by email address?
I.e. users can log in only by email address and password. ZelChief (talk) 08:02, 19 September 2015 (UTC)
RESOLVED | |
https://phabricator.wikimedia.org/T113136 |
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.
Why does MW (1.25.1 here) doesn't use "-strip" for generating thumbs with Imagemagick? It removes the meta data. Subfader (talk) 09:43, 19 September 2015 (UTC)
My article title is Gerard garret, but should be Gerard Garrett. How do I change it? Gigerjv (talk) 04:35, 20 September 2015 (UTC)
The confirmation message sent by my installation (latest stable version) is malformed. The confirmation link doesn't include the domain:
<quote>
Um zu bestätigen, dass dieses Benutzerkonto wirklich dir gehört, und um die E-Mail-Features bei vpedia zu reaktivieren, öffne diesen Link in deinem Browser:
index.php?title=Special:ConfirmEmail/af0e2bda978a0fae3ba66169aaf0dd0c
Falls das Konto *nicht* dir gehört, folge diesem Link,...
</quote>
What went wrong? $wgServer and $wgCanonicalServer are set properly.
What API query (json) can I use to receive the article and current revision ID from a title string? Subfader (talk) 19:42, 20 September 2015 (UTC)
Some weeks ago, my wiki (www.liturgica-notata.uni-goettingen.de) was upgraded from 1.19 to 1.23.10. After testing some of the functionalities, I discovered that there is an inconsistency on the page "Benutzerkonto anlegen" (Create accout). I use de-formal, and most of the text fits this (for example "bitten wir Sie, die folgende Frage zu beantworten"), but on several places this is not the case ("Gib unten deine Informationen ein", "Gib deinen Benutzernamen ein", Gib dein Passwort ein", "Gib deine E-Mail-Adresse ein" und "Liturgica notata wird von Menschen wie dir geschaffen"). One of the system messages concerned seems to be "createacct-benefit-heading"; I will try to change that manually, but I think that should be provided by the software in the right language-version, and I can't see at a glance which system messages will be concerned also. LiturgicaNotata (talk) 07:04, 21 September 2015 (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. I've been searching for a solution to this issue but can't seem to find one.
In my local settings, I've granted the Admin group (among others) the ability to edit with the "Edit" and "Edit Form" options while I have taken away the "Edit" right from other groups. Technically, everything is working fine, but the issue is that there are now 2 Administrators groups.
Both the groups are spelled exactly the same with the same capitalization. If I click on the red link (because a page doesn't exist for it), they both go to the same link to be created. Yet, somehow, they are still completely different groups and I would have to add myself to both of them to get the new permissions I've set.
Why would this be happening? How can I add permissions to the original "Administrators" group, or will I just have to go ahead and add myself and others to the duplicate group (which I would change the name of if I had no choice)? Kirabook (talk) 14:34, 21 September 2015 (UTC)
$wgGroupPermissions['Administrators']['skipcaptcha'] = true;
According documentation: Help:Images.
Any help appreciated. Larivact (talk) 16:12, 21 September 2015 (UTC)
RESOLVED | |
There is a bug about the php version message: T102094 |
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 just installed the media wiki on my Webspace.
After the installation i get the following error:
MediaWiki 1.25 internal error MediaWiki 1.25 requires at least PHP version 5.3.3, you are using PHP 5.4.45-0+deb7u1. Installing some external dependencies (e.g. via composer) is also required. Supported PHP versions Please consider upgrading your copy of PHP. PHP versions less than 5.3.0 are no longer supported by the PHP Group and will not receive security or bugfix updates. If for some reason you are unable to upgrade your PHP version, you will need to download an older version of MediaWiki from our website. See our compatibility page for details of which versions are compatible with prior versions of PHP. External dependencies MediaWiki now also has some external dependencies that need to be installed via composer or from a separate git repo. Please see mediawiki.org for help on installing the required components.
Can somebody give me a hint how to solve this? Netdeus01 (talk) 10:00, 22 September 2015 (UTC)
we have "class 'twisted.web.error.Error' : 500 MediaWiki exception" and some doc missing while creating documents using WikiDoc.
Any suggestion how to correct this issue ? Madhu (talk) 10:42, 22 September 2015 (UTC)
Hello,
I am using the database wrapper functions used in MediaWiki (Manual:Database access).
In the manual, it says "We provide a query() function for raw SQL, but the wrapper functions like select() and insert() are usually more convenient. They can take care of things like table prefixes and escaping for you under some circumstances".
My question is, what do they mean by "under some circumstances"? When will my data be escaped when inserting into the database, and when won't it? Thanks :] 146.175.202.30 (talk) 11:10, 22 September 2015 (UTC)
RESOLVED | |
The alignment variation is due to the infobox CSS assuming that the use of new paragraph constructions in cells is consistent. You could make sure the variation in vertical alignment doesn't happen in a few ways (see comments). |
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 need to understand why the appearance of these two Infobox tables in MediaWiki is different:
<table class="infobox">
<tr><th>name</th><td>
123
</td></tr>
</table>
<table class ="infobox">
<tr><th>name</th><td>123
</td></tr>
</table>
I could not find how css handles linebreaks.
At the same time regular tables do not differ:
<table>
<tr><th>name</th><td>
123
</td></tr>
</table>
<table>
<tr><th>name</th><td>123
</td></tr>
</table>
Why is that? Игорь Филиппов (talk) 17:48, 22 September 2015 (UTC)
<table>
<tr><th style="vertical-align:top">name</th><td>
123
</td></tr>
</table>
Clump (talk) 22:27, 22 September 2015 (UTC)Hi, I am fairly new to mediawiki and definitely not a hacker. I have had my wiki installed for a few months, and all of a sudden I started getting between 1-15 registrations every minute. Some of these were able to edit and add pages, so I had to lock everything down. Users now have to register with a CAPTCHA, confirm their email address and add themselves to the editor group in order to edit. I didn't really want to do it that way but it was the only way to stop the spam. However, there are still hundreds of registrations every hour and I had to turn off email notifications because they send me a 'Mail undelivered notice' every time. The bot seems to be bypassing the registration process completely, and they aren't able to spam the site but it's really not functional to have so many fake users. There's so many I can't even weed through them. Any advice for this? Thanks! Nicolerpm (talk) 00:02, 23 September 2015 (UTC)
RESOLVED | |
We have Extension:News. I commented it out and now the issue is gone.
May have to find another extension or see if there's a way to fix the issue. Thank you for your 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.
Whenever i make a new category, front page is added to this automatically. For example i make Category:Test and go to front page and there's "Category: Test" on the bottom. If I look at the wikitext source there's no "[Category:Test]" written. I'm also using VisualEditor. Any thoughts what could cause this action? MW version is 1.25.1. 81.22.162.228 (talk) 08:34, 23 September 2015 (UTC)
RESOLVED | |
Use Manual:$wgMaxCredits |
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 are using MediaWiki 1.25.2 and I have searched the documentation but cannot find anyway to add the username onto the footer
For example at present we see. "This page was last modified on 23 September 2015, at 10:57."
and would like "This page was last modified by Fred Blogs on 23 September 2015, at 10:57"
Does anyone know if this is achievable and if so how? Dbfxtrin (talk) 10:50, 23 September 2015 (UTC)
RESOLVED | |
Are you the owner of that domain? Run the update.php script. If you just want to report a the problem, you'll have to contact the owner. Archive.org has a dump of it that may contain a clue. |
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.
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: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('htmlpediawiki:messages:en:lock','˴2��\0','20150923121355') Function: SqlBagOStuff::set Error: 1142 INSERT command denied to user 'htmlpediawiki'@'10.0.65.188' for table 'objectcache' (mysql5-9.90) 213.91.166.18 (talk) 12:19, 23 September 2015 (UTC)
RESOLVED | |
the issue has been resolved |
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 have upgraded to MediaWiki: 1.25.2 from the older version 1.21.2.
Server and PHP version specifications used for this upgrade are PHP: 5.3.3 (apache2handler) and MySQL: 5.1.71
The 'SemanticBundle' extension available under LINK 'Get extensions' in mediawiki.org does not possess the required folder '/param-processor' for WIKI 1.25.2 though its imported inside one of file 'SemanticBundleSettings.sample.php' in the same extension.
Also, I got the below warning message while installing the extension 'SemanticMediaWiki' as its dependent on 'SemanticBundle' extension.
Warning: require(.../extensions/SemanticMediaWiki/includes/src/MediaWiki/Jobs/UpdateJob.php): failed to open stream: No such file or directory in .../includes/AutoLoader.php on line 90 Fatal error: require(): Failed opening required '.../extensions/SemanticMediaWiki/includes/src/MediaWiki/Jobs/UpdateJob.php' (include_path='...:.../includes:.../languages:.:/usr/share/pear:/usr/share/php') in /data/www/html/wiki/includes/AutoLoader.php on line 90
As the '/src' folder was misplaced inside the extension. After availed the '/src' folder I got below FATAL ERROR.
Fatal error: Interface 'Serializers\Serializer' not found in .../extensions/SemanticMediaWiki/includes/serializer/Serializers/QueryResultSerializer.php on line 30
Could some one please help in find How could I get the full fledged error free extensions for 'SemanticBundle' as well as 'SemanticMediaWiki' for WIKI version 1.25.2?
Thanks in Adv.
Sanjay Sanjay (talk) 12:54, 23 September 2015 (UTC)
Hi My company uses wiki to share project documents. I'm just one of the users access to company wiki web site and I cannot upload any file from my laptop. But I can upload the same file from the other laptops with my user ID. I tried uploading a file from Chrom and IE both, the result is the same. From Chrom, I see the error page with the message code 'ERR_ACCESS_DENIED', from IE turns to the page with a message something like 'cannot display web page'. The most weird thing is that I can upload any file which size is under about 500kb. But this is only happening in my laptop. I can uplaod any file under 10MB with my ID from other laptops. So I think problem doesn't occurs from my company's wiki set-up, but from my laptop. My IT team operating wiki couldn't find a reason for this.
Would you please guide me how to check and solve this issue? Veronica Jeong (talk) 23:06, 23 September 2015 (UTC)
Hi, I'm E.Z.O.
I'd like to be translation administrators to make translation work easier. however I wasn't able to find page for being translation administrators. What page is such one?
P.S. that question is not about MediaWiki but about MediaWiki.org. I know that asking about MediaWiki.org is incorrect here. however I wasn't able to find page to ask about MediaWiki.org. so I did that here. What page is one to do that? E.Z.O. (talk) 07:27, 24 September 2015 (UTC)
RESOLVED | |
I use the parsefunctions |
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 template, but when I want to include the template and do not pass any parameter, do not show me some information. For example, wikipedia, when you include Infobox_person template, if you do not send some of the data does not show the table row Voignar (talk) 08:03, 24 September 2015 (UTC)
RESOLVED | |
different php.ini for cli and web, and/or missing database driver |
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.
Dear Fine Mediawiki People,
I am trying to upgrade mediawiki 1.25.2 from 1.16.2. I copied the old LocalSettings.php
I am at the step to run `php update.php` but it will not connect to the database! I get the following output
bash-3.00# php maintenance/update.php MediaWiki 1.25.2 Updater
Your composer.lock file is up to date with current dependencies! DB connection error: No database connection
Debug logging shows nothing more and no action in postgres logs. Any idea what the problem is? If I run up the wiki it works and has a database connection but errors because of a missing column, i presume which should be added by running the update.
OS: Solaris 10
PHP 5.3.6
PGVER=8.4.4
My Database settings
# Database settings
$wgDBtype = "postgres";
$wgDBserver = "localhost";
$wgDBname = "wikidb";
$wgDBuser = "wikiuser";
$wgDBpassword = "*******";
# Postgres specific settings
$wgDBport = "5432";
$wgDBmwschema = "mediawiki";
$wgDBts2schema = "public";
I also tried unpacking the mediawiki files on a centos box and running the update on the database remotely but still have the same problem. Also putting db server details that dont exist did nothing.
Many Thanks in advance!
Tom 195.169.141.54 (talk) 08:24, 24 September 2015 (UTC)
DB connection error: No database connection
apt-get install php5-pgsql
Albert25 (talk) 19:32, 12 December 2015 (UTC)HI,
How can i add a button type checkbox in file templates/Usercreate.php and when users submit the form execute a query to add this option in the database ?
thank you 171.16.208.4 (talk) 09:50, 24 September 2015 (UTC)
i want to add div and other html codes in bodytext by going to core of mediawiki... what file i have to edit to achive this??? thank you in advance... help plz Androidsusmit (talk) 12:03, 24 September 2015 (UTC)
v1.25.2
When editing and saving pages a web browser says there is a connection problem
apache error logs show zend_mm_heap corrupted and child pid 23765 exit signal Segmentation fault (11)
When reloading the page the edit was actually successful.
I tried some of the google suggestions but nothing is helping. Any idea?
PHP 5.3.6 195.169.141.54 (talk) 13:25, 24 September 2015 (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.
I have Images in this Form:
[ [ File:Image_Name. jpg ] ]
But i see only a Link with this Image_Name, not the picture
What is wrong ? Takata1 (talk) 13:57, 24 September 2015 (UTC)
Hello there!
I was wondering if there was an extension tht would give me a sitewide return, but unlike the one in the package, rather one that would have a slightly more controlled content size.
When I do a standard search, I only get the first few words of each results, but I would need a result that returns a prequalified parameter, like, instead of getting, as one of the results "the fox ate the chicke.........." I would get "the fox ate the chicken that escaped from the farm" because the editor put that whole sentence in between <parameters></>.
Or at least a result page that would have a minimum number of words, like say 30
I will be administrating a wiki that is in a dictionary form and whole sentences are needed as a search return.
Could anyone help please?
I've search the extensions pages, but I have neither found it or maybe because I don't know the jargon...I'm very new to wikis
Many thanks Sylverve (talk) 17:42, 24 September 2015 (UTC)
Hi! I am Tulsi Bhagat from newiki. I operates Tulsibot using windows. I'm helpless, wondering here and there in search of knowledge about Pywikibot. At last, I've found Project:Support desk. I'm looking for script which helps in updating statistics for eg. no. of population, no. of VDC, total no. of edits done by users in a page of wikipedia. Can anyone help me for this? — Tulsi 24x7 05:50, 25 September 2015 (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.
Hi
Is it possible to enable VisualEditor for all namespaces? Like Category? I found this configuratoin option but not sure how to use it:
Each configuration option is shown without the $wgVisualEditor
prefix for brevity.
Namespaces = array_merge( $wgContentNamespaces, array( NS_USER ) ) 81.22.162.228 (talk) 10:57, 25 September 2015 (UTC)
81.22.162.228 (talk) 10:07, 28 September 2015 (UTC)
I am currently in the process of upgrading an old mediawiki site on a shared webhost that I don't have direct access to the servers. I also have never touched mediawiki before.
Want to validate the steps I have to see if there are any additional steps I should do or missing
My rollback for this is going to be restore the backup using phpmyadmin and then rename the site-1.15.1 folder back to site.
Are there any issues with this that I might run into? Should the LocalSettings.php file be compatible? 216.252.194.205 (talk) 17:32, 25 September 2015 (UTC)
I wrote a short tutorial on this topic on my user-page User:Tabultor. Is there a regular category where tutorials should be placed? Would this tutorial be accepted? Tabultor (talk) 01:40, 26 September 2015 (UTC)
I have provided an email address to have a request for a new password sent, but am not receiving any notification or link to that email address. 121.220.35.236 (talk) 02:19, 26 September 2015 (UTC)
I've been looking for the last 3 hours.
Could someone help me on finding a way to twick the left menu of the vector skin please?
That's the links below the wiki's main logo, the blue left column
Many thanks Sylverve (talk) 23:15, 26 September 2015 (UTC)
How can I recover my password. My username is "Smitse". 70.234.252.237 (talk) 02:12, 27 September 2015 (UTC)
Consider the following wikitext:
*<div>A B</div>
My intended HTML markup would be the following:
<ul><li><div>A B</div></li></ul>
But instead I get the following:
<ul><li><div>A</div></li></ul> B
The result is the same if instead of a <div> I use a <span>, <blockquote>, <pre> or any other markup I tried. It looks as if the parser gives a lot of priority to the list items. Isn't there a way to prevent the newline from closing the list items? For technical reasons I want the content of my list items to span several lines, while keeping the proper HTML markup. For example, the following would NOT be a solution, because even though the output would appear right, the markup wouldn't be:
*A :B
Any help would be appreciated, I've almost given up by now. If you want a live example you can visit http://wikidialectics.org/Wikidialectics:Sandbox Sophivorus (talk) 07:48, 27 September 2015 (UTC)
Hi ,
I need to add page link at the left side , like links under tools.
Is there a way to do so ?
Thanks
Raghda 105.197.215.29 (talk) 08:25, 27 September 2015 (UTC)
What's wrong with pages in Category:Pages where expansion depth is exceeded and how can I fix it?
It's generated in Parser.php so I guess I reach a parser limitation? Raising Manual:$wgExpensiveParserFunctionLimit from 200 to 300 now. Subfader (talk) 13:21, 27 September 2015 (UTC)
RESOLVED | |
WONTFIX |
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.
A template of mine adds pages to a category. I need to refresh thousands of pages as if I save them manually (empty edit).
Is there a maintenance script to do the trick?
I tried refreshLinks.php, rebuildall.php, purgeParserCache.php. Subfader (talk) 14:36, 27 September 2015 (UTC)
I would like a template that switches a picture on a text click.
For example with file A.jpg and B.jpg, I want that when you click a specific text (say "SWITCH!") the A.jpg that was shown switches to B.jpg. And when you click again, it switches back to A.jpg (and eventually the text to click could change) 78.209.121.35 (talk) 16:04, 27 September 2015 (UTC)
Hi,
I have a MW 1.18 extension and I will not be able to upgrade it currently. I would like to restrict users and anonymous from viewing the Recent Changes page of my MW 1.18. I came across the Lockdown extension but this is for MW 1.19+. Please do let me know, if there is any suggestions
Many Thanks. 1.39.63.233 (talk) 17:40, 27 September 2015 (UTC)
-- [[User:Edokter]] {{talk}}
20:49, 28 September 2015 (UTC) var ul = document.querySelector(#p-namespaces ul");//finding the list
var newLi = document.createElement("li");// creating a list item
newLi.innerHTML = '<span><a href="[insert external link]" title="[insert title]">[tab name]</a></span>';
ul.appendChild(newLi);//adding list item to list
var ul = document.querySelector(#p-views ul");//finding the list
var newLi = document.createElement("li");// creating a list item
newLi.innerHTML = '<span><a href="[insert external link]" title="[insert title]">[tab name]</a></span>';
ul.appendChild(newLi);//adding list item to list
72.219.238.198 (talk) 22:51, 27 September 2015 (UTC)
public static function onSkinTemplateNavigation( SkinTemplate &$sktemplate, array &$links ) {
$links['namespaces'][] = array(
'class' => 'test', // a css class, if you want
'text' => 'Testtab', // That's the text visible to the user, you might want to use a message key, instead of a hardcoded text
'href' => 'test', // That's the link the tab will redirect to, when clicked
);
}
can i talk with a person please 94.2.114.149 (talk) 02:07, 28 September 2015 (UTC)
I have added an osm map to my page but cannot get the coordinates to show the correct map.
I wish it to take the coordinates from the lat/lng I have stated on the template.
how do I get this to work?
http://gmdesign.org.uk/wiki/index.php?title=C26_%28North_Ayrshire%29
the map its showing is not the one it should be. Gmdesignuk (talk) 05:15, 28 September 2015 (UTC)
Hi all, is there a concept of a base category all pages belong to? I ask because some tools like catscan require a category for performing a search. Aschroet (talk) 08:04, 28 September 2015 (UTC)
Hi I use $wgUserEmailUseReply Manual:$wgUserEmailUseReplyTo in my configuration and it works for user to user emails.
There is $wgPasswordSender in the from: field and the users Email-Adress in the reply-to as should be.
But
When the user activates
Email me a copy of my message
this mail has the users email-Adress in the from: field instead of $wgPasswordSender as expected.
I'd like to have the $wgPasswordSender the from: field in both cases. How to do this? 92.79.145.134 (talk) 09:07, 28 September 2015 (UTC)
I am having difficulty using code blocks. I have tried to register in the forums. I have not received several activation emails so my forum registration is incomplete. I have checked spam and they are not there. I have checked my email address and it is receiving emails. I cannot find any way to email the forum administrators as i am not registered, to ask them to look into the situation. There are no email links on the code blocks webpage. This appears to be the only option. Any help appreciated. Stephanos, stephanos@writeme.com 82.19.196.39 (talk) 09:32, 28 September 2015 (UTC)
RESOLVED | |
Please read API:Query#Continuing queries. |
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Mediawiki version: 24.2
Hi,
When I use this API(http://en.samarkandtour.org/api.php?action=query&prop=revisions&rvprop=content&format=json&generator=categorymembers&gcmtitle=Category:Hotel) to get all pages sorted by category title, now 32 of total 42 pages are missing.
Because, though really there are total 42 pages like http://en.samarkandtour.org/index.php/Category:Hotel, only 10 pages are returned by the API.
Even though I retry it since I have run rebuildall.php for maintenance, there is no difference.
Thanks,
JJ Comseong (talk) 09:34, 28 September 2015 (UTC)
Due to corruption I would like to re-create mediawiki using CLI instead of the web interface. Is there a mean? Yoonghm (talk) 02:49, 29 September 2015 (UTC)
In Wikidata, time values with precision year are stored in the format yyyy-00-00T00:00:00Z. The #time parserfunction seems not to be able to interpret this value. For {{#time:c|2006-00-00T00:00:00Z}}
it returns 2005-11-30T00:00:00+00:00. Is there a way to fix this problem? Pasleim (talk) 07:20, 29 September 2015 (UTC)
С дуру вляпался в систему Windows 10, теперь никак не могу вернуться в систему Widows 7. В системе 10 я не копенгаген, так как мне уже 80 лет и осилить её не могу. Помогите восстановиться в 7. моя электронная почта <email removed to protect the user> 79.111.28.70 (talk) 11:57, 29 September 2015 (UTC)
Hi,
I migrated a mediawiki solution from Windows to Debian (and from MediaWiki 1.16 to MediaWiki 1.25)
The application works but i'm not able to edit or save a page which exceed certain limits. If i write too many characters, i get an ERR_CONNECTION_RESET error in Chrome and the same with Firefox. I increased memory cache in PHP.ini but it doesn't do anything. I tried to check Apache log but even in Debug mode, nothing appears.
i use PHP 5.4. Do you have any idea? What should I check?
Thanks for your help. Pikar60 (talk) 12:53, 29 September 2015 (UTC)
/var/log/apache2/error.log
in Debian) for more information.[info] [client 192.168.0.22] Request body read timeout
. So the server sees like the client times-out...Hi, I created a new page in my wiki and went to mark it for translation, the page displays but when I press the "mark this version for translation" button it gives me a 500 error. Looking on the server all I get is "End of script output before headers: index.php"
Turning on debugging I do get errors on the mark for translation page (26 of this)
[error-json] {"id":"a0878d8a","type":"ErrorException","file":"/home/sites/bearingnet.net/public_html/help/includes/cache/CacheDependency.php","line":197,"message":"PHP Warning: filemtime(): stat failed for /home/sites/bearingnet.net/public_html/help/resources/lib/oojs-ui/i18n/en-gb.json","suppressed":true,"url":"/index.php?title=Special:PageTranslation&target=Wanted","backtrace":[{"function":"handleError","class":"MWExceptionHandler","type":"::","args":["integer","string","string","integer","array"]},{"file":"/home/sites/bearingnet.net/public_html/help/includes/cache/CacheDependency.php","line":197,"function":"filemtime","args":["string"]},{"file":"/home/sites/bearingnet.net/public_html/help/includes/cache/LocalisationCache.php","line":416,"function":"isExpired","class":"FileDependency","type":"->","args":[]},{"file":"/home/sites/bearingnet.net/public_html/help/includes/cache/LocalisationCache.php","line":447,"function":"isExpired","class":"LocalisationCache","type":"->","args":["string"]},{"file":"/home/sites/bearingnet.net/public_html/help/includes/cache/LocalisationCache.php","line":323,"function":"initLanguage","class":"LocalisationCache","type":"->","args":["string"]},{"file":"/home/sites/bearingnet.net/public_html/help/includes/cache/LocalisationCache.php","line":260,"function":"loadItem","class":"LocalisationCache","type":"->","args":["string","string"]},{"file":"/home/sites/bearingnet.net/public_html/help/languages/Language.php","line":4358,"function":"getItem","class":"LocalisationCache","type":"->","args":["string","string"]},{"file":"/home/sites/bearingnet.net/public_html/help/languages/Language.php","line":208,"function":"getFallbacksFor","class":"Language","type":"::","args":["string"]},{"file":"/home/sites/bearingnet.net/public_html/help/languages/Language.php","line":167,"function":"newFromCode","class":"Language","type":"::","args":["string"]},{"file":"/home/sites/bearingnet.net/public_html/help/includes/Setup.php","line":611,"function":"factory","class":"Language","type":"::","args":["string"]},{"file":"/home/sites/bearingnet.net/public_html/help/includes/WebStart.php","line":138,"args":["string"],"function":"require_once"},{"file":"/home/sites/bearingnet.net/public_html/help/index.php","line":38,"args":["string"],"function":"require"}]}
If you need more info let me know. But I am stuck with this one ¬.¬
I also tried creating another new page with minimal text and get the same problem Leepbn (talk) 14:01, 29 September 2015 (UTC)
If WIKI web site and the WIKI data base are located on the different servers, in configuration file of settings how can I add the credentials of account (account name and password) to $wgDBservers to connect to the host server where the WIKI database is? Alexfilimonov (talk) 18:13, 29 September 2015 (UTC)
RESOLVED | |
Without a colon you'd be adding the page to the category, rather than just referring to the category. |
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 there, why must the be a colon before Category: links? Oscitare (talk) 19:57, 29 September 2015 (UTC)
I installed mediaWiki in a folder under my Apache home - lets assume the folder name was enciclopedie and I was accesing it at http://123.123.123.123/enciclopedie/. After testing and deciding that this is what I need, I made a different folder - carteamuntilor.ro - and I moved the wiki files from folder enciclopedie to the folder carteamuntilor.ro, keeping the same database (MySQL on localhost). I am now accessing the mediaWiki instance at www.carteamuntilor.ro (domain and DNS entries are configured at my registrar). The problem that I'm having is that randomly some links are not working properly because instead of pointing to
www.carteamuntilor.ro/index.php?title=some_title
they are pointing to
www.carteamuntilor.ro/enciclopedie/index.php?title=some_title
If I go to editing the page with the wrong links and just save it without any modification, links are changing to the correct URL, but it might occur again later with no apparent reason. I have no ideea how to fix that.
You can see an example of this issue here. See the wrong links in Munți section (containing the folder enciclopedie in the URL) while everything else has the correct URL. If you click on a wrong link it will generate a 'File not found' error. Sorin.sfirlogea (talk) 20:39, 29 September 2015 (UTC)
I'm building a videogame community website that will also include Wikis for several games. The website should have one users database which will be used on all Wikis as well as the other areas of the website (discussion forum, etc.). I'm planning to use Mediawiki as the main framework behind this website, as the Wiki aspect of the website will be one of the main features.
I have no prior experience with Mediawiki, but after looking around I've found several helpful pages on this topic. Mainly: Manual:Shared database and Manual:Wiki family.
I have come to the conclusion that I will have to use the following structure for my website:
-----------------------------------------------
Main Wiki (Will serve as the core of the website, includes the main database for all registered users and additional website features, also includes links to all the Sub Wikis)
- Sub Wiki1 (Contains Wiki for a specific game)
- Sub Wiki2
- Sub Wiki3
The folder structure will be like this:
DomainName.com <- Main WIki
Domainname.com/Sub_Wiki1 <- Sub Wiki1
Domainname.com/Sub_Wiki2 <- Sub Wiki2
Etc.
-----------------------------------------------
Basically, I want the user to log in once and have access to all Wikis located on the website without having to create additional accounts on the Sub Wikis.
1. Is this the correct way to build a website with a structure like this?
2. Will following the instructions on these pages allow users to log in to the Main Wiki and use the same login session on all of the Sub Wikis?
3. Upon editing a page on one of the Sub Wikis, will that event be shown on the profile of the user (Located only on the Main Wiki)? Same question for all other user events on the Sub Wikis.
I really want to make sure I'm heading in the right direction in building this website. I wouldn't want to find out later in the process that my whole foundation is bad and needs to be rebuilt from the start.
Thank you for reading. 92.110.165.206 (talk) 05:18, 30 September 2015 (UTC)
I get this error when I'm trying to use VisualEditor in Flow conversations:
[9149bd06] Exception Caught: Conversion from 'html' to 'wikitext' was requested, but core's Parser only supports 'wikitext' to 'html' conversion.
VisualEditor is working on other sites normally.
I have these lines in my LocalSettings.php:
$wgVisualEditorParsoidURL = 'http://localhost:8000';
$wgSessionsInObjectCache = true;
$wgFlowContentFormat = 'html'; $wgFlowEditorList = array( 'visualeditor', 'none' );
81.22.162.228 (talk) 06:24, 30 September 2015 (UTC)
Hi! I'm still using 1.19.22 and wanted to secure my login process through https. I set $wgSecureLogin to true and $wgServer to a protokoll relative urls as adviced. But the only thing changed is a checkbox appearing beyond the login form to set if the user wants to stay on https after login. But neither is a user redirected to https for the login form, nor is the form itself posted to https. The URL of my wiki is cedegawiki.net. Bachsau (talk) 08:25, 30 September 2015 (UTC)
My website every 5-20 clicks gives me a database connection error. I've enabled logging and get.
Try waiting a Few minutes and reloading.
(Can not touch the database server: Unknown MySQL server host 'dbmaster' (0) (dbmaster))
Backtrace:
# 0 /var/www/artistwiki/includes/db/LoadBalancer.php(754): DatabaseBase-> reportConnectionError ('Unknown error (...') # 1 /var/www/artistwiki/includes/db/LoadBalancer.php(477): LoadBalancer-> reportConnectionError () # 2 /var/www/artistwiki/includes/GlobalFunctions.php(3662): LoadBalancer-> getConnection (-1, Array, false) # 3 /var/www/artistwiki/includes/cache/LocalisationCache.php(1159): wfGetDB (-1) # 4 /var/www/artistwiki/includes/cache/LocalisationCache.php(404): LCStoreDB-> get ('gb-en', 'deps') # 5 /var/www/artistwiki/includes/cache/LocalisationCache.php(450): LocalisationCache-> isExpired ('en-gb') # 6 /var/www/artistwiki/includes/cache/LocalisationCache.php(326): LocalisationCache-> initLanguage ('en-gb') # 7 /var/www/artistwiki/includes/cache/LocalisationCache.php(260): LocalisationCache-> loadItem ('en-gb', 'fallback') # 8 /var/www/artistwiki/languages/Language.php(4151): LocalisationCache-> getItem ('en-gb', 'fallback') # 9 /var/www/artistwiki/languages/Language.php(237): Language :: getFallbacksFor ('gb-in') /var/www/artistwiki/languages/Language.php(196 # 10): Language :: newFromCode ('en-gb') /var/www/artistwiki/includes/Setup.php(546 # 11): Language :: factory ('gb-in') /var/www/artistwiki/includes/WebStart.php(156 # 12): require_once ('/ var / www / artist ...') /var/www/artistwiki/index.php(43 # 13): require ('/ var / www / artist ...') # 14 {main}
2A00:1068:0:204:758D:C129:518E:85FD (talk) 15:17, 30 September 2015 (UTC)
Hi,
I am using CC to produce dense point clouds from textured models. My texture size is 8192 x 8192, however these are reduced down when importing into CC
"[OpenGL] Image is too big to fit in texture cache! Reducing it to (4096 x 4096) for display!"
How can I change the texture cache to allow higher resolution textures?
Dom. 138.130.65.90 (talk) 21:04, 30 September 2015 (UTC)
http://wiki.wild-wrangler.com/view/Special:RecentChanges
Here we see false Users being created every day. And when I try to see Recent Changes, all I see is user creation logs. How do I keep from seeing that & how do we prevent them from creating spam user accounts? ~ Jeydo (talk) 23:48, 30 September 2015 (UTC)