Project:Support desk/Flow/2010/09
| This page is an archive. |
| Please ask questions on the current support desk. |
| This page used the LiquidThreads 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. |
Old questions
- These questions were posted before the switch to the new discussion system. Click here to view.
Current questions
No search results if more than one word is typed in
Hello. Produkt Version MediaWiki 1.16.0 PHP 5.2.5 (apache2handler) MySQL 5.0.45-log
On searching one word i get some articles. If i type in a second word who is in the same article i got nothing. If i type in the second word alone i got the article.
Regards.
Sorry, no URL possible. It's a internal page from my industry. 92.79.182.176 (talk) 07:17, 1 September 2010 (UTC)
[RESOLVED] Change contents of Toolbox
- Hey there,
- Where is it possible to add/remove entries to the toolbox?
- Couldn't find the right place now.
- In Wikimedia:Sidebar is a tag named TOOLBOX but if i edit it there are no changes?
- maybe it's because i use vector skin?
- for any ideas I'd be thankfull 134.102.229.142 (talk) 10:20, 1 September 2010 (UTC)
- I believe this one is auto-generated by MediaWiki. You need to write an extension to change it I think. -- Bryan (talk|commons) 09:54, 6 September 2010 (UTC)
- I just wrote a small code snippet for this feature, it could evolve as an extension or perhaps being integrated in the core, but for now it’s just that. See User:Seb35/modifyToolbox. ~ Seb35 [^_^] 12:02, 5 March 2015 (UTC)
- I believe this one is auto-generated by MediaWiki. You need to write an extension to change it I think. -- Bryan (talk|commons) 09:54, 6 September 2010 (UTC)
- For future travelers. You can add entries via Wikimedia:Sidebar, but the current code has an apparent bug, maybe, introduced around 1.35 or with changes for sidebar cache.
- Should likely be:
$sidebar['TOOLBOX'] = $this->makeToolbox( $this->buildNavUrls(), $this->buildFeedUrls() ); $sidebar['LANGUAGES'] = $this->getLanguages();
See: mediawiki-1.36.0-wmf.31/includes/skins/Skin.php$sidebar['TOOLBOX'] = array_merge($sidebar['TOOLBOX'], $this->makeToolbox( $this->buildNavUrls(), $this->buildFeedUrls() )); $sidebar['LANGUAGES'] = array_merge($sidebar['LANGUAGES'], $this->getLanguages());
- This would unfortunately mean editing core mediawiki.
- Just above in the cache callback stub, you can see it call addToSidebar(), which reads the Wikimedia:Sidebar. then in the code i posed above it gets discarded. It is actually reading the TOOLBOX section and doing the work, just throwing it away i presume by accident.Celess22 (talk) 02:03, 23 February 2021 (UTC)
$bar = []; $this->addToSidebar( $bar, 'sidebar' ); $this->getHookRunner()->onSkinBuildSidebar( $this, $bar );
enabling beta toolbar features by default for all users
I installed Vector, and the toolbar has a separate button for internal and external links. there's no pop up wizard. I found that I can enable the new features for links and tables in my user settings, by activating the Beta features. In Wikipedia (And here, too), these features are enabled by default for all, including anonymous users. How is this done? Ethan1701 11:26, 1 September 2010 (UTC)
- Found the solution:
- the Extension:UsabilityInitiative gives you code to copy to your LocalSettings.php, but all the advanced settings are disabled by default.
- Simply uncomment whatever component you want to activate by default. Ethan1701 11:46, 1 September 2010 (UTC)
(NOT RESOLVED (WAS: RESOLVED)) erroer: Internal Error The File „C:\WINDOWS\Temp\php16DE.tmp“ dosn't exists.
Hi,
I tried to upload some images to our wiki, and got this error:
Internal Error The File „C:\WINDOWS\Temp\php16DE.tmp“ dosn't exists.
what could be the problem? why does this file is missing? 192.35.17.17 (talk) 12:41, 2 September 2010 (UTC)
- I have fixed the problem!
- The user on the pc haven't had the permissions to write in the temp folder 192.35.17.17 13:34, 3 September 2010 (UTC)
- I get this error when uploaded from IE 8 on Windows Vista, but no error when uploading from Windows XP and IE 8. This doesn't seem to suggest a permissions error on the server, I don't think. Why would I have problems uploading from Windows Vista with the very same browser version? Budsy 18:03, 9 September 2010 (UTC)
Status of "MathML if possible (experimental)" preference?
What is the status of the Appearance -> Math preference "MathML if possible (experimental)"?
When I select it, the math tag is rendered as plain HTML, there is no MathML visible in the HTML that I looked at.
Furthermore, the math tag is rendered incorrectly for some cases. In particular, with "MathML if possible (experimental)" in effect, <math>A</math> unexpectedly renders as an upright, sans-serif "A": "" (<math>A</math>) looks like "A" (A). With "Recommended for modern browsers" in effect, "<math>A</math>" looks like "A" ({{math|''A''}}), as expected it renders as slanted and serifed. This issue occurs for typographically simple formulae like "A", "xy" or "AB=CD". For typographically more complex formulae like "A*", the issue is not present.
What is the status here? If the option does not do what it advertises, it should be removed or at least hidden. --RainerBlome 15:00, 2 September 2010 (UTC)
Data not overwritten by restoring from a backup
Case Senario:
1. Backup Wiki Site File and Wiki Data File
2. Create a new account, "angela", on Wiki Site
3. Create a new page, "Wiki Test", on Wiki Site
4. Check that all the data file modification date remains unchanged.
5. Shut down the web server and data server
6. Restore the Wiki Site file and Wiki Data File
7. Start the web server and data server
Problem: The newly created account, "angela" and page, "Wiki Test" still exists on the Wiki Site.
MediaWiki version: 1.15.1
Web server + Mysql server version: XAMPP version 1.7.3
Would someone help me to solve the problem?
Thanks! Max Semenik (talk) 08:33, 3 September 2010 (UTC)
- What method do you use to backup the wiki? -- Bryan (talk|commons) 09:55, 6 September 2010 (UTC)
- For backup method,
- 1. Stop the MySQL server
- 2. copy *.FRM, *.MYD and *.MYI to backup directory
- 3. Start the MySQL server
- For restore method,
- 1. Stop the MySQL server
- 2. copy *.FRM, *.MYD and *.MYI to database datafile directory
- 3. Start the MySQL server
- Thanks for your help! Katieleung 02:43, 9 September 2010 (UTC)
- Apparently, you're doing something wrong - for example, copying wrong files. Max Semenik 05:02, 9 September 2010 (UTC)
Cannot get the tooltip extension working with the parser function
I installed the tooltip extension and it is working nicely calling with tag format. When using the parser function only the textcolor is green. Mouse over events ar not triggered, nothing happens. I like to have it working with the parser function because that is easier to use.
Can anybody help me? I am using mediawiki 1.16 on uniform server. 62.163.81.217 (talk) 11:56, 3 September 2010 (UTC)
Images not visible
I am using MediaWiki 1.15.2; PHP 5.2.6 (cgi-fcgi); MySQL 5.0.91-50-log. Our wiki (www.wikicamhs.co.uk) is hosted by 123-reg.co.uk hosting.
We have been unable to display images. Test main page 2 is the page we've been trying this on. I've now succeeded in producing a border and caption, but the image won't show.
I've tried variations on the file path in case that's the problem, but no luck. When I click on the filename it takes me to the upload page. On the upload page I click on the image file but then go to a 'permission denied' page. I've looked at the permissions on our hosted site and these appear to be OK. Everybody can view. The files have uploaded successfully in any case.
The tag I've used is:
[[File:Home/Images/0/05/People.png|150px|frame|none|alt People image|Here are some people]]
Help! Please!
Thank you. Sidestrand (talk) 15:27, 3 September 2010 (UTC)
- We have this problem too. The images upload fine, can be seen after upload in the browser using a direct URL. However using the [[file:|220x220px]] insert code displays the same as Sidestrand, or just an image link.
- Clicking on the image link sends the user to the upload page instead of the image details page.
- The image details page CAN be accessed through the "list of uploaded files" link on the upload page and all is displayed properly.
- The resulting wiki page code is missing any img tags. Only a href tags are written to the page.
- Unclear if this is a config issue or a bug, any help would be appreciated. 24.179.159.68 15:05, 15 September 2011 (UTC)
- In Sidestrand's case the correct code is [[File:People.png]]. Does that solve your problem? Reach Out to the Truth 15:17, 15 September 2011 (UTC)
- Yes, was testing with both the absolute image url and url relative to root directory. Using just the file name works fine. And it's a lot easier to place an image. Thanks for the direction. 24.179.159.68 14:13, 19 September 2011 (UTC)
- In Sidestrand's case the correct code is [[File:People.png]]. Does that solve your problem? Reach Out to the Truth 15:17, 15 September 2011 (UTC)
Need help with new window
I have 1.15 I want to make external links open in a new window How do I do this???
http://www.mediawiki.org/wiki/Manual:$wgExternalLinkTarget
There are no instructions there!!! ACAMS~mediawikiwiki (talk) 16:02, 3 September 2010 (UTC)
- Add the following line to your LocalSettings.php file:
$wgExternalLinkTarget = '_blank';Reach Out to the Truth 20:42, 3 September 2010 (UTC)
[RESOLVED] Login Problem
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Media Wiki: 1.16.0 PHP: 5.2.12 MySQL: 5.0.67-log
Hey, I installed the wiki on a local server and configured all settings, but when i wanted to log in with my admin account, i got this error message: "There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again" I tried it again and again, but the result was equal, the same problem when I try to register a new account. 217.229.148.161 (talk) 02:08, 5 September 2010 (UTC)
- I get the same error as thread starter..anyone pls can help us? Im using 1.16 + wamp. 203.115.201.25 03:10, 13 September 2010 (UTC)
- I'm having the same problem on the new clean installation when trying login or create a new account - any solution for it?.. 93.172.250.69 13:33, 8 November 2010 (UTC)
- Probably something is wrong with your sessions; most likely PHP is not able to write to your sessions directory. Check your php.ini for the sessions directory and if PHP can write to those files. -- Bryan (talk|commons) 20:18, 11 November 2010 (UTC)
- I got the same problem since soon, but not for all the installations on the same server (same version). Apparently the cookies are not good. It seems to come from the repertory of installation... Lamidesbetes 18:19, 12 November 2010 (UTC)
- The connection to the database seems also be examined in this problem ! Lamidesbetes 18:20, 12 November 2010 (UTC)
- Looks like this has to do with setting a DNS CNAME.. it's only happening in IE8 for me... anyone have a fix? 63.241.252.2 23:34, 8 December 2010 (UTC)
- Only happening in IE8 makes it sound as if you disabled cookies in that browser. Check to make sure cookies are enabled.
- Why do you think this has something to do with a DNS CNAME? Bawolff 16:43, 9 December 2010 (UTC)
- The same thing just started to happening to me, after i renewed my hosting and domain 71.126.235.126 18:38, 18 December 2010 (UTC)
- I had this problem when i was trying to access a mediawiki's instance installed on a Virtual Machine with XAMPP 1.7.2 with the nameserver.
- eg.: http://name_of_the_server/mediawiki
- but when i try to access by this way: http://10.12.206.57/mediawiki, i can access.
- I think that this error is related with the DNS. 187.77.46.213 11:34, 21 December 2010 (UTC)
- Hi,
- Did anyone found a solution for this?
- I got the exact same problem.
- it occurs with: IE7, IE8 but NOT with FireFox.
- thanks,
- Jr 206.47.249.251 15:24, 19 January 2011 (UTC)
- The same thing just started to happening to me, after i renewed my hosting and domain 71.126.235.126 18:38, 18 December 2010 (UTC)
- Looks like this has to do with setting a DNS CNAME.. it's only happening in IE8 for me... anyone have a fix? 63.241.252.2 23:34, 8 December 2010 (UTC)
- The connection to the database seems also be examined in this problem ! Lamidesbetes 18:20, 12 November 2010 (UTC)
- I got the same problem since soon, but not for all the installations on the same server (same version). Apparently the cookies are not good. It seems to come from the repertory of installation... Lamidesbetes 18:19, 12 November 2010 (UTC)
- Probably something is wrong with your sessions; most likely PHP is not able to write to your sessions directory. Check your php.ini for the sessions directory and if PHP can write to those files. -- Bryan (talk|commons) 20:18, 11 November 2010 (UTC)
- I have the exact same issue now, fresh install. Anyone going to help with this?? 174.113.146.186 01:21, 25 March 2011 (UTC)
- I found this solution:
- ---------
- go in your LocalSettings.php and at the end add the following code of line :
- session_save_path("tmp");
- Create a folder "tmp" in your wiki installation directory. give rights 777 (permissions)
- ---------------
- Which worked for me.... also, check to make sure your disk has space 66.201.56.150 18:07, 31 March 2011 (UTC)
- This worked perfectly for me on a new install. Thanks, you're the first person to actually give a usable answer to those that don't have access to the server's PHP.ini files that I could find. 71.107.97.164 04:52, 20 May 2011 (UTC)
- Eh?! Don't put it in web-accessible directories, or your user accounts will be easily hackable. Max Semenik 05:12, 20 May 2011 (UTC)
- This worked for me. I had this problem with MW 1.18.1 after I upgraded my hosting with godaddy and they changed my ip and dedicated ip. Mediawiki kept asking for cookies to be enabled (they were enabled) on all types of browsers and platforms including the iphone. Problem solved for now, even though I'd like to know if it will come back after an upgrade. Mark 21:13, 2 March 2012 (UTC)
- what is meant by give rights 777? 83.244.233.135 13:43, 27 June 2013 (UTC)
- Same problem, can't even register or login as admin. Enough space is present. 83.142.211.130 20:37, 21 September 2011 (UTC)
- Looks like it was caused by using $wgMainCacheType two times in LocalSettings.php, now it's solved. Beznogim 23:05, 1 October 2011 (UTC)
- Hi also have the same problem where the IP address work perfectly yet the hostname fails.
- Would love some kind of explanation? 195.43.48.140 09:56, 13 January 2012 (UTC)
- The problem i'm experiencing just seems to be Internet Explorer only. Firefox and chrome are un-affected either by the hostname or IP address.
- Although I can login using IE6/IE8 with the IP address,
- Example: http://180.10.66.4/mediawiki
- The problem occurs using the hostname.
- Example: http://myserver/mediawiki
- If I goto the login page a 'sess_xxxx' in the /tmp folder is created. If I attempt to login, or just refresh the login page this seems to set brand new a sess_xxxx everytime.
- I have checked the apache logs and the client IP address is always the same regardless if i used the hostname of IP address.
- Its not a permission issue.
- I have also tried the following which was suggested with no success.
- $wgUseSquid = true;
- Some suggestion would be greatly appreciated.
- [SOLVED: My issue was caused by having an 'underscore' in the hostname example http://my_server - IE looks though it doesn't handle the underscore in the hostname as well as FF or Chrome does.
- Hope this helps anyone else using Mediawiki within their local intranet] 195.43.48.138 13:48, 2 February 2012 (UTC)
- had this error and the problem is that the facility lacked a standard memcached adding correct configuration
- $wgSessionsInMemcached = true; # optional 200.153.233.250 01:10, 20 March 2012 (UTC)
- had the same problem and adding this fixed it for me. Looks like the utility I used to install mediawiki (the utility was called simple script) forgot to plug this guy in when configuring. 98.246.180.216 05:44, 21 July 2013 (UTC)
- Looks like it was caused by using $wgMainCacheType two times in LocalSettings.php, now it's solved. Beznogim 23:05, 1 October 2011 (UTC)
- ... a little more resolved. This can also be a symptom of being short on disk space. Salquint (talk) 17:44, 23 August 2013 (UTC)
- hi please upgrade to 1.19.0 or higher please 86.176.186.77 19:12, 24 August 2013 (UTC)
- Nothing would please me more (at least regarding mediawiki), but I require WYSIWYG working on a Semantic Form for my users, so I'm stuck with what I've got. Anyone similarly stuck can heed the diskspace problem as a possible reason for this problem. Salquint (talk) 19:37, 24 August 2013 (UTC)
- hi please upgrade to 1.19.0 or higher please 86.176.186.77 19:12, 24 August 2013 (UTC)
- I have the same issue right now. I am able to login as the administrator but any new account is not able to login. jjohnson 19:13, 8 July 2015 (UTC)
- jjohnson: try this. Worked for me
- https://www.mediawiki.org/wiki/Project%3ASupport%20desk/Flow/2014/03#h-Session_Hijacking_error_after_Update_1.19.14-2014-03-31T05%3A54%3A00.000Z satpatruni 12:05, 29 July 2015 (UTC)
Is echo reserved word as a template parameter?
Using: MediaWiki, 1.16.0. PHP 5.3.3 (apache2handler)
I created a simple template that takes one parameter. It works fine until I pass it a parameter that starts with "echo", like this:
{{MyTemplate|Echo Test}} or just {{MyTemplate|echo}}
The word "echo" prevents the page from being saved. This workaround seems to work:
{{MyTemplate|1=Echo Test}}
but it's hard to remember for the wiki users. Why is echo reserved word? Is there any more elegent workaround for that? Are there more reserved words? 91.153.245.154 (talk) 10:03, 5 September 2010 (UTC)
- Works for me[1]. What do you mean by "prevents the page from being saved"? Max Semenik 10:09, 5 September 2010 (UTC)
Is it possible to integrate this script with n-13 news
I have a question about your script.
Is it possible to integrate this script with n-13 news http://code.google.com/p/n-13news/
I'm on the way to start a news and a wiki site combined so i will have music news on the index page and then a wiki with artists, albums and genres...
I'm not a coder so would have to pay someone to do it. I also need my design coded for borth scripts
Kind regards Niklas 79.138.202.16 (talk) 14:20, 5 September 2010 (UTC)
- Hmm no help :(
- i really need some help here 84.243.3.2 12:04, 16 September 2010 (UTC)
- Your question is too vague, and would need someone to understand both systems to answer you properly. The short answer, though, is yes. Both systems use MySql and PHP. Integrating them loosely (at user level if you will), by having pages in both systems, on the same server or servers, which link to each other, have a similar look and feel etc. is the easier way to go. Application of Extreme Cleverness will make this maintainable and seamless from the administration point of view. More difficult would be integrating the software, which has greater risks of locking you into a given version of one or the other or both. 11:14, 17 September 2010 (UTC)
- 11:15, 17 September 2010 (UTC)
- Laughing at the complete failure of the software to sign stuff properly. Rich Farmbrough - find me on the English Wikipedia. 11:20, 17 September 2010 (UTC)
- Your question is too vague, and would need someone to understand both systems to answer you properly. The short answer, though, is yes. Both systems use MySql and PHP. Integrating them loosely (at user level if you will), by having pages in both systems, on the same server or servers, which link to each other, have a similar look and feel etc. is the easier way to go. Application of Extreme Cleverness will make this maintainable and seamless from the administration point of view. More difficult would be integrating the software, which has greater risks of locking you into a given version of one or the other or both. 11:14, 17 September 2010 (UTC)
don't working
i have successfully installed mediawiki but
Warning: require_once(): open_basedir restriction in effect. File(/www/clanteam.com/w/t/f/wtfx/htdocs/includes/WebStart.php) is not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT) in /www/clanteam.com/w/t/f/wtfx/htdocs/index.php on line 42 Warning: require_once(/www/clanteam.com/w/t/f/wtfx/htdocs/includes/WebStart.php): failed to open stream: Operation not permitted in /www/clanteam.com/w/t/f/wtfx/htdocs/index.php on line 42 Fatal error: require_once(): Failed opening required '/www/clanteam.com/w/t/f/wtfx/htdocs/includes/WebStart.php' (include_path='.:/usr/lib/php') in /www/clanteam.com/w/t/f/wtfx/htdocs/index.php on line 42 85.173.214.19 (talk) 15:14, 5 September 2010 (UTC)
Favicon
Hi, i want to integrate a favicon in my wiki, but i can't place it in the root folder, (because I use the server with others, who don't want to get my chosen favicon) so i must use this code: <link rel="icon" href="http://xxx.xx" type="image/vnd.microsoft.icon">, but where can i integrate it, directly written in the index.php causes of course an error. Can anyone help, that the icon is displayed in the whole wiki? 217.229.148.161 (talk) 19:49, 5 September 2010 (UTC)
- Use $wgFavicon to tell MediaWiki where the image is located. Reach Out to the Truth 19:53, 5 September 2010 (UTC)
- I have a similar issue. My windows server is hosting several sites so the favicon for the wiki needs to be in a folder for that site... however when I use the php $wgFavicon settings in the localsettings.php file nothing happens. 208.97.59.68 14:34, 2 November 2011 (UTC)
- What is the content of $wgFavicon? Reach Out to the Truth 15:08, 2 November 2011 (UTC)
- $wgFavicon = "$wgScriptPath/favicon.ico"; Allanhallett 15:09, 2 November 2011 (UTC)
- wiki.hotdocs.com Allanhallett 15:10, 2 November 2011 (UTC)
- It shows up for me. And I see <link rel="shortcut icon" href="/favicon.ico" /> in the head as expected.
- However, the favicon is actually a PNG and Internet Explorer only supports ICO favicons. If you're using Internet Explorer you won't see it. Reach Out to the Truth 15:17, 2 November 2011 (UTC)
- what browser are you using? where does the favicon say that it is a png? Allanhallett 15:24, 2 November 2011 (UTC)
- I just looked with firefox, safai, and chrome, and like you said they all work. But there is still the issue of why would IE think the
- <link rel="shortcut icon" href="/favicon.ico" />
- is a PNG? Allanhallett 15:32, 2 November 2011 (UTC)
- Because it is a PNG. Firefox told me, and I trust it enough to not download the file and check myself. It's a PNG with an ICO extension, not an ICO file. Internet Explorer will only display ICO files as a favicon, regardless of extension. Reach Out to the Truth 16:20, 2 November 2011 (UTC)
- I gotcha, thank you for the clerification. Allanhallett 18:23, 2 November 2011 (UTC)
- Because it is a PNG. Firefox told me, and I trust it enough to not download the file and check myself. It's a PNG with an ICO extension, not an ICO file. Internet Explorer will only display ICO files as a favicon, regardless of extension. Reach Out to the Truth 16:20, 2 November 2011 (UTC)
- what browser are you using? where does the favicon say that it is a png? Allanhallett 15:24, 2 November 2011 (UTC)
- What is the content of $wgFavicon? Reach Out to the Truth 15:08, 2 November 2011 (UTC)
- I have a similar issue. My windows server is hosting several sites so the favicon for the wiki needs to be in a folder for that site... however when I use the php $wgFavicon settings in the localsettings.php file nothing happens. 208.97.59.68 14:34, 2 November 2011 (UTC)
Basic indent formatting - I'm going nuts!
Okay, so this has bugged me for ages - but tonight I went hunting (and hunting and hunting) for a sane answer. Lists: --
- a
a continued
even more a - b
Okay, great, I can continue a bullet using the br tag, but really, that's not so great for lengthy multi-para bullets (understatement). -- We could go
- a
- a continued
- even more a
- b
But that just looks naff, the formatting is 'accidental'! -- What should be possible (and if it is, the documentation has fallen down the back of the e-sofa long ago) is something that works like this:
- a
- a continued
- even more a
- b
using semicolon's but without the absurd bolding - that would actually be quite a cool feature IF IT WORKED BACKWARDS! - bolded headings might be useful; but simplifying bolded continuation - well I ask you! -- So, I trust you'll look at the raw wikitext here - I don't really want a reply. I want multiple people who are involved in the project to make sure EITHER the docs get updated to show how to do list-item continuation without resorting to br tags, OR knocks some sense into this most basic aspect of wikimedia, to allow simple line-broken syntax for list-item continuation paras. Something as simple as "*a" "* a continued" (see the space) would work just lovely - if insufficiently backwards compatible, pick a character "* a" "*& a continued" for example. Reach Out to the Truth (talk) 03:59, 6 September 2010 (UTC)
(RESOLVED) How to implement this Mediawiki Skin?
I tried saving over the css into the main.css in monobook but does not work. Any advice? Thank you!
http://userstyles.org/styles/1365 Chase78~mediawikiwiki (talk) 10:38, 6 September 2010 (UTC)
- Do not mess with the original skin files. The best way of applying a stylesheet is putting the style sheet in the wiki page MediaWiki:Monobook.css. Also ensure that you are running Monobook and not Vector. -- Bryan (talk|commons) 11:39, 6 September 2010 (UTC)
- Actually, this one was designed for use with the Stylish extension for Firefox and Chrome, and is set up so that it only affects Wikimedia's wikis. It should be possible to make it work using the standard MediaWiki installation technique though. I'll see what I can do. Reach Out to the Truth 12:51, 6 September 2010 (UTC)
- Done. To install, copy the contents of http://www.mediawiki.org/w/index.php?title=User:Reach_Out_to_the_Truth/monobook.css&oldid=348778 to the page MediaWiki:Monobook.css on your wiki. It will affect all users of the MonoBook skin. Reach Out to the Truth 13:54, 6 September 2010 (UTC)
- Thank you for your prompt help and asst.
- The new skin works fine. Did the same thing yesterday, but it didnt work... hmmmm...
- Maybe u made some changes.
- Thank you!
- Am still looking for the perfect skin... 121.7.38.157 04:34, 7 September 2010 (UTC)
- Thank you for your prompt help and asst.
- The new skin works fine. Did the same thing yesterday, but it didnt work... hmmmm...
- Maybe u made some changes.
- Thank you!
- Am still looking for the perfect skin... 121.7.38.157 04:35, 7 September 2010 (UTC)
- Yes, I had to make a few changes in order to make it work on any wiki and remove the dependence on some Gecko-exclusive features.
- You're welcome. :) Reach Out to the Truth 11:51, 7 September 2010 (UTC)
- Done. To install, copy the contents of http://www.mediawiki.org/w/index.php?title=User:Reach_Out_to_the_Truth/monobook.css&oldid=348778 to the page MediaWiki:Monobook.css on your wiki. It will affect all users of the MonoBook skin. Reach Out to the Truth 13:54, 6 September 2010 (UTC)
- Actually, this one was designed for use with the Stylish extension for Firefox and Chrome, and is set up so that it only affects Wikimedia's wikis. It should be possible to make it work using the standard MediaWiki installation technique though. I'll see what I can do. Reach Out to the Truth 12:51, 6 September 2010 (UTC)
Password error after Update from 1.6 to 1.16
Hi, I updated a mediawiki from V 1.6.10 to 1.16.0 on a ubuntu server as php was upgraded to V 5.3.2 recently. (Mysql V5.1.41)
I used the way with "php update.php" on a ubuntu server. Which ran through without error.
After the update everything seems fine, except log in to mediawiki doesn't work any more.
If I login with an existing user, I get the error, that the password is wrong.
But I am able to add new users, which works perfectly. I can login and edit with them.
I read something about changed hashes, but could't figure out what to change to get it going. I tried $wgPasswordSalt=false and true. No change.
Any help would be appreciated. thanks 195.37.42.200 (talk) 12:06, 6 September 2010 (UTC)
(RESOLVED) lost localsettings.php
Hi, i have deleted localsettings.php by mistake. Is there any way to recover it because I have written so many things I want to recover all. Please help me. 117.254.238.204 (talk) 20:01, 6 September 2010 (UTC)
- did you make a backup of it? does your web server store deleted files? Bud0011 03:53, 7 September 2010 (UTC)
- no I did no. Is there any way to recover those contributions? 117.254.90.21 04:41, 7 September 2010 (UTC)
- Unless you made a backup of it, no it's not possible to get it back. ^demon 04:42, 7 September 2010 (UTC)
- Hey I made it. It can be possible if localsettings.php lost do not delete your database or databse table just simply install again the wiki all data has been recovered. Except favicon.ico. I can little work to configure it. Thanks guys for your replies. Good Bye take care. 117.254.90.21 05:03, 7 September 2010 (UTC)
- All the stuff in the database and other directories is still there, yes. But if you had made any modifications to LocalSettings.php, those modifications have been lost and need to be re-added to the file. Reach Out to the Truth 11:54, 7 September 2010 (UTC)
- Hey I made it. It can be possible if localsettings.php lost do not delete your database or databse table just simply install again the wiki all data has been recovered. Except favicon.ico. I can little work to configure it. Thanks guys for your replies. Good Bye take care. 117.254.90.21 05:03, 7 September 2010 (UTC)
Getting the footer to move along with my skyscrapers
My website is http://www.oblivionmodwiki.com
I've added skyscrapers onto the right of my site. However for some reason the footer doesn't pick it up. The footer still moves down fine if there is a page of content pushing it down.. but it ignores the navigation on the left and the banners on the right. Any idea of how I'd go about fixing this? I'd like to not cover up the MediaWiki logo on my main page. Also please tell me if I'm not including important information as I'll gladly give it.
Thank you, Vhaeos (talk) 03:01, 7 September 2010 (UTC)
- Look at the HTML source of the page. Right before the footer you want to clear both left and right. So where you have:
<!-- Google Lower Wide Skyscraper End --> <br />
- try changing the second line to:
- Hamilton Abreu 22:16, 7 September 2010 (UTC)
<br clear=all/>
- Thanks a lot for the suggestion. I've implemented it. Sadly it hasn't worked. Any idea what I'm doing wrong?
- Thank you. Vhaeos 11:28, 8 September 2010 (UTC)
- Yeah, having a second look at it, it probably fails because it's still within the
<div id="column-two"> ... </div>element. If you want to continue putting up with my guesses, try changing: <!-- Google Lower Wide Skyscraper End --> <br clear=all/> </div>
- to
<!-- Google Lower Wide Skyscraper End --> <br /> </div> <br clear=all/>
- That will do the clear outside "column-two" and just before the footer. Have a try, if it doesn't work I'll shut up. Hamilton Abreu 11:44, 8 September 2010 (UTC)
- Well, it's been quite a while so I've probably ruined my chance at further help.. but I may as well try.
- I did what you asked and it didn't work, sadly. I may be doing something wrong but honestly I can't code so I've got no idea.
- Please don't shut up though 'cause you're the only person helping me out, haha. If you've got any other ideas I'm all ears.
- Thank you. Vhaeos 01:18, 27 September 2010 (UTC)
- Ok. These are all meant to be quick hacks that can deal with the issue; I'm not familiar with the skin well enough to tell you how to fix it properly. So let's try another one. Remove the last suggestion, then edit the CSS file (http://www.oblivionmodwiki.com/skins/monobook/main.css) and insert
clear: both;at this point: - Hamilton Abreu 11:06, 27 September 2010 (UTC)
/* ** footer */ #footer { clear: both; background-color: white;- Thanks for being so persistent. But unluckily enough.. that didn't work. I'd still really love to hear/try out any other suggestions you may have but I'd also understand if you were out of suggestions.
- Thanks again for helping me clean up my sloppy implementation. Vhaeos 18:16, 27 September 2010 (UTC)
- Ok. Remove that, then insert
$wgAllowUserCss = true;- in file LocalSettings.php. This will allow users of the wiki (in this case, me) to change the CSS for their account only. I'll look at it in the wiki itself, in the next few days. Hamilton Abreu 18:45, 27 September 2010 (UTC)
- Wow, you're a saint Hamilton. Thanks so much. I've done as you asked. Vhaeos 16:46, 29 September 2010 (UTC)
- Ok. These are all meant to be quick hacks that can deal with the issue; I'm not familiar with the skin well enough to tell you how to fix it properly. So let's try another one. Remove the last suggestion, then edit the CSS file (http://www.oblivionmodwiki.com/skins/monobook/main.css) and insert
- Yeah, having a second look at it, it probably fails because it's still within the
Interwiki Links on side bar
(Sorry if i put this in the wrong place)
Is there a way (extesion or other wise) to add an area to the side bar that places "In other wiki's" link similar to "in other languages" links. By this, i mean it adds a link [[ja:]] to a page to add a link to the japanese page on the same topic. Bud0011 (talk) 04:02, 7 September 2010 (UTC)
-
- *bump* Bud0011 03:05, 29 September 2010 (UTC)
- *bump* Bud0011 04:05, 13 October 2010 (UTC)
- Please do not bump threads.
- You must set up interwiki links: Extension:Interwiki may help. Frozen Wind 22:08, 14 October 2010 (UTC)
- if i am not suppose to bump threads, why is there a "Bump this thread option"? And i apologize, i am not sure how your solution would help.
- What i look to do is: Set up a way for people to, for example, put [[wikipedia:Pie]] in an article and have a link show up on the sidebar under a section called "On other wikis", under the word "wikipedia", much like interlanguage links do. Bud0011 06:18, 15 October 2010 (UTC)
- That option is simply there to provide you with a way of not bumping the thread after adding or editing a post. Rest assured that I noticed every time you posted, as others likely did as well.
- Wiktionary does this with templates and JavaScript. See Template:Wikipedia, the "InterProject" section of MediaWiki:Common.css, and the "Interproject links" section of MediaWiki:Common.js. Reach Out to the Truth 13:30, 15 October 2010 (UTC)
- thank you very much. it is much appreciated.
- Edit: if you would like to see it in action, please check out wikibound at [2] Bud0011 01:01, 17 October 2010 (UTC)
- Sorry for the Double Post
- I was wondering if the function on "Interproject links", in the recommended Javascript, works on other skins. I'd like to use on a wiki that doesn't have it's default to Monobook or Vector. Bud0011 17:39, 17 December 2010 (UTC)
- *bump* Bud0011 04:05, 13 October 2010 (UTC)
- *bump* Bud0011 03:05, 29 September 2010 (UTC)
Admin seeing user emails
Is there any way for admin to see user emails? user_email_token in table user seem to be encoded Victor Ivrii (talk) 04:36, 7 September 2010 (UTC)
- No, user to user e-mails are not logged. user_email_token is a unique token used in the "validate your e-mail address" process. ^demon 04:41, 7 September 2010 (UTC)
- Then how one can use email to recover forgotten password? Sorry, I was rather ambiguous in my question: How Admin can see user_email which I presume is email address?
- Victor 192.117.42.244 07:53, 7 September 2010 (UTC)
- A temporary password is generated and sent to user's email. Max Semenik 07:58, 7 September 2010 (UTC)
- I know this - just to demonstrate that wiki "knows" user_email address 192.117.42.244 08:02, 7 September 2010 (UTC)
- So the problem was actually in question: "email" could mean both email address and email message. You meant the former when asking, ^demon assumed the latter. Now back to user_email: no, there's no such feature in the core, but you may try extensions, such as EditUser. Max Semenik 08:38, 7 September 2010 (UTC)
- I know this - just to demonstrate that wiki "knows" user_email address 192.117.42.244 08:02, 7 September 2010 (UTC)
- A temporary password is generated and sent to user's email. Max Semenik 07:58, 7 September 2010 (UTC)
Admin [Bureaucrats] Went Missing Need To Change Admin Email or Bureaucrat Levels
I did my best to look for issue regarding this but I was not able to find anything that helped me out in this matter.
Many months ago our web admin went missing. I have all the account information and back end access however what I don't have is the mediawiki's admin profile and password.
I have moved the site and change all access but since my skills with media wiki are limited I am lost in how to get my user name as a Bureaucrat. I went into the SQL to make sure I found the admin "name" but they never set up a email with it. So I get your basic "Login error Error sending mail: There is no e-mail address recorded for user "Admin". I have also changed the local settings to have the contact and sender information to go to my email.
I am not sure what to do at this point its a must for me to manage the users. What options do I have. Is there a way to set the "bureaucrat level" in MYSQL. 24.165.159.45 (talk) 01:54, 8 September 2010 (UTC)
- Please read Manual:FAQ#Alter the database. Hamilton Abreu 11:20, 9 September 2010 (UTC)
- I found a easier way to do this and was able to change password and email of any user. Also if you just change the number seq for the levels of the groups in the SQL directly you can do it that way as well. Thanks for your time. 65.189.101.220 16:15, 11 September 2010 (UTC)
(RESOLVED) bibtex
Ich benutze Mediawiki 1.16. Ich möchte die Erweiterung Bibtex Extension:Bibtex benutzen. Beim Einbinden erscheint folgende Fehlermeldung: (I use Mediawiki 1.16. I would like to use the enlargement "Bibtex" Extension:Bibtex. While integrating appears the following error message:)
Warning: include_once(Image.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\testwiki\extensions\Mediawiki-Bibtex-0.9.1\bibtex.php on line 7
Warning: include_once() [function.include]: Failed opening 'Image.php' for inclusion (include_path='C:\xampp\htdocs\testwiki;C:\xampp\htdocs\testwiki/includes;C:\xampp\htdocs\testwiki/languages;.;C:\xampp\php\pear\') in C:\xampp\htdocs\testwiki\extensions\Mediawiki-Bibtex-0.9.1\bibtex.php on line 7
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\testwiki\extensions\Mediawiki-Bibtex-0.9.1\bibtex.php:7) in C:\xampp\htdocs\testwiki\includes\WebResponse.php on line 16
Was mache ich falsch? (What do I make wrong?) Thomas Weigel (talk) 06:53, 8 September 2010 (UTC)
- Bibtex is not fully compatible with MediaWiki 1.16.
- But in any case this is a warning, not an error. Does the extension what it is supposed to do? If it does, just remove line 7 in bibtex.php -- Bryan (talk|commons) 12:10, 8 September 2010 (UTC)
- Many thanks, its works. Salzrinne 17:57, 8 September 2010 (UTC)
View all Categories at once in a page
Hello,
my system: Mediawiki: 1.16.0 PHP: 5.3.0 MySQL: 5.1.37
I've got the following structure right now:
- Level 1 (Category)
- Level 1.1 (Category)
- Level 1.1.1 (Category)
- Level 1.1.1.1 (Category)
- Leveltest (Page)
- Level 1.1.1.1 (Category)
- Level 1.1.1 (Category)
- Level 1.1 (Category)
When I want to see the Page Leveltest is there any way to see all parent categories at once? Maybe a line on Top of every page looking like: Level 1 > Level 1.1 > Level 1.1.1 > Level 1.1.1.1 > Leveltest so I can see how "deep" I am (not a bradcrumb)?
Is there a hidden feature or extension to realize this?
Thank you. 62.225.154.5 (talk) 14:23, 8 September 2010 (UTC)
- No, there is none, because categories are not necessary hierarchical.
- You could try playing around with Extension:CategoryTree, but I doubt that will do what you want. -- Bryan (talk|commons) 20:57, 8 September 2010 (UTC)
- Ok, hope that works for me. Thank you! 62.225.154.5 06:25, 9 September 2010 (UTC)
Bugzilla
I'm quite sure, that this is th wrong place to ask, but I didn't found a better one. I'm looking for information how our bugzilla ( https://bugzilla.wikimedia.org/show_bug.cgi?id=189 ) is configured. Thanks for helping. -- Joergens.mi 19:21, 8 September 2010 (UTC)
The directory used to store the settings, /usr/share/mediawiki1.7/serialized/, is not writable. Please make it writable by PHP to use this extension.
Hello ladies and gents,
I just upgraded my software suite to MediaWiki 1.16. My account has all the correct permissions. When I click Configure this Wiki, I get the above-mentioned error: 'The directory used to store the settings, /usr/share/mediawiki1.7/serialized/, is not writable. Please make it writable by PHP to use this extension.' Perhaps there's an easy fix for this?
Thanks 97.115.196.18 (talk) 00:22, 9 September 2010 (UTC)
- The problem is not with the wiki account, but with permissions in the serialized directory of your MediaWiki install, make it writable by PHP as for the config directory when you installed MediaWiki. iAlex 13:53, 11 September 2010 (UTC)
(RESOLVED) After downgrade from 1.16 to 1.15.3 i got a 'bug'
- 1. Hello Community
- 2. mediawiki 1.15.3
- 3. xampp 1.7.0
- Apache/2.2.11
- OpenSSL/0.9.8i
- PHP/5.2.8
- MySQL-Client-Version: 5.1.30
- 4. local wiki
- 5. issue
I made a downgrade from mediawiki 1.16 to 1.15.3 cause I want to use the halo access extension and the extension data import. For both extensions I can only use the 1.15.1 or the 1.15.3 version, so I decided for the last one. My problem I´m still having is that after the downgrade the editing window is very small. All the pages are correctly displayed but not the editing window. I can only edit 2 to 3 lines and this makes editing much harder. Where can I change the settings for this window or how can i fix this problem?
Thanks for any help in advance. FrankMayerhofer (talk) 06:30, 9 September 2010 (UTC)
- Ok, guys... meanwhile I solved the problem. As a admin visit the preferences change to editing menue and modify the dimensions of 'rows and columns' to e.g. '25 and 80'. That´s it. Have a nice day ;-) FrankMayerhofer 08:51, 9 September 2010 (UTC)
Line breaks gone after upgrade
Mediawiki 1.16.0, PHP 5.2.6-2ubuntu4.6, MySQL 5.0.67-0ubuntu6.1
I'm running a wiki on our intranet, so I can't share the URL with you guys.
Previously I was using Mediawiki 1.13.2 and everything was peachy.
A little while ago I upgraded to 1.15.1 and yesterday to 1.16.0.
Since the 1.15.1 upgrade I encountered the following problem.
Text that looked like this:
information field1: some value
information field2: another value
Now looks like this: information field1: some value information field2: another value
All the line breaks are gone, except for the places with an empty line.
Why this change? Most of our wiki looks like crap now and I just can't edit all those pages to add a <br /> whenever I want to start a new line.
Is there another solution to my problem, short of downgrading back to 1.13.x? 62.132.206.2 (talk) 08:12, 9 September 2010 (UTC)
- Nobody? :( Bob 08:23, 14 September 2010 (UTC)
- same problem here.
- i hate it. 209.202.82.50 18:26, 16 September 2010 (UTC)
- Try 2 newlines. I-20 14:26, 18 September 2010 (UTC)
- Actually, besides the fact that it is an ugly solution, it would also require me to edit a LOT of pages.
- Something has changed between upgrades and I want to revert that change, if possible. Bob 15:02, 20 September 2010 (UTC)
- I don't know then. I-20 22:51, 20 September 2010 (UTC)
- Why not tweak the CSS? It looks like the way its handling the
tag?
- But, lazily, I do 2 newlines. They're calorie-free! Tsx11 06:27, 24 September 2010 (UTC)
- Using 2 newlines inside new pages is no problem, it's editing all the existing content that's a pain in the rear.
- I know it's not handled by css though, I figured that out by trying different skins and even disabling each css file (including Mediawiki:Common.css and similar).
- The output from the database query is being filtered or processed I think, but I can't figure out just how and where yet. Bob 08:24, 29 September 2010 (UTC)
- I am also interested in comments about this issue.
- Line breaks are preserved in the source of the wiki page, and they are visible in the source HTML of the page, but they are rendered as HTML line breaks instead of being translated into forced line breaks by the parser.
- An interesting note is that mediawiki.org and wikipedia.org don't seem affected by this issue. See : w:en:Wikipedia:Line_break_handling
- It really looks like a bug, or at best, a regression. Lalquier 13:35, 26 October 2010 (UTC)
- In case anyone is still interested in this issue, I came across an interesting case.
- The line breaks that were missing after my upgrade were caused by an open <p> tag burried inside a template present in these pages. There was no closing tag for that paragrah.
- Apparently, before the upgrade, Mediawiki didn't care for closing paragraph tags. After the upgrade, it did. Lalquier 04:01, 6 March 2011 (UTC)
- Why not tweak the CSS? It looks like the way its handling the
- I don't know then. I-20 22:51, 20 September 2010 (UTC)
- Try 2 newlines. I-20 14:26, 18 September 2010 (UTC)
- I have always been under the impression that line breaks were never preserved in the past.
- In anycase, try the following CSS tweak in your Common.css:
* { white-space: pre-line; }- Works only on recent browsers though. -- Bryan (talk|commons) 20:44, 28 October 2010 (UTC)
Create pages with predetermined category automatically, but without category's tags in the EditBox
Someone know some mode or extension for make the pages that include the category automatically, but that category's tag is not entered in the EditBox.
Example: New's Page
The page have a Editbox there to type the Text's New and when save the text automatically put a predetermined category without appearing to user.
Thanks Marioike (talk) 15:12, 9 September 2010 (UTC)
Setting Usability Initiative extension preferences as on for all users by default
- MediaWiki 1.16.0
- PHP 5.2.10 (cgi-fcgi)
- MySQL 5.1.38-community
Hello there,
We have recently upgraded to 1.16.0 of MediaWiki and have installed the Usability Initiative extension. We would like to turn this on for all users. Specifically, we would like to set:
- Enable enhanced editing toolbar
- Enable dialogs for inserting links, tables and more
...as enabled for all users.
Is there a way to accomplish this?
Thanks in advance, 195.188.119.66 (talk) 15:32, 9 September 2010 (UTC)
- Bump. 195.188.119.66 10:02, 7 October 2010 (UTC)
- It is configurable with $wgWikiEditorFeatures, see here for details. Max Semenik 11:17, 7 October 2010 (UTC)
How do I hide time and date of all edits
I would like to know how I can hide the date and time of all edits. Is it possible to hide date and time only to anonymous users? 109.144.214.230 16:17, 9 September 2010 (UTC)
- Hey - come on - can anybody answer this simple question? 217.186.244.208 18:55, 28 September 2010 (UTC)
(RESOLVED) Browser resizing of images
Hi,
I want to turn off the thumbnailing/server resizing feature in mediawiki, but still have browser resizing. E.g.
[[Image:test.png|800px]]
Becomes something like:
src="...test.png/800px-test.png" width="800px"
in the html source. However I don't want the server resizing - just browser resizing - so just:
width="800px"
The reason is that I am making pdf prints of the wiki pages and then I need the good image resolution.
Hope somebody can help me :) - I have tried different things but without success...
MediaWiki version: 1.13.3 PHP version: 5.2.6-3 Mysql version: 5.0.75-0 94.101.220.40 (talk) 09:57, 10 September 2010 (UTC)
- I think setting $wgUseImageResize to false would do the trick, but you will need to upgrade to a newer version of MediaWiki. -- Bryan (talk|commons) 18:01, 10 September 2010 (UTC)
- Thanks very much! - it is working - I did a test on a new version of MediaWiki. Now I just have to update my old mediawiki installation... 94.101.220.40 13:33, 15 September 2010 (UTC)
Code that add a category automatically in the Page's text from the EditBox after the user to click the button "Save the page".
where edit the page's text from Editbox before to be saved by "submit"?
I want edit a code that add a category automatically after the user to click the button "Save the page".
There's a extension that does make this?
Thanks Marioike (talk) 13:57, 10 September 2010 (UTC)
Aigaion integration in MediaWiki
Ich benutze Mediawiki 1.16 und möchte gern Aigaion 2 (http://www.aigaion.nl/) für die Literaturverwaltung integrieren. Auf der dortigen Hilfeseite ist auch eine sehr knappe Anleitung vorhanden. Die Verbindung im Modus simplelink=true klappt zwar, aber es erscheint folgende Fehlermeldung innerhalb von Aigaion: Veröffentlichung betrachten: nicht existierende Nutzer-ID übergeben. Die Verbindung im Modus simplelink=false funktioniert ebenfalls nicht und ergibt folgendes Bild:
Warning: Cannot modify header information - headers already sent in C:\xampp\htdocs\testwiki\includes\WebResponse.php on line 16 und den nicht benutzbaren Liogin-Dialog von Aigaion.
Kann jemand helfen? Thomas Weigel (talk) 07:51, 11 September 2010 (UTC)
Server Migration: Backing Up and Importing To a New DB
Hi guys,
I had a look around the site but couldn't find a direct response to this question: what do I need to do to import to a new DB?
Basically, I've exported the database to an sql file at about 640mb. I need to put the wiki on a NEW server because the old one will shut down. So here are my questions
1. Do I need to re-install the wiki software on the new site first? 2. I'm a little confused about the import.php FAQ. Do I just upload the SQL file using PHP myadmin and it fills in the blanks or do I need to run this import.php thing?
Sorry if that sounds a little obvious, but I need some advice in plain english on the best way to do this. I had a nice lot of information and hours and hours worth of work I'd like not to lose.
Thanks. 146.18.173.72 (talk) 12:49, 11 September 2010 (UTC)
- Copying all the MediaWiki files from the previous install and importing the DB dump should suffice. Of course, you may need to tweak your configuration if two systems are different. Have you read Manual:Moving a wiki? Max Semenik 13:09, 11 September 2010 (UTC)
- To summarize:
- No.
- You don't need to use import.php, which is for XML dumps. Use MySQL command-line client to import these dumps, e.g. [3] Max Semenik 13:13, 11 September 2010 (UTC)
- To summarize:
No Upload portal!
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 be most grateful if someone could give me some help. I have download Mediawiki 1.16 on my pc. php ini is set to allow downloads. I have amended Local settings.php to allow uploads. The problem I have is that there is no ‘Upload file’ under ‘Media reports and upload’ on the ‘Special pages’. I have searched the internet including Mediawiki for assistance to no avail. Ron Barker 16:49, 12 September 2010 (UTC)
- Have you added the relevant configuration settings to the bottom of LocalSettings, and if yes, could you copy them here? -- Bryan (talk|commons) 19:12, 12 September 2010 (UTC)
- Thank you for your response. I thought that it might be best to copy the whole thing in case there is something missing. I am not very familar with the srcript/codes used by Mediawiki. In case I have not made myself understood my problem is that my wiki does not have anywhere to upoad media.
- 81.107.28.63 10:05, 13 September 2010 (UTC)
<?php # This file was automatically generated by the MediaWiki installer. # If you make manual changes, please keep track in case you need to # recreate them later. # # See includes/DefaultSettings.php for all configurable settings # and their default values, but don't forget to make changes in _this_ # file, not there. # # Further documentation for configuration settings may be found at: # http://www.mediawiki.org/wiki/Manual:Configuration_settings # If you customize your file layout, set $IP to the directory that contains # the other MediaWiki files. It will be used as a base to locate files. if( defined( 'MW_INSTALL_PATH' ) ) { $IP = MW_INSTALL_PATH; } else { $IP = dirname( __FILE__ ); } $path = array( $IP, "$IP/includes", "$IP/languages" ); set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() ); require_once( "$IP/includes/DefaultSettings.php" ); if ( $wgCommandLineMode ) { if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) { die( "This script must be run from the command line\n" ); } } ## Uncomment this to disable output compression # $wgDisableOutputCompression = true; $wgSitename = "CriminaLaw"; ## The URL base path to the directory containing the wiki; ## defaults for all runtime URL paths are based off of this. ## For more information on customizing the URLs please see: ## http://www.mediawiki.org/wiki/Manual:Short_URL $wgScriptPath = "/mediawiki/mediawiki-1.16.0"; $wgScriptExtension = ".php"; ## The relative URL path to the skins directory $wgStylePath = "$wgScriptPath/skins"; ## The relative URL path to the logo. Make sure you change this from the default, ## or else you'll overwrite your logo when you upgrade! $wgLogo = "$wgStylePath/common/images/wiki.png"; ## UPO means: this is also a user preference option $wgEnableEmail = true; $wgEnableUserEmail = true; # UPO $wgEmergencyContact = "admin@localhost"; $wgPasswordSender = "admin@localhost"; $wgEnotifUserTalk = true; # UPO $wgEnotifWatchlist = true; # UPO $wgEmailAuthentication = true; ## Database settings $wgDBtype = "mysql"; $wgDBserver = "localhost"; $wgDBname = "wikidb"; $wgDBuser = "root"; $wgDBpassword = "**********"; # MySQL specific settings $wgDBprefix = ""; # MySQL table options to use during installation or update $wgDBTableOptions = "ENGINE=MyISAM, DEFAULT CHARSET=binary"; # Experimental charset support for MySQL 4.1/5.0. $wgDBmysql5 = true; ## Shared memory settings $wgMainCacheType = CACHE_NONE; $wgMemCachedServers = array(); ## To enable image uploads, make sure the 'images' directory ## is writable, then set this to true: $wgEnableUploads = true; # $wgUseImageMagick = true; # $wgImageMagickConvertCommand = "/usr/bin/convert"; ## If you use ImageMagick (or any other shell command) on a ## Linux server, this will need to be set to the name of an ## available UTF-8 locale # $wgShellLocale = "en_US.UTF-8"; ## If you want to use image uploads under safe mode, ## create the directories images/archive, images/thumb and ## images/temp, and make them all writable. Then uncomment ## this, if it's not already uncommented: # $wgHashedUploadDirectory = false; ## If you have the appropriate support software installed ## you can enable inline LaTeX equations: $wgUseTeX = false; ## Set $wgCacheDirectory to a writable directory on the web server ## to make your wiki go slightly faster. The directory should not ## be publically accessible from the web. #$wgCacheDirectory = "$IP/cache"; $wgLocalInterwiki = strtolower( $wgSitename ); $wgLanguageCode = "en"; $wgSecretKey = "************************************************************"; ## Default skin: you can change the default skin. Use the internal symbolic ## names, ie 'vector', 'monobook': $wgDefaultSkin = 'monobook'; ## For attaching licensing metadata to pages, and displaying an ## appropriate copyright notice / icon. GNU Free Documentation ## License and Creative Commons licenses are supported so far. # $wgEnableCreativeCommonsRdf = true; $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright $wgRightsUrl = ""; $wgRightsText = ""; $wgRightsIcon = ""; # $wgRightsCode = ""; # Not yet used $wgDiff3 = ""; $wgFileExtensions = array('png', 'gif', 'jpg', 'jpeg', 'doc', 'xls', 'mpp', 'pdf', 'ppt', 'tiff', 'bmp', 'docx', 'xlsx', 'pptx', 'ps'); # When you make changes to this configuration file, this will make # sure that cached pages are cleared. $wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );
- Looks ok. Are you logged in? Did you enable file_uploads in php.ini? -- Bryan (talk|commons) 17:01, 13 September 2010 (UTC)
- Bryan
- Thanks.
- Yes, I am logged in. Would it have made any difference that when I was setting-up wiki I changed wiki sysops to Admin?
- Re: php ini. I did not change anything. I found it like this:
- Looks ok. Are you logged in? Did you enable file_uploads in php.ini? -- Bryan (talk|commons) 17:01, 13 September 2010 (UTC)
- File Uploads ;
- Whether to allow HTTP file uploads.
- http://php.net/file-uploads
- Temporary directory for HTTP uploaded files (will use system default if not
- specified).
- http://php.net/upload-tmp-dir
- Maximum allowed size for uploaded files.
- http://php.net/upload-max-filesize
- Bryan
- I think that maybe I am not being clear. I cannot upload files because there is no upload page from which to upload a file.
- I have an 'import XML Data' page and 'Gallery of New Files' page so why don't I have an 'Upload Files' page? (At least I cannot find it)
- Sorry I did not mean to 'bump' this message Ron Barker 21:35, 13 September 2010 (UTC)
- Does going to Special:Upload directly work? -- Bryan (talk|commons) 20:40, 18 September 2010 (UTC)
- Bryan
- I am really sorry to say that I was not logged in as 'admin'. I am in the process of moving my wiki onto a new computer. I have deleted the wiki I was having trouble with and with some help have moved a copy of the old wiki to the new computer. However, I do not now know the password for admin. I have posted a qustion above re resetting admin password. Thank you for all your help and perseverance.
- Sorry I did not mean to bump this message. I do not know how to 'unbump'it! Ron Barker 11:03, 1 October 2010 (UTC)
byteoffset in section
This post by Bryan was moved on 2010-09-12. You can find it at Project:Support desk/Flow/2010/08#h-byteoffset_in_section-2010-08-26T10:05:00.000Z. -- Bryan (talk|commons) 19:13, 12 September 2010 (UTC)
Zip uploading
Russian:При загрузке .zip выдаёт предупреждение "Невозможно загрузить этот файл, так как Internet Explorer будет определять его как "application/zip"..." В чём проблема? Что исправлять?
English(Goggle trans):When uploading .zip gives a warning "Unable to load this file, because Internet Explorer will define it as "application/zip "..." What's the problem? What is correct? Зелёный Кошак (talk) 22:46, 12 September 2010 (UTC)
- The problem is that it is a .zip file. MediaWiki does not allow .zip files to be uploaded by default. To allow .zip files, "application/zip" should be removed from $wgMimeTypeBlacklist. Reach Out to the Truth 22:58, 12 September 2010 (UTC)
Abusefilter is not filtering any abuse
I've tried asking about this on the extension's own discussion page but no one there seems particularly concerned with helping anyone else out, so I'll try my luck here.
I'm having crazy problems with the AbuseFilter extension, and I can't get any filters to do anything at all. No matter what kind of actions I try to filter out, they get through without the Abusefilter doing anything to stop them, it doesn't even log the events in the abuse log. Even running it in test mode and comparing all the old edits, nothing matches the filter. For example, the "shouting" filter which is intended to catch anyone typing in BLOCK CAPITAL LETTERS, completely ignores anyone who has been doing it.
It's blind.
The filters I've been trying are the ones wikipedia itself uses, so they should definitely work. For some reason it just doesn't seem to be paying attention to any of the edits though.
I have two other extensions installed, AntiSpoof and "bad behaviour"... Apparently AntiSpoof is required before you can install AbuseFilter, so I doubt there could be any conflict there. Bad behaviour is working effectively, so effectively that it wouldn't allow me to install AbuseFilter to begin with because it seemed to think the installer was a bot or something? So I had to temporarily disable it in order to get AbuseFilter installed. Bad behaviour is still currently disabled so I don't think there could be any conflict there either.
I'm on mediawiki 1.16, the latest one. My extensions are all also the versions which go with 1.16. The server is Apache/Linux. PHP 5.2.42 and MySQL 5.0.85.
Has anyone heard of this happening before, or got even the slightest clue what the problem could be? Even the faintest idea or the wildest guess would be helpful, anything to give me something to look into. I've got nothing. Asndb (talk) 08:20, 13 September 2010 (UTC)
- No one can even hint at anything else they might need to know to take a guess? Asndb 20:15, 14 September 2010 (UTC)
- We're volunteers. Sorry.
- I think you may have a syntax error somewhere. I-20 14:22, 18 September 2010 (UTC)
- Maybe check with the extension developer? If its missing "everything" the hook might not be getting called.
- Stick in some wfDebug() calls in there and turn on the debug log. "tail -f" the log and wait to see if your wfDebug call is called.
- If that doesn't help, summon a Level 6 Mage and wait for reinforcements. Tsx11 06:30, 24 September 2010 (UTC)
Require some help with simple formatting
Hey,
I need some help with formatting a table. Simple, I know, but it's really bugging me. In the table on the left, with the three pictures and three names, I need for the second one to be formatted like the ones above and below it. I just cannot get it to work. Page is here: http://www.pilkipedia.co.uk/wiki/index.php?title=Sandbox
Code is here ('view source' seems broken on my wiki): http://dpaste.org/JVb5/
Thanks 94.3.196.239 (talk) 20:42, 13 September 2010 (UTC)
MediaWiki no longer showing after a month. [RESOLVED]
I installed Mediawiki on my site a month ago with version: 1.16.0. Later on it started showing a white page. I'm running PHP v. 5 w/ MySQL v. 5.0.77 The site is at http://wiki.benswebsite.org The site is ran on my own box which is CentOS 5.
I started to notice an error in the error log when I viewed my control panel.
PHP Notice: Undefined property: SpecialRandomredirect::$namespace in /home/benw/wiki/includes/specials/SpecialRandompage.php on line 46 This was viewed when I saw some search bot I don't know indexing the page. I did some Google searching on wiki showing a white page, and not much helped.
Any help would be great. Thanks.
- Ben W. 65.12.176.129 (talk) 22:17, 13 September 2010 (UTC)
- Problem was resolved. Just re uploaded a clean version of DefaultSettings.php 65.12.176.129 22:33, 14 September 2010 (UTC)
How to add a thumbnail to a sub category in category list?
Can anybody suggest how to add a thumbnail with category in list (similar to page) . Does Media wiki have by default that feature or should we have to create any extension or Hook? Can anybody give me an idea how can we do that?
I would appreciate if anybody help me on that.
Thank you, Rex Rakeshmw (talk) 09:05, 15 September 2010 (UTC)
- This feature is not present in core or extensions that wiki reports to have. I see some hooks not present in those extensions, which indicates that they did that with something homebrewed. You could contact that site's owners and ask if they're willing to share their code. Max Semenik 09:54, 15 September 2010 (UTC)
Installation errors
This is what i see when i go to the mediawiki config.php:
MediaWiki 1.16.0 Installation Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list. Checking environment... Please include all of the lines below when reporting installation problems. PHP 5.2.9 installed Found database drivers for: MySQL PostgreSQL SQLite PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title) Have XML / Latin1-UTF-8 conversion support. Session save path (/usr/libexec/php5-cgi/var/lib/php/session) appears to be valid. PHP's memory_limit is 128M bytes. Couldn't find eAccelerator, APC or XCache; cannot use these for object caching. Found GNU diff3: /usr/bin/diff3. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: /usr/local/pem/vhosts/102025/webspace/httpdocs/mediawiki Script URI path: /mediawiki Installing MediaWiki with php file extensions Environment checked. You can install MediaWiki. Warning: require(/usr/local/pem/vhosts/102025/webspace/httpdocs/mediawiki/includes/LocalisationCache.php) [function.require]: failed to open stream: No such file or directory in /usr/local/pem/vhosts/102025/webspace/httpdocs/mediawiki/includes/AutoLoader.php on line 654 Fatal error: require() [function.require]: Failed opening required '/usr/local/pem/vhosts/102025/webspace/httpdocs/mediawiki/includes/LocalisationCache.php' (include_path='.:/usr/libexec/php5-cgi/share/pear:/usr/libexec/php5-cgi/share/php') in /usr/local/pem/vhosts/102025/webspace/httpdocs/mediawiki/includes/AutoLoader.php on line 654 I have no idea what these two errors mean. I have my mysql database set up but that seems irrelevant for this.
77.250.225.187 (talk) 14:30, 15 September 2010 (UTC)
- You didn't upload all the files to the server, try it again. Max Semenik 14:32, 15 September 2010 (UTC)
- Thanks that was it, I had to change my Filezilla settings to 1 simultaneous transfer. 77.250.225.187 20:57, 15 September 2010 (UTC)
Improved table editing and exporting
Hi All,
For my organizations internal wiki we'd like to manage many different tables of data. Initially we though of managing a bunch of excel spreadsheets on our shared network, while the wiki would simply reference their location in the shared drive. This wasn't a very good method as we had to edit parts of the wiki doc and then go back to the table on the network drive. What we want is to edit everything on the wiki and then export as needed.
First, what extension do I install to get the advanced table import features (like the editor being used on this page).
Second, once I have that are there any extensions that allow exporting tables into CSV format. It would be handy to export tables when we need to present information outside of the organization.
Thanks for your help in advance! Kingashok (talk) 19:04, 15 September 2010 (UTC)
Add a default value from "magic works" in the Semantic Form's Field
Hello,
I can't add a default value in the Semantic Form's InputText field.
I try with code but don't work:
| Code: | Code | Title |
|---|
As we can see, I want add the number's page of any category in the the Field's default value but the Magic Work "0" don't work while is between {{{ }}}.
Addition of the magic works, the Parsefunctions do not work.
Someone haves any suggestion? Marioike (talk) 23:07, 15 September 2010 (UTC)
Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 12356 bytes) in D:\Hosting\6651377\html\home\includes\media\Bitmap.php on line 213
I have no idea what I am doing wrong, I increased the image x by x size and it is still failing. 68.187.158.251 (talk) 01:29, 16 September 2010 (UTC)
Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 12356 bytes)
I tried to load images and get this error. 68.187.158.251 (talk) 01:34, 16 September 2010 (UTC)
PHP Failed opening required
Hi guys, wht means that: PHP Fatal error: require_once(): Failed opening required '/srv/www/htdocs/wiki/LocalSettings.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/htdocs/wiki/includes/WebStart.php on line 116
or better, how i fix that? =(
wikiversion: 1.16 os: opensuse 11.2 187.72.169.11 (talk) 20:41, 16 September 2010 (UTC)
- Hello!
- Please re-run the installer. It looks like you have deleted LocalSettings.php -- which is an Bad Idea. I-20 14:27, 18 September 2010 (UTC)
Profile: "this user speaks xyz"
Hello, I don't really know where I can get these templates like: "this user speaks ancient greek" etc.. I would like to inform people about my language abilities to let them know that the changes I made are profound. Any help would be highly appreciated. Thank you beforehand David Davidsch87 (talk) 00:58, 17 September 2010 (UTC)
- Profound eh? You can find them on w:en:Wikipedia:Babel. Rich Farmbrough (w:en:User:Rich_Farmbrough) 11:22, 17 September 2010 (UTC)
- thank you! -- Davidsch87 Davidsch87 22:21, 18 September 2010 (UTC)
How do I modify tabs, as well as edit pages, in the Vector skin?
Simple question, and probably one which can be explained pretty easily. But, well, I haven't found answers anywhere else.
I'm using MediaWiki 1.6, course. 195.194.21.157 (talk) 09:42, 17 September 2010 (UTC)
- This is fairly old by now, and not ONE person could care enough to provide some insight.
- Just curious as to if you still require help. AshleyJames 03:08, 16 February 2011 (UTC)
Make articles public or private
I realize that mediawiki is not a content management system and that there are potential extension(s) available that might solve this problem, but I'd really like to know the best practice is for users to create an article that must be approved prior to releasing to the general populous. The workflow would involve some user creating an article, then a superuser could read the private article, approve it in some form or fashion, and then it will then be published for everyone to see. Simply showing that an article is approved or that an article has been edited does not meet my needs. One thing I thought of is maybe there's a way to restrict certain articles by user and then those articles could be edited and the user access of the article could afterward be changed to something less constrained. I am open to feedback on how to do this the best and simplest way. Thanks for your help. 66.76.177.230 (talk) 17:31, 17 September 2010 (UTC)
- Extension:FlaggedRevs might work 75.137.149.46 21:47, 17 September 2010 (UTC)
- Extension:Lockdown probably will do what you want on a per name space basis, So you can have a private one then move the stuff to the public when its ready. Peachey88 06:17, 23 September 2010 (UTC)
File upload failures 'Could not find file "C:\WINDOWS\Temp\phpD9F.tmp'
MediaWiki 1.15.1, php 5.x Win 2005 IIS 6
When trying to upload a file, the server reports an error that it can not find the file. PHP scripts other than MediaWiki have no troubles on the server otherwise. But I can't figure out where the error is being generated. I have inserted 'file_exists' checks and, indeed, the temp file does not exist (duh!). This just started happening. Prior to this date, all users were successful uploading files. What would cause this? I HAVE TO FIX THIS SOON! Budsy~mediawikiwiki (talk) 06:35, 18 September 2010 (UTC)
- I am having the same problem. The temp file is different, but the circumstances are the same. KarikaSlayer 19:46, 22 September 2010 (UTC)
- I can't get rid of this problem. Maybe it is a problem in PHP 5.2.12? Somewhere here is says that PHP 5.2.1 has a bug and won't work right with MediaWiki. But does that include 5.2.12? 216.98.232.41 20:49, 28 September 2010 (UTC)
"-----" causing errors in wikipedia
Whenever an article has "----" in the text I get
403 Forbidden
You don't have permission to access /wiki/index.php on this server.
Error when editing or previewing. This suddenly started. How do I get rid of this problem and could be the cause?
- MediaWiki: 1.6.5
- PHP: 5.2.12 (cgi)
- MySQL: 5.0.83-log 173.56.113.248 (talk) 13:11, 18 September 2010 (UTC)
- 1.6.x is too old and is not supported, you are encouraged to upgrade. However, this particular failure may be caused by mod_security Apache module. Max Semenik 13:59, 18 September 2010 (UTC)
- 1.16 install gives me the same error. How do I get rid of it? 173.56.113.248 14:23, 18 September 2010 (UTC)
404 Not Found
I was trying to get shorter URLs w/o Root Access, but something seems to have failed catastrophically. Whenever I try to access any page, I get a 404 Not Found error. I've tried to undo the changes I made to LocalSettings and .htaccess, but nothing seems to work.
I'm not sure which version I have, since I can't access any pages. 72.193.162.138 (talk) 11:44, 19 September 2010 (UTC)
- A 404 means that your rewrite rules are redirecting to some non-existant path. Can't say much more not knowing the details. Max Semenik 14:40, 19 September 2010 (UTC)
- I thought I'd set them back to the default when it didn't work. Is there a special way to do that? 72.193.162.138 17:24, 19 September 2010 (UTC)
- No, just undo everything you did. Max Semenik 17:25, 19 September 2010 (UTC)
- I've done that. At least, I'm fairly certain I have. I've taken out everything that the FAQ told me to put in, and it's still not working.
- Nothing's been moved around or anything. I've gotten this to work on another wiki I had, but I've no idea how, since it clearly doesn't want to work this time. 72.193.162.138 19:49, 19 September 2010 (UTC)
- And for the record, I was able to get into the documentation, I have version 1.14. 72.193.162.138 19:54, 19 September 2010 (UTC)
- No, just undo everything you did. Max Semenik 17:25, 19 September 2010 (UTC)
- I thought I'd set them back to the default when it didn't work. Is there a special way to do that? 72.193.162.138 17:24, 19 September 2010 (UTC)
Help please, How can i use login page without hidden token??
Hik, im try to integrate eyeos with media wiki and i made one script to use, but i have a little trouble, because i see wiki generate one token random, and i dont know how to use it in my aplication in eyeos, or how to generate it to create the session.
Hope someone can help me, because i dont know what to do, im thinking disable the token field in the form and the page where receive it, but when i quit this in user login <?php if( @$this->haveData( 'token' ) ) { ?><input type="hidden" name="wpLoginToken" value="<?php $this->text( 'token' ); ?>" /><?php } ?>
i have not token and its ok, but where is the next, page to edit to quit this??
or how can i generate, this tokens? to try to add to my script in eyeos 190.53.149.45 (talk) 19:15, 19 September 2010 (UTC)
Upgrade 1.4.12->current
Hello,
I have ancient mediawiki version ( MediaWiki (http://wikipedia.sf.net/): 1.4.12
PHP (http://www.php.net/): 5.2.6RC4-pl0-gentoo (apache2handler) MySQL (http://www.mysql.com/): 4.1.22-log
)
running on a gentoo box.
Is there a safe way how to upgrade to current version? I also think the database is still non-utf.
Anyone done something similar recently?
Thank you
Lubos Kolouch 194.212.236.253 (talk) 09:30, 20 September 2010 (UTC)
- See Manual:Upgrading. However, one step of the procedure should be stressed in that case: UPGRADE EVERYTHING.
- In simple words:
- Backup
- Upload new files
- In command line:
php maintenance/upgrade1_5.php --upgradephp maintenance/upgrade.php- I'm not sure about upgrade1_5, things may work without it. Max Semenik 10:05, 20 September 2010 (UTC)
'Parse' action no longer working
Earlier today, my API requests using the parse action began failing, returning the unknown_action error.
Here is an example request, which until a few hours ago returned a JSON object containing the parsed wiki text for the requested page:
http://www.mediawiki.org/w/api.php?action=parse&page=Main_Page&uselang=en&format=json&redirects
However now I am getting the following error:
{"error":{"code":"unknown_action","info":"Unrecognized value for parameter 'action': parse"}}
Furthermore, the examples given in the API documentation for this method are also failing:
http://en.wikipedia.org/w/api.php?action=parse&text=foo%20bar%20[4]
Has parse been removed from the list of valid actions? 78.149.126.116 (talk) 21:49, 21 September 2010 (UTC)
Categories not sort in alphabetically order
I have a problem with multiple categories
I add more than one categories to a site "Test Seite" for example:
[[Category:Device]] [[Category:Machine]]
If I go to the Category-Overview (Device or Machine) this site appears not in alphabetically order. It should appear at letter "T" but it appears always at letter "C".
Any idea what could be wrong?
RoadRunner RoadRunner~mediawikiwiki (talk) 11:04, 22 September 2010 (UTC)
- You can add a sortkey, but entering
[[Category:Device|Sortkey]] so, [[Category:Device|Test Seite]].
- Hope this helps. 194.83.177.252 12:34, 28 September 2010 (UTC)
- Thank you, the answer resolves the Problem,
- but we search for a resolution to order the category members by sitename. RoadRunner 05:35, 29 September 2010 (UTC)
Running Mediawiki's latest version(1.16.0) on CentOS.
Is the new version of mediawiki(1.16.0) good to be installed on CentOS?Is there a link for manually installing Mediawiki on CentOS. I am looking to add shibboleth authentication to it too later on. I have searched for quite a while now and I didn't get link for step by step installation on mediawiki's latest version on CentOS. The latest stable release I could find was 1.12.0 instable on CentOS. Please correct me if I am wrong. Thank you. 173.27.25.186 (talk) 15:30, 22 September 2010 (UTC)
- I'm running 1.16 on CentOS, works ok so far! Tsx11 06:25, 24 September 2010 (UTC)
- Thank you Tsx11 for your response. The latest version of mediawiki is now installed on CentOS and is working fine. Mediawiki installer 18:39, 26 September 2010 (UTC)
Upgrade mediawiki from 1.9.3 to 1.16.0.
I would like to upgrade mediawiki from 1.9.3 to 1.16.0.
What factors do I need to take into account ?
Is the database schema the same for example ? Any configuration file changes that I need to know about ?
What other factors do I need to consider. 84.73.203.196 (talk) 17:50, 22 September 2010 (UTC)
Change permission error message without editing source files
I want to change that permission error message "There is currently no text in this page. You can search for this page title in other pages, search the related logs, or edit this page.". I tried with the 'getUserPermissionsErrors' hook but I can't modify this message.
Is this possible to be that change without editing the source files ? If it is really not possible which source file I have to edit ?
Thank you in advance 158.169.9.14 (talk) 06:14, 23 September 2010 (UTC)
- There is a message for that. I don't remember the name, though. I-20 16:53, 25 September 2010 (UTC)
на сайте нет администраторов и бюрократов вообще
на сайте нет вообще администраторов и бюрократов при использовании описанной инструкции новый бюрократ не появляется. Есть ли еще какие-либо решения проблемы? Версия MediaWiki 1.13.2 JuliayDubrovina (talk) 08:15, 24 September 2010 (UTC)
- при использовании описанной инструкции - какой? createAndPromote.php? Если этот скрипт не работает, включите вывод ошибок, посмотрим, что не срабатывает. Max Semenik 08:35, 24 September 2010 (UTC)
- нет, у нас версия 1.13 JuliayDubrovina 08:48, 24 September 2010 (UTC)
- Sometimes, the installer fails to create the default user, or the user
- table is lost for some reason. There are a couple of options for
- solving this:
- maintenance/createAndPromote.php
- If your MediaWiki is older than 1.16, make sure AdminSettings.php is
- set up (see AdminSettings.sample)
- Execute maintenance/createAndPromote.php --username <new user name>
- --password <password for that user> from the shell. Append
- --bureaucrat to command line if you want that user to become a
- bureaucrat, in addition to becoming an administrator.
- This will create a new user and promote them to an administrator. For
- help, run the script with the parameter --help.
- Или:
- Alter the database
- Register a new account using the regular method (Special:UserLogin).
- Check the user ID in Special:Preferences.
- Execute the following SQL statement against the database:
- INSERT INTO user_groups ( ug_user, ug_group ) VALUES ( <id>,
- 'bureaucrat' ), ( <id>, 'sysop' );
- <id> above should be replaced with the appropriate user ID which you
- can see on the user's preference page JuliayDubrovina 08:52, 24 September 2010 (UTC)
- createAndPromote.php присутствует и в 1.13.х. Max Semenik 08:56, 24 September 2010 (UTC)
- напишите пожалуйста полную пошаговую инструкцию по восстановлению прав пользователей с помощью createAndPromote.php
- я не профи в этом JuliayDubrovina 10:08, 24 September 2010 (UTC)
- php createAndPromote.php --bureaucrat <имя_пользователя> <его_пароль> из командной строки. Для пошаговой инструкции недостаточно данных о вашем сервере: какая операционка, есть ли к нему физический доступ, или SSH и т.д. Max Semenik 11:30, 24 September 2010 (UTC)
- есть только доступ через ftp-клиент 213.80.160.166 06:14, 30 September 2010 (UTC)
- php createAndPromote.php --bureaucrat <имя_пользователя> <его_пароль> из командной строки. Для пошаговой инструкции недостаточно данных о вашем сервере: какая операционка, есть ли к нему физический доступ, или SSH и т.д. Max Semenik 11:30, 24 September 2010 (UTC)
- нет, у нас версия 1.13 JuliayDubrovina 08:48, 24 September 2010 (UTC)
How do I determine unreachable pages?
Special:LonelyPages (Spezial:Verwaiste_Seiten here) includes categorized pages.
The main use that I see for the LonelyPages list is to help determine pages that are unreachable except by searching, and are therefore candidates for cleanup. However, categorized pages are usually perfectly well reachable.
A list of pages that are both orphaned (have no static incoming links) and uncategorized would be more useful for finding the really unreachable pages.
Can this be achieved with built-in means or with an existing extension?
This is MediaWiki 1.16.0, PHP 5.1.2, MySQL 5.0.18. RainerBlome (talk) 10:20, 24 September 2010 (UTC)
- That special page only has pages that have not been updated in a long while. I-20 16:52, 25 September 2010 (UTC)
- Well... quoting from Special:LonelyPages:
- "The following pages are not linked from or transcluded into other pages in MediaWiki. "
- It is about connectedness, not updatedness.
- Some pages, for example Date formats and Browser issues with MediaWiki are categorized, so they are reachable, they have a parent, they are not orphaned, they do not belong on the "orphaned pages" list. RainerBlome 23:06, 28 September 2010 (UTC)
- are there any jobs on your Job Queue? Bud0011 03:02, 29 September 2010 (UTC)
- The examples I gave above are from here, http://www.mediawiki.org/wiki/ .
- Yes, there are jobs in the queue, see Special:Statistics.
- What does the JobQueue have to do with my question? RainerBlome 06:11, 30 September 2010 (UTC)
- well, it is possible that the reason there is stuff on the Lonely pages list is that the linking pages have not been updated, and the job that would change them is waiting on the queue. Bud0011 19:19, 1 October 2010 (UTC)
- are there any jobs on your Job Queue? Bud0011 03:02, 29 September 2010 (UTC)
- Well... quoting from Special:LonelyPages:
Is it possible to link to local directory like \\server\dir... instead of http://.... ?
We need this to link from wiki text to local files in our compnies intranet.
Many thanks in advance 80.237.251.92 (talk) 10:32, 24 September 2010 (UTC)
- Hi there,
- I also have the same problem... if someone could help me, I will be very happy
- Thanks 201.55.240.5 13:05, 15 February 2012 (UTC)
- It's a browser thing. IE works fine, Firefox blocked this for security reasons. Subfader 13:12, 15 February 2012 (UTC)
- And what is the tag to use with local path?
- thanks Crismagnabosco 16:39, 15 February 2012 (UTC)
- You can create proper file:/// links with Extension:FileProtocolLinks but as mentioned only for IE and not Firefox Subfader (talk) 11:12, 16 February 2012 (UTC)
- See also Extension:UncPath, and Manual:$wgUrlProtocols#Details Bawolff (talk) 01:06, 17 February 2012 (UTC)
- It's a browser thing. IE works fine, Firefox blocked this for security reasons. Subfader 13:12, 15 February 2012 (UTC)
- I use this extension. not sure where I got it:
- Schalice (talk) 18:50, 16 February 2012 (UTC)
<?php // Link MediaWiki extension. // Creates a link to a network location. // Copyright (C) 2007, Aretai Systems. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Usage # with this extension it is possible to define # new tags of the form # <link target="blank">network location</link> # The behaviour of a window is configurable. Options are not obligatory: "SELF", "TOP", "PARENT", "BLANK" (default). # the function registered by the extension gets the text between the # tags as input and renders a link. # You can just copy the network location and paste it between <link></link>. $wgHooks['ParserFirstCallInit'][] = "hookNetworkLink"; function hookNetworkLink( &$parser ) { $parser->setHook( "link", "renderNetworkLink" ); return true; } # The callback function for converting the input text to HTML output function renderNetworkLink( $loc='', $argv=array() ) { global $wgOut, $wgTitle, $wgParser; $loc = htmlspecialchars($loc); switch( strtoupper( $argv['TARGET'] ) ) { case "SELF": $out = "<a href=\"{$loc}\" target=\"_self\">$loc</a>"; break; case "TOP": $out = "<a href=\"{$loc}\" target=\"_top\">$loc</a>"; break; case "PARENT": $out = "<a href=\"{$loc}\" target=\"_parent\">$loc</a>"; break; default: $out = "<a href=\"{$loc}\" target=\"_blank\">$loc</a>"; } return $out; }- ^^Doesn't work. Also it's a browser prblem not a website problem. Subfader (talk) 20:24, 16 February 2012 (UTC)
[RESOLVED] SQLite instead of MySQL/PostgreSQL?
Hello
Before I install MediaWiki, I'd like to check what the status is about its using SQLite instead of MySQL/PostgreSQL. I didn't find information about this in the manual/FAQ, so it looks like it's just not ready for production. Does someone know about this?
Thank you. 82.237.75.54 (talk) 14:06, 24 September 2010 (UTC)
- SQLite support is documented here, and it's support is approximately on par with Postgres. Note that you should be using it with MediaWiki 1.16+. Max Semenik 14:16, 24 September 2010 (UTC)
- Thanks Max. I'll give it a shot, then. 82.237.75.54 14:23, 24 September 2010 (UTC)
win2k3 iis upload files with special character. éàêö...
Hi,
I have mediawiki 1.15.0. I have moved my installation from CentOS to Windows for add ntfs security.
But users reports then when they upload files with special character, they files doesn’t works.
I have testing with testé.txt and result is images/upload/a/a4/Test%C3%A9.txt. But on windows, the filename is Testé.txt. If change é for é my link works fine. After search, UTF-8 is cause. How can save correct name or replace é by e on php function.
Sorry for my english. 74.59.51.225 (talk) 19:18, 24 September 2010 (UTC)
- This is a known problem, caused by clumsiness of PHP's file access API on Windows. The workarounds include moving back to Linux (o_0) and using something like TitleBlacklist to block all non-ASCII uploads. Max Semenik 20:13, 24 September 2010 (UTC)
How can i make a field token??
Hi, i need your help, im trying to create one application to eyeos and mediawiki, but there is one thing i cannot manipulate and its the hidden field call "token".
Please someone can show how create this field to insert this in my scrypt in eyeos to let the wiki begin session from eyeos, because i repeat this is the one field i dont understand how generate it.
Help pleaseeeeeeeeeeeeee, im desperated!!!!
Hope your soon answer!! 190.53.149.229 (talk) 20:08, 26 September 2010 (UTC)
Changing Label to Log In link
Currently the label that pops up when hovering over the Log In link reads: You are encouraged to log in....
I want to change this, but cannot find where to do this.
Where can I change this label for the Log In link? Bro. Ignatius Mary (talk) 19:39, 27 September 2010 (UTC)
- Modify MediaWiki:Tooltip-pt-anonlogin on your wiki. Reach Out to the Truth 23:39, 27 September 2010 (UTC)
- I made the modification to this anonlogin page, but it does not change the Log on link label. It still reads that default label. Bro. Ignatius Mary 07:24, 1 October 2010 (UTC)
Can Mediawiki be used on private servers
I work in a company and for our group we have a private server for the 10 of us, We are currently using Twiki on this server but I'd like to switch to MediaWiki, the information on this wiki are mostly confidential so it's important only people who can login to our server can view this wiki. Can mediawiki be installed on an intranet?
right now our address is http:our-wiki/twiki/bin/view/Main
I searched intranet and servers and I think there was only 1 thread regarding it and it was not really answered. 142.92.129.130 (talk) 20:17, 27 September 2010 (UTC)
- I'm no expert on mediawiki itself but i do have some experience with htaccess blocking, you could htaccess block everyone from accessing the wiki with the exception of those on an allowed list. The allow list is operated by IP address so as long as you have static IP you wouldn't have issues. Also if you only wanted your intranet you could do a coverall of like 192.168.2 in the allowed list which would basically allow anyone with an 192.168.2.### ip address access while blocking all others.
- Example: http://dl.dropbox.com/u/59318/htaccess.txt Iarp 19:55, 28 September 2010 (UTC)
(RESOLVED) wgGroupPermissions settings in LocalSettings.php being ignored
I've just downloaded and installed MediaWiki 1.16. (MediaWiki 1.16.0 / PHP 5.2.11 ***cgi*** / MySQL 5.0.85 Default installation, no extensions.)
Everything seems to work okay BUT whatever changes I make to wgGroupPermissions ...have no effect whatsoever. (Changes to other variables in LocalSettings.php, e.g. $wgLogo, work fine.)
I've tried various examples from the help files, .e.g. $wgGroupPermissions['*']['edit'] = false; or $wgGroupPermissions['*']['read'] = false; ...but none have any effect whatsoever, i.e. I'm not able to make any changes to permissions -- it always stays in the default, "anybody-can-edit" mode.
More details: (1) I make the changes in LocalSettings.php and upload it; (2) I go to the wiki without logging on; (3) The wiki still lets allows anonymous editing of all pages.
Am I doing something wrong, or is this a bug? Please help! PeterOzzy (talk) 20:19, 27 September 2010 (UTC)
- You should add these to the bottom of LocalSettings, not top - that's the likely culprit. Max Semenik 20:50, 27 September 2010 (UTC)
- Thanks, that seems to have done it! It would be helpful to mention this at the top of
- http://www.mediawiki.org/wiki/Manual:Configuration_settings PeterOzzy 01:30, 28 September 2010 (UTC)
Change the System Messages with Icons
How to replace system messages with images ?
Tks a lot. Donnes et tu seras riche ;) (talk) 10:57, 28 September 2010 (UTC)
- There's no universal answer: some messages accept the usual [[Image:Foo.jpg]], some don't. A few even accept raw HTML. If you can't achieve the desired result by modifying a message, you can try doing it with CSS: many parts of interface are wrapped in divs or spans with a unique ID, so that images could be added to them with site CSS. Look at page source or use something like Firebug to see the ID. Max Semenik 11:25, 28 September 2010 (UTC)
Can't Contact Database Server
Hi there,
I uploaded a Backup because the update failed and expirience several difficulties with the Database right now. When I open the wiki's Directory in the browser I get the erro-message:
(Can't contact the database server: Access denied for user 'USERNAME'@'localhost' (using password: YES) (localhost))
I tried to grant Database editing rights to the User via phpmyadmin. I entered:
GRANT ALL ON MY_DATABASENAME.* TO 'MY_USERNAME'@'localhost' IDENTIFIED BY 'MY_PASSWORD'
didn't work either...
MYSQL says:
- 1132 - You must have privileges to update tables in the mysql database to be able to change passwords for others
I'm looking desperately for Help.
Thanks for reding and giving it a thought.
greetings
Jonas 92.206.45.117 (talk) 18:11, 28 September 2010 (UTC)
MySQL 1267: Illegal mix of collations when wgUseTeX=true (math on)
When I set $wgUseTeX to true, all pages in the wiki with math on them return just the following text:
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "MathRenderer::_recall". Database returned error "1267: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' (localhost)".
I am using PHP 5.3.2, MySQL 5.1.51-log and texvc works great on the tests specified on Manual:Troubleshooting_math_display_errors. 68.239.126.43 (talk) 01:35, 29 September 2010 (UTC)
- Okay, digging into this more, the wikidb math table create syntax is
- --------
- mysql> show create table math;
- CREATE TABLE `math` (
`math_inputhash` varchar(16) NOT NULL DEFAULT ,`math_outputhash` varchar(16) NOT NULL DEFAULT ,`math_html_conservativeness` tinyint(1) NOT NULL DEFAULT '0',`math_html` text,`math_mathml` text,UNIQUE KEY `math_inputhash` (`math_inputhash`)- ) ENGINE=InnoDB DEFAULT CHARSET=latin1 |
- ---------
- and the offending query appears to be
- SELECT math_outputhash,math_html_conservativeness,math_html,math_mathml FROM `math` WHERE math_inputhash = '�j��-�4m!����9R�' LIMIT 1;
- I'm guessing the math_inputhash is not encoded the way mysql/wikimedia wants it.
- Do others math table have charset=latin1? Is there a column charset I can check? Any ideas? 129.2.141.139 17:49, 30 September 2010 (UTC)
- this command
alter table math CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;- from [5] worked 68.239.105.234 02:19, 1 October 2010 (UTC)
- this command
alter table math CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;- from [6] worked 68.239.105.234 02:19, 1 October 2010 (UTC)
Error creating thumbnail: Unable to run external programs in safe mode. for SVG
Beats me guys, I get this error for this page: https://ackspace.nl/wiki/File:Flier.svg
I tried everything I could possibly think of, no luck
error_log shows nothing, open_basedir is disabled, ImageMagick is installed, /usr/bin/convert, php_safemode is turned off, tried turning off suExec, no luck. I just can't figure it out...
Ideas? 41.234.195.130 (talk) 10:27, 29 September 2010 (UTC)
API: multiple option search
Hi I wonder if there is any way to make consultations with the api with multiple conditions for example, that are "movies"(categories) that begin with the letter "C"(search) and in the content have the word "neo" ? or something that fulfills this role Usuariobot (talk) 18:19, 29 September 2010 (UTC)
How can I edit the header section of MediaWiki?
To validate Google Webmaster, I need to insert a meta tag into my site's header. Where would I be able to access this section? 74.79.101.113 (talk) 19:40, 30 September 2010 (UTC)