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.
How to you "attempt" exactly? Could you provide the steps that you take so someone else could follow that list of steps and maybe get the same results? Malyacko (talk) 22:59, 1 October 2015 (UTC)
MediaWiki and Creative Commons Share Alike license commercial use
Latest comment: 10 years ago4 comments3 people in discussion
I'm developing a commercial App and I want to use a MediaWiki which is under CC ShareAlike license. I know what this means, but I have a few questions that I couldn't get answers to so far:
If I use MediaWiki, does this mean that my complete App needs to be under CC ShareAlike license as well? I have a few functional parts, that wouldn't have anything to do with this at all. Can I somehow protect these parts from being 'open source'?
If my app (or parts of it) would be under CC ShareAlike license, are there rules for how I need to make my code publicly accessible? I mean do I need to provide it somewhere somehow or do I only need to make it available if someone asks for it?
Oh okay, you are right. But it's still the same question. As I recall if I use MediaWiki to create something, then my creation needs to be under GNU GPL too. So my questions still apply... 194.114.62.123 (talk) 09:35, 2 October 2015 (UTC)
I assume you have read the GPL which should cover distribution (though that's a very interpretable term in itself when it comes to legal aspects) and how code needs to be made available. And currently only you know how certain parts of your code technically interact with MediaWiki, but those details define part of the answer in my understanding (I am not a lawyer). Some parts of https://en.wikipedia.org/wiki/GNU_General_Public_License might also help providing some first impressions but you may want to contact a lawyer for legal stuff. Malyacko (talk) 12:44, 2 October 2015 (UTC)
Scheduling future edits?
Latest comment: 10 years ago2 comments2 people in discussion
We are looking for software to use for our companies intranet, which includes our policies and has employee resources and training. One of the challenges we have is that many times we will identify a page that needs to be updated, but there is more that one stakeholder or all the information is not known right away. It would be great to be able to save a new draft version of the page that doesn't actually get published. That way everyone has a chance to look at it, and once everyone has communicated one of the folks in the group can publish.
Latest comment: 10 years ago5 comments3 people in discussion
RESOLVED
Problems in site's scripts
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 Mediawiki 1.23.10 running on Windows Server 2003 X32. We have several other wiki's on this server where everything is working perfectly. All the wiki's have their own databases and are stored in their own folder, etc. At some point we will migrate off this 2003 platform. This one wiki has non default page names in the database. All the other wiki's have default table names in the database. The sphinx search engine works perfect on all WIKI's except this one wiki and only on the main page. On the main page the Autocomplete dropdown that says "containing...." does not show up only on the main page. If you click the search option under the special pages it works. I have been scouring the web confirming all options and i am not able to figure it out. I convinced it is from the non default table names. The database prefix is "iswiki". The database prefix in locasettings.php is set and also the options below, etc
Form my understanding, the only problem you have is with sphinx, and with search suggestions on the main page?
If you're using Extension:SphinxSearch, it may be a problem with that extension that doesn't support $wgDBprefix.
Search suggestions should work and it shouldn't matter if you're in the main page or not. Maybe there's some JavaScript error on the main page that prevents the suggestion script to work properly. You should debug that yourself looking at the developer console of the browser to see if there's any JavaScript error Ciencia Al Poder (talk) 09:49, 2 October 2015 (UTC)
I tried to disable the sphinx search engine and use the default vector search and still have the same issue. I used firebug and i see this
THANK YOU!!! A previous administrator had a whole bunch of custom code on this page. I removed all the code and now the search works as it is supposed to. Thank you!!!!! Jayman54P (talk) 12:28, 6 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Custom NameSpaces Creation and Restriction Issues
Latest comment: 10 years ago1 comment1 person in discussion
I have looked through every MediaWiki page that is at all related to custom namespaces but am still having trouble. I would be MUCH obliged if someone could help me figure this out.
Issue 1: I created a custom namespace (WL) in my LocalSettings.php file which works correctly, however, I cannot set editing permissions for a custom user type to only be able to edit those pages.
Issue 2: I'm trying to create another custom namespace (WCAG) but it won't show up in my namespaces list and pages won't go under it as an actual namespace. It has the same info as my working namespace so I can't figure out what is wrong.
Here is the info from LocalSettings.php for both namespaces:
This is the support desk for a software called MediaWiki. Though MediaWiki might work in another universe, "SDE nova" or "SCFO" sound like unrelated to MediaWiki so this might be the wrong place to ask. Malyacko (talk) 08:34, 2 October 2015 (UTC)
Wiki page seems to empty although it is not
Latest comment: 10 years ago3 comments2 people in discussion
Hi all,
my wiki seems to be empty but data are added and shown before.
I will describe the problem with the main page.
Open main page results in a normal wiki page but without any user content, so everything which is added by the editor is empty, everything else is shown.
Few days ago I solved this problem by updating my applications of my synology NAS where media wiki is installed. But updating I had a problem with owncloud news and for that I had too change in /etc/mysql/my.cnf the value for sort_buffer_size to 256k. This results in an empty mediawiki again. I hope you can help me.
Latest comment: 10 years ago3 comments2 people in discussion
Hello, I need to move an italian and polski versions of wikipage of O2 Slovakia, but I don't see button "move" on these pages. I see this button on Czech, Slovak and English page, but not at Italian and Polski. Can you help me? JanPapac (talk) 14:31, 2 October 2015 (UTC)
Latest comment: 10 years ago2 comments2 people in discussion
I wish that your chart included the age of the shooter, reason/religion for shooting and where the weapon came from. It may show some important patterns. Missbeadsly (talk) 17:43, 2 October 2015 (UTC)
Welcome to the support desk of the MediaWiki software. Which "chart" do you refer to? Links are welcome. (If you refer to some article on some Wikipedia page, please comment on the Talk / Discussion page of that Wikipedia page directly.) Malyacko (talk) 10:47, 4 October 2015 (UTC)
Block category from template on certain pages?
Latest comment: 10 years ago3 comments2 people in discussion
I am working on a wiki which includes some cleanup templates that automatically categorize paces they are added to. For example, a {{cleanup}} might contain <includeonly>[[Category:Cleanup needed]]</includeonly>
I want to also be able to demonstrate some of those templates on a help page. However, adding the templates to the help page then adds the help page to the "Cleanup needed" category. Is there any way to prevent a template from adding a category to a specific page? 104.175.80.121 (talk) 20:36, 2 October 2015 (UTC)
Well, you could test for an argument to see if you should include the category, so your {{cleanup}} looks something like <includeonly>{{#ifeq:{{{cat|yes}}}|yes|[[Category:Cleanup needed]]}}</includeonly>, and your use of it in your help page is {{cleanup|cat=no}}.
Alternatively, to avoid the need to pass in a specific argument in the invocation, you could test for specific pages to not categorize: <includeonly>{{#switch:{{PAGENAME}}|Ignore This Page|Ignore This One Too|Help Page=|#default=[[Category:Cleanup needed]]}}</includeonly> Clump (talk) 22:09, 2 October 2015 (UTC)
Special:ConfirmEmail uneditable?
Latest comment: 10 years ago2 comments1 person in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello there
Could someone point me to the right direction please as to how to edit the special page that says :
"Your email address has now been confirmed"?
There doesn't seem to be an "edit" button on that page.
I am currently experiencing a problem related to "Email this User" feature, Problem is that users can send me mail and i do not recieve to my inbox. this problem is with only "email this user" feature. i can not even recieve copy of my sent mail .i can recieve email address confirmation mail and password reset mail. BTW my email address is confirmed, feature is active is preference and other notification settings are perfect. my mail server is yahoo.com. Please tell me why i am not able to use this feature. HIAS (talk) 08:31, 3 October 2015 (UTC)
Latest comment: 10 years ago5 comments3 people in discussion
I have been able to find several websites that cover this topic, but all of them rely on outdated plugins and are based on older MediaWiki and Wordpress versions.
Using the same login database between Wordpress and MediaWiki and having their login sessions shared between the two.
Having to only login once on the website to access both the Wordpress section and the MediaWiki section is what I'm trying to achieve. 92.110.165.206 (talk) 14:30, 5 October 2015 (UTC)
MediaWiki and Wordpress use their own login mechanism. The only way to achieve that would be to use oauth, one being the server and other being the consumer. Although MediaWiki can't be an OAuth consumer for logins at this time, it seems... Ciencia Al Poder (talk) 09:33, 6 October 2015 (UTC)
I'm building a sort of Frankenstein hybrid between Wordpress and Mediawiki by synching the login sessions of Wordpress and Mediawiki using this plugin: Extension:WPMW
It's working so far, so I'm pretty happy about that, but it needs a lot of custom editing to make the two appear fully integrated with eachother. 92.110.165.206 (talk) 20:34, 6 October 2015 (UTC)
single player
Latest comment: 10 years ago2 comments2 people in discussion
Welcome to the support desk of the MediaWiki software. Whatever "single player" and "creapy doll" you refer to, you need to provide steps to reproduce your problem. If your problem is related to the MediaWiki software at all. Malyacko (talk) 10:44, 4 October 2015 (UTC)
Problem with upgrade from 1.18 to 1.23
Latest comment: 10 years ago4 comments3 people in discussion
Hi,
I have updated from 1.18 to 1.23, and got th following massage:
A database query error has occurred.
This may indicate a bug in the software.
Query:
SELECT page_title FROM `nsl_page` WHERE page_is_redirect = '0' AND page_namespace = '8' AND (page_title NOT LIKE '%/%' ) AND (page_len > 10000)
The database error is strange, since nothing should be changed in a way to break it. Looking at the query, your setup seems to have defined $wgDBprefix to "nsl_", and the database is "talyaron_mdw1". Is that correct? So all tables of the database should have that prefix.
You obviously have changed the table prefix. MediaWiki currently tries to use the database talyaron_mdw1 and tables, which are prefixed with nsl_. However, these tables are not there - at least the page table is not there.
When you do an upgrade, you can keep (or copy) your LocalSettings.php file. It is not necessary to change things like $wgDBprefix in it.
Welcome to the support desk of the MediaWiki software. As far as I know, MediaWiki does not offer buying nuggets via SMS so you might be wrong here. Malyacko (talk) 10:40, 4 October 2015 (UTC)
$wgLogo appears on website
Latest comment: 10 years ago3 comments3 people in discussion
A have installed Mediawiki successfully and also I was able to place a logo of my own. But the lettering '$wgLogo' appears on the left upper corner of the website and this lettering is only partially covered by the inserted logo. I have searched for the solution quite a lot of time in the Wikimedia manual and the FAQ, but I did not find any hint to solve the problem, i. e. make disappear the lettering '$wgLogo' from my website. Barny1952 (talk) 20:18, 4 October 2015 (UTC)
Latest comment: 10 years ago1 comment1 person in discussion
I have had the problem that when first loading my wiki the user will experience very slow load times - more then 10 Seconds. I assume what is happening is the cache is being created for the first time and this is causing a long delay.
My question is, would it be possible to create some bot that would auto create the cache once a day? I don't want to just increase the lifetime cache, as I have some pages that are updated on a daily basis.
This initial long load, is so bad for the user experience. Would appreciate if someone has an idea on how to improve this. Coachbyapp (talk) 04:01, 5 October 2015 (UTC)
our accout is blocked
Latest comment: 10 years ago3 comments3 people in discussion
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
Not a MediaWiki software help desk question. This help desk is for questions related to installing/running/maintaining 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.
how can i upload info of our company shliftop@gmail.com
If you pretend to add info about your company on Wikipedia, the info may not be accepted, and will be deleted. Refer to local policies on that wiki. Have you tried a service like yellow pages, etc? People usually look at companies about a subject, and looks for subjects in sites like yellow pages, not on Wikipedia. Ciencia Al Poder (talk) 09:25, 5 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Warning: Invalid argument supplied for foreach() in /home1/gmdesign/public_html/wiki/extensions/DynamicPageList/classes/Parse.php on line 712
Latest comment: 10 years ago2 comments2 people in discussion
I am getting this error and cannot figure out why.
Latest comment: 10 years ago3 comments3 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
My MediaWiki has become overtaken by hackers
Latest comment: 10 years ago2 comments2 people in discussion
I have been diligently curating a MediaWiki site with information I wanted to keep. Recently, all the content on the site has been deleted and replaced with a hacker(s) ads. How do I prevent unapproved edits to my site and can I roll back to a previous version? The site is being hosted through bitnami on AWS. Tradman1 (talk) 15:41, 5 October 2015 (UTC)
Make sure you follow Manual:Security. That amongst other things means: Kep your wiki updated! Don't use old versions!
Latest comment: 10 years ago5 comments1 person in discussion
I run mediawiki V 1.22.6 and i tried to follow the instructions to add the wildcard feature.
First, i don't have a folder called include, its includes. Also in this folder there is only a subfolder called search where I find the required classes that gets included in the created file.
Anyways... if i create the new file and add the require_once to the LocalSettings i can't search at all anymore. I also tried to move the create file into the searchfolder. But calling require_once causes a blank page than. What am I doing wrong??? 176.198.222.106 (talk) 10:16, 6 October 2015 (UTC)
Turning on the php errors resulted an including problem. So the pathes that was given in the sample are wrong. You can't include the files like this. It should be
Latest comment: 10 years ago3 comments3 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Dear colleagues,
I have encountered this problem: templates recently refused to display normally
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
How to migrate files from folder
Latest comment: 10 years ago4 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi, I'm new to this stuff, so please bare with me.
I have uploaded the "mediawiki-1.25.2" folder to my webhost. So to reach my wiki you have to write www.mydomain.se/mediawiki-1.25.2/index.php. Now I have moved all files from the folder "mediawiki-1.25.2" and put them i root at my webhost. But when entering just www.mydomain.se web browser says file not found. What have I done wrong? Is it not possible to move all files like that?
Apart from moving the files, you should also edit LocalSettings.php to change relevant variables that point to the old location. $wgScriptPath is usually one of them.
Also, check that you don't have rewrite rules or something configured to redirect your wiki directly to /mediawiki-1.25.2/index.php whenever someone loads the root of your website.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
'Ugly' URL for uncreated Wiki pages
Latest comment: 10 years ago2 comments2 people in discussion
I have followed the Manual on Short URLs and it works perfectly except for yet-to-be-created pages.
For example, on Main_Page there is a link to the uncreated page Sub_Page, this URL points to my 'ugly' MediaWiki installation folder and uses an ugly url:
MySQLdump export/import shows HEX in User table (and others)
Latest comment: 10 years ago3 comments1 person in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi. I recently migrated my servers and am not having any luck getting my MediaWiki imported. There are other tables doing the same thing, but if we focus on the user table, the export file shows that there are three users. Most of the columns are human-readable and so for example, I can clearly read the user_name column, the user_real_name, user_touched, etc. They all look correct.
When I import these to my new server the result in the database is all HEX.
It clearly has something to do with the encoding and all of that, but I cannot for the life of me figure out how to get it to work. I've searched the web for a few days and am finally turning to the experts.
Export process from old server: mysqldump -vv --hex-blob -h HOST -u NAME -p DB > EXPORT.sql
...and here is my import process to new server: mysql -h NEWHOST -u NEWNAME -p NEWDB < EXPORT.sql
I should note that the added "--hex-blob" came from a post I found online. I thought it would help, but it does not. The results look identical if I exclude it from the export process. 24.155.109.218 (talk) 23:42, 6 October 2015 (UTC)
FIXED. Turns out it is a front-end encoding/display issue with PHPMyAdmin and not necessarily the import. I can confirm through the backend MYSQL shell that the data is in there and working properly.
A second issue (unrelated to this) causing my images not to load initially suggested to me that the processor was trying to load the incorrect names and thus failing. That's not the case.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Simple way to set certain articles as private and not viewable by anonymous users
Latest comment: 10 years ago3 comments2 people in discussion
On my wiki 90% I would like to set as open for all in the organization. But there is that small 10% of articles which I would only like viewable if the person is logged in to the wiki and has an account. I looked at all the different access restrictions extensions but they more geared for block one from accessing an other groups articles. Is there a simple way to mark an article private and for credentialed users only? Kaysevenmm1 (talk) 00:40, 7 October 2015 (UTC)
This seems good, but it is still to much I would have to create white list. I looking for something more basic. The wiki I am working with will be accessed by both costumers and employees. I want to the customers to be able to access the articles ...but certain articles should be limited to just for employees. Employees will be the only ones with logins. Kaysevenmm1 (talk) 05:51, 8 October 2015 (UTC)
IRC Bot logger
Latest comment: 10 years ago3 comments2 people in discussion
Hi, anyone know an existent bot that can log IRC stuff onto a mediawiki page (e.g. !log restart service, gets logged on a page on my mediawiki site?. It will help me log what I do on shell to my mediawiki site so my actions can be logged. Reception123 (talk) 10:54, 7 October 2015 (UTC)
Latest comment: 10 years ago1 comment1 person in discussion
I run mediawiki V 1.22.6 and i tried to follow the instructions to add the wildcard feature.
First, i don't have a folder called include, its includes. Also in this folder there is only a subfolder called search where I find the required classes that gets included in the created file.
Anyways... if i create the new file and add the require_once to the LocalSettings it causes a blank page than. What am I doing wrong??
but it still drops an error lile Cannot make static method so the fix for this is change this:
function legalSearchChars() {
return "A-Za-z_'0-9\\x80-\\xFF\\-*?+";
}
to
public static function legalSearchChars() {
return "A-Za-z_'0-9\\x80-\\xFF\\-*?+";
}
But this isn't the end! :( Now my problem is, the added script causes a problem from a undefined method of $wgContLang. Obviously it has no method stripForSearch really could need some help here. Dwza (talk) 15:37, 7 October 2015 (UTC)
does anyone have this extension?
Latest comment: 10 years ago3 comments2 people in discussion
I am looking for this extension, have used it in past and works good but have lost it so anyone have a copy?
than you...i tried installing but your correct does not work, the maps work but not the editor, was worth a try though. pity there is not something similar been created 86.28.140.107 (talk) 10:52, 8 October 2015 (UTC)
free as more space as possible from database - dottor_z
Latest comment: 10 years ago4 comments3 people in discussion
i need to free as more space as possible from the db, so i would like to delete entries on the following tables
Shouldn't the recentchanges table be filled with changes from the last 90 days and older changes should get removed. Obviously this removal is not happening in your case.
There is a maintenance script to rebuild the contents of the recentchanges table; this will make sure that old entries get removed.
See Manual:$wgRCMaxAge to configure how long they should stay. Note that on each edit there is a 1% chance that the recent changes table will be purged.
I see no point in running the rebuildall.php script if it will generate the table with the same contents... A externallinks table so bloated probably means your wiki is filled with tons of spam pages. Have you ever looked who is editing your wiki? See also Manual:Combating spam although it may be too late now Ciencia Al Poder (talk) 09:21, 9 October 2015 (UTC)
setPageTitle(), Article.php error
Latest comment: 10 years ago3 comments3 people in discussion
Hi
I recently upgraded from version 1.22 to 1.25. Every page now returns the error:
Fatal error: Call to a member function setPageTitle() on a non-object in /wiki/includes/page/Article.php on line 512
and special pages the error:
Fatal error: Call to a member function setArticleRelated() on a non-object in /wiki/includes/specialpage/SpecialPage.php on line 353
Unusually, Google returns nothing on the subject, which suggests this is a unique error - which is itself surprising as the upgrade was smooth.
Did you upgraded your extensions as well? This looks like it's being caused by one of your installed extensions. The extension may not be compatible with MediaWiki 1.25 Ciencia Al Poder (talk) 09:22, 8 October 2015 (UTC)
I am sure there is a simpler way of showing osm similar to the googlemap above. Anyone know how to achieve this. I looked at all the maps documentation but it talks about georeferencing but not having a simple way like above as google does. I am not a fan of google maps and prefer osm, am sure there is a way of doing it but cannot figure out how. Gmdesignuk (talk) 23:19, 7 October 2015 (UTC)
Cannot view content
Latest comment: 10 years ago4 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi-
I've recently come back to a group that I was involved with for years.
Many of the folks that were relied upon for tech help have gone away.
The wiki has been one of the glues that hold the group together.
None of the pages are visible, although if one looks at history / source, all of the data appears to be there.
Any guidance is appreciated
Warning: require_once(extensions/malarbor.php): failed to open stream: No such file or directory in /home/shireroth/public_html/wiki/LocalSettings.php on line 136
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Wrong count of pages
Latest comment: 10 years ago5 comments3 people in discussion
While clearing up another Problem (Language inconsistency at "Create account" - de-formal) I stumbled across the page count on the "Create-account"-page. On my wiki (http://liturgica-notata.wiki.gwdg.de ) we have created nearly 200 pages, but the system message tells me "97 Seiten". Thanks to the tip Ciencia Al Poder gave me on my previous problem, I was able to track down the system message, it is createacct-benefit-head2 that links to the template ((NUMBEROFARTICLES)). I have no experience with templates, so I have no idea how to go on.
PS: I'm not happy with the editor. No preview-button, and the text of the template got converted to "30.555" even when I tried to add the nowiki-tag. LiturgicaNotata (talk) 07:52, 8 October 2015 (UTC)
I just read the Manual:Article count, and I'm not sure what the sentence "In recent versions of MediaWiki, the existence of links is checked against the values that you also find in the database tables, including not only pagelinks but also templatelinks, categorylinks and imagelinks." means. Does it mean: Pages that include categorylinks but not links to pages in the namespace are not counted? That might explain why so many of the pages in my wiki are not counted: I think all contain categories, but only a part of them have actually links to other pages in the namespace. If so, I think I should try to find a way to change the way of counting in my wiki.
As for the PS: No, there was really no preview function. But inside of the Editor mask there is on the right a symbol "Zum Wikitext-Editor wechseln"; I just tried that, and there, instead of those symbols that were there, I see now the text "Wikitext verwendet Markup und du kannst jederzeit eine Vorschau des Ergebnisses anzeigen". I think I should change my preferences accordingly... LiturgicaNotata (talk) 06:17, 12 October 2015 (UTC)
Latest comment: 10 years ago4 comments2 people in discussion
I used Godaddy to install the lastest media wiki www.wantashi.net and the reflist is not working, cites is installed but the reflist or <reference > tag does not work Africanist101 (talk) 10:24, 8 October 2015 (UTC)
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
Not a mediawiki.org or MediaWiki related question.
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 tried to register an account on www.robot-forum.com, but I don't get an activation email. I have clicked the sent a new email button several times but the email is still not coming. How can i solve this? 46.44.171.185 (talk) 11:07, 8 October 2015 (UTC)
You need to contact the site owner, instead of opening a topic here. This is the place where you can get help for the MediaWiki software, not for any third party platform and/or software :) Florianschmidtwelzow (talk) 11:22, 8 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Invalid callback MyExtensionHooks::onLogException in hooks for LogException
Latest comment: 10 years ago2 comments2 people in discussion
Hi ,
I removed tthe older version of MediaWiki 1.13 and installed Mediawiki 1.25. I completed all the config changes and ran update.php and it ran fine for the first time. But now i get an exception Invalid callback MyExtensionHooks::onLogException in hooks for LogException and the following error in debug_log
Did you upgraded your extensions as well? This looks like it's being caused by one of your installed extensions. The extension may not be compatible with MediaWiki 1.25 Ciencia Al Poder (talk) 09:50, 9 October 2015 (UTC)
Simple question about misspelled search terms.
Latest comment: 10 years ago1 comment1 person in discussion
We are using MediaWiki version 1.19. When I search for a misspelled word, I get "no results matching the query." How does one enable "did you mean" functionality? Will we get this if we upgrade to a newer version, or do we need to change search engines, or need to add and extension? Any help is appreciated. Msedita (talk) 15:07, 8 October 2015 (UTC)
Preventing spam - invisible captcha
Latest comment: 10 years ago4 comments3 people in discussion
Hi. Regarding preventing spam on my website, http://www.speedypedia.info/ - I want to try to create an invisible captcha, that will use the math captcha to ask a math question, such as 75+10. But increment each number by a number selected randomly per session (n), so for example if this number is n=2 then the captcha will display 75+10 but expect the result of 77+12 (89) and not 85. Then a JavaScript code will update the input field to 89 after 6 seconds, and all the captcha fields will be invisible by CSS or JavaScript (*position*: absolute; *left*:-10000px; *top*:-10000px;). Then humans will not see the captcha at all, but if it takes them at least 6 seconds before they submit the form then the captcha will be correct; bots who leave the field empty or enter any number which is not 89 will fail. The number n will not be visible anywhere but the JavaScript code will know the correct solution (89).
I want to know if anybody tried this solution before and if you think it can prevent bots from creating accounts or articles on my website? And are there any developers who can help me create such an extension to MediaWiki, which will be used with ConfirmEdit?
By the way, Speedypedia supports Hebrew and English, and only the English version is currently protected by username & password, because it was flooded with spam. The Hebrew version was never flooded with spam. If you want to see the English version, please contact me personally on http://www.speedysoftware.com/uri/en/
> The number n will not be visible anywhere but the JavaScript code will know the correct solution (89).
??? JavaScript is client side code, so basically any bot has the ability to know the answer :) It "just" need to read the incoming JS code.
And your thoughts will work for bots that try to register as much as possible accounts all over the web, but it will definitely won't work for targeted bots. An experienced developer will (maybe) find out your little "easter egg" and program the bot to leave the field as is. Another situation would be (if you anti spam would be used on many sites), that a bot programmer would reletively easy find out, what he has to do. Your solution has one problem: It can be calculated for anyone, not just your server and humans :) Your solution isn't much better as a plain MathCaptcha.
Latest comment: 10 years ago3 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
My wiki was working great....now when anyone tries to connect I get a message.
I am not sure what user name it is asking for but what ever I try I get this message.
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Infobox problem on ARMv5
Latest comment: 10 years ago4 comments4 people in discussion
I have a Synology RS812 NAS, which runs DSM (a form of Ubuntu I think) via BusyBox v.1.16.1, on a Marvell Kirkwood mv6282 1.6Ghz ARM processor (Marvell ARMADA 300). uname -a reports Linux <Hostname> 2.6.32.12 #5592 armv5tel GNU/Linux synology_88f6282_rs812. I have fully updated the OS, and have installed MediaWiki (and dependencies) from the default Synology repository. I've enabled both Parser Functions and Scribunto extensions. My Special:Version reports as follows:
to LocalSettings.php and raised the memory_limit in etc/php/php.ini to 384M
I have exported from Wikipedia/Imported into my local Wiki all the modules and templates I should need for Infoboxes, but all I ever get is a Lua script error where I should have an infobox - always
'/volume1/web/MediaWiki/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic/lua: line 1: syntax error: unexpected "("'
in the log file, with a "Lua error: Internal error: The interpreter exited with status 2." pop-up when I click on the red Script error on the page where the infobox should be. Raising the memory_limit in etc/php/php.ini is the supposed canonical cure for that, but it doesn't seem to work for me.
I thought I'd try to upgrade the lua binaries, since 5.1.5 is not cutting edge, but I can't seem to find a repository of arm5vtel lua binaries to do that.
What am I doing wrong? Hope someone can help! My expertise extends to following instructions, but not to cross-compiling lua for armv5 processors at a guess, unless some kind soul is REALLY happy to hold my hand!
Hi. Thanks for your reply. The line you cite comes from the debug log. Unfortunately, I am not competent to debug lua, and anyway, my thinking was that it could not fundamentally be lua script syntax-related, since all the scripts have been copied unmodified from Wikipedia where they demonstrably work! Maybe the syntax error demonstrates that I have not correctly copied all the scripts? 193.108.78.10 (talk) 11:27, 13 October 2015 (UTC)
This SO question seems relevant. Apparently, the lua binary included with Scribunto is not ok with Raspberry Pi, which may be a similar problem with a synology.
Basically, try to install lua from your distribution and set $wgScribuntoEngineConf['luastandalone']['luaPath'] to the path of the lua executable and see if that works. 62.81.165.199 (talk) 09:26, 14 October 2015 (UTC)
Is there a way to remove the "page" tab
Latest comment: 10 years ago1 comment1 person in discussion
I would like to remove the page tab label from anonymous users. Can this be done or does there have to be label?
confused newbie who has uploaded to Commons, rejected, seeks to upload againwa
Latest comment: 10 years ago2 comments2 people in discussion
I'm totally confused. I registered (and am still logged on) on Oct 1, then posted an article to Wiki Commons. I understand that I needed to wait for 4 days and/or 10 edits to post the item to English Wiki. I'm not sure the article was approved; one comment said that it was unlikely to be approved because it lacked references, and another reason that I didn't understand. I have since filed in Wiki Commons a REVISED version with REFERENCES. How soon can I upload this version to English Wiki? Am I not a registered user, with rights to upload, etc. I realize this is very elementary, but ... Please tell me the correct order to do things. Kolbeseder1 (talk) 01:02, 9 October 2015 (UTC)
Latest comment: 10 years ago8 comments3 people in discussion
I'm a new member and I've recently starting doing some phpwiki editing. I'd appreciate some assistance with a dilemma I've been having. I'm using MediaWiki, according to the image in the bottom left of my Wiki.
As for the backstory, I'm working as a moderator for an online text game, and my primary role is to update the Wiki, which is the subject of my dilemma. The page I'm currently working on (which you'll find below) is a simple alphabetical list category page, with essentially nothing on it; rather, other pages have tags that revert to the 'category page' and thus they appear on the list in supposed alphabetical order. The tag I use is as follows:
[[Category:Units (Lightning)|Template:PageName]]
The above tag goes on other 'unit' pages, and the title of those unit pages appear on the list I'm working on. So, backstory over. Now begins the problem.
There are unit titles appearing on the list that I don't want to appear. So, naturally, I went into those unit pages, and deleted the tag from the page. Problem solved, right? No. Instead of disappearing off the list like they were supposed to, they moved from their appropriate spot alphabetically and appeared in the MIDDLE of the list for no apparent reason. After checking (and re-checking) the unit pages for ANY TAGS whatsoever, I could find no explanation for why they are appearing on my list. You'll notice, on the list itself, that 'Assassin' and 'Minor Elemental' appear out-of-order (second column, middle). Those are the titles I attempted to delete. And, because the list itself has...essentially nothing on it to delete, I can't simply edit the list and delete it. This is my problem.I've tried deleting the unit pages, and they still appear on the list. When I re-add the tag found above, they resume existing on the list in their CORRECT alphabetical spot, but other than that, there is literally no way I've found to remove them from this list.
I tried clearing the cache with ?action=purge, but this hasn't worked as far as I can readily ascertain. I was told, by an experienced friend, that the cache is filled with old data, and this is why this problem is occurring, but outside of trying the purge, I received no other suggestions, other than doing a dummy edit to update the page (which I did, unsuccessfully).
I would appreciate all the help I can get. The link is below. Thank you so much in advance.
Thank you so much. Could you please shed some light on how you found this page? And, perhaps how to go about running the maintenance script? As in, what would I need to do in order to proceed with the namespaceDupes? Zero275 (talk) 18:18, 9 October 2015 (UTC)
Which then noticed that the page id's were different
As per namespaceDupes.php, it will rename titles adding a prefix or suffix to the page name, so you can decide what to do with them. Try the script first without the --fix parameters to see what would do, and if the actions it performs are right, run it again with the --fix option.
But the best option IMHO would be to use the --merge option, which will attempt to merge the page histories of both to the correct name. Sadly, this option was added for MediaWiki 1.25 and you are running 1.16...
About the prefix or suffix, once moved, you could manually merge histories by deleting the page with the correct name, renaming the fixed page to the correct name, deleting, and then restoring all revisions. This could be tedious if there are many pages. Ciencia Al Poder (talk) 09:45, 10 October 2015 (UTC)
And, the best way to go about accomplishing the namespaceDupe would be to use PuTTy after being granted privilege to run maintenance scripts, correct?
Or is the manner in which I accomplish this different according to my version? I'm following these directives:
I truly appreciate all the assistance. I wish there was some way to access the actual duplicate pages (since there aren't too many I need to remove the tags from), but alas, it seems not. Zero275 (talk) 22:40, 11 October 2015 (UTC)
Yes, you need shell access to run the maintenance script. If not, you still could run some of them using Extension:Maintenance and Extension:MaintenanceShell, or setting a cron job that in turn calls the script with the appropriate parameters (some hostings may allow this even if they don't provide shell access).
Tried to resize images, now mediawiki crashes (timeout)
Latest comment: 10 years ago2 comments2 people in discussion
Hello
I attempted to resize images on my wiki using the commands give in the FAQ 50px. Upon doing this the editor freezes, gives me a HTTP Timeout error and then trying to navigate out of the page causes the loading bar to turn and turn but essentially freeze.
I am able to get back into the wiki by clearing cookies on my browser, but any attempt to upload images, access filelist or save changes to a page causes the same issue: loading bar turning and the the page freezing until I delete cookies!.
Please let me know what I am doing wrong here. Uploading images is permitted but i don't know if I need to add subsequent permissions to stop this occuring?
I don't see a connection between deleting cookies and the server being responsive again...
I'd say to look at the access and error logs of the server. Maybe the server exhausted all the memory while trying to create thumbnails for the page, or causes CPU to spike during some time, making the server irresponsive? Only a close monitoring of the server's resources can tell you. Ciencia Al Poder (talk) 16:59, 9 October 2015 (UTC)
Creating an alias using Extension:SpecialNamespaces
Latest comment: 10 years ago1 comment1 person in discussion
Latest comment: 10 years ago3 comments3 people in discussion
I am a teacher and I have to admit that one of our students has changed the title of 1.2 in the one child policy page. I have changed it to administrator.
We are very sorry for any extra work that this has created. He is being dealt with by our deputy headmaster as we speak. Please feel free to contact me for further details. Edavies86 (talk) 13:34, 9 October 2015 (UTC)
This place is mediawiki.org. It's about the software behind Wikipedia, but not about its content. :)
Since this is the only post with your user account, I believe that you may have posted this in the wrong place.
Generally, protecting a page prevents unprivileged users from editing it. Note that there also is an option for a cascading protection: If the cascadingly protected page includes templates, then these templates automatically get protected as well. Jörgi123 (talk) 16:16, 9 October 2015 (UTC)
Upgrade to 1.25.2 bad ref to skin?
Latest comment: 10 years ago2 comments1 person in discussion
RESOLVED
Load ordering of skins was the cause of the problem. See final comment in 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.
I just completed the upgrade from 1.15.1 to 1.25.2. I followed the instructions by renaming old wiki directory and replacing with 1.25.2 new wiki directory and reference the skin 'Modern' in my LocalSettings:
SkinTemplate.php is in /public_html/w/includes/skins and MonoBookTemplate.php is in /public_html/w/skins/MonoBook on the server. .digamma (talk) 15:48, 10 October 2015 (UTC)
Turns out it was the order of the loading of the skins in the LocalSettings file. Here was the successful, and working (error free) ordering (probably also the listed order when no skin is defaulted):
wfLoadSkin( 'MonoBook' );
wfLoadSkin( 'Modern' );
wfLoadSkin( 'CologneBlue' );
wfLoadSkin( 'Vector' );
From here, you can specify any skin as default without error. This is because the load dependencies of a skin must be loaded before that skin is loaded. More specifically, Modern depends on MonoBook as stated by its man page. .digamma (talk) 03:34, 11 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Hook to replace the src attribute of thumbs?
Latest comment: 10 years ago1 comment1 person in discussion
I want to create lazy loading thumb images using </span>[[File:Foo.jpg|300]]. This should remove the src attribute and add a data attribute with the url for the script which then inserts the src attribute.
Helpt to change. Myanmar(Burmese) input method extension is not Unicode.
Latest comment: 10 years ago2 comments2 people in discussion
Myanmar (Burmese) in put method using "Extension:UniversalLanguageSelector/Input methods/my-kbd" is not proper unicode font and keyboard layout.
Please help and change it or please tell me how to change it. I can provide with latest unicode, open source, Myanmar3 font which enable the Myanmar(Burmese) sorting too.
Latest comment: 10 years ago2 comments2 people in discussion
I'm getting pretty fed up with being notified that my vandalism has been reverted. The only time I see vandalism on wikipedia these days is when you assume I'm on a static ip and have made the changes myself. This is a dynamic IP on a mobile network, one with a relatively high number of silly kids using it. Chances of a vandal being notified that their 'work' has been reverted, bugger all. Chances that they would care? About the same. These notifications mostly just annoy legitimate users. I really think that you should reconsider having them for IPs. I am sure you have mechanisms in place to stop an IP editing pages once it's chalked up a few bad edits. Vandals usually have little trouble hopping to fresh IP. I know that I could grab a fresh one in about 20 seconds. Pictsidhe (talk) 04:47, 11 October 2015 (UTC)
This is the support desk for MediaWiki software. Your concern should be posted on the local wiki where this problem happens, since that would involve local policies that we don't handle. Ciencia Al Poder (talk) 18:54, 11 October 2015 (UTC)
Extract page information for use in a table
Latest comment: 10 years ago2 comments2 people in discussion
I want to extract information from all pages in a category and combine them into a table.
The information on the page is arguments to a template.
I want to specify which argument that should be placed in which column, like argument x for the template should go in table column 1 and argument y should go in column 3.
Latest comment: 10 years ago2 comments2 people in discussion
Previously, Magic words were localized via translate wiki for Urdu language, but now it is disabled. So how we can translate and view these localized magic words? Muhammad Shuaib (talk) 18:38, 11 October 2015 (UTC)
You can't do that. Sitenotice won't change per-page, and it's generated in the context of the MediaWiki:sitenotice page. You'll need to think an alternate way of doing what you want Ciencia Al Poder (talk) 09:28, 13 October 2015 (UTC)
MultiLanguageManager
Latest comment: 6 years ago5 comments5 people in discussion
Hi,
I am a new member here, I'm familiar with media wiki (and Extension "BlueSpice") as an Author. I'm new in administrative Topics. (But did a lot php and SQL programming years ago).
I installed MediaWiki successful (I also Plan to install BlueSpice, but didn't yet. Hope it works together with MultiLanuageManager).
Now I want to install MultiLanguageManger, because I have english and german users and want to make them able to switch languages like in wikipedia.org.
First of all, it seems to me that the download link is dead (Extension:MultiLanguageManager), where can i download the Extension?
I would have doubts that code that was last touched in 2007 works with recent versions of MediaWiki. As you write "switch languages like in wikipedia.org": Wikipedia does not use MultiLanguageManager. Malyacko (talk) 08:27, 13 October 2015 (UTC)
Latest comment: 10 years ago2 comments2 people in discussion
I wish to combine 2 pages of the OpenSCAD into one. I have no problem combining the contents into one of the two pages. What needs to go into the other page, so I don't mess things up? LABoyd2 (talk) 19:01, 12 October 2015 (UTC)
Thanks, turns out I used it in a function that fired on $(document).ready() and $(window).load() depending on mobile or not. Using mw.loader.using('jquery.cookie').done() now. Subfader (talk) 19:49, 12 October 2015 (UTC)
trying to login on other mediawiki pages, cannot
Latest comment: 10 years ago2 comments2 people in discussion
I've been trying to login to edit a wiki for a while, but whenever I try to login on that wiki, it says that my username does not exist. But when I go to the mediawiki home page or a similar page, like here, my username is accepted.
Latest comment: 10 years ago2 comments2 people in discussion
Segnalo il cattivo comportamento di un ally che utilizza il mio nik per prendermi in giro richiedo un intermento urgente
il Mio Nik è Tiramisu IL MONDO è PSI e l'ally usa il il mio nik più un insulto come nome dell'ally richiedo che i responsabili sia bannati Ruggeroballarin (talk) 07:18, 13 October 2015 (UTC)
I understand that you are reporting a user, who has behaved badly.
Please note that this is the Support Desk for MediaWiki, the software used to run wikis like Wikipedia.
Should this user have behaved badly in a wki of the Wikimedia Foundation, then you should report him on the according pages, e.g. in the Italian Wikipedia, if this is, where the problem exists!
Should he have behaved badly somewhere else, in another wiki, then you should inform the administrators of that wiki. They will be able to help you then! 88.130.77.35 (talk) 03:30, 14 October 2015 (UTC)
TivoliAccessmanager Plugin
Latest comment: 10 years ago1 comment1 person in discussion
Hi Recently we removed our old MediaWiki version and intsalled Media wiki 1.25.
In Previous version we used the Tivali Access manager Plugin
Latest comment: 10 years ago5 comments3 people in discussion
RESOLVED
not recommended because it's not actively supported
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi guys,
we have installed a Mediawiki on Windows Server 2012 R2 with an MS SQL Server 2012 Express. After we figuredout that MEdiawiki isn't compatible with MS SQL Server 2014 we installed a SQL Server 2012 an the installation of meidawiki run through. Today i wanted to copy the posts of our old Mediawiki into the new one but i received only error messages .
The first on:
645 [SQLSTATE 42000][Error Code 7645][Microsoft][ODBC Driver 11 for SQL Server][SQL Server] The fulltextpredicat is NULL or emtpy SQLSTATE 42000][Error Code 8180][Microsoft][ODBC Driver 11 for SQL Server][SQL Server] query can't get prepared
Te second one:
156 [SQLSTATE 42000][Error Code 156][Microsoft][ODBC Driver 11 for SQL Server][SQL Server] worng syntax near the user-keyword [SQLSTATE 42000][Error Code 8180][Microsoft][ODBC Driver 11 for SQL Server][SQL Server] query can't get prepared [SQLSTATE 01000][Error Code 16954][Microsoft][ODBC Driver 11 for SQL Server][SQL Server] SQL wil be execute directly, without cursor
Is Mediawiki compatible with MSSQL because i dont find it in the system requirements for database but in the installtion progress, you find a hint which say that you can use MSSQL. Ballettfreak (talk) 11:15, 13 October 2015 (UTC)
MSSQL is somewhat supported, but by volunteers, and according to T113831 only for LTS versions. I won't recommend you to use SQLServer in production. mysql is the best option, since it's thoroughly tested. Ciencia Al Poder (talk) 09:21, 14 October 2015 (UTC)
Please elaborate what exactly you created, how someone would see that "it" "comes to live", and what is there to "revert" exactly. Thank you! Malyacko (talk) 18:26, 13 October 2015 (UTC)
AutoAuthentication not working
Latest comment: 10 years ago1 comment1 person in discussion
My wiki page is working perfectly, except I'm forced to manually log in with my domain account, the auto authentication isn't working. Here is my LocalSettings.php:
Latest comment: 10 years ago2 comments2 people in discussion
Hi there,
I just found out about MediaWiki. But before spending many hours of work on it, I would first like to ask if there are already translations into other languages. To be specific: I need it in German.
I tried to add ApprovedRevs and some other extensions which I've done on different OS's previously. I used Web Platform Installer 5.0 to install mediawiki 1.25.2 .After modifying LocalSetting.php with any extension and adding the folder to the extensions folder location any non specialpage crashes with a 500 error.The extension method looks different and I failed to locate any documentation on how this extension syntax.
----------------
# Enabled Extensions. Most extensions are enabled by including the base extension file here
# but check specific extension documentation for more details
# The following extensions were automatically enabled:
Latest comment: 10 years ago1 comment1 person in discussion
Hi,
My extension https://github.com/mediawiki4intranet/TikaMW has relied on the SearchUpdate hook to extract indexable text from binary file contents. This hook is removed since 1.22. What replacement can I use for it?
TikaMW is an extension that uses https://tika.apache.org/ to extract contents from binary (office, pdf and other formats) documents and add them to indexed text.
I've tried to ask in the mailing list, but got no real answer :)
I know there's a way to override the content extraction method in SearchEngine subclasses, but I don't think it should be a feature of SearchEngine - I think it's something independent from SearchEngine.
Latest comment: 10 years ago4 comments4 people in discussion
Hello,
I installed mediawiki and started my own project. Then I decided to back it up and my ignorant way to do it was to copy the files from the server to my computer.
I deleted everything in the server and the database in my server provider as well.
I try to find the files with the articles of my wiki in the folder MediaWiki but I can't.
Did I loose everything? Is there any way I could recover my articles?
Obviously you've lost the database, which is where all the content of the wiki was (except images).
If your database server had binary logs enabled, you can restore the database using the binary logs, assuming they're intact. Otherwise, there's nothing you can do to recover the data, unless the wiki is public and google has cached pages of the wiki on the search indexes. Ciencia Al Poder (talk) 19:40, 15 October 2015 (UTC)
I tried, but I wasn't sure what to do with the extensions which didn't have extension.json files... I am falling back to 1.23.10 till things are a bit more stable on the extensions ends. Thanks for the reply Ciencia. MindMyBool (talk) 20:53, 15 October 2015 (UTC)
The extension.json files are not relevant in MediaWiki 1.23 at all. For MediaWiki 1.23 it should be irrelevant, if an extension has such a file or if it has not. MediaWiki 1.25 is the first version to use the new extension registration.
Latest comment: 10 years ago3 comments2 people in discussion
Hello,
I have installed a wiki locally (desktop machine with windows 7) and the loading of each page is very slow. After activation of the debug log I've catched some error messages.
On the Main page (page with no text):
Tidy error detected!
[slow-parse] 9.52
On another page (fr:Illbient imported from the frWiki) with some text and one basic infobox:
Tidy error detected!
[slow-parse] 65.91
a json error (see trace below)
JSON error
[error-json] {"id":"d9d02320","type":"ErrorException","file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaStandalone\\LuaStandaloneEngine.php","line":252,"message":"PHP Notice: ","suppressed":true,"url":"/mediawiki/index.php/Illbient","backtrace":[{"function":"handleError","class":"MWExceptionHandler","type":"::","args":["integer","string","string","integer","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaStandalone\\LuaStandaloneEngine.php","line":252,"function":"trigger_error","args":["string"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaStandalone\\LuaStandaloneEngine.php","line":114,"function":"__construct","class":"Scribunto_LuaStandaloneInterpreter","type":"->","args":["Scribunto_LuaStandaloneEngine","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaCommon\\LuaCommon.php","line":95,"function":"newInterpreter","class":"Scribunto_LuaStandaloneEngine","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaStandalone\\LuaStandaloneEngine.php","line":8,"function":"load","class":"Scribunto_LuaEngine","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaCommon\\LuaCommon.php","line":197,"function":"load","class":"Scribunto_LuaStandaloneEngine","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaCommon\\LuaCommon.php","line":847,"function":"getInterpreter","class":"Scribunto_LuaEngine","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaCommon\\LuaCommon.php","line":864,"function":"getInitChunk","class":"Scribunto_LuaModule","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\common\\Hooks.php","line":113,"function":"invoke","class":"Scribunto_LuaModule","type":"->","args":["string","PPTemplateFrame_DOM"]},{"function":"invokeHook","class":"ScribuntoHooks","type":"::","args":["Parser","PPTemplateFrame_DOM","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3771,"function":"call_user_func_array","args":["string","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3505,"function":"callParserFunction","class":"Parser","type":"->","args":["PPTemplateFrame_DOM","string","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Preprocessor_DOM.php","line":1169,"function":"braceSubstitution","class":"Parser","type":"->","args":["array","PPTemplateFrame_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3647,"function":"expand","class":"PPFrame_DOM","type":"->","args":["PPNode_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Preprocessor_DOM.php","line":1169,"function":"braceSubstitution","class":"Parser","type":"->","args":["array","PPTemplateFrame_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Preprocessor_DOM.php","line":1614,"function":"expand","class":"PPFrame_DOM","type":"->","args":["PPNode_DOM","integer"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3644,"function":"cachedExpand","class":"PPTemplateFrame_DOM","type":"->","args":["string","PPNode_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Preprocessor_DOM.php","line":1169,"function":"braceSubstitution","class":"Parser","type":"->","args":["array","PPFrame_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3322,"function":"expand","class":"PPFrame_DOM","type":"->","args":["PPNode_DOM","integer"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":1231,"function":"replaceVariables","class":"Parser","type":"->","args":["string"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":589,"function":"internalParse","class":"Parser","type":"->","args":["string","boolean","boolean"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Cite\\Cite_body.php","line":686,"function":"recursiveTagParse","class":"Parser","type":"->","args":["string"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Cite\\Cite_body.php","line":628,"function":"referencesFormat","class":"Cite","type":"->","args":["string"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Cite\\Cite_body.php","line":559,"function":"guardedReferences","class":"Cite","type":"->","args":["string","array","Parser"]},{"function":"references","class":"Cite","type":"->","args":["string","array","Parser","PPTemplateFrame_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":4212,"function":"call_user_func_array","args":["array","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\CoreParserFunctions.php","line":992,"function":"extensionSubstitution","class":"Parser","type":"->","args":["array","PPTemplateFrame_DOM"]},{"function":"tagObj","class":"CoreParserFunctions","type":"::","args":["Parser","PPTemplateFrame_DOM","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3771,"function":"call_user_func_array","args":["array","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3505,"function":"callParserFunction","class":"Parser","type":"->","args":["PPTemplateFrame_DOM","string","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Preprocessor_DOM.php","line":1169,"function":"braceSubstitution","class":"Parser","type":"->","args":["array","PPTemplateFrame_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Preprocessor_DOM.php","line":1614,"function":"expand","class":"PPFrame_DOM","type":"->","args":["PPNode_DOM","integer"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3644,"function":"cachedExpand","class":"PPTemplateFrame_DOM","type":"->","args":["string","PPNode_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Preprocessor_DOM.php","line":1169,"function":"braceSubstitution","class":"Parser","type":"->","args":["array","PPFrame_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3322,"function":"expand","class":"PPFrame_DOM","type":"->","args":["PPNode_DOM","integer"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":1231,"function":"replaceVariables","class":"Parser","type":"->","args":["string"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":434,"function":"internalParse","class":"Parser","type":"->","args":["string"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\content\\WikitextContent.php","line":333,"function":"parse","class":"Parser","type":"->","args":["string","Title","ParserOptions","boolean","boolean","integer"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\content\\AbstractContent.php","line":497,"function":"fillParserOutput","class":"WikitextContent","type":"->","args":["Title","integer","ParserOptions","boolean","ParserOutput"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\poolcounter\\PoolWorkArticleView.php","line":140,"function":"getParserOutput","class":"AbstractContent","type":"->","args":["Title","integer","ParserOptions"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\poolcounter\\PoolCounterWork.php","line":123,"function":"doWork","class":"PoolWorkArticleView","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\page\\Article.php","line":674,"function":"execute","class":"PoolCounterWork","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\actions\\ViewAction.php","line":44,"function":"view","class":"Article","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\MediaWiki.php","line":395,"function":"show","class":"ViewAction","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\MediaWiki.php","line":273,"function":"performAction","class":"MediaWiki","type":"->","args":["Article","Title"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\MediaWiki.php","line":566,"function":"performRequest","class":"MediaWiki","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\MediaWiki.php","line":414,"function":"main","class":"MediaWiki","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\index.php","line":41,"function":"run","class":"MediaWiki","type":"->","args":[]}]}
[gitinfo] Computed cacheFile=C:\Bitnami\mediawiki-1.25.2-0\apps\mediawiki\htdocs/cache2/gitinfo/info.json for C:\Bitnami\mediawiki-1.25.2-0\apps\mediawiki\htdocs
Unfortunately, I not able to correct this problem. I can only see with Firebug for Firefox that there is no client-side errors and the problem is server-side.
Latest comment: 10 years ago3 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I am trying to add a favicon to my wiki. I followed the guidelines on Manual:$wgFavicon
I put the icon file in the root of my mediawiki install folder.
I tried that but no luck. I was able to get it to show up by adding the icon file to the same folder as the wiki logo image. Kaysevenmm (talk) 19:22, 16 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Dataupload
Latest comment: 10 years ago5 comments3 people in discussion
I just tried upload a picture. It's a .jpg but if i try to upload and click the button an internal error appears which say ,fatal exceptionerroer of type „MWException“'. I enabled the dataupload at installation. Know anybody something? Ballettfreak (talk) 09:38, 16 October 2015 (UTC)
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php:300) in C:\inetpub\wwwroot\pdvwiki\includes\WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php:300) in C:\inetpub\wwwroot\pdvwiki\includes\WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php:300) in C:\inetpub\wwwroot\pdvwiki\includes\WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php:300) in C:\inetpub\wwwroot\pdvwiki\includes\WebResponse.php on line 37
The first line is enought: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir". Does the C:\inetpub\wwwroot\pdvwiki\images\l folder have permissions for the webserver to create files and folders on it? Apparently it doesn't. Ciencia Al Poder (talk) 09:33, 20 October 2015 (UTC)
new user page with user name
Latest comment: 10 years ago4 comments2 people in discussion
Hello there!
Is
it possible to create a link a user can click, which link shown would
automatically show the user's name, for the purpose of creating a
template for users to create a page based on his/her name?
*For example, I have created a template called T/newpage
*Then
in that template I suggest a page creation using a link like newpage/$1
($1=username) linking to the template I called T/newpage, so that for
example newuser called Istorio automatically create a page called
newpage/Istorio just by clicking that link.
What i am
asking simply is how can I create a link on a template that will not
only pull the name of the registered user, but also create a page using
the name of that user.
Because of the double curly brackets used for the extention, I am a little confused as to how to fill the new page according to a pre-made temple.
For example mywiki/CURRENTUSER (CURRENTUSER being surrounded by 2 opening and 2 closing closing curly brackets to activate the extention) indeed leads to a page that bears the name of the current user, but I am confused on how to make a link that create a new page with that name based on a template, because linking to a template also seem to involve double curly brackets. Could there be a conflict?
Patch to 1.23.11 breaks wiki because of wfShorthandToInteger call
Latest comment: 10 years ago5 comments4 people in discussion
within includes/Setup.php you added a call to wfShorthandToInteger which is still undefined function until a later included GlobalFunctions.php in the same file.
Neither the update.php nor any frontend page works after patching.
I added the include before that call at line #300 and it works.
Sorry, maybe I misunderstand you, but GlobalFunctions.php is loaded in WebStart.php in line #101, before the load of Setup.php in line #159. And even for a command line script, GlobalFunctions.php is loaded before Setup.php.
Can you check, if there is another problem in your setup and if all files was patched correctly? I assume, that you haven't changed any file in mediawiki/core? If not, you should report a bug (like @Malyacko: suggested :) Florianschmidtwelzow (talk) 07:18, 19 October 2015 (UTC)
It patched without any error or warnings.
I'm using php 5.6.13, but that shouldn't be any problem I think.
Since I have two different mediawiki setups with some extensions used in only one or in both installations I still have to try something new for a bug report. Kkretsch (talk) 09:12, 20 October 2015 (UTC)
I struggled with the same problem, until I found out that the culprit was the line 'include_once("extensions/AdminLinks/AdminLinks.php");' at the end of my LocalSettings.php. I am using AdminLinks 0.2, which is the version officially supported for Mediawiki 1.24. Once I commented the line out, the update worked without any further problems. After the update I could re-add the line. Pt (talk) 12:58, 19 October 2015 (UTC)
Extension obsolescence
Latest comment: 10 years ago4 comments3 people in discussion
RESOLVED
Question answered directly: smashing.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
As I get to grips with MW, I am happy to update the docs as I go along. I am looking for something like this: Extension:Livelets and "fixed" the broken example link only to discover the code also seems to have vanished.
What is the right way, here, to flag a project/extension that is defunct?
Thanks. Could have sworn I tried the link in the box at right 8) Think I'll spend more time getting the hang of this MW thing before I start worrying about commit access. Gerdesj (talk) 22:43, 18 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
How to display template inside a infobox?
Latest comment: 10 years ago3 comments2 people in discussion
RESOLVED
thanks
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 page with an infobox on the right side, i would like to have additional info thats in a template displayed at the bottom of the infobox or on the right hand side and the article text display as normal on the left.
If I cannot have the template inside the infobox code how can i get the template to show below the infobox and still have all article text to the left. No matter what combination i do i cannot get this to work. Gmdesignuk (talk) 02:40, 18 October 2015 (UTC)
Not sure why you cannot include your template in your infobox code, but anyway, something like <div style="float:right;clear:both;">{{Ardrossan_Railway}}</div> should work. Clump (talk) 13:22, 18 October 2015 (UTC)
Latest comment: 10 years ago17 comments4 people in discussion
Hi Mediwiki-professionals,
this is my first posting here and a good time to say "Hello everyone!".
I use MW since 1.25.1. My current version is 1.25.3. It is a very small installation, that I use first and last as a personal link page. In most cases, my page appears immediately, but in some cases, it lasts up to one minute, until the page appears. I used GTmetrix and Pagespeed to figure out the reasons, but I couln't find anything. Each time, my WM-Page is analyzed by these tools, it performs very quick.
I have an own managed server, where a few WordPress site are installed. They all work perfect without the issue mentioned here.
Has anyone of you got any idea, how I could solve this issue?
Half a second. Up to now, the performance problems only came up, when I opened the page. It is a personal, password-protected link collection, that I use as startpage in my browsers. Silvernerd1 (talk) 08:43, 20 October 2015 (UTC)
Maybe the slowness happens only on the first load of the page after some time without accessing it? Maybe the server is configured to shut down some worker processes to save resources on the server, and the first connection after a while wakes up a new thread, which may take a bit to initialize. Ciencia Al Poder (talk) 09:29, 20 October 2015 (UTC)
That would be a good explanation. Unfortunately, the performance problem comes up unpredictabily. E.g. creating a new page lasted one minute a short time ago. I have beeen editing my page since a while, and everything worked fine up to that moment. Silvernerd1 (talk) 10:50, 21 October 2015 (UTC)
I further investigated this issue, and I found out, that the main problem is DOM loading and processing (analysis here).
Could this be a problem of accessing ressources like jquery / json / ajax / ... , that are loaded from external servers during runtime? Is it possible, to keep this ressources local? Or to cache them? Silvernerd1 (talk) 07:07, 22 October 2015 (UTC)
It is not a problem of too many page revisions. I deleted all (800 or so) without any success.
It is also not a problem of the complexity of my start page. I declared an empty page as mainpage => no success ...
Whoops, I started replying the other day but I probably got distracted by something and ended up not replying...
The problem is that load.php URL that takes 20 seconds.
The contents of those load.php URLs are cached in database, and then from time to time they're regenerated. I'd think they get regenerated when the URL changes because some dependency script is modified, but that shouldn't happen unless you perform an upgrade or touch some scripts... I'm not a ResourceLoader expert, though
It will generate a file for each load.php request (so you can inspect each of them separately and they don't end writing on the same log at the same time). The first line of the log should have the request URL so you can differentiate them. Still, it doesn't output many interesting things, and logs don't have timestamp. If that doesn't show anything useful, then you'll need to set up profiling. Note that it requires a php extension that may not be available on your server, which may make that option not viable.
I added this to the code (inside the if) to enable it, after installing xhprof and creating the required database table:
I created a directory called '/mis-files' with 777 rights directly under the root of my wiki and I added the following code an the end of LocalSettings.php
if ( isset( $_SERVER['SCRIPT_NAME'] ) && pathinfo( $_SERVER['SCRIPT_NAME'] )['basename'] == 'load.php' ) {
$wgDebugRawPage = true;
// Uncomment this line to see all SQL queries being done
$wgDebugDumpSql = true;
// Adapt this path to a directory writable by the webserver
$wgDebugLogFile = sprintf( '$IP/mis-files/loadphp-%s.log', substr( md5( $_GET['modules'] ), 0, 5 ) );
}
You must change the single quotes in '$IP/mis-files/loadphp-%s.log' with double quotes, otherwise $IP won't be substituted by the real variable value Ciencia Al Poder (talk) 10:57, 3 November 2015 (UTC)
I asked my provider's support team to check this issue. They told me, that they checked my site at multiple times of day and that they couldn't find any performance problems.
Since then, I also don't have these problems any more. I suppose, they found the reason and fixed it.
How do I increase the font size on my wiki sidebar?
Latest comment: 10 years ago3 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I am setting up a wiki and would like to make the sidebar menus font a little bigger without changing the font on the regular articles. Kaysevenmm (talk) 13:26, 19 October 2015 (UTC)
That works with something like the following CSS code:
Latest comment: 7 years ago2 comments2 people in discussion
By default it looks like "Content [show]", where you have to click "show" for the ToC to display.
I want to change it into something that looks more like this: "Content v", where the user can click the whole of "Content v", which then toggles to something like "Content ^".
See the WebM below for what I mean. Right now, I have to click the icon which is my replacement for the "[show/hide]" button. I want to be able to click the full button.
The code that displays the button, located in "/includes/Linker.php" looks like this:
/**
* Wraps the TOC in a table and provides the hide/collapse javascript.
*
* @param string $toc Html of the Table Of Contents
* @param string|Language|bool $lang Language for the toc title, defaults to user language
* @return string Full html of the TOC
*/
public static function tocList( $toc, $lang = false ) {
$lang = wfGetLangObj( $lang );
$title = wfMessage( 'toc' )->inLanguage( $lang )->escaped();
return '<div id="toc" class="toc">'
. '<div id="toctitle" class="roundedCorner togglelink2"><h2>' . $title . "</h2></div>\n"
. $toc
. "</ul>\n</div>\n";
}
Latest comment: 10 years ago2 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
1.25.1 is an "old version of Mediawiki"? BTW, I have the same exact problem on another install of MLEB on MW 1.25.2 which I'm doing concurrently. DaveLMW 1.25.1, PHP 5.4.37, MySQL5.1.73-cll SMW 2.2 13:47, 20 October 2015 (UTC)
RESOLVED - the MLEB had an old version of CleanChanges extension. DaveLMW 1.25.1, PHP 5.4.37, MySQL5.1.73-cll SMW 2.2 15:20, 20 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Article must be approved before being published
Latest comment: 10 years ago3 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I would like to setup my companies wiki so then when a user creates an article it must be approved or vetted before it posted.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Parsing template into a variable
Latest comment: 10 years ago3 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello there.
On my wiki, a page creation is dependent on a variable: {{USERNAME}} but as far as I understand, for a page to be populated by a template content, one need to insert a hook on that page.
Unfortunately, on my wiki, a page creation is done by following a link based on a variable, so I cannot insert the hook in advance, because I don't know the name of the page that will be created,
How can I then create a link that BOTH create a new page (called by the variable) and it's content substituted by a template content, at the same time?
What would the parsing for this link be?
For example, the creating link is currently http://mywiki/{{USERNAME}}
and that creates a new page.
Should I enter something like http://mywiki/{{USERNAME}}|{{template:new}} to have that new page content automatically substituted by the template's content?
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Search autocomplete not working after update
Latest comment: 10 years ago7 comments4 people in discussion
I updated from 1.18 to 1.25 and autocomplete seems to have failed, I've done a fair bit of searching and the information I'm finding seems to all be out of date, apparently it should just work by default now, I'm not seeing any errors in the apache log and when I look on dev tools I see
<div id="simpleSearch">
<input id="searchInput" type="search" accesskey="f" title="Search Archives [f]" placeholder="Search" name="search"></input>
<input type="hidden" name="title" value="Special:Search"></input>
<input id="mw-searchButton" class="searchButton mw-fallbackSearchButton" type="submit" title="Search the pages for this text" value="Search" name="fulltext"></input>
<input id="searchButton" class="searchButton" type="submit" title="Go to a page with this exact name if exists" value="Go" name="go"></input>
</div>
As compared to other searchboxes on other sites where there is an Autocomplete option.
I should mention I retained my old LocalSettings.php, though I removed the old settings for suggest $wgEnableMWSuggest. Unfortunately I'm not supposed to allow access to people outside our department to the data. 129.215.210.114 (talk) 11:48, 21 October 2015 (UTC)
I had that problem during upgrades as well. Try clearing all caches: On the server, in your browser and where else you might have cached data. That includes the objectcache database table of MediaWiki; its data can be truncated. That way you should get the latest JavaScript files.
If that did not help, you should monitor the HTTP requests, which happen when you try searching for something. I guess you might then see requests for missing files there... 88.130.127.4 (talk) 13:24, 21 October 2015 (UTC)
I'm not seeing any GET requests sent while I'm typing. I have a job queue a mile long that is currently being run, that would seem to be irrelevant to this issue though. 129.215.210.114 (talk) 15:24, 21 October 2015 (UTC)
Latest comment: 10 years ago3 comments3 people in discussion
Dear Support desk,
I have a backup of an old site not used in last period with an old version of mediawiki: 1.6.10.
I would like to restore it but the restore doesn't work.
I have understand that to run it I have to upgrade it to last version 1.25.3 because the 1.6.10 was running with old MYSQL 4 and PHP 4 (my actually server have MYSQL 5 and PHP 5).
But the directly upgrade from 1.6.10 to 1.25.3 doesn't work.
So, how can I do to resolve this problem?
Can I resolve doing more step upgrading gradually from older to less older version of mediawiki?
Hi I am not sure which mediawiki version supported upgrading from that old release but mediawiki 1.25 dosent support upgrading from that old. You may want to try mediawiki 1.15 then 1.17 or 18 then up to 1.25. 151.225.22.50 (talk) 19:56, 21 October 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.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
internal error 500
Latest comment: 10 years ago2 comments2 people in discussion
Hello guys, the server of my website has changed, and after it I started to get internal server error 500 (chrome) or blank page (firefox) when I try to access my wiki.
Now comes the WEIRD part, I took an old version of my wiki, something like 6 months ago restaured this version.
Before it I erased all the files of the actual wiki and the actual myslq database.
After I restore this old version with the old mysql exactly the same error appears, what doesn't make sense, since this old version has nothing with the actual version and I know that this old version was working perfectly before because I used it once.
an internal server error 500 is a generic error and can have a million causes. There's no way to tell how to fix the problem without knowing the cause of the error. See Manual:How to debug and come again with a descriptive error message (and stack trace if possible) Ciencia Al Poder (talk) 09:50, 22 October 2015 (UTC)
MediaWiki 1.25.3
Latest comment: 10 years ago3 comments3 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
libphp5.so not available in Apache modules
Latest comment: 10 years ago2 comments2 people in discussion
Hi team,
I have installed php55 and media wiki 1.25. I have apache 2.2
I have configured everything, But unfortunately, only the text in index.php shows saying that php is not configured properly.
I found that libphp5.so is not available under httpd/modules folder, This might be the reason why php is not configured properly, Do you guys have any idea how i can install this php module for apache?
The answer strongly depends on how software is installed on the unmentioned operating system which runs on your server. Under Linux I would say: Install the missing package(s). Malyacko (talk) 12:25, 22 October 2015 (UTC)
Can a wiki have 2 site names?
Latest comment: 10 years ago3 comments3 people in discussion
I have set fully qualified URL site the localsettings.php
Is it possible to have a second URL address by IP address?
My companies has some dns problems.....this would be a good fall back for me.
You could leave $wgServer not set, and it will use the default server name as seen by the webserver, but if the wiki is being accessed from the host name or IP address, some links will likely break, because when one edits a page, the HTML that generates the wiki is cached, and the next user that sees the page, if entering from a different address, will see the cached page that uses the URLs of the previous user, which might be not accessible.
You should set up the DNS correctly, and specify a hostname accessible from all clients on $wgServer.
If the wiki is accessible from an intranet and from the internet, use the public host name as seen from internet, and make the intranet DNS server point the public host name to the wiki on the intranet as well. Ciencia Al Poder (talk) 19:09, 22 October 2015 (UTC)
some links will likely break - most links are relative. So if the path structure stays the same and only the domain changes, then not very many links will break (Links in emails, writing {{SERVER}}, might break though). Bawolff (talk) 01:21, 23 October 2015 (UTC)
Could not insert main page: Invalid callback SFFormUtils::purgeCache in hooks for ArticleSave
Latest comment: 10 years ago2 comments2 people in discussion
An attemp to add a wiki using the install.php script (MW version 1.25.2) gives me an error:
You can install MediaWiki.
Setting up database
done
Creating tables
done
Creating database user
done
Populating default interwiki table
done
Initializing statistics
done
Generating secret keys
done
Prevent running unneeded updates
done
Creating administrator user account
done
Creating main page with default content
Could not insert main page: Invalid callback SFFormUtils::purgeCache in hooks for ArticleSave
Latest comment: 10 years ago3 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello.
How to activate the VisualEditor on my Wiki, in MediaWiki 1.25.2?
Question about alphanumeric natural sorting of pages
Latest comment: 10 years ago4 comments2 people in discussion
...by which I mean the kind of sorting that sorts page "b9" before "b1000". I was wondering which of the algorithms listed at [[Manual:$wgCategoryCollation]] (if any) support this functionality. Cavila14:41, 23 October 2015 (UTC)
I don't think you can achieve that with collation, because that's supposed to control order of specific characters, so it would match "9" against "1", not "1000". Ciencia Al Poder (talk) 10:46, 26 October 2015 (UTC)
Thanks, I was afraid of that. UCA [http://unicode.org/reports/tr10/] (esp. #1.4 Customization) basically says that it's one of those things, along with case ordering and script order, that you may want to customise but offers no further hints or advice. It looks like a 'natural' desideratum and T8948 (from 2006) was on it for a moment, but unfortunately, there's little or no sign of certain progress. I'll keep my eyes open. Cavila12:42, 26 October 2015 (UTC)
Apparently, some discussion took place last year, with some suggesting use of the ICU library for custom collations:
Error while updating new extensions on MediaWiki v1.25.3
Latest comment: 10 years ago3 comments3 people in discussion
RESOLVED
Disable the babel extension during upgrade with web-installer, and re-enable it again when you're done. :)
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I'm getting an error while updating MyWiki:
[54375921] /wiki/mw-config/?page=ExistingWiki MWException from line
337 of /users/suriyaakudo/www/wiki/includes/MagicWord.php: Error:
invalid magic word 'babel'
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Losing pages in big category from template
Latest comment: 10 years ago3 comments2 people in discussion
Say "Template:Infobox" adds articles to "Category:Infobox pages" (a hidden category). I have ~100K pages using that template.
Since my upgrade from MW 1.22 to 1.25.2 the category is losing pages while actually more pages are added, i.e. the category and PAGESINCAT read ~85K pages. New ones are added some existing seem to fall out.
When I edit missing pages, the bottom info "X hidden categories" is indeed empty. These pages are really not in the catgory anymore altho they were not edited for ages. After saving they're added again to the category.
Maybe an edit on the template (or the upgrade itself) triggered those pages to force a refresh links job, and the jobs are somewhat failing to parse the pages correctly (for example, they delete categories on the page prior to reparse it, and the parsing leads to any category because a parsing error)
If jobs are running from command line, something must be different which makes the parse to fail. Maybe you're using a Lua module and from command line it fails? Ciencia Al Poder (talk) 10:50, 24 October 2015 (UTC)
I'm not using Lua.
runJobs runs every few minutes.
It affects all categories from that template. All are shrinking.
The template was indeed changed after the update. But it works fine since new pages are in the desired category.
But updating the template doesn't cause the pages to not be in the category until runJobs parses the pages again. Also, then all pages would be affected, not just a few. I see no odd similarities in the lost pages.
The PHP error log and $wgDebugLogFile show no related entries when I
Latest comment: 10 years ago2 comments2 people in discussion
Hello,
I have some question that I would like to finally finally some answers!!
After my navigation in the FAQ, the manual and everything else, I got lost..
Maybe the answers that I'm looking for are somewhere here. If so, sorry for wasting your time! :)
I have the following questions:
- How to make specific external links open in a new tab or window?? I found something here but it is only for every external link and not the ones that I want.
- How can I open a file (for example a .docx or .xlsx) and modify it? When I create a link to a .docx or .xlsx I can only read it, not modify it.
- How can I make a link in order to open the folder (when I put the path) and not a printable page? Actually I want to open the folder in a windows explorer that I can modify also.
If you want to modify any uploaded document, just like what happens with any image, you must save the edited document on your disk and upload it again.
That will be difficult: MediaWiki currently does not support DB2 - at least not out of the box.
See Manual:IBM DB2. If you are a DB programmer, you might be able to get it running again. If that is your plan, you should first post on the development mailing list in order to get some input on how to best implement DB2 support (again). 88.130.95.112 (talk) 23:58, 24 October 2015 (UTC)
incorrect character in mediawiki
Latest comment: 10 years ago4 comments3 people in discussion
RESOLVED
fixed
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 install mediawiki in my server but see incorrect character in mediawiki. (my language is persian)
I do not see any such character (Firefox 41 browser) on the page that you linked. If there are such characters, please provide a screenshot and browser information. Malyacko (talk) 09:32, 25 October 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.
My hoster has setup the server with memcached and I use
$wgMainCacheType = $wgParserCacheType = $wgMessageCacheType = $wgSessionCacheType = CACHE_MEMCACHED;
Memcached works in the wiki. But php info reads nothing about memcached / memcache.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
the link of download of PHP for Windows?
Latest comment: 10 years ago3 comments2 people in discussion
my goal is to create a wiki. the link of download of PHP for Windows? I found this link: http://windows.php.net/download/ , but which option I choose? ~ Please New Wiki (talk) 00:31, 26 October 2015 (UTC)
MediaWiki requires PHP 5.3.3 or newer. PHP 5.6 should be fine.
x86 or x64 will depend on your system architecture and OS.
Latest comment: 10 years ago2 comments2 people in discussion
Hi - I have minimal technical knowledge, and have installed MW via cPanel: www.credulism.org . I download a copy of the database most evenings, and since I installed MW, and have been adding content, the database has of course increased in size. However, the latest download is 1.9MB, whereas the previous download - on 22 October - was 5.6MB. I upgraded MW, via cPanel, at some point after 20 October, and this could have been after the 22 October download, although I don't see why this would have caused the reduction in the size of the database. Can anyone give any advice about this? Derrickfarnell (talk) 07:10, 26 October 2015 (UTC)
Latest comment: 10 years ago6 comments2 people in discussion
I get an error message whenever attempting to copy and paste the wikicode from "wikipedia:stargate (device)" to my installation of MediaWiki. The error message (#500) is from the webhost, reading: "the application you use does not work correctly, …there is a problem in the application." At first I thought it was due to the large size of the wikipage, but I can copy and paste larger wikipages without error. Is it possible there is something in the wikicode itself on that particular Wikipedia page that is causing an error to MediaWiki? http://nicoleruizsharp.altervista.org/wiki/index.php?title=Category:Transwiki ~ Nicole Sharp (talk) 11:43, 26 October 2015 (UTC)
Yes, I was surprised that took. I still got the #500 application error when copying and pasting the section/table into my sandbox, but it does seemed to have saved anyway. However, I still cannot get the entire Wikipedia page ("wikipedia:stargate (device)") copied to http://nicoleruizsharp.altervista.org/wiki/index.php?title=Transwiki:wikipedia:stargate_(device) . I am able to copy and paste larger Wikipedia pages than that one, so it is not the size of the page. I am wondering if it has anything to do with the large number of scalable vector graphics (SVGs) used for the stargate glyphs? But it still doesn't make sense to me, isn't wikicode just plaintext? Why should it matter what is in the code when copying and pasting? Only thing I can think of is maybe there is some unusual Unicode somewhere that can't be saved into MySQL, but I installed MediaWiki as binary instead of UTF-8, so I wouldn't think that to be a problem? The hieroglyphics appear to be displayed using a local Wikipedia script instead of typed Unicode characters, so that isn't it. Nicole Sharp (talk) 02:13, 27 October 2015 (UTC)
I am curious if anyone else has a MediaWiki installation they can try to duplicate the error by copying and pasting that Wikipedia page into their wiki. Otherwise perhaps the fault might be with the webhost AlterVista instead of MediaWiki. I still have all of the default settings set for LocalSettings.php. Nicole Sharp (talk) 02:07, 27 October 2015 (UTC)
How to hide pages of a namespace from random calls?
Latest comment: 10 years ago3 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Good afternoon.
How can I hide articles of a special namespace (e.g. "Sandbox" or "Playground") from being called by clicking the "random article"-link?
My aim is to have a namespace, that is available for our authors only where we can edit pages before their final release.
Sorry for being late in reply but the problem is solved. Not with that Hook named by Ciencia but with the externsion "Exclude Random". It works fine here (http://wiki.utdx.de).
Again sorry for my delay in replying. Kind regards and all the best for 2016!
It just gives me a red box that says "Login error, Incorrect password entered. Please try again." but I know for sure that the password is correct. I even tried changing it with maintenance/changepassword.php. It's kinda weird but the first account that mediawiki creates for me is also not working.
I don't know what may be the issue. You may try to set a debug log as explained in Manual:How to debug and see if it prints something relevant for your issue.
You can also try to reset your password to get a temporary password by email.
When using changepassword.php be sure to not use non-ascii characters in case the shell has problems reading that could result in a mangled password. Ciencia Al Poder (talk) 17:39, 30 October 2015 (UTC)
My Wiki is not showing what I have been writing
Latest comment: 10 years ago2 comments2 people in discussion
What are exact steps to reproduce the problem, step by step? Where exactly is "editing"? Which MediaWiki version is this about? Malyacko (talk) 23:43, 26 October 2015 (UTC)
unable to get jQuery:makeCollapsible working in MW 1.23.10
Latest comment: 10 years ago11 comments3 people in discussion
I am working on upgrading our TNG Wiki from MW 1.16.5 to 1.23.10 On the TNG Wiki we used the ToggleDisplay2 extension which is now marked obsolete with a reference to use the jQuery:makeCollapsible
Unfortunately, I am not getting the [Collapse] or [Expand] buttons when I any of the div examples to a page.
Is there anything that needs to be added to common.js or to LocalSettings.php to make the jQuery:makeCollapsible work? Ken Roy (talk) 20:48, 26 October 2015 (UTC)
How do I enter code snippets in this forum? the class-"mw-collapsible" generates the toc type box but there is no button to toggle the Collapse or Expand of the displayed text
Looks like the Expand and Collapse buttons do not show in the WikiEditor Preview but show up after you save the page. Not nice...:) Ken Roy (talk) 10:35, 27 October 2015 (UTC)
1.23.10 Is already quite old again of course. We did do a fair bit of changes to how these kinds of JS tools connect to content. I presume you have "live preview" enabled or something. Disabling that for now will likely make it more predictable. —TheDJ (Not WMF) (talk • contribs) 12:29, 27 October 2015 (UTC)
I chose 1.23.10 since it is marked as a long term support (LTS). Should I use a more current stable MW version even though it is not marked LTS? Ken Roy (talk) 13:30, 27 October 2015 (UTC)
Best I can tell, the Wikitext/Preview/Changes tabs still do not work correctly in all cases. I updated MW to use 1.25.3 and the Preview tab in WikiEditor still does not show the [Collapse] and [Expand] buttons when trying to use the jQuery.makeCollapsible.
Latest comment: 10 years ago3 comments2 people in discussion
can i embed search results into a page such as category :people and search of smith.
basically at bottom of page, i would like a list of pages in a certain category that contain word smith somewhere on the page. i cannot install semantic add ons Rwasson99 (talk) 03:31, 27 October 2015 (UTC)
I figured out how to install semantic and tried the following {{#ask: [[category:Meets]]}}
I think that should list all pages with category meet but it returns nothing. What did I miss? In addition if I only want meets pages that have the word smith on the page somewhere, what should I write?
Latest comment: 10 years ago3 comments2 people in discussion
Hi All,
Im quite new to mediawiki and find it amazing my only issue so far is that when i go to save a page after editing it it does not redirect back to the page. The save works fine but i get a page not found error and the link stays the same for action=edit rather than just main_page
Latest comment: 10 years ago1 comment1 person in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Best way to migrate 1.6.1 on Server 2003 to 1.25.x on Server 2012
Latest comment: 10 years ago2 comments2 people in discussion
We have a mediawiki instance running on a now EOL Server 2003 box. That server is currently running MediaWiki: 1.6.1, PHP: 5.1.2 (apache2handler), MySQL:5.0.18-nt. We have a new Server 2012 box built. What is the most straight forward process to migrate this data over to the new 2012 box?
First move the wiki to the new server: Manual:Moving a wiki. (You will not be able to upgrade the wiki to MediaWiki 1.25 while you are still on the old server, so don't try that.)
Make sure that all files are there (e.g. LocalSettings.php and the files from the folder images/) and make sure that the complete database made it onto the new server - without special characters being broken.
At this point the wiki most likely will not be able to run as MediaWiki 1.6.1 does not work with current PHP versions.
After that, follow our page upgrade in order to upgrade to MediaWiki 1.25. Since you are updating from a really old version, you have to do some additional steps: After you have done the upgrade, you should run the refreshLinks.php maintenance script. Also, should you use a wiki as a common repository, make sure to update that repository wiki as well! 88.130.97.213 (talk) 23:12, 27 October 2015 (UTC)
Problem trying to add formatted reference
Latest comment: 10 years ago1 comment1 person in discussion
Just installed MediaWiki on Ubuntu. Everything seems to be working fine so far, except for the following: When I use the <ref> </ref> tags (for references or footnotes) and the <references /> tag, everything works fine. However, in trying to use some templates for a reference, I don't see the results as described.
Here's what I type into the editor:
This is some bit of text with a references<ref>{{Cite book
|last= Smith
|first= J.E.
|date= 2015
|title= Book Title
|url=
|location=
|publisher=
|page= 56
All of the help pages I've found on Mediawiki seem to show that this method should produce a normally formatted reference at <references />. Any idea why "Template:Cite book" shows up rather than the reference itself? Am I supposed to create this empty page with something in it?
There is no database password. The password always belongs to a MySQL user. And the MySQL user can have access to a database.
So when you create the new database, make sure that the MySQL user has access to it! In the video that is at minute 1:15 - 1:48! Jörgi123 (talk) 10:42, 28 October 2015 (UTC)
I follow what you say this manual, but see the message that is shown to me
This is a MySQL problem. You have to configure MySQL correctly. After that you can use it with MediaWiki.
What will work is the following: XAMPP by default comes with a MySQL user called "root" and this user does not have a password set (the password is empty).
So you can use the MySQL user "root" with an empty password. This user should exist and it should by default have access to all databases. Note that you can use this user, but if your wiki is publicly available, then using the root user without password is absolutely insecure! Jörgi123 (talk) 21:42, 28 October 2015 (UTC)
Topic
Latest comment: 10 years ago4 comments3 people in discussion
The problem is that /users/suriyaakudo/www/wiki/extensions/v1.25/ArticleFeedbackv5/maintenance/../../../maintenance/Maintenance.php doesn't exists, which is translated into /users/suriyaakudo/www/wiki/extensions/maintenance/Maintenance.php.
[366a0ad5] /wiki/mw-config/?page=Upgrade MWException from line 185 of /users/suriyaakudo/www/wiki/includes/Hooks.php: Invalid callback CNDatabasePatcher::applyUpdates in hooks for LoadExtensionSchemaUpdates
Latest comment: 10 years ago4 comments3 people in discussion
I have a system outputs data that should be loaded as several wiki pages in a MediaWiki 1.25.
I'm able to load the pages for the first time using bulk page creator. My problem is how to reload the pages after making some changes, in order to update them in the wiki.
However, two problems occur:
Bulk page creator only creates new pages, but do not update them;
I couldn't find out how to permanently delete pages, so that the script could create it again. Even DeleteArchivedRevsions.php don't do the job.
Solving one problem or another would help me a lot.
Latest comment: 10 years ago3 comments2 people in discussion
I've been hitting lots of problems with the upgrade. I've found solutions to most of them, but I'm stuck with this one:
Fatal error: Call to undefined method SMW\MediaWiki\Database::setDBPrefix() in /home/servi145/public_html/wiki/extensions/SemanticMediaWiki/src/MediaWiki/DatabaseConnectionProvider.php on line 52
My LocalSettings.php file is:
<?php
error_reporting( E_ALL );
ini_set( 'display_errors', 1 );
# This file was automatically generated by the MediaWiki 1.25.2
# installer. If you make manual changes, please keep track in case you
# need to recreate them later.
#
# See includes/DefaultSettings.php for all configurable settings
# and their default values, but don't forget to make changes in _this_
# file, not there.
#
# Further documentation for configuration settings may be found at:
Your summary says "upgrade to 1.23.5". Your paste says. "This file was automatically generated by the MediaWiki 1.25.2 installer". Your error is related to Semantic MediaWiki and I wonder which branch/version of SMW you are trying to run and if it's compatible. Malyacko (talk) 09:54, 29 October 2015 (UTC)
Thank you very much for the suggestion. I'll make sure that I get everything at the current revision and try again - something like this should, I hope, do it:
I have about 30 different infoboxes relating to different subjects is there a simple way of having a css that does them all or does code need to be on each template? Gmdesignuk (talk) 17:43, 29 October 2015 (UTC)
I added {{border-radius|8px 8px 8px 8px}} before the table command and also after the width 267 but still nothing. i have the {{border-radius template as works on other text but not on the infobox Gmdesignuk (talk) 02:14, 30 October 2015 (UTC)
It's hard to tell if we don't know what's the code of {{border-radius}}
Anyway, if the table itself doesn't have borders nor background, chances are that it won't have any effect. You may need to add radius to table cells at the corners of the table. Ciencia Al Poder (talk) 17:35, 30 October 2015 (UTC)
the border radius code is from mediawiki site and as i said it works fine with other text features i have but just will not convert the sides of infobox to corners
The documentation of the template says: Insert this template within a style tag of any block-style element: but you're inserting it outside of the table or outside a style attribute. Ciencia Al Poder (talk) 13:06, 31 October 2015 (UTC)
I already said I have tried adding it before the
and also after the 267 on the first line within the table tag but it did nothing.
<table style="margin:6px;clear:right; {{border-radius|8px 8px 8px 8px}}; border-collapse:separate;" class="toc colour" align="right" width="267"> Ciencia Al Poder (talk) 14:53, 1 November 2015 (UTC)
How to display a table with nowiki
Latest comment: 10 years ago3 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I am trying to give some example on setting up tables on my organizations wiki. I tried to use the nowiki tag but the out shows up as a continuous line of text and does not show the formatting correctly.
How can I display a table code example, I want to be like the section that says "you type"
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
$wgSpamRegex does not show the match
Latest comment: 10 years ago2 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Normally when the $wgSpamRegex setting matches some spam, the following message is displayed:
The page you wanted to save was blocked by the spam filter. This is probably caused by a link to a blacklisted external site.
The following text is what triggered our spam filter: [word/domain name which was blocked]
The second line comes from MediaWiki:Spamprotectionmatch. The system message is present and it is unchanged. Anyway, the complete message/the complete line is not displayed for me.
Never mind, the error message is somewhat unclear. In the case I had, the problem has not been caused by $wgSpamRegex, but the user had filled in the antispam field, which is supposed to stay empty. In that situation MediaWiki does not display the matching text. 88.130.105.73 (talk) 12:24, 30 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Can I edit the picture as new in biography articles?
Latest comment: 10 years ago2 comments2 people in discussion
I want to provide a good and latest picture with reference in a biography article. Iftekhar Rimon 15:38, 30 October 2015 (UTC)
Latest comment: 10 years ago1 comment1 person in discussion
RESOLVED
admin resolved 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.
Latest comment: 10 years ago4 comments2 people in discussion
If I try to post a question, it will be imedeately marked as spam. I can send it to the tech. support page without any problem. But there I was told, wrong place for my question.
Vector Skin / modify sidebar to show table of contents TOC
Latest comment: 10 years ago2 comments2 people in discussion
Hello wikians,
I am trying to set up a Wiki for the purpose of using it as a knowledge base that can be edited by multiple privileged users. I want to use mediawiki/Vector because people are familiar with the look and feel and can get familiar with the editing style.
Version is 1.19.14+dfsg-1 and I'm happy with the Vector skin and would like to customize it.
For my purpose I don't need most of the sidebar links like "languages" and "what links here" and so on. Further I would really like to move the TOC into the sidebar by default for all users, so one can always navigate to the different sections of a page even a longer TOC doesn't take room in the page's body.
That said, I'm having a hard time unserstanding the interaction of the skin, php, js and all that. My knowledge of php and js is close to zero, sometimes I can guess the more descriptive functions...
The way my "research" went I came to find that
a) the TOC is being created by the Parser.php located in mediawiki/includes/parser/ . I guess it's "public function formatHeadings" that does it for every page?
b) the standard sidebar is rendered by Vector.php down from "//render portals".
I managed to comment out the unneeded portals like toolbox etc.
How would I include a TOC for the current page in the sidebar? Can it be done by copy and paste?
If there's a reliable extension that does it, I'd be happy to use that, too.
The side bar is defined by the MediaWiki:Sidebar page inside your wiki. There is some explanation here: Sidebar.
For the seconds part of your request of moving the ToC.. This is one of those things that's not easily done. It is considered to be a true part of the Content of a page, and it cannot properly be moved. The simplest method is to write a JS function that does that and then make that script run on all pages I think. —TheDJ (Not WMF) (talk • contribs) 22:52, 1 November 2015 (UTC)
Error when connecting to old database
Latest comment: 10 years ago3 comments2 people in discussion
One year ago my webhoster told:<br/>
''“- Please do not use the "AddHandler php4-cgi .php" command line in your''
''.htaccess file anymore. Instead you need to alter the command line into''
''"AddHandler php5-cgi .php".''
and<br/>
''2) After the server update you are able to use PHP 5.4 and PHP 5.5 (in''
''CGI mode), the latest versions of PHP.''
''3) MySQL is going to be updated from 5.1 to 5.5. This will not lead to''
''any expected errors.''
After the server-update my wiki did not work anymore.<br/>
My webhoster helped with an addition of some .htaccess files to my wiki installation path and the root. But still some problems remain.
I decided to install the newest wiki version as test with a new empty database.
MediaWiki: 1.25.2<br/>
PHP: 5.6.13-nmm4 (fpm-fcgi)<br/>
MySQL: 5.6.24-nmm1-log<br/>
on um-bruch.net/twiki<br/>
It is running without any problems.<br/>
But when I am trying to connect it to my old database (by change in the LocalSettings.php) I get an error.
“A database query error has occurred. This may indicate a bug in the software.”<br/>
My question:<br/>
Was there any change in the structure of the database since 1.17.0?<br/>
The number of tables is still 49, but I do not now, wether changes are made in the relations or the table definitions.<br/>
Is there any other way to update the database to wiki 1.25.2?
Yes, there has been a huge number of changes in the database layout between MediaWiki 1.17 and MediaWiki 1.25.
Generally you should follow Manual:Upgrading and do an upgrade. Note that when you create a new LocalSettings.php file and make that file point to your old database, you will not only get problems with the missing DB upgrade, but you will also miss images and other files, which you uploaded to your original wiki.