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.
Anlegen bestimmter Seitennamen verhindern (Disallow the creation of specific page titles)
Latest comment: 10 years ago2 comments2 people in discussion
Guten Tag,
ich möchte verhindern das Benutzer bestimmte Seiten anlegen. Z.B. "Mauskatze". Ich habe lange gesucht aber nicht gefunden wie das funktioniert. Ich finde immer nur Hinweise zu gesperrten Seiten. Ich möchte aber schon das anlegen verhindern. Unter Spezial:Gesperrte_Titel soll eine Liste existieren. Bei mir wird diese Spezialseite aber nicht gefunden. Kann mir jemand helfen? 212.185.232.52 (talk) 22:10, 1 August 2015 (UTC)
MWException from line 886 of /var/www/html/w/includes/db/Database.php: DatabaseBase::factory no viable database extension found for type 'mysql'
Latest comment: 10 years ago2 comments2 people in discussion
Hi,
I just installed MW 1.25 up from 1.22.x. I running across a fatal exception while simply trying to load the main page, as follows:
[9d70b055] / MWException from line 886 of
/var/www/html/w/includes/db/Database.php: DatabaseBase::factory no
viable database extension found for type 'mysql'
Have you already tried what's covered in https://www.mediawiki.org/wiki/Project%3ASupport%20desk/Flow/2013/11#h-%5BRESOLVED%5D_Fatal_exception_of_type_MWException_after_upgrading_php_and_apache-2013-11-07T09%3A22%3A00.000Z and https://www.mediawiki.org/wiki/Project%3ASupport%20desk/Flow/2014/07#h-%5BRESOLVED%5D_Fatal_error_update_to_Mediawiki_1.23%3A_DatabaseBase%3A_factory_no_viable-2014-07-03T20%3A14%3A00.000Z AKlapper (WMF) (talk) 11:27, 2 August 2015 (UTC)
Unable to render some pngs in 1.25.1
Latest comment: 10 years ago6 comments4 people in discussion
Hello. I made a png file from Powerpoint 2013, then uploaded into my wiki for use of my article, but it does not works for make small thumbs. I tried another my wiki and the same happened [1] : So if you think this is problem of software, please make fablicator issue, or show me the way for solve it. thanks. - Ellif (talk) 08:39, 2 August 2015 (UTC)
This seems not about these problems: Because I'm the server which another people have su, I could not make install imagemagick. And In the first wiki, which installed mw 1.25.1, in the /image, /thumb itself not made. I'll make task on mw phabricator. Ellif (talk) 11:11, 26 August 2015 (UTC)
I've closed the Phabricator task as I see no bug in MediaWiki here but a support request how to configure correctly. As you wrote "I could not make install imagemagick" please elaborate which exact steps you followed, where they are listed, and what "could not make install" means (steps and error messages). AKlapper (WMF) (talk) 12:07, 26 August 2015 (UTC)
The problem is your URL scheme and your rewrite rules
If you want to have VisualEditor, yes. But it hasn't has to be installed on the same server as your wiki, the service must be reachable by the server where your wiki is hosted on. Florianschmidtwelzow (talk) 06:02, 4 August 2015 (UTC)
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.
Hi,
I have a problem with my MediaWiki 1.23 installation. Under certain circumstances (which - unfortunately - are unkown) it happens, that a user is anonymous after login, meaning that his IP instead of his username will be displayed. I traced it back to the getName() function in User.php which checks if the item name is loaded (with the help of the isItemLoaded function). If that's not the case it returns the IP. However I am not that familiar with the MediaWiki code and am not sure under which circumstances that might be the case. Any pointers in the right direction here are appreciated.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Migrate server, database and media wiki version the same time
Latest comment: 10 years ago3 comments2 people in discussion
Hello everybody and thanks for reading this ...
I have to migrate a mediawiki version 1.12.0, with mysql 5.0.26 from server A to server B with postgres 9.4 and the current media wiki version.
I found a lot on upgrading among different wiki versions, however, nothing on how to migrate from mysql to postgres and updating the wiki version the same time.
Basically, I plan to dump the mysql db with mysqldump and feed it into the new postgres DB for the new wiki - both already setup.
Since I'm not sure, wheather there a some gaps I might be falling into doing the migration this way, I'd appreciate comments and suggestions on this enterprise.
Maybe there's someone out there with some experience who might say 'are you nuts? Better do so ...'.
Anyway, I thank you for any comment, wheather solving my concerns or not .. maybe it'll bring me forward.
Well, changing database engine is not a good idea and it's probably not supported.
Migrating MediaWiki from one server to another and also upgrade is easy, and it's like a normal upgrade, but just backing up database and images in old server and restoring on the new one.
thanks for your comment. I do agree with your suggestion doing the migration first. If I've performed the db engine change also, I'll post my experience on this task. Maybe someone's out there googling for the same questions ;) Aspiaspi (talk) 07:06, 7 August 2015 (UTC)
Math extension not showing symbol
Latest comment: 10 years ago1 comment1 person in discussion
Hi, I have extracted the Math extension, and also extracted a texvc binary into the extensions/Math/math directory.
I tried the following: <math>pi=frac{3}{4} sqrt{3}+24 int_0^{1/4}{sqrt{x-x^2}dx}</math>
but i got the following pi=frac34sqrt3+24int1/40sqrtx−x2dx [2]
Issue with MediaWiki up-gradation from 1.12 to 1.25 on RedHat 5 Linux
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.
Hello All,
We just mirrored our Prod environment (XAMPP based) and set up a new Test server for MediaWiki up-gradation.
Then we upgraded the PHP from 5.1.6 to 5.3.3 on test server, MySQL version is still 5.0.77 (did not upgrade), postNuke still works but MediaWiki 1.12 stopped working.
Now I renamed the existing wiki to Wiki_Old and, then copied the MediaWiki 1.25, unzipped it placed unzipped version under /var/www/htdocs/postNuke/wiki
Now when I try to configure the MediaWiki from browser (http://MyServer/wiki/index.php) it gives error message "The webpage cannot be found"
Note: - My PostNuke works perfectly at http://MyServer/ . I have successfully upgraded the MediaWiki on Windows (without postnuke on fresh installation of XAMPP and MediaWiki)
Strict Standards: Declaration of LdapAuthenticationPlugin::setPassword() should be compatible with that of AuthPlugin::setPassword() in /var/www/htdocs/Power/wiki/includes/LdapAuthentication.php on line 46 Strict Standards: Declaration of LdapAuthenticationPlugin::addUser() should be compatible with that of AuthPlugin::addUser() in /var/www/htdocs/Power/wiki/includes/LdapAuthentication.php on line 46 Strict Standards: Declaration of LdapAuthenticationPlugin::initUser() should be compatible with that of AuthPlugin::initUser() in /var/www/htdocs/Power/wiki/includes/LdapAuthentication.php on line 46 $wgShowSQLErrors = true; $wgDebugDumpSql  = true; error_reporting( -1 ); ini_set( 'display_errors', 1 ); Parse error: syntax error, unexpected T_NAMESPACE, expecting T_STRING in /var/www/htdocs/Power/wiki/includes/Namespace.php on line 49 Naimish88 (talk) 17:49, 3 August 2015 (UTC)
The issue was with mess with files between new and old, removing all files and downloading fresh MediaWiki solve this issue. Naimish88 (talk) 18:55, 3 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Are there image thumb expirate deletion setting?
Latest comment: 10 years ago2 comments2 people in discussion
For example I want to delete any thumb not been used for more than 356 days, or any thumb img generated a year ago.
No, but you can create a shell script to delete files modified before a certain date, or accessed before certain date (if the filesystem supports this feature). On linux the "find" command can be used for that. Ciencia Al Poder (talk) 18:47, 5 August 2015 (UTC)
Is it possible to auto-block on registeration?
Latest comment: 10 years ago6 comments2 people in discussion
Latest comment: 10 years ago2 comments2 people in discussion
I suppose we can't create self-advertising article over here, just like how we can't on other Wikis like Wikipedia or Commons, etc. Please get the page Naresh Kumar Dhewa deleted. I couldn't find any other venue to request this deletion. Dharmadhyaksha (talk) 07:05, 4 August 2015 (UTC)
Latest comment: 10 years ago4 comments4 people in discussion
Think I am missing something fundamental here. So want another webpage to be able to extract information from our MediaWiki implementation, more specifically calling api.php to do queries and read the resulting json.
So set them in LocalSettings.php (could not find any documentation saying that they should be anywhere else). I even restarted apache just in case. But the webapp I am writing is still reporting:
XMLHttpRequest cannot load http://v-ghost.port0.org:8081/dbfswiki/api.php. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:30004' is therefore not allowed access.
I don't know if this is because I am setting the things in the wrong place or if I am missing to restart something. As the log is empty (well, don't even exist yet) I can't tell if its even trying :) 86.173.154.75 (talk) 09:26, 5 August 2015 (UTC)
Tried that, no luck, it is almost like MediaWiki isn't picking up the changes at all. Or as if it isn't wiki that stops the request.
So set the wgEnableAPI = false; That definitely works, API calls stopped all over the place.
Set the log and tried to make internal calls, and that works
But whatever I have in the $wgCrossSiteAJAXdomains, I still get a No 'Access-Control-Allow-Origin' header is present on the requested resource. And looking at the debug log, there is no mentioning of an issue.
Eventually found what the issue was, and it was rather ridiculous. Turns out that CORS also have safety setting in the browser, which ALSO blocks it. So to get around the issue, you need to install a tool which basically turns of that functionality. 86.173.154.201 (talk) 10:09, 6 August 2015 (UTC)
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.
Latest comment: 10 years ago2 comments1 person in discussion
I have a mediawiki installation that spammers were able to get into and there are currently 102k orphaned spam pages. I'd like to just delete all of these at once. Is there a way to do that? 98.245.163.76 (talk) 04:41, 6 August 2015 (UTC)
My apologies, I forgot some of the basic information.
Please provide steps to reproduce the problem (did you upgrade? when and why did the problem start?) and see Manual:How to debug. Whichever extension provided that word in the past on your installation you probably need to find. Malyacko (talk) 08:38, 6 August 2015 (UTC)
Registration does not save email token
Latest comment: 10 years ago1 comment1 person in discussion
Hi, I'm having issues with user registration, the email confirmation code is always invalid, I was able to get to the bottom of it I guess.
in User.php saveSettings function when it updates the user's settings email confirmation never gets saved, because of this I always get the error
"Invalid confirmation code. The code may have expired. ".
after some testing turns out it fails to compare the `user_touched` value, always thinking that user has changed, when I check with the db it is always off by one.
Latest comment: 10 years ago3 comments1 person in discussion
Hi how do I install SyntaxHighlight_GeSHi since it is now python based. Since swiching from geshi to another highlighter. Because on my wiki it has gone black please see http://en.random-wikisaur.tk/wiki/MediaWiki:Common.css it should be colourful but it is not. Do we have to run composer or not. I carnt run composer since I doint have root access. Paladox (talk) 09:51, 6 August 2015 (UTC)
Latest comment: 10 years ago2 comments2 people in discussion
Hoping that someone can help.
I have recently restored two wikis from a backup after a harddisk failure. The wikis make use of a single MySQL database, each of them using prefixed tables. One of the wikis is running just fine after the restore; the other one is not.
The issue is that all of the content on the malfunctioning wiki's main page is gone; the page just displays the sample text "There is currently no text in this page. You can search ..." Even worse, I cannot edit the wiki's main page: clicking the edit button when registered brings up the message "No such section --- You tried to edit a section that does not exist. Since there is no section , there is no place to save your edit."
What's also confusing is that all of the other pages seem to be fine; I can search for pages, and clicking on "Random page" does what it's supposed to do. I can also edit all other pages except for the main page.
Bumping this. I am pretty sure it has to be an error within the database. If I export an XML dump of all the pages, the main page is not among the pages in the XML. However, the page table contains an entry for the main page. How can I test the validity of that entry? 134.34.80.80 (talk) 12:34, 7 August 2015 (UTC)
Main Page title is incorrect
Latest comment: 10 years ago1 comment1 person in discussion
I have run into an odd problem on mediawiki 1.25 (recently upgraded from 1.19). The title of my Main Page is set to "Main Page" according to Page Information but the browser title is displayed as "TESTING1 12 2 23". I did a dump of my database and I found that in the "text" table:
(root@db.cape) [wiki_itwiki]> select * from text where old_id = 6775;
+--------+----------+-----------+
| old_id | old_text | old_flags |
+--------+----------+-----------+
| 6775 | TESTING1 12 2 23 | utf-8 |
+--------+----------+-----------+
1 row in set (0.00 sec)
Changing the entry to something else had no effect on the page title.
Anyone else seen this? Can anyone suggest where this title might be hiding? It appears nowhere else on the database and if I do a recursive egrep through my mediawiki folder for "TESTING" I only find one entry and it is not this one.
Latest comment: 10 years ago7 comments2 people in discussion
I wrote a skin and it only load the HTML properly, but all the CSS is lost. I'm sure that the CSS file can be runned properly. AngeCI (talk) 15:21, 6 August 2015 (UTC)
I referenced Manual:Skinning and the Vector skin and write the following code:
<?php/** * Metro Skin * * @todo document * @file * @ingroup Skins */if(!defined('MEDIAWIKI')){die(-1);}$wgExtensionCredits['skin'][]=array('path'=>__FILE__,'name'=>'Metro','version'=>'0.0.1 alpha','url'=>'http://cnspedia.ml/','author'=>'Abcabc2',);$wgValidSkinNames['metro']='Metro';$wgResourceModules['skins.metro']=array('styles'=>array('metro/main.css'=>array('media'=>'screen')),'remoteBasePath'=>&$GLOBALS['wgStylePath'],'localBasePath'=>&$GLOBALS['wgStyleDirectory'],);/** * SkinTemplate class for Metro skin * @ingroup Skins */classSkinMetroextendsSkinTemplate{var$skinname='metro',$stylename='metro',$template='MetroTemplate',$useHeadElement=true;protectedstatic$bodyClasses=array('metro-animateLayout');/** * Initializes output page and sets up skin-specific parameters * @param $out OutputPage object to initialize */publicfunctioninitPage(OutputPage$out){global$wgLocalStylePath;parent::initPage($out);/* // Append CSS which includes IE only behavior fixes for hover support - // this is better than including this in a CSS fille since it doesn't // wait for the CSS file to load before fetching the HTC file. $min = $this->getRequest()->getFuzzyBool( 'debug' ) ? '' : '.min'; $out->addHeadItem( 'csshover', '<!--[if lt IE 7]><style type="text/css">body{behavior:url("' . htmlspecialchars( $wgLocalStylePath ) . "/{$this->stylename}/csshover{$min}.htc\")}</style><![endif]-->" ); $out->addModules('skins.metro.js'); */}/** * Load skin and user CSS files in the correct order * fixes bug 22916 * @param $out OutputPage object */functionsetupSkinUserCss(OutputPage$out){parent::setupSkinUserCss($out);$out->addModuleStyles(array('mediawiki.skinning.interface','skins.metro'));}/** * Adds classes to the body element. * * @param $out OutputPage object * @param &$bodyAttrs Array of attributes that will be set on the body element */functionaddToBodyAttributes($out,&$bodyAttrs){if(isset($bodyAttrs['class'])&&strlen($bodyAttrs['class'])>0){$bodyAttrs['class'].=' '.implode(' ',static::$bodyClasses);}else{$bodyAttrs['class']=implode(' ',static::$bodyClasses);}}}
Latest comment: 10 years ago4 comments2 people in discussion
RESOLVED
use $wgSMTP
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello!
I use an internal wiki shared by a small team. When I try to confirm my e-mail address, I don't receive anything. I suspect the reason might be that we use a secure http server, and that the Http user and password must be provided when the software sends a mail.
Which parameters should be used in such a case in Mediawiki parameter files, and in which files?
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Changing my username (or the case of my username)
Latest comment: 10 years ago3 comments3 people in discussion
My username is Lucasgelfond, which weirdly bothers me because I wanted it to be lucasgelfond (no caps) or LucasGelfond and didn't know about the always-uppercase first letter. Its oddly and annoyingly asymmetrical. Is there anyway for me to change my username to either LucasGelfond or lucasgelfond? LucasGelfond (talk) 18:28, 6 August 2015 (UTC)
Latest comment: 10 years ago1 comment1 person in discussion
Hello, When trying to Edit Wikipedia: Clicking on the Cite toolbar on a Mac computer using both Firefox and Chrome -- it isn't working. I click and can see a sliver of white, but can't select anything. Thx. @BrillLyleBrillLyle (talk) 07:01, 7 August 2015 (UTC)
Issue of LDAP Authentication configuration with MediaWiki 1.25.1
Latest comment: 10 years ago1 comment1 person in discussion
Hi All,
I am facing with LDAP Authentication configuration issue with MediaWiki 1.25.1
Latest comment: 10 years ago5 comments2 people in discussion
RESOLVED
Needed to add some custom content to my login screen. Ended up hacking /templates/Userlogin.php to display a custom system message. Not upgrade-friendly, but easy enough.
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'd like to add something things to the login screen. Particularly a disclaimer and terms of use information (or a link to it). It looks like this used to be fairly easy by editing MediaWiki talk:Loginend. But these system messages no longer appear.
Hrm. Seems the Loginprompt system message has been un-referenced by Special:UserLogin too. While I like the overall appearance of the updated login special page, I'm miffed as to how to customize instructions/content there for my users. Lbillett (talk) 12:33, 10 August 2015 (UTC)
Found a thread with some of the answer. I could modify includes/templates/Userlogin.php to fully customize the login screen. On looking there, I see the link target for userlogin-helplink2 is the MediaWiki:Helplogin-url system message.
I changed both to link to our terms and conditions of use. I suppose it kind of hijacks the intention of those messages, but it's much cleaner than me mucking about with customized templates. Lbillett (talk) 13:04, 10 August 2015 (UTC)
Ok, so getting a link wasn't enough. I had to get wikitext into the system message.
I had to hack my /templates/Userlogin.php to specify a new div and system message. I put it just before the last closing div tag.
Means extra hassle for upgrades, but give me exactly what I needed. If anyone knows the proper way to do this, I'd be very interested. Lbillett (talk) 18:02, 10 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.
Latest comment: 10 years ago2 comments2 people in discussion
Hello! I have been getting this error every time we try and login to our wikipedia page. I have done the obvious and checked to make sure cookies are enabled. They are. We are using Google Chrome. I have also gone and looked at how other people have tried to solve this problem, but unfortunetly I haven't found an easy step-by-step solution. I'm not the MOST technically savvy person, but I will do anything to figure this out. Please if anyone can give me a solution that won't bring me on a crazy, wild goose chase that would be great! 108.13.230.43 (talk) 18:34, 7 August 2015 (UTC)
Latest comment: 10 years ago1 comment1 person in discussion
I installed MediaWiki via Xampp on Linux. When my users access MediaWiki, they are first asked to authenticate xampp user. How do I go about disabling that authentication without making xampp unsecure. I'm already requiring my users to have a MediaWiki account. Penfold07 (talk) 20:05, 7 August 2015 (UTC)
Get image path via JavaScript
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.
How can I get the path to an image hosted in Commons via JavaScript? I want to insert images into pages from MediaWiki:Common.js. I have the names of the images, but I need the path to them in order to construct <img> tags and insert them into the page. So for example, if an image is called File:Example.jpg, I would need some way to do:
var title = new mw.title( 'Example.jpg', NS_FILE );
var path = title.getPath();
var img = $( '<img>' ).attr( 'src', path );
I've checked the JavaScript methods available, but none seems to do what I require. Will I have to do an API call, or is there a simpler way? Thanks! Sophivorus (talk) 12:48, 8 August 2015 (UTC)
a and a9 are the first and 2 first characters respectively of the md5 (in hexadecimal) of the filename (Example.jpg). You can compute the md5 with this script [3] that I use and it works reliably for unicode characters (call the hex_md5 function). Ciencia Al Poder (talk) 10:02, 10 August 2015 (UTC)
I found a workaround using the "filepath" magic word. It's good enough for now, but in case of need your solutions seem very promising, thanks! Sophivorus (talk) 18:47, 11 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
MediaMonkey Gold Activation
Latest comment: 10 years ago2 comments2 people in discussion
I have looked all over for the place where I put my activation key. Can you tell exactly where?
I think your in the wrong place this is for MediaWiki an open source project they doint ask anyone for money to use nor do they use activation keys. Paladox (talk) 18:18, 8 August 2015 (UTC)
Sudden blank pages
Latest comment: 10 years ago2 comments2 people in discussion
I haven't done anything with any settings since last November and my host hasn't changed anything on their end. We'll start with that.
Two days ago, my wiki went blank. The data is still there when you go to edit but it just doesn't display anymore. This particular wiki is version 1.21.2. I know there was the error with PCRE, but that's not it, at least I don't think it is. My host is currently running PHP 5.4 and PCRE 8.12.
But even if that WAS the issue, I did a brand new install in a new subdomain with 1.25.1, linked it to my existing database and still had the issue.
The errors in my log are a bunch of the same thing:
[07-Aug-2015 01:03:22 America/Denver] PHP Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home5/spacekad/public_html/mushwiki/includes/MagicWord.php on line 881
[07-Aug-2015 01:03:22 America/Denver] PHP Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home5/spacekad/public_html/mushwiki/includes/MagicWord.php on line 876
[07-Aug-2015 01:03:22 America/Denver] PHP Warning: Invalid argument supplied for foreach() in /home5/spacekad/public_html/mushwiki/includes/MagicWord.php on line 877
There are different lines being mentioned at various times, but the overall messages are representative of the different error lines I get.
Mediawiki 1.21.2 is from september 2013. It is not compatible with PCRE 8.12 You should upgrade to at least 1.21.11 the last patched version of the 1.21 series. But the 1.21 series is unsupported, you should try to upgrade to at least the 1.23 series which is the "Long term support" version. —TheDJ (Not WMF) (talk • contribs) 10:45, 9 August 2015 (UTC)
Cannot load main page
Latest comment: 10 years ago5 comments3 people in discussion
I added code for a image map and now the main page won't load. Is there anyway to remove the code from the page? Hsedidin (talk) 22:07, 8 August 2015 (UTC)
If the URL already contains a "?" character, then you should add "&action=edit" instead.
Still, I don't think that's the problem, since I've tried it on that URL and the page doesn't load, event for action=history, requesting Special:Version or even api.php
Latest comment: 10 years ago1 comment1 person in discussion
Hello. I have a mediawiki 1.25.1 installation. I have been facing this problem for the last 4 days. Every now and then my home page disappears. The layout is ok, the navigation menu on the left is ok and working, everthing looks ok except for the content of the page which is not shown. If I click on "View source" or "Edit" I can see that the content is there, it is just not shown. If I download the LocalSettings.php file via FTP and then upload it again the issue disappears, only to come back after some time, usually less then a hour, even if no one navigates to the wiki during that period. This happens only on the remote shared server I have used for more that 6 years now. The same wiki with the same database on my local server works just fine instead. Pierpaolobertalotto (talk) 06:02, 9 August 2015 (UTC)
magicword.php error
Latest comment: 10 years ago6 comments2 people in discussion
Can't upgrade without downgrading PCRE. Problem is, I'm having serious trouble downgrading PCRE. I've tried several different patches from around the web to no avail. How do you downgrade correctly I guess is my question? 99.180.100.138 (talk) 01:24, 20 August 2015 (UTC)
There's something you probably didn't understood: You need to upgrade MediaWiki to solve the issue, or downgrade PCRE if you still want to use your obsolete and insecure mediawiki installation. Ciencia Al Poder (talk) 13:48, 20 August 2015 (UTC)
No, I got that, but, as I said, I can't upgrade Mediawiki without fixing the issue! Which means I have to downgrade PCRE first before I can upgrade Mediawiki. I can't run any update scripts in the state that the wiki currently is in. So do you know how or could you point me to someone who knows how to downgrade the PCRE so I can then upgrade mediawiki? 99.180.100.138 (talk) 23:28, 20 August 2015 (UTC)
you say "I can't upgrade Mediawiki without fixing the issue", but upgrading to a supported version will fix this issue without downgrading PCRE! Ciencia Al Poder (talk) 09:15, 21 August 2015 (UTC)
MathCaptcha
Latest comment: 10 years ago2 comments1 person in discussion
Hi, I'm trying to set up math captcha with texvc, I'm not doing anything unsual, just follow the guide.
I can see the images rendered, and can open them with their url, however captcha always show "1" as the question and never display the image.
I read some of Math extension's code, and realized that this is the `return self::MW_TEXVC_SUCCESS;` in MathTexvc.php that returns the 1 or true.
why the image is not showing? is this something with the configuration or just old extension?
Does someone here know enough about the Math extension w/ texvc? I don't want to start learning the details of this extension...
the main problem is that it returns the succes flag and not the new url of the image on the server. but where is my problem? is it configuration issue? or should I modify the Extension itself (not likely).
Sorry! This site is experiencing technical difficulties.
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.
Outputting PDF or ODT from a web-based, private Mediawiki
Latest comment: 6 years ago3 comments3 people in discussion
I'm trying to get a PDF, or ideally ODT, output from my fairly extensive Mediawiki wiki. The wiki is hosted on a remote server, not locally, and it is not publicly accessible -- only someone with an account (i.e., me) can see it. How do I get PDF or ODT output?
Things I've already tried, and why they (seemingly) don't work:
mediawiki2latex seems to require public, automatic creation of an account to work. There seems to be no way to specify a particular account/password to log in to the wiki, so either I make the wiki open to spammers or I can't use that app.
The readme for Extension:Collectionstates
SECURITY NOTICE: If the MediaWiki and the render server communicate over an insecure channel (for example on an unencrypted channel over the internet), please DO NOT USE THIS SETTING, as the credentials will be exposed to eavesdropping!
So that seems to imply that I shouldn't use it to output files from my wiki to some public render server.
My webspace provider can't set up a render server there.
Setting up my own render server locally seems to still require an IP address, and apparently that can't be 127.0.0.1:
Please note that nserve does not allow you to have your mediawiki base_url (equivalent to $wgServer in LocalSettings.php) set to localhost or an IP beginning with 127.0. or 192.168.
Or is there some way to specify a different IP there? What would that IP address be?
I'm sure there's something I'm not understanding somewhere. It can't really be that hard to output PDF from a privacy-controlled Mediawiki wiki, can it? 71.220.10.23 (talk) 03:27, 10 August 2015 (UTC)
I myself use the Extension:Collection to have PDFs created and I think it can also provide ODT files.
With its default settings, this extension uses a render server, which is provided by some company and the extension will then send your page content there, meaning: Over the internet. If that is not what you want, in order to be able to use this extension, you would have to set up a rendering server yourself (which I have not tried, but which might not be trivial and which surely needs changes in the host server). 88.130.112.182 (talk) 11:51, 10 August 2015 (UTC)
mediawiki2latex requires to wiki to be publicly readable. But an account or possibility to create one is not needed. Still it has already been requested that mediawiki2latex should support working with accounts. I am not going to prevent that from happening, and the software is open source, so you are welcome to implement such a feature, and provide a patch. Dirk Hünniger (talk) 11:01, 24 November 2019 (UTC)
How do I make an atribute in an infobox not show up on the page?
Latest comment: 10 years ago3 comments2 people in discussion
I want to hide the attribute for coordinates. I want it to still be there, but I dont want it to show the coords. Vapblack (talk) 14:34, 10 August 2015 (UTC)
Several ideas:
First: Make sure there is some kind of CSS class around the attribute and then add a few lines of CSS code to the page MediaWiki:Common.css in your wiki to hide that class.
Second: If you are using a template, then in this template there most likely is a line, in which the coordinates are being displayed. This line can most likely be commented using <!-- and -->. Then it will still be there, but it will not be rendered. 88.130.86.151 (talk) 19:43, 10 August 2015 (UTC)
Yeah, that's pretty much how I have been doing it.
I'd like for it to be rendered correctly though.
I imported a small page about a village in NY State Below is how it looks on wiki
Latest comment: 10 years ago3 comments2 people in discussion
The temporary password created for a user on the create account page is being generated and sent in the email but not updated in the database. When I checked the database it didn't appear that any password values were set for the new user after creation. Is this a known issue for the latest release? Mattdgregg (talk) 17:49, 10 August 2015 (UTC)
The email validation works fine as long as a password is entered for the user when the account is created (which sends a validation email). My issue is with the email that is sent when an account is created for someone and an auto generated password is created and sent in the email asking the user to log in with that password and change it. It might be similar though to the linked task in that an error could be happening on account creation with setting password values in the db. I'll try to run a debug and see what I get. Mattdgregg (talk) 15:35, 11 August 2015 (UTC)
Missing Sysop, in MW 1.25.1
Latest comment: 10 years ago2 comments2 people in discussion
I looked into the DefaultSettings.php file and i saw sysop are set. But when i tried to select what group a user should go to under Special:UserRights, i only see bot, admin, bureucrats. How can i enable sysop? AmazingTrans (talk) 19:49, 10 August 2015 (UTC)
All settings from DefaultSettings.php can be changed in LocalSettings.php, e.g. groups can be removed by unsetting them from $wgGroupPermissions. Make sure this not the case! You can use the page Special:ListGroupRights in your wiki to verify that this user group itself does exist! 88.130.86.151 (talk) 20:15, 10 August 2015 (UTC)
Hosting site updated, lost my wiki
Latest comment: 10 years ago3 comments3 people in discussion
RESOLVED
User recreated wiki manually from sqlite database
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 installed MediaWiki to my personal website as a way to store notes and ideas. It's a private wiki and was only accessible by 5 people. My hosting site is HostGator, and I used their QuickInstall function to install MediaWiki. Since it's a small wiki, I opted to use the sqlite format to store my data.
HostGator recently performed some type of updates and as a result, I received several PHP errors when trying to access my wiki. Upon further investigation, I learned that the wiki no longer existed according to the hosting site and all of the data was missing. I was able to save the entire folder (containing images and the localsettings.php file among many others) as well as the sqlite database.
I have since loaded a new wiki onto my domain, but I'm struggling to figure out how to force the wiki to point to the old database. I have ensured that it was re-installed using the sqlite format. I hoped that it would be as easy as putting the old localsettings.php file in place of the new one and making sure that it was pointing to the correct database, but this does not seem to be the case.
Is there a tutorial somewhere that I can follow to be able to re-load my wiki or even access all of my notes again so that I could re-create the wiki (even though the latter would take ages if I'm forced to re-build). I'm at my wits end... how do I get my wiki back? DSiebert13 (talk) 00:46, 11 August 2015 (UTC)
I'm the original poster -- it's not letting me sign in right now, and I don't care enough to update or reset my credentials.
I initially installed the wiki to the default directory, so the directory at $wgSQLiteDataDir is the same with the new version as the old.
Nonetheless, I found a firefox extension that allows me to read the contents of an sqlite database, so I just went through and manually re-created all my pages. It took several hours and I lost my templates, but at least I have my data back now.
The wiki that doesn't "look good" has a sharing widget or something like that which is floating on the left, and that interferes with the way you're adding those images (which are already floating). You should probably separate your images from the sharing widget by adding before them Ciencia Al Poder (talk) 09:53, 11 August 2015 (UTC)
Something in your configuration on that wiki is removing the table's caption and instead putting it outside the table as a paragraph. 121.214.165.68 (talk) 17:51, 12 August 2015 (UTC)
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3283' is therefore not allowed access.
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.
XMLHttpRequest cannot load https://en.wikipedia.org/w/api.php?action=query&titles=Main%20Page&prop=revisions&rvprop=content&format=json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3283' is therefore not allowed access. Rathoreofficialwiki (talk) 08:47, 11 August 2015 (UTC)
And that's correct
If you want to load an api URL from another domain, you should use $.getJSON and provide a callback=yourFunction (or similar) to the URL so you are in fact requesting a JSONP. Ciencia Al Poder (talk) 09:49, 11 August 2015 (UTC)
Why would you want to do that? Wikitext doesn't allow HTML or JavaScript by default (for good reasons). If you really want to do that, you can achieve this with Manual:$wgRawHtml. But you should really rethink what you do and use another way to solve you rproblem :) Florianschmidtwelzow (talk) 14:26, 11 August 2015 (UTC)
I guess, wiki was best to use as knowledgebase, then somehow i want to implement html with js on some knowledgebase for example to perform some math.
I guess in order to do that, i will have to create a separate html and link wiki to that then.
When I try to upload a file I get the following error message
Latest comment: 10 years ago6 comments3 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Maybe one of your configured folders in LocalSettings.php isn't a correct directory? It's trying to write a thumbnail to the images folder, but a check is made to assure the origin and target path starts with a valid drive letter (C:\, etcm file:///C:/ won't be allowed).
Maybe the problem is that you specified a relative path somewhere. The relevant configuration variable may be $wgUploadDirectory, $wgImageMagickTempDir, or $wgTmpDirectory Ciencia Al Poder (talk) 09:51, 12 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Scribunto - Lua error: Cannot create process: proc_open(NUL): failed to open stream: Permission denied
Latest comment: 10 years ago9 comments2 people in discussion
Hello,
First of all I want to
say that I'm a noob with basic PHP knowledge and just trying to set up
my first Wiki with infoboxes. I followed the guide for 'Importing
Wikipedia Infoboxes' where I installed the required extensions
'ParserFunctions' and 'Scribunto'. After I imported a Wikipedia page
with its infobox, there is an error showing up:
Lua error: Cannot create process: proc_open(NUL): failed to open stream.
There are no additional details available, but the PHP error log says:
PHP Warning:
proc_open(NUL): failed to open stream: Permission denied in
\\***\***\Websites\t\test-wiki\mediawiki\extensions\Scribunto\engines\LuaStandalone\LuaStandaloneEngine.php
on line 220
I assumed to change
somehow the permissions, but I don't know where to execute "chmod a+x
/path/to/extensions/Scribunto/engines/LuaStandalone/binaries/yourOS/lua"
on Win7. On the admin side, proc_open is not disabled at server level.
Could anyone give me a hint how to proceed?
MediaWiki: 1.24.2 PHP: 5.6.3 Database: MySQL 5.6.17
Could that be a path error somehow? I tried to change $wgScribuntoEngineConf['luastandalone']['luaPath'], but with no success. Mafi9 (talk) 12:26, 12 August 2015 (UTC)
Update: Now I'm getting the "Lua error: Internal error: The interpreter exited with status 1" error. Unfortunately there is no error log file in the given path. If I choose another path than "c:/windows/temp/lua-debug.log" it's giving me the old 'permission denied' error... Mafi9 (talk) 15:22, 12 August 2015 (UTC)
Well, that's a progress, since now you know the permission error was because PHP couldn't access NUL nor /temp/ (this last path doesn't make any sense on windows, btw), but it can access c:/windows/temp/. It may be an open_basedir restriction.
That's strange, indeed. Looks like you're on a hosting service. You should ask on the support for your hosting in case there's a misconfiguration. __DIR__ and dirname( __FILE__ ) should work, unless PHP has problems, detecting the wrong path. The hosting appears to use DFS on windows, probably with replication, which may confuse PHP. Ciencia Al Poder (talk) 16:29, 13 August 2015 (UTC)
The strange thing is when I create a simple php-file in the mediawiki-folder with the following code:
<?php
echo __DIR__;
echo dirname(__FILE__);
?>
it shows the correct path "\\***\DFS\Websites\t\test-wiki\mediawiki", so not sure why it shows these strange double paths in the errors. In fact its a problem I didn't want to discuss here, unless it's really related to the Scribunto error above...what do you think? Mafi9 (talk) 09:06, 17 August 2015 (UTC)
Ok, that's fine.
One thing I noticed is that it's trying to execute /usr/bin/lua, but that's a linux path
Latest comment: 10 years ago7 comments4 people in discussion
My data has disappeared, though searches can still be performed and change data is still there. Suddenly the data display to read the pages is gone. No error codes displayed. Thank you for any suggestions. http://thewinerbuds.com/wikiActualccb (talk) 00:58, 12 August 2015 (UTC)
If you look at the HTML source of any page, you see a lot of MediaWiki configuration variables listed inside <script> tags which should not show up there. No idea where that comes from but that's where I'd start to investigate. Malyacko (talk) 09:30, 25 August 2015 (UTC)
On a shared host, you can't upgrade or downgrade PCRE. That's up to the host. To upgrade MediaWiki, see Manual:Upgrading. Alternatively, you can patch your MediaWiki installation to fix the PCRE issue as described in the task, but that's not recommended, since your MediaWiki version is obsolete and may have open vulnerabilities Ciencia Al Poder (talk) 13:59, 4 October 2015 (UTC)
Thumbnail not enlarged
Latest comment: 10 years ago4 comments2 people in discussion
Hi all,
I have mediawiki version 1.21.1
I use this code [[File: image.jpg|thumbnail|some text]] to get a thumbnail of the image. This works fine.
When I click on the thumbnail I would like to see an enlarged image of it. But clicking on a thumbnail shows a page with some informations of the image. There is also a larger version of my image. When clicking on that image I get what I want: the image on a dark background.
You are right. I've thought the default behavior is what I expected. Seems, everyone has MultimediViewer installed. Now I have installed it too. Bs47445 (talk) 05:26, 13 August 2015 (UTC)
I did a fresh install with mediawiki 1.25.2 and MultimediaViewer REL1_25 on linux.
In the begining it seemed to be fine but now I have found that it works "only a few times". Most of the time I see the page File:image.jpg.
two separate pages for the same article that need to be merged
Latest comment: 10 years ago2 comments2 people in discussion
I am dutch speaking and when I was looking for the german page I couldn't find it via the regular link, when I did some more searching I finally found it. I tried to connect the pages but I couldn't because they have different numbers or so, I'm no computer geek and do not understand a lot about it, but could someone merge the two, as they are about the same subject. I added the links of the two wikidata links where you can see the languages each of them have.
It looks like this is rather a wikidata-specific problem than a problem of the mediawiki-software (and I would guess that's why nobody so far answered you). I think the community portal of wikidata would be a good place to look for help; I would recommend the Administrators' noticeboard; it looks like there are similar requests as yours. LiturgicaNotata (talk) 07:12, 17 August 2015 (UTC)
How can I automatically assign custom namespaces to new pages created on Mediawiki?
Latest comment: 10 years ago1 comment1 person in discussion
I have created two namespaces - X and Y on my wiki setup. Also 2 content pages - test1 and test2. Now what I want is that every time a user creates a new page in test1 it automatically gets mapped under namespace X and similarly for pages created under test2 to get mapped under namespace Y. Essentially I want to force pages to be assigned to namespaces of my choice. Is there an already available extension for this? Garvjain82 (talk) 19:07, 12 August 2015 (UTC)
How do I implement Role based user access on Mediawiki?
Latest comment: 10 years ago8 comments4 people in discussion
I am trying to setup a private wiki for my team. I have already achieved AD based authentication to login into the wiki using LDAPAuthentication extension. But now I want to implement some kind of role based access. To be more precise - 1. I have setup 5 different project pages 2. Now I want that only the people who are part of a particular project can access that page 3. Also any subsequent pages placed within this project page also need to follow the access restriction set for the project page by default
You might peruse (if you haven't) Category:User rights extensions for what you need. In my experience, none of them will give you exactly what you want without risking trouble down the road. There is a trend of un-maintained extensions in this flavor, perhaps due to how tricky it is to accomplish in the first place.
We currently use Extension:Lockdown to protect content that is considered secret (and there's not much of it). It's based on defining namespaces and associating each with groups allowed to see them. It's not perfect, but has a history of being maintained and gets the job done. We used Extension:SimpleSecurity for a couple years, but it went unstable after some upgrades. We cut it loose when newer features of MW were too useful to resist. You should check out Extension:Access Control List (a spinoff of HaloACL from SMW+ ). If it gets/maintains a strong following I'll probably be checking it out soon. It could be the tipping point for corporate mediawiki adoption.
Further, I'd strongly recommend examining what reasons you have for limiting access to users across the same mediawiki installation. Mediawiki works because it connects a community who all have the same interest/stake in the content and are empowers them to improve it. If the users are deprived this ability, you are left with a CMS that tracks history. If you really want to reliably separate who can see what, install a wiki for each group. Lbillett (talk) 20:42, 12 August 2015 (UTC)
Lbillett - Thanks for the info. Actually i have explored some of the extensions you mentioned above. My immediate need now is How can I automatically assign custom namespaces to new pages created on Mediawiki? To elaborate on this - lets say I have created two namespaces - X and Y. Also 2 content pages - test1 and test2. I have mapped these under X and Y respectively. Now what I want is that every time a user creates a new page (on test1) it automatically gets mapped under namespace X and similarly for pages created under test2 to get mapped under namespace Y. Essentially I want to force pages to be assigned to namespaces of my choice. Is there a solution for this or an already available extension for this? Garvjain82 (talk) 06:05, 13 August 2015 (UTC)
If I understand correctly, you almost want to force users to type in the fully qualified page name with namespace prefix "X:test1" or "Y:test2" etc. every time they create a page, but without them actually having to do this?
You should check out Extension:SemanticForms. It would allow you to make custom page creation forms that would accomplish the above easily. If you combine that with some user information extensions like Extension:WikiUserInfo you can preferentially display content (not in the security sense) to users based on their group.
Otherwise, you're talking about creating some page like Main:mypage then performing a move operation to X:mypage. Lbillett (talk) 12:19, 13 August 2015 (UTC)
You can use Extension:CreateBox so people don't have to manually type the namespace, you can simply fill the prefix= parameter with the namespace and pages will be created on them.
yeah I used that. Thanks. But its all turning into a one big hack :). Looking now for something out of the box now. Exploring other wikis too. 182.71.223.2 (talk) 10:58, 14 August 2015 (UTC)
Robots created many pages. How to delete them?
Latest comment: 10 years ago7 comments4 people in discussion
Hello.
Last time some robots registered on my mediawiki and created over 3000 pages.
To delete pages, Extension:Nuke. Note that if the spam lasted for too long (and also many pages were created) it would probably be more easy to restore from a backup.
Now if the LocalSettings.php has $wgGroupPermissions['*']['createaccount'] = true; receives new attacks. IMPORTANT: How to preventing this attacks? ...
Is there any way to adjust external image's alignment?
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.
To adjust size and alignment of external images, I set $wgAllowImageTag parameter to true.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Can I move the search bar to the top of the sidebar?
Latest comment: 10 years ago5 comments2 people in discussion
Right now, I'm using a theme called Daddio. The search bar is toward the bottom of the sidebar. I'd like to move it to the top Vapblack (talk) 01:35, 13 August 2015 (UTC)
Hi!
If you have access to the actual files on the server, you can modify the template file Daddio.skin.php, whichyou find inside the folder skins/Daddio/. That way you can change the HTML structure and place the search where you want it to be.
Another option is to move it using CSS. Wiki administrators can add CSS to the wiki page MediaWiki:Daddio.css in your wiki. This CSS will then be valid for the Daddio skin. 88.130.82.16 (talk) 11:05, 13 August 2015 (UTC)
thanks. I figured as much, I'll definitely go dredging through there. problem is I don't know html or CSS well enough to confidently do something like that.. I'll probably ctrl-f for search and see if I can find a way to move it. Vapblack (talk) 03:15, 22 August 2015 (UTC)
so I found that folder, and the code is as follows. I dont see how to move it to the top of the sidebar.
So, I notice that its loading the search, toolbox and languages after all the sidebar links. So I need to find a way to separate the search bar and put it ahead of everything. Vapblack (talk) 22:16, 31 August 2015 (UTC)
Main Page loads to middle of page after upgrade to MW 1.25.1
Latest comment: 10 years ago1 comment1 person in discussion
After upgrading to 1.25.1 my website opens in the middle of the page when coming to the site's Main page, rather than the top like any other website.
Other links and pages open as expected, at the top of the page, only the Main page is acting in this odd way???
This happens in Firefox, Chrome and Android mobile devices I have tested on. DaveLMW 1.25.1, PHP 5.4.37, MySQL5.1.73-cll SMW 2.2 03:34, 13 August 2015 (UTC)
Do a search in your Main page's source code for "autofocus". If nothing shows up, try disabling JavaScript in your browser. Ike Hecht21:12, 17 September 2015 (UTC)
Nothing working on the Mediawiki:common.css page
Latest comment: 10 years ago2 comments2 people in discussion
Hello, I am trying to make the background of my wiki black and all of the text white, however when I try to add code to the css page nothing happens, even when I hard refresh. (I am VERY new to wiki editing). I would put the link here, but I don't have a domain so I can't.
Changing colors of all the elements may be tricky.
CSS is based on rules, but most specific rule wins, not the last one, so:
body { color: green; }
is more generic than
h1 { color: black; }
So independently of which rule comes first, the h1 rule wins. This may be a reason why it does nothing.
A brute-force rule for that would be:
{ color: green !important; }
The same goes for backgound, which can be even ofuscated by a background image that doesn't let you see the background color.
You should document yourself about how CSS rules work, and also play with your styles using the developer console of your browser (open with F12) where you can write CSS code that will be immediately applied to the page Ciencia Al Poder (talk) 09:46, 14 August 2015 (UTC)
LdapAuthentication not working with HaloACL
Latest comment: 10 years ago1 comment1 person in discussion
On setting the variable haclgBaseStore to HACL_STORE_LDAP -
Getting the below error:
PHP Fatal error: Call to protected method LdapAuthenticationPlugin::getGroups() from context 'HACLStorageLDAP' in /var/www/html/mediawiki-1.25.1/extensions/HaloACL/storage/HACL_StorageLDAP.php on line 513, Garvjain82 (talk) 09:01, 13 August 2015 (UTC)
How do I stop FileZilla from auto launching?
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
Your question is not related to MediaWiki
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Is there a simple, stable, and secure method to add <scripts> to the <head>, sitewide?
Latest comment: 10 years ago5 comments4 people in discussion
I want to add two <script> tags to my site <head>, to be loaded on every page. I'm using an off-the-shelf MediaWiki skin, and I'd prefer not to edit the skin's source files in order to avoid having my changes wiped out whenever I need to upgrade the site.
Is there an easy way to to add <script> tags to the <head> of every page, without compromising the security of my site? Searching MediaWiki.org, I have found a two extensions, but the discussion page for one lists security vulnerabilities, and the other has a dependency that is no longer maintained.
You can add scripts directly on some MediaWiki: pages that are loaded for every page. See Manual:Interface/JavaScript (but note that the script won't be loaded in the login screen for security reasons).
Yes. You can put the code that google analytycs presents inside <script></script><nowiki> tags directly in MediaWiki:Common.js, without the <nowiki><script></script><nowiki> tags [[User:Ciencia Al Poder|Ciencia Al Poder]] ([[User talk:Ciencia Al Poder|talk]]) 09:25, 14 August 2015 (UTC)
== Moving from Sharepoint to MediaWiki ==
Hi everyone,
I am about to integrate internal MediaWiki and SharePoint, ill be pleased if someone could give me some advice.
Should I simply copy the cointain of SharePoint through wikiTextGenerator or is there some way how to do it? I have also simple programme written in C# that generates wikitext tables from excel into separated .txt files. Is there some way how to transclude/substitute local files into internal MediaWiki?
Thank you! :) [[User:Wydrak|Wydrak]] ([[User talk:Wydrak|talk]]) 07:41, 14 August 2015 (UTC)
== Moving images folder ==
Heya,
Is it possible to move the images folder of a mediawiki instance?
I tried moving my images to the new location then setting <code>$wgUploadDirectory</code> and <code>$wgUploadPath</code>, but then images stops displaying and give an error message instead: <code>Error creating thumbnail: File missing</code> [[User:Guillaumito|Guillaumito]] ([[User talk:Guillaumito|talk]]) 12:53, 14 August 2015 (UTC)
:Yes, it's possible and making the change to those settings should be sufficient. Be sure you changed it properly, specially $wgUploadDirectory. You can also see the log of where it's trying to get the image from by creating a [[Manual:How_to_debug|debug log]] [[User:Ciencia Al Poder|Ciencia Al Poder]] ([[User talk:Ciencia Al Poder|talk]]) 13:20, 16 August 2015 (UTC)
== Redirecting privacy policy ==
Hi,
How can i redirect my privacy policy link in the footer to the wikimedia?
<nowiki>https://wikimediafoundation.org/wiki/Privacy_policy 95.49.50.140 (talk) 18:08, 14 August 2015 (UTC)
Latest comment: 10 years ago3 comments3 people in discussion
RESOLVED
Not an issue of MediaWiki.org nor WMF.
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 word denemet is refused by spam filter.
In Hungarian, there are millions of words containing denemet, for example "Mindenemet" = (my everything) , and so on.
I wrote into Mediawiki:Spam-whitelist
denemet
\bdenemet
\bdenemet\b
all that does not help, denemet is refused
(see page teszt1 on hu.right.shoutwiki.com)
The text entries on MediaWiki:Spam-whitelist are only matched against host names inside URLs, not against normal text. I think this is why an entry there does not help.
I am currently unsure, why you are getting this error: After trying to save this word, your wiki uses the system messages "spamprotectiontitle" and "spamprotectiontext". Their English text is "The text you wanted to save was blocked by the spam filter. This is probably caused by a link to a blacklisted external site."
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
How to import mediawiki dump to new namespace.
Latest comment: 10 years ago2 comments2 people in discussion
Hi,
I have a mediawiki page dump from server A and I want to import page dump to another mediawiki Server B with new namespace. Could anyone help me on this
Generally you can change the appearance of elements in the wiki with CSS. Something like text-align: right; will, if applied to an element, move it to the right. 88.130.75.245 (talk) 20:09, 17 August 2015 (UTC)
RequiredGroups option in LdapAuthentication not working
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.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Problem with MultimedaViewer
Latest comment: 10 years ago3 comments2 people in discussion
Hi,
I'm using mediawiki 1.25.2 and MultimediaViewer REL1_25 on linux.
When I click on a thumbnail, I get an enlarged view of the image. But this works "only a few times". After some page navigation when i go back to the page with the thumbnail I see the page File:image.jpg when I cklick on the thumbnail.
Are there any errors in your JavaScript console? Did you wait for all the JavaScript on the page to finish loading before clicking on an image? Legoktm (talk) 05:14, 19 August 2015 (UTC)
eachtime when entering the page:
12:08:13.604 Kein Element gefunden1 mod_pagespeed_beacon:1:1
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.
Which is the best hook to add a header per namespace? E.g. a naviagtion header on all help pages.
I used to place it in the skin, but then magic words like <nowiki>{{PAGENAME}}</nowiki> don't work after redirects (it returns the old name from the redirecting page). 217.247.165.215 (talk) 12:02, 17 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
SSL certificate always appear
Latest comment: 10 years ago5 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
When i try to access my mediawiki page, it always pop up the SSL certificate "There is a problem with this website's security certificate. Continue to this website (not recommended)."
Get a trusted certificate (one signed by a certification authority and issued for your domain), or ask your users to permanently add the certificate to the list of trusted ones. Ciencia Al Poder (talk) 20:07, 17 August 2015 (UTC)
ciencia, my mediawiki is internally on the intranet. Do i still have to get a trusted certificate or is there a way to generate locally?
Yes, a https connection needs to have a valid certificate or you'll get the warning, no matter if the website is on local intranet or Internet. That said, on a local network the network admin may have tools to deploy and install certificates on each machine centrally (on a windows network, for example), so generating a valid domain certificate may be possible without need of one issued by a CA.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Waiting for the password
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.
hi, i have created my account and also verified the link which you sent to my mailbox. am waiting for my password desperately. Can someone from the admin team sort this out?
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
68.200.143.146,
Latest comment: 10 years ago2 comments2 people in discussion
Just created an account, got confirmation email with no confirmation number just a link to click the below message was on the link. Can you please help?
Invalid confirmation code. The code may have expired.
Hi there- there is a guy on wikipedia deleting my pages
Latest comment: 10 years ago5 comments5 people in discussion
RESOLVED
Not a question for Project:Support_desk, the question should be asked in the Wikipedia language project where the problem is :)
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 researching, reading books on Islamic caliph (known as Amir al-Mu'minin) and posting on Wikipedia. But this user:Fenerli1978 is always deleting my researches which I mostly found on books. With sharing my sources too (book name, page, ISBN). What's the problem with wikipedia? Is it easy to give rights to a user to delete others hard work for no reason? I need an explanation.
The licence under which the texts in Wikipedia are posted allow everyone to change or delete texts. However, there also are vandals sometimes, who without an encyclopedical cause vandalize articles. I have not read your contributions and I currently have other things to do apart from becoming part of a religious war, so I cannot tell, which is the case here. 88.130.75.245 (talk) 20:07, 17 August 2015 (UTC)
I suspect, that you contributed to trwiki, right? Here a short snippet from CentralAuth:
tr.wikipedia.org 16:49, 17 August 2015 new account(?) Blocked indefinitely. (account creation blocked, cannot edit own talk page) Reason: #5-Vandalizm
I think, you should try to unblock your account first. For that you should read the help pages in your wikipedia language version to find out, what the process for a possible unblock looks like. After that you can contact everyone via their talk pages, For a first introduction in user talk pages, you could read the information in the english Wikipedia, and, if your wikipedia language has it, there, too.
And, last, but not least, mediawiki.org (especially the support desk where you're posting on) is for general help about running (setup, maintain, upgrade and so on) the mediawiki software, not for solving support tasks for wikipedia (or any other wmf project), most of the wikis has their own processes and places for this, and we (the people helping here) can't know all of them from any wikipedia language.
Good look and hopefully, wikipedia (and mediawiki.org maybe, too) can see a lot of constructive contributions from you!
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.
Can't find a way how to increase edit area's font size.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
"revision # does not exist" help
Latest comment: 10 years ago2 comments2 people in discussion
Recently upgraded to 1.25.2 and things went amiss, so I restored a previous backup. Getting "revision # does not exist" messages. Looked up how to fix it and the task is beyond my talent level. Question: If I go to an earlier backup, will this likely resolve the problem, or would it remain?
Latest comment: 10 years ago7 comments5 people in discussion
In an extension using LinkerMakeExternalLink, <code>$wgTitle->getNamespace()</code> doesn't return the namespace after saving a page (category in my test). It returns as "0".
That hook isn't supposed to be used to change it depending on the page being displayed... But well, if you need it, you can grab the title from another hook and save it to your own global (or better, a class member variable if the extension has it's own class) to use it later. Ciencia Al Poder (talk) 13:59, 19 August 2015 (UTC)
Yes I need LinkerMakeExternalLink cos I have to check the atributes. Actually I need the NS, but that's the same problem.
Attempt to d/l FreePDK45, v1.4 opens a LicAgr: "NCSU CDK[sic] D/L"
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.
In addition to the title of the License Agreement for FreePDK being named "NCSU CDK," the contents seems to treat only of "the use of SVRF(TM) Technology" from Mentor Graphics Corporation.
Firstly, is this really the right document?
Secondly, for my University, which is unable to agree that it can "ensure that persons permitted access to SVRF Technology do not disclose it or use it except as permitted by this agreement" ... which provisions "shall survive the termination or expiration of this agreement", is there a way to use FreePDK without the SVRF Technology, which seems to be the sticking point?
Lastly, "how important can it really be?" if it's a click-through agreement, which form my university at least doesn't recognize as binding (being non-negotiated)? (Related question: whom would one negotiate with?)
What I'd like to do is kick this down to the professor's department to put onto their server, where they can limit (better than we at the college computer center) who can access it, and the professor can arrange to inform students who use it about the restrictions and collect and store individual agreements.
We just aren't that fine-grained here, generally preferring "One Hammer Fits All."
Also be sure you configured your $wgServer correctly, and that there's no redirection (like canonical domain redirect or something) being done there.
For example, a server misconfigured to redirect example.com to www.example.com but $wgServer set to example.com will cause any form input to be lost when sent to the server. This can be seen in the debug log if the login page never gets a POST request, only GET Ciencia Al Poder (talk) 08:08, 22 August 2015 (UTC)
How change default in Extension:UniversalLanguageSelector
Latest comment: 10 years ago4 comments2 people in discussion
Continue parameter for timestamp ordered category member queries
Latest comment: 10 years ago3 comments2 people in discussion
Note: These queries are running against the Commons Mediawiki installation.
I am successfully using the continue parameter for default sorted category members (excluding cmsort parameter), for example, this works with the initial, blank, continue params :
it will then return a "continue" data structure along with the first page. If I take the returned data and supply it (suitably URI encoded) it still does not work :
Thanks for your input Ciencia - I think that last one ending with %7C%7 is a paste error. I'll see if I can get it working otherwise put together some better examples. Ftclausen (talk) 08:31, 21 August 2015 (UTC)
Quick index extension?
Latest comment: 10 years ago4 comments3 people in discussion
Hi.
In my wiki there is a concept of quick indexes introduced. I was not participated in developing this concept, but this can be used for some kind of quick navigation, and probably it makes some practical sense for the wiki users (but I doubt about it pretty much, because those indexes are not really visible for a user). These indexes were written manually thus they never get updated when a new major article is created. They all are outdated for, I guess, 2-3 years. Frankly speaking, I'd love to get rid of the indexes page because of the reason described above, but I think that my teammates wouldn't accept such an idea.
The structure of the quick indexes page is roughly as follows:
Start page containing links to digits-related or a certain letter-related titles. Something like: # A B C ... X Y Z
An article, let's say "B quick index", contains a list of terms and their definitions in a list form, like: bar - A foo companion. baz - A bar companion.
What I'm looking for is an extension that is designed for such a use case. Is there any extension (or any other way) to let such indexes be generated?
Thank you in advance.
P.S. It would be incredible if such an extension could specify somehow which articles are worthy to be listed in the quick index; swapping (/omitting) the leading "the" in the titles to the end in the quick index lists would be great (the are a lot of articles named like "The ...", so "..., the" could be awesome). 194.44.30.245 (talk) 09:22, 19 August 2015 (UTC)
Thank you for reply, Ciencia. We use categories a lot, but they are not considered very user friendly for casual users. The index I described a month ago is a sort of excerpt list for the most important articles that we group by the first letter.
No idea what "Raghu-nomics" is, but if your question is how to create your own Wiki site on your own server by using the MediaWiki software, see mediawiki.org.
Wiki Please stop your editors, they are deleting all of my personal photos claiming they are copyright violations with no proof or Claim. SkyPhoenix6,
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.
Wiki Please stop your editors, they are deleting all of my personal photos claiming they are copyright violations with no proof or Claim. SkyPhoenix6, Skyphoenix6 (talk) 02:59, 20 August 2015 (UTC)
Note that $wgUsePathInfo = true; is for when you can't use rewrite rules on the server to have nice /wiki/PAGENAME URLs, and instead you want to use index.php/PAGENAME urls (http://clamsiopl-web.pl/clamsiopl-wiki/index.php/Strona_g%C5%82%C3%B3wna). Don't use both configurations.
Well, the license link and PoweredBy icon are examples ;)
Feel free to report it as a bug, Surprisingly, I haven't seen it reported yet. That seems to be controlled in the parser, and those footer links aren't passed through the parser. The same was happening for sidebar links (T31533), which needed to be coded specifically for this.
The link "Bedingung: Namensnennung - Nicht kommerziell - Keine Bearbeitungen" now opens on a new window, but not the footer icons. I've updated the script to include those.
Latest comment: 10 years ago4 comments3 people in discussion
I needed to migrate our wiki from one server to another. Everything works fine except special pages. When I click on special pages I get this error.
Warning: require(/var/www/html/smiwiki/includes/specials/SpecialAllMessages.php): failed to open stream: No such file or directory in /var/www/html/smiwiki/includes/AutoLoader.php on line 1282
Fatal error: require(): Failed opening required '/var/www/html/smiwiki/includes/specials/SpecialAllMessages.php' (include_path='/var/www/html/smiwiki:/var/www/html/smiwiki/includes:/var/www/html/smiwiki/languages:.:/usr/share/pear:/usr/share/php') in/var/www/html/smiwiki/includes/AutoLoader.php on line 1282
Any thoughts as to where to start looking? That line(1282) in the php file is - require $filename; Earlier in that same section there is a $filename = false; statement.
Please have a look inside the folder /var/www/html/smiwiki/includes/specials/!
Is the file SpecialAllMessages.php present in that folder? According to the error it is not - or at least permissions to access this one file are wrong. 88.130.126.59 (talk) 17:20, 20 August 2015 (UTC)
I'm getting this error when I try to access the api page http://my.url/tw/api.php
Fatal error: Call to undefined function mb_convert_encoding() in /var/www/tw/includes/HtmlFormatter.php on line 66
I see notes about multibyte issues but it is not clear to me why I would need this feature; we have simple needs only in english... phpinfo indicates Zend Multibyte Support is disabled. This is a relatively new install with 2-3 year old content from an earlier version of wikipedia. Never tried to use the api function before.
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.
If I change an article and save it, the article will either take very long to save or it will not save. I do not get any error messages Does anybody have the same problem? What can I do? 185.46.212.59 (talk) 06:17, 21 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
use wiki like software-version
Latest comment: 10 years ago2 comments2 people in discussion
i want to use wiki in parts for software version control and i upload an perl-script. when try to download i get the message error 404!!!! the file is in the folder structure of wiki existing?
For version control there are version control systems instead. It's unclear **how** you upload a Perl script to me and **where** you go afterwards to download and what exactly you do there to get a 404 so all this needs clearer steps/commands without paraphrasing. And if the file exists in the folder structure only you can tell as you have access to the company's internal server... :) Malyacko (talk) 11:48, 21 August 2015 (UTC)
Weird template behaviour
Latest comment: 10 years ago3 comments1 person in discussion
RESOLVED
2 templates existed with quietly different name :/
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 Template:Planets/Pluto:
<pre>
{{Planets
|name=Text - Pluto 2
|foos=bars
}}
</pre>
When I add <nowiki>{{Planets/Pluto}}</nowiki> on my user page, the parameters are not properly sent to Template:Planets, the name is even replaced to "Text - Pluto" which could have been the value a year ago.
This occurs not on Template:Planets/Pluto itself or when add the content of Template:Planets/Pluto to my user page. Only when I include <nowiki>{{Planets/Pluto}}</nowiki>.
And it doesn't occur with all templates of that series.
I can reproduce it with a test installation that uses a copy of the DB, so it's no weird cache thing.
When I change the template parameter "name" to something else, e.g. "title" then the value gets not replaced. It's not returned at all on the user page: <nowiki>{{{title}}}</nowiki>.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
I cannot execute command: C:\cd (My created filename)
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.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
When I run maintenance/updateSearchIndex.php I get the error
<pre>
--- Unlocking --
Done
*** Couldn't write to the searchUpdate.MyWiki.pos!
</pre>
Does the maintenance directory needs some write rights? Atm is has <code>drwxr-xr-x 17 user-mywiki psacln</code>.
What worked for me is creating the searchUpdate.MyWiki.pos file first by doing a
"touch /path/to/MyWiki/maintenance/searchUpdate.MyWiki.pos" (on Linux systems), then making sure it's writeble to the user executing the task and then doing
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
How can I get notified about new Support desk requests?
Latest comment: 10 years ago7 comments4 people in discussion
RESOLVED
phab:T107835 and user reports indicate that this is now 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 believe this is related to phab:T107835 ("Fix new topic notification on wikis with job queue"), and possibly phab:T101050 ("Set $wgEchoUseJobQueue = true on all Wikimedia wikis (tracking)"). I'll ask for further details. HTH. Quiddity (WMF) (talk) 21:14, 22 August 2015 (UTC)
@Quiddity (WMF): this implies, that I should get a notification sometimes, yes? If so, it seems I doing something wrong, because I never ever (iirc) got a notification about a new topic on any board I'm watching (and some of them were converted as the first ones on mediawiki.org :( Florianschmidtwelzow (talk) 01:08, 23 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Hosting MediaWiki on Windows Server 2012 with IIS
Latest comment: 10 years ago4 comments4 people in discussion
Hi,
I am testing using MediaWiki as a wiki-page provider for my company.
We plan to host the wiki on one of our internal servers which runs Windows Server 2012. We currently host a website on this server through IIS which connects to a SQL Server 2012 database. Ideally we would love to host our MediaWiki site in the same way if possible.
If we can host the wiki site on this server then i can create a DNS entry on our domain and also with our web provider to make the site externally accessible.
Can you confirm whether this is possible and how hard it is to implement?
It is possible but I can't say anything about difficulty. I have a client running an old wiki on IIS/MySQL, but SQL Server support is included in MediaWiki.
I don't recommend using SQL Server as backend. I don't know if support has improved, but MediaWiki wasn't functional on SQL Server lately and some things may not work. Ciencia Al Poder (talk) 08:17, 22 August 2015 (UTC)
Yeah, I would also always prefer MySQL over MSSQL when it comes to MediaWiki. Using MSSQL you will have plenty of trouble with issues, which -if you used MySQL- will just work. 88.130.105.27 (talk) 15:20, 22 August 2015 (UTC)
Show/Hide button texts displayed as <hidetoc> for table of contents
Latest comment: 10 years ago5 comments3 people in discussion
Hi All,
I am having some strange issue with table of contents in my wiki Show/Hide are displayed as <hidetoc> instead of Hide. Can any one help me why this is happening?
Thank for your response, it makes more sense to me what you have explained. I am very new to Mediawiki, could you please specify the files and its location and process to edit/execution message key related changes.
I am trying view the Wiki page in english only, I did not use any localaisation cache.
I am new to mediawiki and php. In table of contents, hide text displaying as<hidetoc> , show text dispalying as <showtoc>. can someone help on this to find solution to resolve.Sridhar.chalimeti (talk) 22:05, 21 August 2015 (UTC)
rebuildLocalisationCache.php is located in the maintenance folder. You need to run it from command line. See Manual:Maintenance scripts. Sice you advertise you're new to MediaWiki and PHP, I guess you haven't touched $wgLocalisationCacheConf. Ciencia Al Poder (talk) 08:11, 22 August 2015 (UTC)
special:Notifications at various WMF projects
Latest comment: 10 years ago2 comments2 people in discussion
Hi. The Notifications extension ("Echo") is installed on all wikimedia wikis. However, there are some complicated technical restrictions on how the "Mention" feature of that extension works. Those are detailed at Manual:Echo#Mentions.
For example, using your edits:
this edit would not trigger a mention, because it is "a change to existing content". Mentions only work if they are purely "an addition of new content".
this first edit would not have worked, because it added a bunch of content above the section heading. (e.g. this did not work, but this did).
Re: delays - I'm not sure about this problem. It might be related to phab:T101050 ("Set $wgEchoUseJobQueue = true on all Wikimedia wikis (tracking)") - I will ask the developers for details.
The are a few possible reasons for this; the most likely one is that you have to change the value of the configration variable Manual:$wgServer inside your LocalSettings.php file. It may not be set to "localhost" or anything equivalent to that.
(Obviously the reason is not that you have to change a variable, but the wrong value of that variable is the reason for why it appears that way, which is the reason for why you might want to change that value.) 88.130.105.27 (talk) 15:18, 22 August 2015 (UTC)
Why do you want to upload a new index.htm file? I would have to check the MediaWiki tarball again to be really really sure, but I am pretty sure that MediaWiki does '''not''' come with an index.htm file. Do you maybe mean the index.'''php'' file?
The index.php file should just be the one from the tarball. It should not be changed. If yours got corrupted, modified whatevr, replace it by a copy of the orignal as it came with your version of MediaWiki! 88.130.113.190 (talk) 01:50, 23 August 2015 (UTC)
This question might even be unrelated to MediaWiki. At least no indication by Inotreb that they actually use MediaWiki on their website. AKlapper (WMF) (talk) 13:36, 24 August 2015 (UTC)
country flags
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 want to enable country flags on the latest mediawiki, so that something like the following would show the USA flag:
Create a Template:Flag on your wiki, probably with code like [[File:Flag of {{{1}}}.svg]]
Upload to your wiki flags of all countries following the name of "Flag of XXXX" where XXXX is the country name, so it works with the template. Alternatively, use Instant Commons to have those images from commons directly.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Auto link detect
Latest comment: 10 years ago2 comments2 people in discussion
Normally Mediawiki detects whether a link link to an existing page, or a non-existent page.
The link has the color red when the target does not exists you. Once the target exists you, the link will be blue.
In my installation this does not function ore automatically. Only when the linking page is edited and re-saved, recognizes Mediawiki that the link exists you.
Updating the pages is done automatically by the Manual:Job queue. If that's not working, then the automatic job execution on every page load is failing. Maybe $wgJobRunRate is set to 0, or there's another problem. That page has some tips you can check to diagnose the problem and potentially fix it. Ciencia Al Poder (talk) 14:18, 24 August 2015 (UTC)
PHP session Timeout
Latest comment: 10 years ago3 comments2 people in discussion
RESOLVED
Was a permission issue on the session folder
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 use MediaWiki on my desktop (running 64bit Mageia Linux) as my personal documentation repository (or kbase). I am the only user who accesses the wiki, and I access it from both my Linux host and a Win7 VM. This configuration has worked perfectly for several years, including through multiple distro-hops.
My latest change installed a new version of MediaWiki, which broke the PHP timeout. Under previous versions, I could override the timeout so that an editing session could last for an entire 8-5 workday without timing out.
I've already changed the following settings, which have not helped:
session.gc_maxlifetime = 28800
session.cache_expire = 500
session.cookie_lifetime = 0
How do I increase the PHP timeout to 8 or 9 hours?
With PHP timeout do you mean session timeout? That is, you get logged-out very frequently?
You could look in the server, having a known active session, check the session file on the server, and see if when the session gets lost, the file is really there. That would be odd, but maybe there's a cron job set up to clean old session files that hasn't been touched in the last x hours.
Another possibility is that you have another application on the same server, and your cookie configuration shares the same cookie path and name. If you access a page of the other application, it may automatically logout you. Ciencia Al Poder (talk) 14:46, 24 August 2015 (UTC)
Yes, I meant session timeout.
The problem was the authority to my custom temp directory. I don't remember if I changed the temp directory while troubleshooting this problem, or if I changed it ages ago. Once I fixed the authority to that directory, the increased timeout was used.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
How do I delete multiple topics at once?
Latest comment: 10 years ago3 comments3 people in discussion
I have a ton of spammers on our Wiki and I am trying my hardest to get in under control... However as quickly as I am removing them more are coming up... Is there a faster way to delete rather than going to each individual page? 24.57.127.193 (talk) 01:51, 24 August 2015 (UTC)
ola boa noite amigo! …você pode me ajudar? Eu não falo Englesh, se queris me ajudar fala a minha linguagem por favor para mim intender, obrigado por ler até mais. @waynga @Wikipédia Saber Michael waynga 21:45, 24 August 2015 (UTC)
change Tracking categories Mediawiki 1.25 German
Latest comment: 10 years ago6 comments2 people in discussion
RESOLVED
Put in a minus sign in the category. That does the trick.
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 change these? Even logged in as sysop, it's not possible.[7]
Sorry for being not helpful (in your opinion), but I think (if you don't clarify, what you want change) that the pages I linked give all information you need. Florianschmidtwelzow (talk) 11:21, 24 August 2015 (UTC)
Florian,
I want to change the tracking categories page. Which special permission beside sysop is necessary to do this?
I found, that this is hard code in Special:TrackingCategories
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Load Word document into mediawiki
Latest comment: 10 years ago4 comments3 people in discussion
I'd like to use mediawiki to present to the user some MS Word document that we have in a shared folder.
Now we are using a tool to convert the doc into mediawiki in a manual process. What we'd like to do is to connect mediawiki directly to the Word document in order to show the changes of the document without refreshing it manually.
First you need some kind of converter, which creates wiki syntax out of your document. I think for what you want, it would be ideal, if this converter could be run from the command line, meaning: You do not have to do clicks inside a program interface to use it, but you can call it with a certain command and then it does its job. Do you already have such a tool? If so, which one?
I expect that after running the above program, you have the wikitext somewhere: Maybe somewhere in a variable inside that script or maybe written into a text file somewhere on your disc.
After that, the rest should be doable using the MediaWiki API: You have to do a login and to edit a page. The details on how that is working are on API:Login and API:Edit.
If your server is running on some kind of UNIX, then you can do these things regularly by executing the necessary commands from a cronjob. On Windows the same is possible using a Task. 88.130.115.36 (talk) 20:51, 24 August 2015 (UTC)
If you have access to the commandline on the wiki server (I expect you do), then you do not even have to use the API. You then can just use the maintenance script edit.php to save the text from the file or from the variable it is in into MediaWiki. 88.130.115.36 (talk) 20:56, 24 August 2015 (UTC)
If you have VisualEditor, some simple Word documents can just be cut-n-pasted into VE. Things that don't work should be considered bugs and reported as such. ☠MarkAHershberger☢(talk)☣15:24, 26 August 2015 (UTC)
Sidebar Headings as Links to WikiSites?
Latest comment: 10 years ago2 comments2 people in discussion
hello everybody...
how can i edit "MediaWiki:Sidebar" in that way, that the headings (the first-level list elements) become Links to my WikiSite?
Latest comment: 10 years ago2 comments2 people in discussion
Hello here. It would be a huge advantage to the Glossary to see English original in translated versions. Maybe other glossaries if they exist have other sheme of tagging the page, I didn't look. But please. Translators will appreciate. Ата(talk)13:57, 24 August 2015 (UTC)
Latest comment: 10 years ago4 comments2 people in discussion
I'm trying to get Extension:Flow working on my test wiki. Other extensions on it include Semantic Wiki. I have run update.php. When I try to use a Flow-enabled page, I get the following error:
Query:
SELECT * FROM `smw_flow_workflow` WHERE workflow_type = 'discussion' AND workflow_wiki = 'database_tla-tla_' AND workflow_namespace = '3' AND workflow_title_text = 'Username' ORDER BY workflow_id DESC LIMIT 1
Since I've run update.php I'm not sure what causes this. Checking the update.php log it doesn't look like it's trying to add any tables for Flow. RDGGDR (talk) 21:54, 24 August 2015 (UTC)
I don't know, why the database table did not get created for you. If the extension is included properly, meaning: if it is listed on the wiki page Special:Version in your wiki, then running update.php also should add these tables.
For the 1.25 branch of MediaWiki these are the tables, which the extension needs:
I can also confirm that adding in the SQL, then including my database prefix, worked. Thank you, anonymous user! RDGGDR (talk) 18:43, 25 August 2015 (UTC)
Creating Page by Form
Latest comment: 10 years ago6 comments2 people in discussion
Hi all,
I'm a current Tiki Wiki user but was considering swapping over to Media Wiki. The main contention is whether mediawiki has a handy extension allowing one to build wiki pages via forms (so as to make a structured, pre-formatted page) instead of allowing users open reign. I've seen a variety of extensions I thought might could do this, but without really having my feet wet in mediawiki, I thought I might be chasing a wild goose.
Any suggestions as to particular extensions that might allow me to limit users to creating pages by form-fields?
I think I had bumped into Semantic_Forms, but I was concerned it wouldn't give me the ability to limit users to only creating pages by those forms. I see that the extension has a how-to on linking to the forms and causing red-links to go to form pages, but as I understand from how mediawiki is setup, a user could still search for an uncreated page and then manage to get the typical creation box that way. Am I right that this is an issue/is there a work-around?
I'm not sure, but there is a viewedittab right, that is added by SemanticForms. This wouldn't (if I understand it correctly) prevent a user from openening a title with ?action=edit, but the edit tab isn't shown anymore. Maybe you can open a task in phabricator to request a feature to limit a user to only edit via forms :) Florianschmidtwelzow (talk) 13:50, 25 August 2015 (UTC)
Thanks Florian,
I presume I couldn't just hard-write the edit page template without messing up the general infrastructure of mediawiki, could I? I'm used to Tiki where the CMS for the admin can be different from the end-users, but as I understand mediawiki's site admins run the same edit page options as the users so that would mess me up.
I suppose those I could run a permission extension that could block page edits for all non-admin users through the typical route, but I guess I'd have to ask semantic forms if that would block the forms page too.
I should verify, by the way, that a little further research shows I can get what I want through Extension:Semantic_Forms. It's even possible to have red links go to the form edit also, so it seems the only remaining quandry (as far as I know) is:
Is it possible to get rid of the "?action=edit" capability for non-admin users without breaking overall functionality?
Latest comment: 10 years ago4 comments3 people in discussion
Hello,
Is-it possible to change the write permission for a specific page of my wiki with the localsettings file (bots : True - Users : False) ? The protection option doesn't allow bots to write on the page.
Latest comment: 10 years ago5 comments3 people in discussion
RESOLVED
Was my fault. Sorry...
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello,
I'm trying to export the template "Template:Welcome" from mediawiki.org (Special:Export, upper textfield) according to https://www.mediawiki.org/wiki/Help:Templates. It doesn't work. What's wrong? Are there any user-restrictions?
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Upgrading to 1.25.2 - No update script?
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.
Hi! I'm new with Mediawiki and I upgraded the Wiki from 1.23.2 to 1.25.2 via FTP client. After that the Wiki was still working without run the update script. Is that ok? 109.73.23.41 (talk) 12:32, 25 August 2015 (UTC)
Not really :) Running the update script takes care, that the actual used database schema represents the MediaWiki version you're using, including (but not limited to) adding and removing of tables, alter the structure of tables and so on. That your wiki works without running the update script, doesn't mean, that it will for any function a user may use in the future (e.g. it's possible that a special function (just an example!) like hide/unhide of revisions needs a database change and is now broken and will throw a database error when used). So, you should run the update script, even if it seems, that it isn't needed. Florianschmidtwelzow (talk) 13:55, 25 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Running update.php does not make any changes
Latest comment: 10 years ago6 comments3 people in discussion
I've run into a problem where running the update.php script from the command line doesn't make any changes. It doesn't add SQL for Flow, for example. It does sometimes try to add SQL (e.g. for Semantic MediaWiki) but not always. RDGGDR (talk) 18:33, 25 August 2015 (UTC)
Also be sure you're executing php 5.3.3 or newer, execute php with --version to check that. If not, maybe the 5.3.3 version or newer is located on a non-standard path like /usr/bin/php53 or something Ciencia Al Poder (talk) 09:17, 27 August 2015 (UTC)
Thanks to getting back to me. I'm running PHP 5.4.44.
After enabling error reporting I get this:
Warning: require_once(/path/w/extensions/Flow/maintenance/../../Echo/includes/BatchRowUpdate.php): failed to open stream: No such file or directory in /path/w/extensions/Flow/maintenance/FlowFixLog.php on line 13
Fatal error: require_once(): Failed opening required '/path/w/extensions/Flow/maintenance/../../Echo/includes/BatchRowUpdate.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/usr/local/php54/lib/php') in /path/w/extensions/Flow/maintenance/FlowFixLog.php on line 13
However, I'd prefer to use the larger version of the logo, on the above page, as the site logo, running along the top of the page, starting from the top-left corner, with the page content area therefore pushed down somewhat.
If I simply replace the current site logo with the larger version, then only a 160 x 160 pixel portion is shown in the top-left corner.
You would have to use CSS. See my other reply to newer requests from you on this subject. We can help, but this isn't really the right place for us to teach you CSS. I suggest searching for "Introduction to CSS" or the like. ☠MarkAHershberger☢(talk)☣15:16, 26 August 2015 (UTC)
Can some help me please! Tribute to the Events of September 11
Latest comment: 10 years ago2 comments2 people in discussion
I am looking to add my uncial info to Wikipedia or if i have the wrong page
Hi, this Support desk is for questions and help about the MediaWiki software, not about a project of the WMF, like Wikipedia. You should ask your question on the discussion page of the Wikipedia page where you want to ad content to. You should, probably, read the help pages of the Wikipedia language version, too, to know, what content can be added and what not :) Florianschmidtwelzow (talk) 05:38, 26 August 2015 (UTC)
CloudTag, CategoryTag
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.
Hello,
I've just installed the last version of mediawiki for my service, i would like to index and cloudtag our data in the main page of our wiki like on this example :
Thank you very much MarkAHershberger, i installed the semantic bundle ans have been able to add a 3d spherical tagcloud on my home page using a template. 195.101.218.65 (talk) 11:27, 27 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Infobox company
Latest comment: 10 years ago2 comments2 people in discussion
Im Using Mediawiki on my localhost. i copied code from one of the article(company article)but im unable see infobox company details in correct format.please help me Shashankpratap (talk) 10:29, 26 August 2015 (UTC)
How do you change font size in the navigation sidebar?
Latest comment: 10 years ago2 comments2 people in discussion
Hi
I know very little about coding - can anyone provide explicit instructions about how to do the above?
I'd also like to be able to change the font size for the links in the top-right corner of the page, and along the top of the content area, and in the footer. Derrickfarnell (talk) 12:32, 26 August 2015 (UTC)
You can modify [[MediaWiki:Common.css]] on your site to change the styling of any element. As Malyacko said, you can use the developer tools of your browser to find which elements to style.
In my browser (firefox), for example, right clicking on "Tools" on https://www.credulism.org/wiki/About and then selecting "Inspect element" brings up the html code with <h3 id="p-tb-label">Tools</h3> highlighted. So if want to make "Tools" in the sidebar red, I would put the following in [[MediaWiki:Common.css]]:
Latest comment: 10 years ago2 comments2 people in discussion
Hi
As stated in my previous post, I know very little about coding - can anyone provide explicit instructions about how to do the above for headings of any size? I want the heading font to match the sans-serif font of the article text. Derrickfarnell (talk) 12:37, 26 August 2015 (UTC)
Change the font style by customizing the CSS for the corresponding heading element(s). Any browser's developer tools ("inspecting elements") also allow you to quickly change CSS on the fly and see the results, for testing. Malyacko (talk) 12:39, 26 August 2015 (UTC)
Database query error
Latest comment: 10 years ago7 comments3 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi.
Today I installed an old backup (jun/jul 2014) of mediawiki and imported an old db.
The problem is, that I always get an error if I try to save an article (new or edited) or delete an article. Something like "A database query error has occurred. This may indicate a bug in the software."
Thank you. Your post wasn't the solution for my problem but it was nevertheless a good hint.
As I said I've imported an old backup in a new database with a new user and replaced the old user in the .sql file with the new user (also the DEFINER).
But the access to the db changed and I didnt noticed it.
So I'd to change all the '%' back to 'localhost', delete the imported database, import the .sql file again and now it works without any issues.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
A phone number for Alluc.org
Latest comment: 10 years ago1 comment1 person in discussion
RESOLVED
This support desk is for issues related to MediaWiki. Your question isn't related
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I need the phone number to (Alluc.org)
I need to cancel the order I created how long I can use Alluc.org. I ordered the wrong package to watch movies. I wanted the free 7 day trial. I ordered the wrong pacjage, I wanted the free service for 7 days.
I ordered the wrong plan. by mistake I click on for the 6 month for $14.95. What I ordered was not $49.00 re-bill option.
I need the phone number for company for ALLUC.ORG. please cancel the $44.99 order. I need their phone number. This alluc.org making it hard to get number. NOT FAIR. send me a e-mail saying that you cancel that order.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Redirect table
Latest comment: 10 years ago4 comments3 people in discussion
RESOLVED
Old note is old.
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 everybody!
Have question about Manual:Redirect table. Is the table data incomplete now, too? Or redirect table is fine now?
Also, there should be some updates for DB schema. There is at least one new table - wbc_entity_usage (related to Wikidata). Edgars2007 (talk) 09:09, 27 August 2015 (UTC)
I think the Manual on the Redirect table is fine.
Note that the page DB only lists database tables, which are related to the MediaWiki Core. It does not list tables of extensions. That entity_usage is not listed on that page, is correct. 88.130.101.177 (talk) 13:19, 27 August 2015 (UTC)
I think you misunderstood me. I'm talking about this note:
NOTE: as of August 2007, database dumps for Wikipedia and other Wikimedia projects as provided on http://download.wikimedia.org/ have incomplete data in this table: only redirect pages that have been created or edited recently are present. For older redirects, resort to using the pagelinks table.
My question was: what is the status of it currently - as of August 2015?
Since the note says that links after August 2007 will be there and that was eight years ago, I would expect the Redirect table to be almost 100% complete now. ☠MarkAHershberger☢(talk)☣15:01, 28 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Code for special pages
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.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
New Gadget namespaces
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.
Hi. Do we have any information regarding the use and working of the new Gadget and Gadget definition namespaces? Are gadgets suposed to be moved to such namespaces? I couldn't find any information about them. Thanks in advance. Best regards. —MarcoAurelio (talk) 11:17, 27 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
How to me to editing in Lurkmore if I am blocked for a year and a fast way?
Latest comment: 10 years ago2 comments2 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
I was blocked for the silly message on Discussions, I want to correct but couldn't, someone from participants wants someone to evaporate my advantage. 109.60.221.58 (talk) 13:22, 27 August 2015 (UTC)
MediaWiki.org's Support Desk is not going to be able to help you with this request. You need to go to the website where you were blocked. ☠MarkAHershberger☢(talk)☣16:44, 27 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
External Link Search in section Special Pages producing unknown error
Latest comment: 10 years ago7 comments3 people in discussion
RESOLVED
Upgrade, or don't use External Link Search in 1.18.0
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 all. I have a mediawiki install running and when I try to use the External Link search, in the SPecial Pages (can be seen here):
Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.
The LocalSettings.php file has been altered but I have no idea how to debug the installation, I am very much a front end user. Does anyone know what could be causing this error?
You say the LocalSettings.php file has been altered. I'll assume you altered it and changed it back because the "Set $wgShowExceptionDetails = true;..." message is there now.
I just noticed that you're running a very old MediaWiki. You should upgrade to at least the LTS which is MediaWiki 1.23. The version you're running (1.18) is unsupported.
Thanks for checking this out for me. So what you're telling me is that this bug is inherent to the software? The only option is to upgrade my version? Do I have any other options?
PS: On my old mediawiki 1.24.2 I tried a redirect via htaccess from http to https, but got errors because mediawiki uses not only relative paths. Metathom (talk) 16:47, 27 August 2015 (UTC)
MediaWiki should work whether you use https or not. You probably need to set $wgServer to "//hostname/[directory]" or "https://hostname/[directory]" if you already have a LocalSettings.php or just start on the https url if you're trying to set this up. ☠MarkAHershberger☢(talk)☣16:59, 27 August 2015 (UTC)
Sending variables to javascript
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.
Hello,
I was wondering how to get variables from my PHP to the Mediawiki Javascript
When I set up my $wgResourceModules in my MyExtension.php file for example like this:
$wgResourceModules['ext.MyExtension' ] = array(
'scripts' => array(
'js/ext.MyExtension.js',
),
'localBasePath' => __DIR__,
'remoteExtPath' => 'MyExtension',
);
$wgMyExtensionSomeVariable;
And then in the javascript file, I call the variable like this:
var = mw.config.get( 'wgMyExtensionSomeVariable' );
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Extension to add pages to user lists?
Latest comment: 10 years ago2 comments2 people in discussion
Is there an extension that can add pages to lists? Kind of like IMDb / YouTube.
You're on an article and have the option: "Add this page to a list" > Add to existing list(s) or "create a new list".
Use cases:
Pages I want to edit/fix
"Wanted images" I plan to create
Greece enquiry
My favorite gospel singers from the 20th century
My LOL list 2015 (whatever...)
Special:MyLists would output all lists with its items with the option to edit and delete the lists or items.
When you're on a page that is in one of your list, the list option indicates that this page is in one of your lists (and names the list).
This could of course also be done by extending the watchlist: Add an option to create sub lists of your watchlist. Subfader (talk) 09:51, 28 August 2015 (UTC)
There is no extension that I know of that does what you want. Perhaps someone could come up with a CategorizedWatchlist that would do this, though. It seems pretty straightforward. ☠MarkAHershberger☢(talk)☣14:57, 28 August 2015 (UTC)
How can I add that "Add pages from namespace" in Special:Export?
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.
I want to add that option just like it's there on this (Mediawiki.org) site.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Images not accepting formatting parameters
Latest comment: 10 years ago4 comments3 people in discussion
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Just upgraded a server and moved my Wiki. All images are now not displaying formatted values such as right, thumb, caption, center, etc. For example if I enter [[File:Image1.png|center|border]], the image is displayed with default parameters. If implementing a thumb format, default as well. No wiki formatting for images seem to work. I am running Mediawiki 1.21.3. Unfortunately my Wiki is not on a public IP so I can't direct you to it. 63.97.247.130 (talk) 16:51, 28 August 2015 (UTC)
It's hard to imagine what happens... so you say if you use [[File:Image1.png|thumb]] the image is not right-aligned and instead it displays in line with the text?
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Updating a Realy Realy old version (1.15)
Latest comment: 10 years ago10 comments6 people in discussion
RESOLVED
UPDATE SUCCESSFUL
Thank you all for your advice. The wiki is running. Now, I'm tackling a bunch of issues (thumbnails missing, math not working, depreciated commands,
etc.). I'll look into those problems and address them on different forums or threads.
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 update my local wiki to the most up-to-date version. The majority of the webpages on this topic I found were for version much newer than mine. Can this level of upgrade even be done? I have quite a bit of information that I don't want to manually re-enter.
It is important that you make sure you have a working backup of your wiki: The database and the files. Put that on an external disk, unplug it and keep it far away from your actual computer. After that you can try the upgrade and you won't loose anything, should you screw up.
Here is a complete guide on how to upgrade: Upgrade!
Hi! First: Good decision to upgrade, MediaWiki 1.15 is already unsupported for a long time :P
You should following the Upgrade tutorial when upgrading. In the FAQ section you'll find a question "How do I upgrade from a really old version? In one step, or in several steps?" :) If you have any specific problem when upgrading, feel free to ask here!
Btw.: You should really really do a backup, it's always possible, that data will be lost after or during an upgrade, even if the last 999 upgrades went fine :)
Please remember, that the latest MediaWiki version needs at least PHP 5.3.2, so you have to upgrade your php version, too.
Oh, that's right and not right at the same time. :-) MediaWiki 1.25 in fact needs PHP 5.3.3 at least. That means, if Jesse wants to upgrade to 1.25, he will in fact need to upgrade PHP as well. I missed that. However, according to Compatibility#PHP, MediaWiki 1.24 will work nicely also with PHP 5.3.2.
So for MediaWiki 1.25, a PHP upgrade would be necessary. MediaWiki 1.25 is working nicely also on newer PHP versions; e.g. for Ubuntu, PHP 5.5 is available. This version can be used to run MediaWiki on it. 88.130.95.230 (talk) 11:39, 29 August 2015 (UTC)
I guess the Ubuntu upgrade has also upgraded the Apache webserver, right? In that case, I think that something in the server configuration is missing now... Maybe the webroot is pointing to a wrong path now or a virtual host configuration (I don't know if you used one in your old Ubuntu version) is missing. 88.130.117.48 (talk) 22:21, 1 September 2015 (UTC)
UPDATE (Good news)
- My local wiki is running again after updating to Ubuntu 14
- Apache was also updated, which caused configuration problems
- phpmyadmin is simply gone now! The folder is not on my comp anymore...
So, I backed up my database using mysqldump. I also backed up config files, extensions, and images.
Any other things recommended before attempting the upgrade?
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 not the technical admin, but still: the main content manager. Does anyone here knows what prevents the crawlers from indexing the uploaded images themselves? Thanks in advance!
This may be a problem of how google rank those full-sized images because being 2-click-away from where are they used. See T54647 where this problem is discussed. Ciencia Al Poder (talk) 12:58, 29 August 2015 (UTC)
Note that Meta-Wiki does not back up deleted revisions, and they may be lost in the event of a serious server failure.
If Meta uses the same user interface options as every wiki else, then deleted revisions do stay in the database. If they did not, they would no longr be restorable and the same note also states that admins do have the possibility to restore deleted revisions.
What I could think of is this: When a revision gets deleted, its revision information is internally moved to the database table "archive". Revisions from that table will still be restorable just as usual. If however, during the creation of backups this table is excluded, then the information would be lost, if a backup was used.
If the backup script still excludes the archive table today, is what I don't know. Aren't the database dumps available somewhere? Looking into them should help clear that up... 88.130.95.230 (talk) 11:31, 29 August 2015 (UTC)
Error 403 with Images
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.
Wiki Version: 1.23.9 (pretty sure, was installed via QuickInstall from HostGator)
Problem: Image Uploads is turned on, I can upload images with no problem. However they are displaying as broken images, not viewing properly. From what I was told, it's some where in the .htacess file but I have no idea what It should be saying or what I need to add/change on it to make this problem remedy itself. Strifefox (talk) 14:05, 29 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
All Rights for Systems Admin?
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
Create a SuperUser group.
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.
Just started a mediawiki here, and I wanted to add a new user group for myself as the site-developer so I could fine-tune bureaucrats and sysops a bit more (while not leaving my own rights vulnerable-- for instance, no one could remove my rights). When I define that new user group, is there any way I can open up all rights in one code line instead of having to manually add in every individual right?
I think (haven't tested) that if you create a super-user group and then put yourself in it, you should be able to then restrict other groups as you need to.
You would create the super user group first by putting this at the top of your LocalSettings.php:
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
mediawiki 1.16.0 patch issue
Latest comment: 10 years ago5 comments4 people in discussion
RESOLVED
You should upgrade to a supported version of MediaWiki. 1.16 hasn't been supported for a while.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi there,
I've installed 1.16.0.
After moving LocalSettings.php and navigating to the homepage, I get many rows of the following error:
Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/acemedia/public_html/includes/MagicWord.php on line 722
Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/acemedia/public_html/includes/MagicWord.php on line 722
I've googled and seen the mediawiki-1.16.0.patch file and attempted to run it in ssh, but nothing happens. Can someone please help?
Project Story:
I am migrating my client's 1.16.0 to wordpress. Unfortunately, they've only given me a database dump file of their 1.16.0 installation and I have to install the site on my own server so I can migrate it using a migration tool by cms2cms since its the only service online that advertises they can do it. I have installed 1.16.0 on two separate servers, but i keep getting this error. 96.51.0.200 (talk) 07:34, 30 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
'Anti-Habsburg defamation online' = breaches against 'The Online Defamation Law'
Latest comment: 10 years ago3 comments2 people in discussion
RESOLVED
Not the right forum for this.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello, dear Wikipedia team...
I happened to have noticed that people seem to spread 'anti-Habsburg propaganda' into Wikipedia that happened to originate from the German/Austrian-Hungarian period post 1914 - 1945, when national socialism and anti-semitism was on the rise - by simply spreading unverified 'libel'. There has been historic attempts to 'erase' or 'vilify' the descendants of the Habsburg lineage (see 'Habsburg Law' April 1914, only in the 80ies being admitted of having been 'inhumane' as 'human rights infringing'. But now some people are passing this 'historic vile' that originated post 1914 into the Nazi regime onto online. By copying without common sense nor critical thinking from 'historic sources' of this 'delicate period' that has been highly 'manipulated' by two war machineries and ideologies.
When I try to put an 'historical spin doctor alert' on these pages I happen to notice, that your Clue Bot Ng sends me automatic messages.
This is the problem of 'open source' and statements been blindly copied. Historical propaganda wrongfully enters now the online domain - so that this malevolent spin repeats itself AGAIN.
What's wikipedia's stance to this? Do you want to repeat the 'pre-era' that led us into WW2 by helping to spread such wrong historical propaganda?
Is that the ethically right thing to do, to post untruth about people that once have shaped European history?
As being one of those people having donated to you repeatedly to keep this site up and running, may I now object such unnoble conduct for being against the 'Online Defamation Law'??
this page is the MediaWiki support desk. It is made for technical help with the MediaWiki software, the software used to run wikis like Wikipedia. We are however not responsible for nor could we change any content in any Wikmedia Foundation wiki.
I propose you check the policies of the according Wikipedia language to see, what sources are regarded as being reliable and to see what the process in case of false-information or contradicting information is. 88.130.123.213 (talk) 11:40, 30 August 2015 (UTC)
Edits like this one are infact not what is wanted for Wikipedia. It does not become clear, what you in fact want to change. It does not become clear, which detail you believe would be wrong. That way this is only vandalism.
A good contribution is based on reliable sources, which prove that what the contributions claims, is right. Since you have already been warned three times by now, I strongly recommend to first post on a discussion page, before you edit an article. With another bad article edit, you risk becoming blocked. 88.130.123.213 (talk) 11:46, 30 August 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Internal linking to "Page history"?
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
[{{fullurl:{{PAGENAME}}}}|action=history<nowiki>}} Link title goes here]
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,
usually I have no problem to link "to a Wiki page".
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Reinstalling Gnucash
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
This is the wrong forum to ask questions about GnuCash. Their website suggests using their mailing lists.
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 recently had to wipe my hard drive, & reinstall everything. I use Windows 8. I backed everything up using File History. I have reinstalled Gnucash but can't get my files back. Have I lost them forever, or how do I get them back? I am a non-technical personal user. Please e-mail rwhimster@gmail.com, or call 519-661-9111. I don't know how else to contact you. Thanks, Robin Whimster. 64.231.144.3 (talk) 20:19, 30 August 2015 (UTC)
Hi Robin!
Let me repeat what I have already answered in your other thread yesterday:
You have found the Support Desk of the MediaWiki software. MediaWiki is a software used to run wikis like Wikipedia. We are not related with the gnucash financial software and we cannot help you with it.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Why can I hidetopics, but not mark them as resolved?
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.
When a topic has been finished, it should be set to "resolved". However, I currently do not see a button to do so. I can "hide" a topic, but it seems like this is more for spam issues? Like: I do not want to see it again, put it out of sight. This is what I have then done in the past (as I could not hide it) with the result that people obviously did no longer see the topic and the answers so that they posted the same thing again.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Why can I hide topics, but not mark them as resolved?
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
You need to be a registered user to resolve topics.
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
When a topic has been finished, it should be set to "resolved". However, I currently do not see a button to do so.
I can only "hide" a topic, but it seems like this is more for spam issues. Like: "I do not want to see it again, put it out of sight." This is what I have then done in the past (as I could not mark it as resolved) with the result that people obviously did no longer see the topic and the answers so that they posted the same thing again.
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Can't upload images from Windows 7 client to Ubuntu wiki host
Latest comment: 10 years ago8 comments2 people in discussion
RESOLVED
In order to get image files to upload I had to change the ownership of my images directory:
sudo chown www-data:www-data -R /var/lib/mediawiki/images
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
It seems like it's some sort of permissions issue. I get the follow error:
[2f0f4450] /mediawiki/index.php/Special:Upload MWException from line 1856 of .../includes/filerepo/file/LocalFile.php: Could not acquire lock for 'Stephenw_lake640.jpg.'
Backtrace:
#0 .../includes/filerepo/file/LocalFile.php(1148): LocalFile->lock()
#1 .../includes/upload/UploadBase.php(715): LocalFile->upload(string, string, string, integer, array, boolean, User)
#2 .../includes/specials/SpecialUpload.php(476): UploadBase->performUpload(string, string, boolean, User)
#3 .../includes/specials/SpecialUpload.php(195): SpecialUpload->processUpload()
#4 .../includes/specialpage/SpecialPage.php(384): SpecialUpload->execute(NULL)
#5 .../includes/specialpage/SpecialPageFactory.php(582): SpecialPage->run(NULL)
#6 .../includes/MediaWiki.php(267): SpecialPageFactory::executePath(Title, RequestContext)
#7 .../includes/MediaWiki.php(566): MediaWiki->performRequest()
#8 .../includes/MediaWiki.php(414): MediaWiki->main()
#9 .../index.php(41): MediaWiki->run()
#10 {main}
I'm running Windows 7 and get the same error whether I use Google Chrome or Internet Explorer.
The file I'm trying to upload is a 640 wide jpeg image.
MediaWiki is installed on a Linux Ubuntu server and apart from not being able to upload images has been working great.
My /var/www/html/images director is owned by www-data and has drwxr-xr-x permissions.
My /var/www/html/mediawiki/LocalSettings.php file has:
$wgEnableUploads=true;
My php.ini file has uploads enabled.
I'm guessing that the PHP script running on the Ubuntu server is failing to get some sort of permission either on the Ubuntu server or the Windows 7 PC.
The permissions on /var/lib/mediawiki/images are drwxrwxr-x. The ownership is stephenw stephenw. The only thing in that directory is a README file. Coderbynature (talk) 00:11, 1 September 2015 (UTC)
What should the owner of the images directory be set to? I've Google searched around and got different answers such as www-data or apache. How can I tell which one is the appropriate one? Coderbynature (talk) 00:21, 1 September 2015 (UTC)
I should also mention that the jpg file is located on a local drive (D:) of the Windows 7 PC. And both the Windows 7 PC and the Ubuntu server are on the same local network. Samba is also running on the Ubuntu server and the Windows 7 PC can connect to the Samba shares just fine. Coderbynature (talk) 22:54, 31 August 2015 (UTC)
RESOLVED: I did the following and I can now upload the image:
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.
Table of Contents span full page width
Latest comment: 10 years ago2 comments2 people in discussion
RESOLVED
Add css like the following:
.toc, #toc {display: table;}
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
You don't mention what version of MediaWiki you're using or what skin, but, in any case, you can edit [[MediaWiki:Common.css]] on your site to include the following: