Project:Support desk

From MediaWiki.org
(Redirected from Project:Support)
Jump to: navigation, search
vde   This page is for questions relating to the MediaWiki software.

Welcome to MediaWiki.org's Support desk, the central on-wiki place to ask MediaWiki questions!

The greater purpose of this page is to make our Manual and other available help so good that you do not have to come here to ask questions, or making them easier to find.

There are other ways for of communication as well (IRC, mailing lists etc.). Read more here.

Before you post

Post a new question

  1. To help us answer your questions, please always indicate which versions you are using:
    • MediaWiki (reported by your wiki's Special:Version page)
    • PHP (likewise)
    • Database (likewise, e.g. MySQL 5.5)
  2. Please include the URL of your wiki unless you absolutely can't. It's often a lot easier for us to identify the source of the problem if we can look for ourselves.
  3. To start a new thread, click "Start a new discussion".

Archiving topics

Topics are automatically archived when they have been inactive for three weeks. If a question you have asked is approaching this limit and still has not been answered, please 'bump' it to prevent it being archived. However do not 'bump' for other reasons.

Start a new discussion
First page
First page
Previous page
Previous page
Last page
Last page

Is linking in the sitemap on a webpage that uses Wikimedia-contents enough?

Hello,

i am working on a tourist webpage where i want to use WikiMedia-contents in PopUps on a map. Thus to the fact that there will be hundreds of seperate PopUps, my question is if i have to post the name of the creator and attribution parties, a copyright notice, a license notice, a disclaimer notice, and a link to the material directly in every PopUp or if it is enough to post the credits in the sitemap on the page.

It would be awesome if you could help me! Thanks, Manuel

193.174.83.9710:16, 22 April 2014

I cannot provide real advice about legal matters, but I think that just a link to the article history and one to the license (currently Creative Commons BY-SA 3.0 for Wikipedia, may be different for other projects) should be fine.

Anyway, an extended form of the attribution (details about the license, etc.) could be placed in the page footer.

But if you only include very small portions of text that do not exceed the threshold of originality, attribution is not required.

Ricordisamoa21:45, 23 April 2014
 

Having major problems logging into a wiki for Star Conflict

Dear Mediawiki, I have been trying to make an account on a wiki that I believe is yours, http://wiki.star-conflict.com/index.php?title=Main_Page. The technical support links on it brought me to your admin sites. I've tried twice to make an account on this wiki because I want to contribute to it but it seems to instantly change my password. I've tried usernames Kiljaedenas and Kiljaeden in that order; the same day that I created the account Kiljaeden using a password I frequently use for online sites, when I discovered that I need to be in the emailverified group to make posts and went to set the email address to this one I'm using right now (which I didn't do upon account creation to try and avoid spam) it said my password was invalid. So now I don't have an email address set to do a password reset on either account and the password I thought I had set only an hour or so ago doesn't appear to work. Could you please help?

Daryl

207.102.139.8117:59, 17 April 2014
Edited by 0 users.
Last edit: 10:13, 18 April 2014

This site (www.mediawiki.org) is not affiliated with the star-conflict wiki. This is the wiki about MediaWiki, the software that runs the star-conflict wiki (and many other wikis!), but we do not host that wiki.

Our login is different. If you want to have a user account here you'll need to register again here.

Ciencia Al Poder (talk)10:13, 18 April 2014

Crap. So who do I contact to get my account fixed on that wiki? Their Contact Support links brought me here.

Please advise,

Daryl

207.102.139.8120:16, 22 April 2014

You should contact an administrator of that wiki on their talk page there. See http://wiki.star-conflict.com/index.php?title=Special:ListUsers/sysop for a list of administrators on that wiki.

GeorgeBarnick (talk)20:30, 23 April 2014
 
 
 

[RESOLVED] Users can not define e mail in their settings

Edited by 0 users.
Last edit: 07:40, 23 April 2014

Users can not define e mail in their settings. There is no input field to save a e mail. How can I change this?

MediaWiki 1.21.2 PHP 5.3.27 (cgi-fcgi) MySQL 5.1.48

80.147.104.6107:40, 23 April 2014
 

MediaWiki 1.22.5 RunJobs.php runs an endless loop through 2 pages

ex.

2014-04-23 13:37:19 SMW\UpdateJob Cisco_ACNS STARTING 2014-04-23 13:37:21 SMW\UpdateJob Cisco_ACNS t=2214 good 2014-04-23 13:37:21 SMW\UpdateJob Cisco_ACNS STARTING 2014-04-23 13:37:24 SMW\UpdateJob Cisco_ACNS t=2180 good 2014-04-23 13:37:24 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) STARTING 2014-04-23 13:37:26 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) t=2119 good 2014-04-23 13:37:26 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) STARTING 2014-04-23 13:37:28 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) t=2118 good 2014-04-23 13:37:28 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) STARTING 2014-04-23 13:37:30 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) t=2087 good 2014-04-23 13:37:30 SMW\UpdateJob Cisco_ACNS STARTING 2014-04-23 13:37:32 SMW\UpdateJob Cisco_ACNS t=2134 good 2014-04-23 13:37:32 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) STARTING 2014-04-23 13:37:34 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) t=2123 good 2014-04-23 13:37:34 SMW\UpdateJob Cisco_ACNS STARTING 2014-04-23 13:37:36 SMW\UpdateJob Cisco_ACNS t=2147 good 2014-04-23 13:37:36 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) STARTING 2014-04-23 13:37:39 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) t=2155 good 2014-04-23 13:37:39 SMW\UpdateJob Cisco_ACNS STARTING 2014-04-23 13:37:42 SMW\UpdateJob Cisco_ACNS t=3147 good 2014-04-23 13:37:42 SMW\UpdateJob Cisco_ACNS STARTING 2014-04-23 13:37:44 SMW\UpdateJob Cisco_ACNS t=2128 good 2014-04-23 13:37:44 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) STARTING 2014-04-23 13:37:46 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) t=2057 good 2014-04-23 13:37:46 SMW\UpdateJob Cisco_ACNS STARTING 2014-04-23 13:37:48 SMW\UpdateJob Cisco_ACNS t=2100 good 2014-04-23 13:37:48 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) STARTING 2014-04-23 13:37:50 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) t=2139 good 2014-04-23 13:37:50 SMW\UpdateJob Cisco_ACNS STARTING 2014-04-23 13:37:52 SMW\UpdateJob Cisco_ACNS t=2182 good 2014-04-23 13:37:52 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) STARTING 2014-04-23 13:37:55 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) t=2279 good 2014-04-23 13:37:55 SMW\UpdateJob Cisco_ACNS STARTING 2014-04-23 13:37:57 SMW\UpdateJob Cisco_ACNS t=2212 good 2014-04-23 13:37:57 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) STARTING 2014-04-23 13:37:59 SMW\UpdateJob Cisco_Wide_Area_Application_Engine_(WAE) t=2115 good


this continues on and on and keeps adding additional jobs to the queue

148.177.1.21713:39, 23 April 2014

API Question - Create/Editing page

Hello,

I am having some trouble with the API and my MediaWIKI website.

My goal is to create a Perl script for my college capstone class that allows the user to create a new page on the wiki when they are giving input to the script. I won't go into detail as to why they have to create a new page, the page just has to be created when the user is running this specific Perl script and instead of just telling them as an instruction on the script, it would be nice if when they give input through the script so I can programmatically create the page.

Anyways, here is what I have so far: - I got my API token by going to my API link: api.php?action=tokens

Here is the code I'm currently using for the script:

my $browser = new LWP::UserAgent();
$browser->agent('Mozilla/5.0');
$browser->default_header('Accept-Encoding' => scalar HTTP::Message::decodable());
$browser->default_header('Accept-Language' => "no, en");
$browser->default_header('Content_Type' => 'application/x-www-form-urlencoded');
my $api_url = "http://<mywebsite>/api.php";
my $request = HTTP::Request->new(POST => $api_url);
$request->header('Accept-Encoding' => scalar HTTP::Message::decodable());
$request->header('Accept-Language' => "no, en");
$request->header('Content_Type' => 'application/x-www-form-urlencoded');
 
# Add our data.
# This token is required for edit requests - must also be added last.
my $api_edit_token = "6bde13537ae386fd6a72a232bd03cbbf+\\";
my $content_title = "Speech:TestingAPIWithPerlAPI";
my $content_text = "This is my second time trying our the Perl API.";
my $post_data = 'action=edit&format=json&title='. $content_title .'&text='. $content_text .'&token=' . $api_edit_token;
 
$request->content($post_data);
 
# Fire away.
my $response = $browser->request($request);
if ($response->is_success) {
    my $message = $response->decoded_content;
    print "Received reply:\n$message\n";
}
else {
    print "HTTP POST error code: ", $response->code, "\n";
    print "HTTP POST error message: ", $response->message, "\n";
}

Now this runs perfectly fine, however I keep getting the same error over and over: {"error":{"code":"badtoken","info":"Invalid token"}}

Obviously I'm making sure that my token is correct and up to date as I keep checking the token api link. Before the POST request is actually made, I print out the request as a string:

action=edit&format=json&title=Speech:TestingAPIWithPerlAPI&text=This is my second time trying our the Perl API.&token=6bde13537ae386fd6a72a232bd03cbbf+\

Everything seems fine there!

Anyone run into this? I have a feeling it has to do with the urlencoding of the +\ in the token... thanks!

75.68.66.12015:33, 22 April 2014

The token can be different for every page, and will be different for every user.

You should retrieve the token for that page first, and then post the content with that token, as explained in API:Edit#Token.

If you're logging in with that script, be sure to receive and send also the cookies!

Ciencia Al Poder (talk)09:42, 23 April 2014
 

Correct path in MediaWiki Version 1.19.

I have a big problem with my MediaWiki (www.sfb-higher-invariants.de).

The login is connected via a Single-Sign-On of the University of Regensburg. By logging in, there is a redirect to a specific site. After a correct login there is another redirect back to the Wiki. When not being logged in, the Wiki is on the server www-cgi. After logging into it the server changes (to a secure server).

My Problem: If I set the $wgScriptPaht to www-cgi image uploads are working and the css is loaded. But the redirect to the secure server does not work properly. If I set no path, the redirect works, but the other two things fail. The secure server is https.

Where do I get the path, which the Wiki sets automatically? And how can I work around this mess?

Thanks, Michael

PS: There is no other way for the sign in because of security reasons of the university... :(

79.208.179.25010:13, 22 April 2014

If the only change in the URL scheme is that one uses http: and the other uses https:, edit $wgServer and set it to be protocol-relative (eg: //your-server.org)

Ciencia Al Poder (talk)09:37, 23 April 2014
 

Restore a broken wiki

Hello I was really looking for some help if any one is kind enough. The office's web-server was badly damaged after a aircon failed and it over heated. While I have installed a new server, I have also been able to get most of the old server functioning again, at least to grab documents and files from it. Well everything except the media wiki. I can access the files and folders and I have been able to use mysqlworkbench to export the database.

I have now setup a new server and installed mediawiki software and that is fine and running. However I would like restore the database and documents. As you would expect poor planing and backup hasnt helped the situation the old broken wiki stored documents and procedures that no exist no where else. Also of course the person who setup the old wiki has long since left the company and I have no ide really what im doing. Im like a monkey with a stick.

Here are some important details if it helps - the old mediawiki was version 1.17, the new installed media wiki is 1.22. The OS is Suse Linux Enterprise Server on both old and new. Both php & mysql seem to be operational on old server and definitely working on the new server. I have the wiki folder from the old server and also as mentioned I have the mwiki.sql database backup of around 40mbs

Would anyone be kind enough give me, a lowly windows admin, a simple walk through of the steps I can take to try to recover this server - many thanks

167.30.48.607:38, 23 April 2014

Hi!

What you in fact are doing are a combined server move and upgrade.

If you have the following, you will be able to restore (=move) the wiki: The files from the old wiki. What you must have are the contents of the folders images/. If you use a modified skin (= not one of the default skins), then you will need these files from inside the folder skins/. If you use extensions, you will need these extensions from inside the folder extensions/. Note that MediaWiki 1.22 already does provide some extensions by default; do not overwrite these extensions. Most likely you will have to download newer versions of the other extensions you use; you find them here on mediawiki.org. And you need to copy over the file LocalSettings.php and adjust the database name, user and password and possibly the value of $wgServer.

Now you know, which files from the old installation you need. In a first step I would copy these files of the old wiki into the new installation. Then put the database into the MySQL server. Make sure to keep the DB backup.

After that you will have to run the PHP script maintenance/update.php from the shell. This script will update your database to be compatible with the new MediaWiki version. If this step fails (which I would say is likely) you will still need the backup to restore the DB again.

If all this worked, you should have a working wiki with version 1.22.5.

However, for such a bigger update, expect PHP errors to happen. You will find them in the error log of PHP - solve them before you run your new wiki.

88.130.73.13509:16, 23 April 2014
 

Special groups edit pages belong to them&change default mail content

MediaWiki 1.22.4 PHP 5.4.26 (apache2handler) MySQL 5.5.36

Hi~Now my wiki lets all users except "sysop" unable to edit pages. However, now the requirement changed: let special group like:group A ,can edit the page belong to that group. What should I do now?

And the other question is that is it possible to change the content of mail which is sent to users who monitor some pages? And which file should I edit?

Any help will help me!! Thanks~

Rachel1208 (talk)08:12, 4 April 2014

I do not understand what "belong" means when referred to pages. Maybe you're looking for page protection with custom restriction levels.

To change default email messages, go to "Special:AllMessages?prefix=enotif" on your wiki and create custom messages that you want to overwrite.

Ricordisamoa00:50, 12 April 2014

Hello!Thank you for your kind reply! I am sorry the first question was not clear. And I;d like to restate it: Now,my users are divided into several groups like sysop, groupA,groupB, and no one has the rights to edit pages except sysop according to my BOSS requirements. However, he now requires that members in groupA can only edit the page “Department A”, meanwhile, the page “company A" can only be edited by sysop and menbers in groupA. And the same to groupB which can only edit the page:“Department B". I have tried to protect the page "Department A", however, it showed that that page can only be edited by sysop or autoconfiremed users or all users...There were no other groups that I established before, like groupA.

I hope the new description will not confuse you :) Thanks!

Rachel1208 (talk)07:59, 17 April 2014

Use $wgRestrictionLevels:

// add 2 additional protection levels
array_push($wgRestrictionLevels, 'groupA', 'groupB');
// give the "groupA" permission to users in the "groupA" group
$wgGroupPermissions['groupA']['groupA'] = true;
// give the "groupB" permission to users in the "groupB" group
$wgGroupPermissions['groupB']['groupB'] = true;
// give the "groupA" and "groupB" permissions to sysops (needed so sysops can apply this protection levels to pages)
$wgGroupPermissions['sysop']['groupA'] = true;
$wgGroupPermissions['sysop']['groupB'] = true;

Then, you should be able to protect "Department A", "company A" and "Department B".

Ricordisamoa09:42, 17 April 2014

Oh~~yes! That is exactly what I want! Thx thx and thx!!!

Rachel1208 (talk)06:23, 21 April 2014
 

Sorry to bother you again, Samoa. I have to say I met a new problem..

Because I want to let users input their email address when they do registration, I tried to use the same way to change the content of "createacct-email-ph"and"createacct-email-optional" as you told me, and then I thought the registration interface would have changes at the same time.

However, the content was still the custom message.. :(

Rachel1208 (talk)08:15, 22 April 2014

Hi Rachel,

go to the page, on which you see the wrong texts. Then add to the URL ?uselang=qqx or &uselang=qqx, if there already are parameters. You will see the name of the system messages, which MediaWiki is using on the page. Now pick that message, which you want to change, let's say it would be called "logintext" and then go to the wiki page MediaWiki:Logintext. Being a wiki admin, you can edit this text to the text you want. You can edit languages by adding them to the URL, e.g. you can edit the German text by modifying MediaWiki:Logintext/de.

88.130.112.5009:53, 22 April 2014
 
 
 
 
 

How to get Piwik code into MobileFrontend?

I use the Piwik Integration extension, but the Piwik code doesn't make its way into mobile view of the site.

What can I change to accomplish this?

MadenssContinued (talk)05:13, 4 February 2014

It looks like the Piwik extension uses the Hooks/SkinAfterBottomScripts hook to inject itself and the mobile skin doesn't call the function that calls that hook.

It looks like the clue is here:

// TODO and the suckage continues. This function is really just a wrapper around
// OutputPage::getBottomScripts() which takes a Skin param. This should be cleaned
// up at some point
MarkAHershberger(talk)20:44, 4 February 2014

See deprecate Skink::bottomScripts(), move use of SkinAfterBottomScripts hook to OutputPage::getBottomScripts()

MarkAHershberger(talk)20:54, 4 February 2014

Thanks for that. Can you suggest a place that I could paste the Piwik code into so I can get reports for mobile users?

MadenssContinued (talk)22:51, 4 February 2014

You could put the code in your site's [[MediaWiki:Common.js]] and that would be used for both mobile and regular interfaces. Make sure $wgUseSiteJs is true, though.

If/when the bug gets fixed, though, you'll want to remove the code from your Common.js, of course.

MarkAHershberger(talk)14:59, 5 February 2014

I commented out the plugin related entries in LocalSettings.php. I then added the Piwik code from the Piwik dashboard to MediaWiki:Common.js and set $wgUseSiteJs = true in LocalSettings.php.

Loading my site with this configuration gives error 500 internal server error. Commenting out the $wgUseSiteJs statement returns the server to normal.

I tried copying only the javascript itself (not that tags around it) and got the same error. I'm not sure how to set this configuration.

MadenssContinued (talk)23:29, 8 February 2014
 
 
 
 
 

refreshlinks.php and runjobs.php hang

  • MediaWiki version: 1.22.5
  • PHP version: 5.5.3
  • Database: MySQL 5.6.15

I've been experiencing a problem with these two maintenance scripts where they hang upon execution. The problem seems to be refreshLinks jobs; they won't run from the command line, but they run just fine out of the normal per-page view job queue. runJobs.php just hangs when it gets to such a job, and refreshLinks.php stops after displaying "100" after "Refreshing links table" (very nearly identical to the problem here: Manual_talk:RefreshLinks.php#Script_stops_processing_data). In both cases, the PHP command line shows no CPU usage, and MySQL shows that the connection has gone to sleep. I've tried disabling all extensions on the wiki, thinking that might be the issue, but that doesn't have any effect. Given the large volume of jobs this particular wiki has, I've been forced to raise $wgJobRunRate to keep up -- but that's less than optimal as it impacts page load time. Thoughts?

69.174.87.6019:46, 22 April 2014

[RESOLVED] AND OR statement for parserfunctions?

Hello. I'm managing a wiki and I'm trying to fix a template in which a column of the table won't appear unless -x- is filled out. It works fine... but it is more complicated than that.

It goes like this basically: -if --money-- is filled out, then show header: header --money-- --stuff-- --stuff-- --etc--

So, if the user fills out the --money-- option on a form for example, then it will work fine. The header will appear as planned and all is well. BUT, if the user doesn't fill out the --money-- option on the form and instead skips and fills out --stuff--, then the column won't appear even though I need it to.

Is it possible to have a statement that says if --money-- OR --stuff-- is filled out, then show header?


MediaWiki 1.22.0 PHP 5.3.13 (cgi-fcgi) MySQL 5.5.32-log

141.165.165.12304:09, 22 April 2014

{{#if: {{{money|}}}{{{stuff|}}} | show header | show nothing }}

Ciencia Al Poder (talk)09:50, 22 April 2014

Funnily enough I tried this already but it didn't work, now it does. I suppose I must have made a small error somewhere. Ha.

Thanks!

141.165.165.12311:46, 22 April 2014
 
 

Adding an Edit with Form Button

Hello.

So, here is the deal. I have a mediawiki skin, which is great, but there's just one problem that I'm looking to resolve. I hope I can resolve it/get help here?

  • please excuse some of the mess around, I'm in the process of overhauling the content*

http://creawiki.net/index.php?title=Zabis
http://pastebin.com/4Hn7S7MF (line 450 and onward is the PHP for the Edit button and so on)

In this theme, most of the page options are pulled into a drop down menu, only the edit button is outside of it. Unfortunately, the "Edit with Form" option is also pulled into the dropdown. I've spent weeks trying to figure out how to create a duplicate "Edit" button, except make it "Edit with form" which leads to the form for that page. I can't for the life of me figure it out, this is also because PHP is not my strong suit.

How can I adjust the PHP to not pull the "Edit with Form" into the Page dropdown, and if that's not possible, how can I just duplicate that Edit button, but customize it to fight the Edit with Form situation?


MediaWiki 1.22.0
PHP 5.3.13 (cgi-fcgi)
MySQL 5.5.32-log

Kirabook (talk)17:52, 22 April 2014

need help removing mediawiki page

Hi there is an old page that pops up on google search results. can someone tell me how I can remove this page or how to figure out who the webmaster is who can remove this page or stop it form apearing in google search resutls. thank you

http://2009.igem.org/Team:Michigan/Nasir_Fakhri

Hi!

The guys from iGEM only use MediaWiki to run their site - it is not associated with Wikipedia or so.

Here is a list of the administrators of their site: http://2009.igem.org/wiki/index.php?title=Special%3AListUsers&username=&group=bureaucrat&limit=50

Here I found some contact addresses: http://igem.org/Contact

Meagan Lizarazo and Vinoo Selvarajah are those admins I mentioned above - they are the ones who will be able to help you.

88.130.112.5017:02, 22 April 2014
 

Why is the ATOM feed more up to date then the RSS feed?

  • MediaWiki: 1.22.5
  • PHP: 5.3.10
  • MySQL: 5.5

Sorry, no URL here since the installation is not publicly accessible.

I've noticed that on my installation the ATOM feed of the recent changes page [1] is always more up to date then the RSS2 version [2]. I've checked the source feed and found out that both feeds have different generation times:

  • ATOM: <updated>2014-04-22T14:08:50Z</updated>
  • RSS2: <lastBuildDate>Tue, 22 Apr 2014 08:20:25 GMT</lastBuildDate>

So to me this looks like some sort of caching problem. I've tried calling action=purge on Special:Recentchanges, but that didn't help. Do you have any ideas how to get the RSS feed as up to date as the ATOM feed?

P.S.: I've recently updated my installation from MediaWiki 1.16.5. I didn't noticed this issue in this old version, by the way...

[1]: index.php?title=Special:Recentchanges&feed=atom

[2]: index.php?title=Special:Recentchanges&feed=rss

77.76.229.12914:35, 22 April 2014

Site "experiencing technical difficulties"-help

Im hoping someone can help. We built a wiki for our website ( http://wiki.dnapolicyinitiative.org/ ) as an educational resource. Last week, the whole thing disappeared and the only thing that shows up is a white page with black text that says the site is experiencing technical difficulties, just wait and reload-except nothing changes. Were not very sophisticated and Im not certain whether its mediawiki or php. Im not sure if its related but the wiki home page kept getting spammed no matter what we did so we changed the setting so only the administrator could update it though every other page of the wiki remained open access. Your help is much appreciated, were currently without an important educational resource for our nonprofits project. Thanks Jeremy

Ogrenize (talk)17:32, 21 April 2014

It says "Can't contact the database server" so first thing I'd make sure is if the database server is running (as you said that it worked before I assume that configuration did not change). And that depends on your setup and your host.

AKlapper (WMF) (talk)01:37, 22 April 2014

The complete message, which I see right now is

Can't contact the database server: Access denied for user 'bla'@'ip-address'

with some values for username and host. Check that the username and host are correct and then check that the password is right. You can verify this data by using it to log into MySQL from the shell.

88.130.112.5009:58, 22 April 2014
 
 

add simple english

hi why not create messages for simple English like

MessagesSimple.php simple.json

in simple.json

it would be like. please go to http://simple-random-wikisaur.tk/index.php/Simple.json

86.173.52.6516:31, 20 April 2014

Which problem do you try to solve?

AKlapper (WMF) (talk)04:31, 21 April 2014

Nothing does thought I'll ask for simple English to be added to mediawiki

86.173.55.18611:01, 21 April 2014

Those requests should go to bugzilla

Ciencia Al Poder (talk)09:48, 22 April 2014

...only after the user has managed to clarify what specifically is wanted and where. Bugzilla link: bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki&format=guided

AKlapper (WMF) (talk)09:52, 22 April 2014
 
 
 
 

Cleaning logs

Hello, please tell me how to clear all logs action viki.Ili possible to change the period (dates) display logs, for example to show the changes only for the year / month? My Wiki: http://wiki.league17.ru/

EvangelionI (talk)21:23, 15 April 2014
Edited by 0 users.
Last edit: 21:22, 16 April 2014

please help me

212.66.36.17821:22, 16 April 2014
 

Which logs exactly?

AKlapper (WMF) (talk)09:57, 17 April 2014

Deletion log and pravokstranits

EvangelionI (talk)13:57, 17 April 2014

What is pravokstranits?

AKlapper (WMF) (talk)06:25, 18 April 2014
 

Sorry for the bad translation. To clear the deletions and corrections.

EvangelionI (talk)13:58, 17 April 2014

please help me =(

EvangelionI (talk)20:09, 21 April 2014

Hi!

The stuff you see in the logs mostly comes from the database table logging. When you remove an entry there, it will no longer show up in the logs. I have tried something like that while combatting spam and I did not have problems afterwards (apart from the log entries being gone, which is what I wanted).

However, note that directly modifying the database is not supported by MediaWiki. Deleting rows will permanently remove them and removing the wrong data can break your wiki.

88.130.112.5009:48, 22 April 2014
 
 
 
 

Make Special:Categories the main page?

I'm using: MediaWiki 1.18.1; PHP 5.3.8 (apache2handler); MySQL 5.5.16-log. My wiki is behind a corporate firewall so you will not be able to view it.

I would like to make Special:Categories the wiki main page. I thought I could do this by transclusion, but it doesn't seem to work. I can transclude

{{:Special:Allpages}}

but not

{{:Special:Categories}}

. Is there a way to accomplish what I want?

Tedd (talk)17:03, 4 May 2012

My first thought was: Do an Apache redirect. If the requested URL is just the domain or domain/Main_Page, redirect the user to the category page. Performancewise this should be the best solution I think.

Another way would be to place a redirect on the Main Page, so that MediaWiki redirects the user to that category page.

88.130.71.11223:05, 4 May 2012

Thanks, I like the redirect idea for its simplicity. At the very least it's a good temporary solution.

Tedd (talk)16:11, 7 May 2012
 

A related question:

How do I change the text in Special:Categories. I looked through SpecialCategories.php and found what appears to be a function to include 'categoriespagetext', but my knowledge of PHP is pretty rudimentary and I can't figure out where the actual content text is coming from.

Tedd (talk)15:21, 4 June 2012

If you want to override an interface text in the wiki: That is possible by putting the text you want on the right page in the namespace "MediaWiki". E.g. if the language label, which you want to override is called "login", then you would have to put the new text on the wiki page "MediaWiki:Login".

88.130.94.19017:52, 4 June 2012
 

Have you checked Manual:$wgAllowSpecialInclusion?

 Hazard-SJ  ± 00:12, 5 June 2012

I did, but $wgAllowSpecialInclusion doesn't seem to allow special:Categories. It allows some special pages, but not all. Perhaps special:Categories is restricted for some reason?

Tedd (talk)21:17, 20 April 2014

Edit MediaWiki:Mainpage and put there Special:Categories

Ciencia Al Poder (talk)09:45, 22 April 2014
 
 
 

Inserting the same text in multiple Articles

Anyone that can explain wow I do this? I don't want to link. I want it to be an Article that cannot be opened alone (well, edit purpose is ok or even a must). It's intended to be included by other pages only. Like in edit mode of a page you point the cursor and include a comand that points to that text. IN normal mode the text appears and you can't tell that this text is inlcuded.

Like you in php use the include() function and echo out the same text.

Thanks.

Muuucho (talk)08:58, 21 April 2014

You can insert the same text in multiple articles using Templates. You create the template witht the text, and then put that template on all the pages you want to display that text.

Ciencia Al Poder (talk)09:44, 22 April 2014
 
First page
First page
Previous page
Previous page
Last page
Last page