Jump to content

Project:Support desk/Flow/2015/10

Add topic
From mediawiki.org
Latest comment: 6 years ago by 2A02:8388:E340:3A80:A95C:BA19:BD11:2BF4 in topic MultiLanguageManager
This page is an archive.
Please ask questions on the current support desk.


Mibbit WebChat?

Hi I was wondering how to configure my WebChat for mibbit because every time I attempted it said MW Fatal Exception.

HurricaneTeen6900 (talk) 11:43, 1 October 2015 (UTC)

How to you "attempt" exactly? Could you provide the steps that you take so someone else could follow that list of steps and maybe get the same results? Malyacko (talk) 22:59, 1 October 2015 (UTC)
require_once("$IP/extensions/WebChat/WebChat.php");
$wgWebChatServer = ;
$wgWebChatChannel = '##hypotheticalhurricanes';
$wgWebChatClient = 'mibbit';
This is what I would do. HurricaneTeen6900 (talk) 09:41, 2 October 2015 (UTC)
Aha. So you refer to some extension called "WebChat". Good to know. :)
Spontaneously, I'm afraid it cannot connect to any IRC server if you don't provide any entry for $wgWebChatServer.
If you get a fatal exception, check its stacktrace: Manual:How to debug. Malyacko (talk) 12:46, 2 October 2015 (UTC)
Oh ok, so what should the ChatServer parameter be? HurricaneTeen6900 (talk) 15:15, 2 October 2015 (UTC)
It would be whatever server you are hosting your IRC channel on. 121.214.33.106 (talk) 02:42, 3 October 2015 (UTC)
So Mibbit.com? HurricaneTeen6900 (talk) 11:53, 3 October 2015 (UTC)
If Mibbit is your IRC host and that is the server's URL, then yes. 121.214.33.106 (talk) 02:27, 4 October 2015 (UTC)

Linked Languages do not appear if not logged in to Wiki

On the german Wiki page

https://de.wikipedia.org/wiki/Loituma

I don't see any language Links if I'm not logged in to wikipedia.

not logged in:

http://postimg.org/image/zbx805y7n/

logged in:

http://postimg.org/image/w6cm9yflf/ Hmilch (talk) 11:49, 1 October 2015 (UTC)

Can you please report it on phabricator? I haven't found anything related Ciencia Al Poder (talk) 14:10, 4 October 2015 (UTC)

MediaWiki and Creative Commons Share Alike license commercial use

I'm developing a commercial App and I want to use a MediaWiki which is under CC ShareAlike license. I know what this means, but I have a few questions that I couldn't get answers to so far:

  1. If I use MediaWiki, does this mean that my complete App needs to be under CC ShareAlike license as well? I have a few functional parts, that wouldn't have anything to do with this at all. Can I somehow protect these parts from being 'open source'?
  2. If my app (or parts of it) would be under CC ShareAlike license, are there rules for how I need to make my code publicly accessible? I mean do I need to provide it somewhere somehow or do I only need to make it available if someone asks for it?

Hope you can help me.Thanks in advance!

194.114.62.124 (talk) 13:23, 1 October 2015 (UTC)

The MediaWiki software is not under CC ShareAlike license but under a GPL v2+ license. See https://www.mediawiki.org/wiki/Copyright Malyacko (talk) 22:37, 1 October 2015 (UTC)
Oh okay, you are right. But it's still the same question. As I recall if I use MediaWiki to create something, then my creation needs to be under GNU GPL too. So my questions still apply... 194.114.62.123 (talk) 09:35, 2 October 2015 (UTC)
I assume you have read the GPL which should cover distribution (though that's a very interpretable term in itself when it comes to legal aspects) and how code needs to be made available. And currently only you know how certain parts of your code technically interact with MediaWiki, but those details define part of the answer in my understanding (I am not a lawyer). Some parts of https://en.wikipedia.org/wiki/GNU_General_Public_License might also help providing some first impressions but you may want to contact a lawyer for legal stuff. Malyacko (talk) 12:44, 2 October 2015 (UTC)

Scheduling future edits?

We are looking for software to use for our companies intranet, which includes our policies and has employee resources and training. One of the challenges we have is that many times we will identify a page that needs to be updated, but there is more that one stakeholder or all the information is not known right away. It would be great to be able to save a new draft version of the page that doesn't actually get published. That way everyone has a chance to look at it, and once everyone has communicated one of the folks in the group can publish.

Can this be done, either out of the box or with a plugin or extension? Jfedelem (talk) 15:24, 1 October 2015 (UTC)

Wikipedia uses Extension:FlaggedRevs for something like that. A lightweight alternative is Extension:Approved Revs. 88.130.107.89 (talk) 18:09, 1 October 2015 (UTC)

Mediawiki Search AutoComplete Issue

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I have a Mediawiki 1.23.10 running on Windows Server 2003 X32. We have several other wiki's on this server where everything is working perfectly. All the wiki's have their own databases and are stored in their own folder, etc. At some point we will migrate off this 2003 platform. This one wiki has non default page names in the database. All the other wiki's have default table names in the database. The sphinx search engine works perfect on all WIKI's except this one wiki and only on the main page. On the main page the Autocomplete dropdown that says "containing...." does not show up only on the main page. If you click the search option under the special pages it works. I have been scouring the web confirming all options and i am not able to figure it out. I convinced it is from the non default table names. The database prefix is "iswiki". The database prefix in locasettings.php is set and also the options below, etc

$wgEnableMWSuggest = true; Jayman54P (talk) 20:49, 1 October 2015 (UTC)
Form my understanding, the only problem you have is with sphinx, and with search suggestions on the main page?
If you're using Extension:SphinxSearch, it may be a problem with that extension that doesn't support $wgDBprefix.
Search suggestions should work and it shouldn't matter if you're in the main page or not. Maybe there's some JavaScript error on the main page that prevents the suggestion script to work properly. You should debug that yourself looking at the developer console of the browser to see if there's any JavaScript error Ciencia Al Poder (talk) 09:49, 2 October 2015 (UTC)
I tried to disable the sphinx search engine and use the default vector search and still have the same issue. I used firebug and i see this
TypeError: hasClass is not a function
var collapseCaption = 'hide'; 160.79.139.10 (talk) 13:07, 5 October 2015 (UTC)
This error seems to come from the MediaWiki:Common.js page of your wiki. Fix those errors, or simply blank that page. Ciencia Al Poder (talk) 19:31, 5 October 2015 (UTC)
THANK YOU!!! A previous administrator had a whole bunch of custom code on this page. I removed all the code and now the search works as it is supposed to. Thank you!!!!! Jayman54P (talk) 12:28, 6 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Custom NameSpaces Creation and Restriction Issues

I have looked through every MediaWiki page that is at all related to custom namespaces but am still having trouble. I would be MUCH obliged if someone could help me figure this out.

Issue 1: I created a custom namespace (WL) in my LocalSettings.php file which works correctly, however, I cannot set editing permissions for a custom user type to only be able to edit those pages.

Issue 2: I'm trying to create another custom namespace (WCAG) but it won't show up in my namespaces list and pages won't go under it as an actual namespace. It has the same info as my working namespace so I can't figure out what is wrong.

Here is the info from LocalSettings.php for both namespaces:

-------------------------------------------------------------------------------

$wgGroupPermissions['wledit']['read'] = true;

$wgGroupPermissions['WCAGedit']['read'] = true; 


//accessibilty pages define("NS_WCAG", 530); // This MUST be even.

define("NS_WCAG_TALK", 531); // This MUST be the following odd integer.


$wgExtraNamespaces =

        array(530 => "WCAG",

              531 => "WCAG_talk",

             );


$wgNamespaceProtection[NS_WCAG] = array( 'editWCAG' ); // permission "editWCAG" required to edit the WCAG namespace

$wgNamespacesWithSubpages[NS_WCAG] = true;            // subpages enabled for the WCAG namespace

$wgGroupPermissions['sysop']['editWCAG'] = true;      // permission "editWCAG" granted to users in the "sysop" group


$wgContentNamespaces[] = NS_WCAG;


//WL pages

define("NS_WL", 520);                                  //defines WL name space

define("NS_WL_TALK", 521); 

# Assigning the Namespace for World Languages pages

$wgExtraNamespaces =

        array(520 => "WL",

              521 => "WL_talk",

             );


##maybe this is the problem?? 9/11/2015

//$wgNamespaceProtection[NS_WL] = array( 'editWL' );


// Allow WL editors to do more stuff like edit and create pages

$wgNamespaceProtection[NS_WL] = array( 'wl-edit' );

$wgNamespaceProtection[NS_WL_TALK] = array( 'wl-talk-edit' );

$wgNamespacesWithSubpages[NS_WL] = true;            //subpages enabled for the WL namespace


//does this?

$wgGroupPermissions['sysop']['wl-edit'] = true;      //permission "editWL" granted to users in the "sysop" group

$wgGroupPermissions['bureaucrat']['wl-edit'] = true;      //permission "editWL" granted to users in the "sysop" group

$wgGroupPermissions['admin']['wl-edit'] = true;      //permission "editWL" granted to users in the "sysop" group

$wgGroupPermissions['wledit']['wl-edit'] = true;      //permission "editWL" granted to users in the "sysop" group

$wgGroupPermissions['wledit']['wl-talk-edit'] = true; //employees can edit pages in the Official_talk namespace



// Allow co-editors to do more stuff like edit and create pages

$wgGroupPermissions['wledit']['wl-move'] = true;

$wgGroupPermissions['wledit']['wl-edit'] = true;

$wgGroupPermissions['wledit']['wl-editarticles'] = true;

$wgGroupPermissions['wledit']['wl-createpage'] = true;

$wgGroupPermissions['wledit']['wl-createtalk'] = true;

$wgGroupPermissions['wledit']['wl-upload'] = true;

$wgGroupPermissions['wledit']['wl-reupload'] = true;

$wgGroupPermissions['wledit']['wl-reupload-shared'] = false;

$wgGroupPermissions['wledit']['wl-minoredit'] = true;

$wgGroupPermissions['wledit']['wl-delete'] = false;


## temporarily allow wledit to edit all pages since allowing them to edit only some pages isn't working yet

// Allow co-editors to do more stuff like edit and create pages

$wgGroupPermissions['wledit']['move'] = true;

$wgGroupPermissions['wledit']['edit'] = true;

$wgGroupPermissions['wledit']['editarticles'] = true;

$wgGroupPermissions['wledit']['createpage'] = true;

$wgGroupPermissions['wledit']['createtalk'] = true;

$wgGroupPermissions['wledit']['upload'] = true;

$wgGroupPermissions['wledit']['reupload'] = true;

$wgGroupPermissions['wledit']['reupload-shared'] = false;

$wgGroupPermissions['wledit']['minoredit'] = true;

$wgGroupPermissions['wledit']['delete'] = false;



##Set search namespace parameters

$wgNamespacesToBeSearchedDefault[NS_MGH] = true;

$wgNamespacesToBeSearchedDefault[NS_WL] = true;

$wgNamespacesToBeSearchedDefault[NS_WCAG] = true;


#Set default searching

$wgNamespacesToBeSearchedDefault = array(

        NS_MAIN =>              true,

        NS_TALK =>              false,

        NS_USER =>              false,

        NS_USER_TALK =>         false,

        NS_PROJECT =>           false,

        NS_PROJECT_TALK =>      false,

        NS_IMAGE =>             false,

        NS_IMAGE_TALK =>        false,

        NS_MEDIAWIKI =>         false,

        NS_MEDIAWIKI_TALK =>    false,

        NS_TEMPLATE =>          false,

        NS_TEMPLATE_TALK =>     false,

        NS_HELP =>              false,

        NS_HELP_TALK =>         false,

        NS_CATEGORY =>          false,

        NS_CATEGORY_TALK =>     false,

        NS_MGH =>               true,

        NS_WL =>                true,

        NS_WCAG =>              true,

);


//should mean that things that are in the proprietary namespace are counted as articles

$wgContentNamespaces[] = NS_MGH; 

$wgContentNamespaces[] = NS_WL; 

$wgContentNamespaces[] = NS_WCAG; 

Petrawiggin (talk) 21:39, 1 October 2015 (UTC)

I am EMT (username in SDE nova)

my standard password is and always been that password. I am now trying to and a slightly different username in another SFCO universe and it is not recognizing my standard password. please help me. 2607:FCC8:BF48:3200:94BA:75C1:F364:A8F1 (talk) 01:41, 2 October 2015 (UTC)

This is the support desk for a software called MediaWiki. Though MediaWiki might work in another universe, "SDE nova" or "SCFO" sound like unrelated to MediaWiki so this might be the wrong place to ask. Malyacko (talk) 08:34, 2 October 2015 (UTC)

Wiki page seems to empty although it is not

Hi all,


my wiki seems to be empty but data are added and shown before.

I will describe the problem with the main page.

Open main page results in a normal wiki page but without any user content, so everything which is added by the editor is empty, everything else is shown.


Few days ago I solved this problem by updating my applications of my synology NAS where media wiki is installed. But updating I had a problem with owncloud news and for that I had too change in /etc/mysql/my.cnf the value for sort_buffer_size to 256k. This results in an empty mediawiki again. I hope you can help me.


Thanks in advance 130.180.59.2 (talk) 07:47, 2 October 2015 (UTC)

See Manual:Errors and symptoms#You see a Blank Page. Furthermore, version information is always welcome. Malyacko (talk) 08:32, 2 October 2015 (UTC)
Thanks for your quick reply. I will read and try everything there latest this weekend and give a feedback then :) 130.180.59.2 (talk) 09:05, 2 October 2015 (UTC)

Moving pages

Hello, I need to move an italian and polski versions of wikipage of O2 Slovakia, but I don't see button "move" on these pages. I see this button on Czech, Slovak and English page, but not at Italian and Polski. Can you help me? JanPapac (talk) 14:31, 2 October 2015 (UTC)

Link without "MOVE" button
https://it.wikipedia.org/wiki/Telefónica_O2_Slovakia
https://pl.wikipedia.org/wiki/Telefónica_O2_Slovakia
Link with "MOVE" button:
https://en.wikipedia.org/wiki/O2_Slovakia JanPapac (talk) 14:34, 2 October 2015 (UTC)
Maybe you are not an "autoconfirmed" user on those wikis? Users not in the autoconfirmed group can't move pages Ciencia Al Poder (talk) 17:23, 2 October 2015 (UTC)

Add info. to your charts.

I wish that your chart included the age of the shooter, reason/religion for shooting and where the weapon came from. It may show some important patterns. Missbeadsly (talk) 17:43, 2 October 2015 (UTC)

Welcome to the support desk of the MediaWiki software. Which "chart" do you refer to? Links are welcome. (If you refer to some article on some Wikipedia page, please comment on the Talk / Discussion page of that Wikipedia page directly.) Malyacko (talk) 10:47, 4 October 2015 (UTC)

Block category from template on certain pages?

I am working on a wiki which includes some cleanup templates that automatically categorize paces they are added to. For example, a {{cleanup}} might contain <includeonly>[[Category:Cleanup needed]]</includeonly>

I want to also be able to demonstrate some of those templates on a help page. However, adding the templates to the help page then adds the help page to the "Cleanup needed" category. Is there any way to prevent a template from adding a category to a specific page? 104.175.80.121 (talk) 20:36, 2 October 2015 (UTC)

Sigh. "paces" should read pages. I don't see a way to edit the body. 104.175.80.121 (talk) 20:39, 2 October 2015 (UTC)
Well, you could test for an argument to see if you should include the category, so your {{cleanup}} looks something like <includeonly>{{#ifeq:{{{cat|yes}}}|yes|[[Category:Cleanup needed]]}}</includeonly>, and your use of it in your help page is {{cleanup|cat=no}}.
Alternatively, to avoid the need to pass in a specific argument in the invocation, you could test for specific pages to not categorize: <includeonly>{{#switch:{{PAGENAME}}|Ignore This Page|Ignore This One Too|Help Page=|#default=[[Category:Cleanup needed]]}}</includeonly> Clump (talk) 22:09, 2 October 2015 (UTC)

Special:ConfirmEmail uneditable?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hello there

Could someone point me to the right direction please as to how to edit the special page that says :

"Your email address has now been confirmed"?

There doesn't seem to be an "edit" button on that page.

Many many many thanks

(I so wish I could search this support desk....) 92.15.242.136 (talk) 20:53, 2 October 2015 (UTC)

Found it!
It took me two days but here is is:
WEBSITE//MediaWiki:Confirmemail_loggedin 92.15.242.136 (talk) 19:39, 3 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Template on every page?

I have a template on my wiki: W:c:hallofheroesmv, and I want to put it at the top of every page. W:c:hallofheroesmv:template:top is the template. Is there maybe a CSS command or something that can do that? 2.102.186.14 (talk) 08:03, 3 October 2015 (UTC)

"Email this User" Problem

Problem with yahoo accounts

I am currently experiencing a problem related to "Email this User" feature, Problem is that users can send me mail and i do not recieve to my inbox. this problem is with only "email this user" feature. i can not even recieve copy of my sent mail .i can recieve email address confirmation mail and password reset mail. BTW my email address is confirmed, feature is active is preference and other notification settings are perfect. my mail server is yahoo.com. Please tell me why i am not able to use this feature. HIAS (talk) 08:31, 3 October 2015 (UTC)

https://phabricator.wikimedia.org/T83120 and https://phabricator.wikimedia.org/T72930 maybe? Malyacko (talk) 10:46, 4 October 2015 (UTC)
Known problem due to Yahoo mail setup and how MediaWiki handles those emails (it sends emails with your email address in the "From:"). See T66795 Ciencia Al Poder (talk) 10:52, 4 October 2015 (UTC)
Your best option would be actually to set $wgUserEmailUseReplyTo to true. Of course, if you run your own MediaWiki instance... Ciencia Al Poder (talk) 11:00, 4 October 2015 (UTC)

MediaWiki intergration with Wordpress

I have been able to find several websites that cover this topic, but all of them rely on outdated plugins and are based on older MediaWiki and Wordpress versions.

Has anyone been able to do this recently? And if so, how did you do it? 92.110.165.206 (talk) 11:03, 3 October 2015 (UTC)

What functionality shall that "integration" actually provide? Malyacko (talk) 10:45, 4 October 2015 (UTC)
Using the same login database between Wordpress and MediaWiki and having their login sessions shared between the two.
Having to only login once on the website to access both the Wordpress section and the MediaWiki section is what I'm trying to achieve. 92.110.165.206 (talk) 14:30, 5 October 2015 (UTC)
MediaWiki and Wordpress use their own login mechanism. The only way to achieve that would be to use oauth, one being the server and other being the consumer. Although MediaWiki can't be an OAuth consumer for logins at this time, it seems... Ciencia Al Poder (talk) 09:33, 6 October 2015 (UTC)
I'm building a sort of Frankenstein hybrid between Wordpress and Mediawiki by synching the login sessions of Wordpress and Mediawiki using this plugin: Extension:WPMW
It's working so far, so I'm pretty happy about that, but it needs a lot of custom editing to make the two appear fully integrated with eachother. 92.110.165.206 (talk) 20:34, 6 October 2015 (UTC)

single player

how do you get rid of the creapy doll in single player? 69.116.254.82 (talk) 23:27, 3 October 2015 (UTC)

Welcome to the support desk of the MediaWiki software. Whatever "single player" and "creapy doll" you refer to, you need to provide steps to reproduce your problem. If your problem is related to the MediaWiki software at all. Malyacko (talk) 10:44, 4 October 2015 (UTC)

Problem with upgrade from 1.18 to 1.23

Hi,

I have updated from 1.18 to 1.23, and got th following massage:

A database query error has occurred. This may indicate a bug in the software.

  • Query:
    SELECT page_title FROM `nsl_page` WHERE page_is_redirect = '0' AND page_namespace = '8' AND (page_title NOT LIKE '%/%' ) AND (page_len > 10000)
  • Function: MessageCache::loadFromDB(en)-big
  • Error: 1146 Table 'talyaron_mdw1.nsl_page' doesn't exist (localhost)

I tried to run update.php from putty but it gave me the following error:

"cannot get command line argument, register_argc_argv is set to falsetalyaron@talyaron.com

How can it be solved ? Talyaron (talk) 07:17, 4 October 2015 (UTC)

The database error is strange, since nothing should be changed in a way to break it. Looking at the query, your setup seems to have defined $wgDBprefix to "nsl_", and the database is "talyaron_mdw1". Is that correct? So all tables of the database should have that prefix.
register_argc_argv is required on command line, so you need to enable it in php.ini. Alternatively, you can run the update script from the web, as explained in Manual:Upgrading. Ciencia Al Poder (talk) 13:56, 4 October 2015 (UTC)
Thanks Ciencia,
Sorry that it took me a while :-)
I have done what you said, and now I get this error:
A database query error has occurred.
Query: SELECT page_title FROM `nsl_page` WHERE page_is_redirect =
'0' AND page_namespace = '8' AND (page_title NOT LIKE '%/%' ) AND
(page_len > 10000)
Function: MessageCache::loadFromDB(en)-big
Error: 1146 Table 'talyaron_mdw1.nsl_page' doesn't exist (localhost)
What can be done? Talyaron (talk) 17:36, 13 October 2015 (UTC)
You obviously have changed the table prefix. MediaWiki currently tries to use the database talyaron_mdw1 and tables, which are prefixed with nsl_. However, these tables are not there - at least the page table is not there.
When you do an upgrade, you can keep (or copy) your LocalSettings.php file. It is not necessary to change things like $wgDBprefix in it.
After that make sure that you have done the database update. 88.130.77.35 (talk) 03:24, 14 October 2015 (UTC)

im having trouble purchasing nuggets ,the way i normally do ,,via sms i have checked with my provider they say the problem is not there end

having trouble buying nuggets via sms The bard no 1 (talk) 10:16, 4 October 2015 (UTC)

Welcome to the support desk of the MediaWiki software. As far as I know, MediaWiki does not offer buying nuggets via SMS so you might be wrong here. Malyacko (talk) 10:40, 4 October 2015 (UTC)

$wgLogo appears on website

A have installed Mediawiki successfully and also I was able to place a logo of my own. But the lettering '$wgLogo' appears on the left upper corner of the website and this lettering is only partially covered by the inserted logo. I have searched for the solution quite a lot of time in the Wikimedia manual and the FAQ, but I did not find any hint to solve the problem, i. e. make disappear the lettering '$wgLogo' from my website. Barny1952 (talk) 20:18, 4 October 2015 (UTC)

By any chance is that a public wiki so one could take a look? Malyacko (talk) 21:19, 4 October 2015 (UTC)
Most likely this is some kind of coding error in LocalSettings.php... 88.130.73.31 (talk) 14:23, 5 October 2015 (UTC)

Initial load on Mobile Very Slow

I have had the problem that when first loading my wiki the user will experience very slow load times - more then 10 Seconds. I assume what is happening is the cache is being created for the first time and this is causing a long delay.

My question is, would it be possible to create some bot that would auto create the cache once a day? I don't want to just increase the lifetime cache, as I have some pages that are updated on a daily basis.

This initial long load, is so bad for the user experience. Would appreciate if someone has an idea on how to improve this. Coachbyapp (talk) 04:01, 5 October 2015 (UTC)

our accout is blocked

i want to know why did you block our user account could tell us sir  ? shliftop@gmail.com Shliftop (talk) 06:56, 5 October 2015 (UTC)

Check your block log, or your contributions page. It should clearly state the reason of your block. Ciencia Al Poder (talk) 09:22, 5 October 2015 (UTC)
Please refer to the block reason:
"(autoblock disabled) Reason: {{uw-spamublock}} <!-- Promotional username, promotional edits -->"
Source:https://www.mediawiki.org/wiki/Special:CentralAuth/Shliftop
The expanded template can be found in the english wikipedia: wikipedia:en:Template:Uw-spamublock. We can't help you here :)
Btw.: I see your second request: It's mostly not allowed to add advertising content to any Wikipedia language version. Florianschmidtwelzow (talk) 10:26, 5 October 2015 (UTC)

how can i start our company introduction

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


how can i upload info of our company shliftop@gmail.com

thank yousr Shliftop (talk) 06:57, 5 October 2015 (UTC)

If you pretend to add info about your company on Wikipedia, the info may not be accepted, and will be deleted. Refer to local policies on that wiki. Have you tried a service like yellow pages, etc? People usually look at companies about a subject, and looks for subjects in sites like yellow pages, not on Wikipedia. Ciencia Al Poder (talk) 09:25, 5 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Warning: Invalid argument supplied for foreach() in /home1/gmdesign/public_html/wiki/extensions/DynamicPageList/classes/Parse.php on line 712

I am getting this error and cannot figure out why.

can anyone solve it?

http://gmdesign.org.uk/wiki/index.php?title=NCN818

http://gmdesign.org.uk/wiki/index.php?title=special:version 86.28.140.107 (talk) 07:02, 5 October 2015 (UTC)

Seems to be a bug in the DynamicPageList3 extension. You should report a bug about it here Ciencia Al Poder (talk) 09:31, 5 October 2015 (UTC)

#expr bug

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.


There is a interesting #expr bug, see phab:T114516. Probably is necessary to notify mediawiki developers on mailing list. XXN (talk) 10:58, 5 October 2015 (UTC)

I don't see how that's a bug in the software. :) AKlapper (WMF) (talk) 12:11, 5 October 2015 (UTC)
The bug is fixed, and marked as invalid. That seems to be an user error to me? :) Florianschmidtwelzow (talk) 12:34, 5 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

My MediaWiki has become overtaken by hackers

I have been diligently curating a MediaWiki site with information I wanted to keep. Recently, all the content on the site has been deleted and replaced with a hacker(s) ads. How do I prevent unapproved edits to my site and can I roll back to a previous version? The site is being hosted through bitnami on AWS. Tradman1 (talk) 15:41, 5 October 2015 (UTC)

Make sure you follow Manual:Security. That amongst other things means: Kep your wiki updated! Don't use old versions!
Configure MediaWiki correctly; Manual:Combating spam shows you how you can do that! 88.130.118.35 (talk) 23:22, 5 October 2015 (UTC)

Wildcard is not working well

I run mediawiki V 1.22.6 and i tried to follow the instructions to add the wildcard feature.

First, i don't have a folder called include, its includes. Also in this folder there is only a subfolder called search where I find the required classes that gets included in the created file.

Anyways... if i create the new file and add the require_once to the LocalSettings i can't search at all anymore. I also tried to move the create file into the searchfolder. But calling require_once causes a blank page than. What am I doing wrong??? 176.198.222.106 (talk) 10:16, 6 October 2015 (UTC)

I have tried this instruction: https://www.mediawiki.org/wiki/Help_talk:Searching#Wildcard_Search 176.198.222.106 (talk) 10:19, 6 October 2015 (UTC)
so I checked it again and it allways (as soon as I include the file) results with a blank page. 176.198.222.106 (talk) 10:27, 6 October 2015 (UTC)
Turning on the php errors resulted an including problem. So the pathes that was given in the sample are wrong. You can't include the files like this. It should be
require_once( 'includes/search/SearchMySQL4SubString.php' );
$wgSearchType = 'SearchMySQL4SubString';
And the created file should include like:
require_once( 'includes/search/SearchEngine.php' );
require_once( 'includes/search/SearchMySQL.php' );
but it still drops an error lile Cannot make static method
so the fix for this is change this:
function legalSearchChars() {
return "A-Za-z_'0-9\\x80-\\xFF\\-*?+";
}
to
public static function legalSearchChars() {
return "A-Za-z_'0-9\\x80-\\xFF\\-*?+";
}
But this isn't the end! :(
Now my problem is, the added script causes a problem from a undefined method of
$wgContLang. Obviously it has no method stripForSearch 176.198.222.106 (talk) 10:56, 6 October 2015 (UTC)
and posing code is kind of strange here at all :( 176.198.222.106 (talk) 10:58, 6 October 2015 (UTC)

Problem in Template

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Dear colleagues,

I have encountered this problem: templates recently refused to display normally

It looks like: http://wiki.shayvam.org/Шаблон

Whileas it should look like: https://en.wikipedia.org/wiki/Template:!! Шантира Шани (talk) 11:34, 6 October 2015 (UTC)

See the error console of your browser which shows:
TypeError: jQuery(...).live is not a function Malyacko (talk) 12:23, 6 October 2015 (UTC)
It also looks like Extension:ParserFunctions is not enabled, but I can't tell you since I can't see Special:Version on your wiki... Ciencia Al Poder (talk) 09:46, 7 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

How to migrate files from folder

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi, I'm new to this stuff, so please bare with me.

I have uploaded the "mediawiki-1.25.2" folder to my webhost. So to reach my wiki you have to write www.mydomain.se/mediawiki-1.25.2/index.php. Now I have moved all files from the folder "mediawiki-1.25.2" and put them i root at my webhost. But when entering just www.mydomain.se web browser says file not found. What have I done wrong? Is it not possible to move all files like that?

Thanks!

/Anders Swefi.se (talk) 19:12, 6 October 2015 (UTC)

It's perfectly possible.
Apart from moving the files, you should also edit LocalSettings.php to change relevant variables that point to the old location. $wgScriptPath is usually one of them.
Also, check that you don't have rewrite rules or something configured to redirect your wiki directly to /mediawiki-1.25.2/index.php whenever someone loads the root of your website.
After the move, links on pages may still point to the wrong URL because they're cached in the parser cache. Try to set $wgCacheEpoch to fix it. Ciencia Al Poder (talk) 09:43, 7 October 2015 (UTC)
Thanks for your reply!
I have tried several different setting but the loaded page in my web browser is blank.
This is my settings in LocalSettings.php, are there any obvious mistakes?:
## Uncomment this to disable output compression
# $wgDisableOutputCompression = true;
$wgSitename = "SweFi";
## 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
## (like /w/index.php/Page_title to /wiki/Page_title) please see:
## https://www.mediawiki.org/wiki/Manual:Short_URL
$wgScriptPath = "/";
$wgScriptExtension = ".php";
## The protocol and server name to use in fully-qualified URLs
$wgServer = "http://swefi.se";
## The relative URL path to the skins directory
$wgStylePath = "$wgScriptPath/skins";
$wgResourceBasePath = $wgScriptPath;
## 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 = "$wgResourceBasePath/resources/assets/wiki.png";
## UPO means: this is also a user preference option
$wgEnableEmail = true;
$wgEnableUserEmail = true; # UPO
$wgEmergencyContact = "apache@swefi.se";
$wgPasswordSender = "apache@swefi.se";
$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = true; Swefi.se (talk) 17:54, 7 October 2015 (UTC)
Now I got it to work :-D
Had to change $wgScriptPath = "/"; to $wgScriptPath = "";
Thanks for your time and input!
/Anders Swefi.se (talk) 18:01, 7 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

'Ugly' URL for uncreated Wiki pages

I have followed the Manual on Short URLs and it works perfectly except for yet-to-be-created pages.

For example, on Main_Page there is a link to the uncreated page Sub_Page, this URL points to my 'ugly' MediaWiki installation folder and uses an ugly url:

mysite.com/mediawiki/index.php?title=Sub_Page&action=edit&redlink=1

It should look like this:

mysite.com/wiki/Sub_Page&action=edit&redlink=1

The rest of my website uses the prety URLs, so I have no idea why this is happening.

How do I fix this? Swennet (talk) 21:45, 6 October 2015 (UTC)

Found the answer to my own question by chance here: https://www.mediawiki.org/wiki/Manual:$wgActionPaths 92.110.165.206 (talk) 14:01, 12 October 2015 (UTC)

MySQLdump export/import shows HEX in User table (and others)

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi. I recently migrated my servers and am not having any luck getting my MediaWiki imported. There are other tables doing the same thing, but if we focus on the user table, the export file shows that there are three users. Most of the columns are human-readable and so for example, I can clearly read the user_name column, the user_real_name, user_touched, etc. They all look correct.

When I import these to my new server the result in the database is all HEX.

Here is what it looks like in my old server: http://i.imgur.com/1SZ0eiY.png

...and here is what it looks like after importing to my new server: http://i.imgur.com/TCTRGHW.png

It clearly has something to do with the encoding and all of that, but I cannot for the life of me figure out how to get it to work. I've searched the web for a few days and am finally turning to the experts.

Export process from old server: mysqldump -vv --hex-blob -h HOST -u NAME -p DB > EXPORT.sql

...and here is my import process to new server: mysql -h NEWHOST -u NEWNAME -p NEWDB < EXPORT.sql

Any help in fixing this would be greatly appreciated so I can get back to work in my Wiki ;) 24.155.109.218 (talk) 23:40, 6 October 2015 (UTC)

I should note that the added "--hex-blob" came from a post I found online. I thought it would help, but it does not. The results look identical if I exclude it from the export process. 24.155.109.218 (talk) 23:42, 6 October 2015 (UTC)
FIXED. Turns out it is a front-end encoding/display issue with PHPMyAdmin and not necessarily the import. I can confirm through the backend MYSQL shell that the data is in there and working properly.
A second issue (unrelated to this) causing my images not to load initially suggested to me that the processor was trying to load the incorrect names and thus failing. That's not the case.
Thanks for anyone who took a moment to read. 24.155.109.218 (talk) 05:36, 7 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Simple way to set certain articles as private and not viewable by anonymous users

On my wiki 90% I would like to set as open for all in the organization. But there is that small 10% of articles which I would only like viewable if the person is logged in to the wiki and has an account. I looked at all the different access restrictions extensions but they more geared for block one from accessing an other groups articles. Is there a simple way to mark an article private and for credentialed users only? Kaysevenmm1 (talk) 00:40, 7 October 2015 (UTC)

Extension:DisallowAccessOnCategory is a possibility. Reception123 (talk) 11:02, 7 October 2015 (UTC)
This seems good, but it is still to much I would have to create white list. I looking for something more basic. The wiki I am working with will be accessed by both costumers and employees. I want to the customers to be able to access the articles ...but certain articles should be limited to just for employees. Employees will be the only ones with logins. Kaysevenmm1 (talk) 05:51, 8 October 2015 (UTC)

IRC Bot logger

Hi, anyone know an existent bot that can log IRC stuff onto a mediawiki page (e.g. !log restart service, gets logged on a page on my mediawiki site?. It will help me log what I do on shell to my mediawiki site so my actions can be logged. Reception123 (talk) 10:54, 7 October 2015 (UTC)

The Wikimedia Foundation has a bot, which does exactly that, called Morebots. It's a simple script, the code can be found on the information page in wikitech :) Florianschmidtwelzow (talk) 13:01, 7 October 2015 (UTC)
Thanks. Reception123 (talk) 14:32, 7 October 2015 (UTC)

Upgrade 1.14 to 1.25

Hi guys,

I would upgrade my wiki but like you can see i have a large difference between the versions.

How i can know the risq of the upgrade ? Can i update any problem (data) ? Do I need to go through an intermediate release ?

Thanx for the response ;) 217.109.116.20 (talk) 11:20, 7 October 2015 (UTC)

See https://www.mediawiki.org/wiki/Manual:Upgrading Malyacko (talk) 14:52, 7 October 2015 (UTC)
The most important thing is that you have a working backup.
Also you might need to change the PHP and maybe also the MySQL version. 88.130.81.156 (talk) 19:38, 8 October 2015 (UTC)

Using Wildcards for search content

I run mediawiki V 1.22.6 and i tried to follow the instructions to add the wildcard feature.

First, i don't have a folder called include, its includes. Also in this folder there is only a subfolder called search where I find the required classes that gets included in the created file.

Anyways... if i create the new file and add the require_once to the LocalSettings it causes a blank page than. What am I doing wrong??

I have tried this instruction: https://www.mediawiki.org/wiki/Help_talk:Searching#Wildcard_Search

Turning on the php errors resulted an including problem. So the pathes that was given in the sample are wrong. Actually it should be

require_once( 'includes/search/SearchMySQL4SubString.php' ); 
$wgSearchType = 'SearchMySQL4SubString';

I placed it into the folder where all other sql files was found. And the created file should include like:

require_once( 'includes/search/SearchEngine.php' ); 
require_once( 'includes/search/SearchMySQL.php' );

but it still drops an error lile Cannot make static method so the fix for this is change this:

function legalSearchChars() {
    return "A-Za-z_'0-9\\x80-\\xFF\\-*?+";
}

to

public static function legalSearchChars() {
    return "A-Za-z_'0-9\\x80-\\xFF\\-*?+";
}

But this isn't the end! :( Now my problem is, the added script causes a problem from a undefined method of $wgContLang. Obviously it has no method stripForSearch really could need some help here. Dwza (talk) 15:37, 7 October 2015 (UTC)

does anyone have this extension?

I am looking for this extension, have used it in past and works good but have lost it so anyone have a copy?

Extension:Google Maps/Editor's Map 86.28.140.107 (talk) 16:28, 7 October 2015 (UTC)

The extension's page before being archived has a link to the previous version of the page, which has links to the repository, from where you can download as zip: https://git.wikimedia.org/tree/mediawiki%2Fextensions%2FGoogleMaps
I think google changed the api of maps a while a go, and the extension may no longer work because of that. Ciencia Al Poder (talk) 19:49, 7 October 2015 (UTC)
than you...i tried installing but your correct does not work, the maps work but not the editor, was worth a try though. pity there is not something similar been created 86.28.140.107 (talk) 10:52, 8 October 2015 (UTC)

free as more space as possible from database - dottor_z

i need to free as more space as possible from the db, so i would like to delete entries on the following tables

fkwaexktcxl10n_cache with 11k entries

fkwaexktcxpage with 35k entries

fkwaexktcxrecentchanges with 70k entries

fkwaexktcxrevision with 70k entries

fkwaexktcxsearchindex with 35k entries

fkwaexktcxtext with 70k entries

fkwaexktcxexternallinks with 600+ Mb of space 79.47.253.23 (talk) 16:37, 7 October 2015 (UTC)

See Manual:Reduce size of the database Ciencia Al Poder (talk) 19:47, 7 October 2015 (UTC)
Shouldn't the recentchanges table be filled with changes from the last 90 days and older changes should get removed. Obviously this removal is not happening in your case.
There is a maintenance script to rebuild the contents of the recentchanges table; this will make sure that old entries get removed.
The rebuildall.php script will also rebuild the contents of the externallinks table. 88.130.81.156 (talk) 19:37, 8 October 2015 (UTC)
See Manual:$wgRCMaxAge to configure how long they should stay. Note that on each edit there is a 1% chance that the recent changes table will be purged.
I see no point in running the rebuildall.php script if it will generate the table with the same contents... A externallinks table so bloated probably means your wiki is filled with tons of spam pages. Have you ever looked who is editing your wiki? See also Manual:Combating spam although it may be too late now Ciencia Al Poder (talk) 09:21, 9 October 2015 (UTC)

setPageTitle(), Article.php error

Hi

I recently upgraded from version 1.22 to 1.25. Every page now returns the error:

Fatal error: Call to a member function setPageTitle() on a non-object in /wiki/includes/page/Article.php on line 512

and special pages the error:

Fatal error: Call to a member function setArticleRelated() on a non-object in /wiki/includes/specialpage/SpecialPage.php on line 353

Unusually, Google returns nothing on the subject, which suggests this is a unique error - which is itself surprising as the upgrade was smooth.

Any help would be appreciated. 92.12.6.86 (talk) 17:29, 7 October 2015 (UTC)

Did you upgraded your extensions as well? This looks like it's being caused by one of your installed extensions. The extension may not be compatible with MediaWiki 1.25 Ciencia Al Poder (talk) 09:22, 8 October 2015 (UTC)
If you've updated all extensions, too, check, if you transferred all files of the new MediaWiki version to the server, correctly. Florianschmidtwelzow (talk) 11:27, 8 October 2015 (UTC)

GoogleMap Extention: Please read full post as will make sense!

Hi,

when the google map extention is used you can use the following to show a map

| maptype = googlemap

| lat = 55.66666

| lng = -4.55555

it is good that the coodinates can be added to the article and the map is shown

However I would like to do the same but have an osm map.

I have downloaded maps extention but cannot figure out how to do the same, unfortunately to display osm i have to have all this:

{{#display_map: 5.639166402429105,-4.810885190963745|mappingservice=leaflet}}

I am sure there is a simpler way of showing osm similar to the googlemap above. Anyone know how to achieve this. I looked at all the maps documentation but it talks about georeferencing but not having a simple way like above as google does. I am not a fan of google maps and prefer osm, am sure there is a way of doing it but cannot figure out how. Gmdesignuk (talk) 23:19, 7 October 2015 (UTC)

Cannot view content

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi-

I've recently come back to a group that I was involved with for years.

Many of the folks that were relied upon for tech help have gone away. The wiki has been one of the glues that hold the group together.

None of the pages are visible, although if one looks at history / source, all of the data appears to be there. Any guidance is appreciated

Site is http://shireroth.org/shirewiki/Main_Page Jacobus Loki (talk) 00:24, 8 October 2015 (UTC)

See Manual:Errors and symptoms#All pages have no content, but when editing a page the wiki text is there Ciencia Al Poder (talk) 09:19, 8 October 2015 (UTC)
Warning: require_once(extensions/malarbor.php): failed to open stream: No such file or directory in /home/shireroth/public_html/wiki/LocalSettings.php on line 136
Fatal error: require_once(): Failed opening required
'extensions/malarbor.php'
(include_path='/home/shireroth/public_html/wiki:/home/shireroth/public_html/wiki/includes:/home/shireroth/public_html/wiki/languages:.:/usr/share/php:/usr/share/pear')
in /home/shireroth/public_html/wiki/LocalSettings.php on line 136
was there, and now its magically back, some messages at top of page Jacobus Loki (talk) 17:44, 8 October 2015 (UTC)
...and its all back, thank you magic wiki-person Jacobus Loki (talk) 17:49, 8 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Wrong count of pages

While clearing up another Problem (Language inconsistency at "Create account" - de-formal) I stumbled across the page count on the "Create-account"-page. On my wiki (http://liturgica-notata.wiki.gwdg.de ) we have created nearly 200 pages, but the system message tells me "97 Seiten". Thanks to the tip Ciencia Al Poder gave me on my previous problem, I was able to track down the system message, it is createacct-benefit-head2 that links to the template ((NUMBEROFARTICLES)). I have no experience with templates, so I have no idea how to go on.

PS: I'm not happy with the editor. No preview-button, and the text of the template got converted to "30.555" even when I tried to add the nowiki-tag. LiturgicaNotata (talk) 07:52, 8 October 2015 (UTC)

PS: The editor says "You can preview the result anytime" at the bottom for me including a link. Does it not for you? AKlapper (WMF) (talk) 08:01, 8 October 2015 (UTC)
The number of articles appears in Special:Statistics, and it's not the number of pages. See Manual:Article count for an explanation. Ciencia Al Poder (talk) 09:18, 8 October 2015 (UTC)
I just read the Manual:Article count, and I'm not sure what the sentence "In recent versions of MediaWiki, the existence of links is checked against the values that you also find in the database tables, including not only pagelinks but also templatelinks, categorylinks and imagelinks." means. Does it mean: Pages that include categorylinks but not links to pages in the namespace are not counted? That might explain why so many of the pages in my wiki are not counted: I think all contain categories, but only a part of them have actually links to other pages in the namespace. If so, I think I should try to find a way to change the way of counting in my wiki.
As for the PS: No, there was really no preview function. But inside of the Editor mask there is on the right a symbol "Zum Wikitext-Editor wechseln"; I just tried that, and there, instead of those symbols that were there, I see now the text "Wikitext verwendet Markup und du kannst jederzeit eine Vorschau des Ergebnisses anzeigen". I think I should change my preferences accordingly... LiturgicaNotata (talk) 06:17, 12 October 2015 (UTC)
It only counts links, not templates, categories, etc. You can change $wgArticleCountMethod to count all pages in content namespace that are not redirect Ciencia Al Poder (talk) 14:01, 12 October 2015 (UTC)

Page not Found

I want to read guyver but i can't because the page is down http://japan-legend.com/guyver_advocacy/,

Its coming up with some hostgate 404 error? please fix this as soon as possible please, Thanks. 139.216.73.53 (talk) 09:06, 8 October 2015 (UTC)

Reflist not working

I used Godaddy to install the lastest media wiki www.wantashi.net and the reflist is not working, cites is installed but the reflist or <reference > tag does not work Africanist101 (talk) 10:24, 8 October 2015 (UTC)

Look at your version page: http://www.wantashi.net/Special:Version
The Cite extension isn't installed, so the <ref> tag will not work ;) Florianschmidtwelzow (talk) 11:24, 8 October 2015 (UTC)
How do I install it since I see a directory on my drive which has a folder called cites Africanist101 (talk) 18:00, 8 October 2015 (UTC)
Please take a look on the extension page. Florianschmidtwelzow (talk) 21:23, 8 October 2015 (UTC)

Registering to robot-forum.com

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I tried to register an account on www.robot-forum.com, but I don't get an activation email. I have clicked the sent a new email button several times but the email is still not coming. How can i solve this? 46.44.171.185 (talk) 11:07, 8 October 2015 (UTC)

You need to contact the site owner, instead of opening a topic here. This is the place where you can get help for the MediaWiki software, not for any third party platform and/or software :) Florianschmidtwelzow (talk) 11:22, 8 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Invalid callback MyExtensionHooks::onLogException in hooks for LogException

Hi ,

I removed tthe older version of MediaWiki 1.13 and installed Mediawiki 1.25. I completed all the config changes and ran update.php and it ran fine for the first time. But now i get an exception  Invalid callback MyExtensionHooks::onLogException in hooks for LogException and the following error in debug_log


#0 /apps/Mediawiki/includes/exception/MWExceptionHandler.php(522): Hooks::run('LogException', Array)

#1 /apps/Mediawiki/includes/exception/MWExceptionHandler.php(222): MWExceptionHandler::logError(Object(ErrorException), 'error')

#2 [internal function]: MWExceptionHandler::handleError(2, 'date_default_ti...', '/apps/htdocs/wi...', 546, Array)

#3 /apps/Mediawiki/includes/Setup.php(546): date_default_timezone_get()

#4 /apps/Mediawiki/maintenance/doMaintenance.php(97): require_once('/apps/htdocs/wi...')

#5 /apps/Mediawiki/maintenance/update.php(216): require_once('/apps/htdocs/wi...')

#6 {main}

~


156.77.111.22 (talk) 12:50, 8 October 2015 (UTC)

Did you upgraded your extensions as well? This looks like it's being caused by one of your installed extensions. The extension may not be compatible with MediaWiki 1.25 Ciencia Al Poder (talk) 09:50, 9 October 2015 (UTC)

Simple question about misspelled search terms.

We are using MediaWiki version 1.19. When I search for a misspelled word, I get "no results matching the query." How does one enable "did you mean" functionality? Will we get this if we upgrade to a newer version, or do we need to change search engines, or need to add and extension? Any help is appreciated.  Msedita (talk) 15:07, 8 October 2015 (UTC)

Preventing spam - invisible captcha

Hi. Regarding preventing spam on my website, http://www.speedypedia.info/ - I want to try to create an invisible captcha, that will use the math captcha to ask a math question, such as 75+10. But increment each number by a number selected randomly per session (n), so for example if this number is n=2 then the captcha will display 75+10 but expect the result of 77+12 (89) and not 85. Then a JavaScript code will update the input field to 89 after 6 seconds, and all the captcha fields will be invisible by CSS or JavaScript (*position*: absolute; *left*:-10000px; *top*:-10000px;). Then humans will not see the captcha at all, but if it takes them at least 6 seconds before they submit the form then the captcha will be correct; bots who leave the field empty or enter any number which is not 89 will fail. The number n will not be visible anywhere but the JavaScript code will know the correct solution (89).

I want to know if anybody tried this solution before and if you think it can prevent bots from creating accounts or articles on my website? And are there any developers who can help me create such an extension to MediaWiki, which will be used with ConfirmEdit?

By the way, Speedypedia supports Hebrew and English, and only the English version is currently protected by username & password, because it was flooded with spam. The Hebrew version was never flooded with spam. If you want to see the English version, please contact me personally on http://www.speedysoftware.com/uri/en/

Uri Even-Chen (talk) 15:21, 8 October 2015 (UTC)

That looks smart, although would prevent people that doesn't have JavaScript enabled to edit your wiki Ciencia Al Poder (talk) 09:48, 9 October 2015 (UTC)
JavaScript must be enabled to use my website. That's OK. Uri Even-Chen (talk) 03:20, 12 October 2015 (UTC)
> The number n will not be visible anywhere but the JavaScript code will know the correct solution (89).
??? JavaScript is client side code, so basically any bot has the ability to know the answer :) It "just" need to read the incoming JS code.
And your thoughts will work for bots that try to register as much as possible accounts all over the web, but it will definitely won't work for targeted bots. An experienced developer will (maybe) find out your little "easter egg" and program the bot to leave the field as is. Another situation would be (if you anti spam would be used on many sites), that a bot programmer would reletively easy find out, what he has to do. Your solution has one problem: It can be calculated for anyone, not just your server and humans :) Your solution isn't much better as a plain MathCaptcha.
So, in my opinion: I wouldn't force the use of JavaScript to implement such a CAPTCHA :) Florianschmidtwelzow (talk) 12:25, 12 October 2015 (UTC)

Authorization Required

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


My wiki was working great....now when anyone tries to connect I get a message.

http://i.imgur.com/lMZHdf2.jpg

I am not sure what user name it is asking for but what ever I try I get this message.

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Web-Smart Server Kaysevenmm (talk) 16:22, 8 October 2015 (UTC)

It sounds like your MediaWiki directory might be protected by an apache password file... 88.130.81.156 (talk) 19:33, 8 October 2015 (UTC)
It turned out to be a DNS problem. It conflicted with the name I had in the localsettings.php
thanks Kaysevenmm (talk) 14:50, 9 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Infobox problem on ARMv5

I have a Synology RS812 NAS, which runs DSM (a form of Ubuntu I think) via BusyBox v.1.16.1, on a Marvell Kirkwood mv6282 1.6Ghz ARM processor (Marvell ARMADA 300). uname -a reports Linux <Hostname> 2.6.32.12 #5592 armv5tel GNU/Linux synology_88f6282_rs812. I have fully updated the OS, and have installed MediaWiki (and dependencies) from the default Synology repository. I've enabled both Parser Functions and Scribunto extensions. My Special:Version reports as follows:

MediaWiki 1.23.10 PHP 5.5.28 MariaDB 5.5.43 Lua 5.1.5 - so lua's definitely working/correctly installed.

I've added:

require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php"); require_once( "$IP/extensions/Scribunto/Scribunto.php"); $wgScribuntoDefaultEngine = 'luastandalone'; $wgScribuntoEngineConf['luastandalone']['errorFile'] = 'lua error log.txt'; $wgScribuntoEngineConf['luastandalone']['memoryLimit'] = 209715200; # bytes $wgMaxShellMemory = 204800; # in KB

to LocalSettings.php and raised the memory_limit in etc/php/php.ini to 384M

I have exported from Wikipedia/Imported into my local Wiki all the modules and templates I should need for Infoboxes, but all I ever get is a Lua script error where I should have an infobox - always 

'/volume1/web/MediaWiki/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic/lua: line 1: syntax error: unexpected "("'

in the log file, with a "Lua error: Internal error: The interpreter exited with status 2." pop-up when I click on the red Script error on the page where the infobox should be. Raising the memory_limit in etc/php/php.ini is the supposed canonical cure for that, but it doesn't seem to work for me.

I thought I'd try to upgrade the lua binaries, since 5.1.5 is not cutting edge, but I can't seem to find a repository of arm5vtel lua binaries to do that.

What am I doing wrong? Hope someone can help! My expertise extends to following instructions, but not to cross-compiling lua for armv5 processors at a guess, unless some kind soul is REALLY happy to hold my hand!

Thanks

Charles ~ CharlesSpencer (talk) 20:57, 8 October 2015 (UTC)

This line seems relevant:
'/volume1/web/MediaWiki/extensions/Scribunto/engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic/lua: line 1: syntax error: unexpected "("'
A debug log may show more information. See Manual:How to debug Ciencia Al Poder (talk) 09:51, 9 October 2015 (UTC)
Hi. Thanks for your reply. The line you cite comes from the debug log. Unfortunately, I am not competent to debug lua, and anyway, my thinking was that it could not fundamentally be lua script syntax-related, since all the scripts have been copied unmodified from Wikipedia where they demonstrably work! Maybe the syntax error demonstrates that I have not correctly copied all the scripts? 193.108.78.10 (talk) 11:27, 13 October 2015 (UTC)
This SO question seems relevant. Apparently, the lua binary included with Scribunto is not ok with Raspberry Pi, which may be a similar problem with a synology.
Basically, try to install lua from your distribution and set $wgScribuntoEngineConf['luastandalone']['luaPath'] to the path of the lua executable and see if that works. 62.81.165.199 (talk) 09:26, 14 October 2015 (UTC)

Is there a way to remove the "page" tab

I would like to remove the page tab label from anonymous users. Can this be done or does there have to be label?

http://i.imgur.com/bKp8d9p.jpg Kaysevenmm1 (talk) 00:00, 9 October 2015 (UTC)

confused newbie who has uploaded to Commons, rejected, seeks to upload againwa

I'm totally confused. I registered (and am still logged on) on Oct 1, then posted an article to Wiki Commons. I understand that I needed to wait for 4 days and/or 10 edits to post the item to English Wiki. I'm not sure the article was approved; one comment said that it was unlikely to be approved because it lacked references, and another reason that I didn't understand. I have since filed in Wiki Commons a REVISED version with REFERENCES. How soon can I upload this version to English Wiki? Am I not a registered user, with rights to upload, etc. I realize this is very elementary, but ... Please tell me the correct order to do things. Kolbeseder1 (talk) 01:02, 9 October 2015 (UTC)

This is the support desk for MediaWiki software. Your issue should be directed to a community portal or similar on Commons. Ciencia Al Poder (talk) 18:53, 11 October 2015 (UTC)

Tag errors, clear cache no effect

I'm a new member and I've recently starting doing some phpwiki editing. I'd appreciate some assistance with a dilemma I've been having. I'm using MediaWiki, according to the image in the bottom left of my Wiki.

As for the backstory, I'm working as a moderator for an online text game, and my primary role is to update the Wiki, which is the subject of my dilemma. The page I'm currently working on (which you'll find below) is a simple alphabetical list category page, with essentially nothing on it; rather, other pages have tags that revert to the 'category page' and thus they appear on the list in supposed alphabetical order. The tag I use is as follows:

[[Category:Units (Lightning)|Template:PageName]]

The above tag goes on other 'unit' pages, and the title of those unit pages appear on the list I'm working on. So, backstory over. Now begins the problem.

There are unit titles appearing on the list that I don't want to appear. So, naturally, I went into those unit pages, and deleted the tag from the page. Problem solved, right? No. Instead of disappearing off the list like they were supposed to, they moved from their appropriate spot alphabetically and appeared in the MIDDLE of the list for no apparent reason. After checking (and re-checking) the unit pages for ANY TAGS whatsoever, I could find no explanation for why they are appearing on my list. You'll notice, on the list itself, that 'Assassin' and 'Minor Elemental' appear out-of-order (second column, middle). Those are the titles I attempted to delete. And, because the list itself has...essentially nothing on it to delete, I can't simply edit the list and delete it. This is my problem.I've tried deleting the unit pages, and they still appear on the list. When I re-add the tag found above, they resume existing on the list in their CORRECT alphabetical spot, but other than that, there is literally no way I've found to remove them from this list.

I tried clearing the cache with ?action=purge, but this hasn't worked as far as I can readily ascertain. I was told, by an experienced friend, that the cache is filled with old data, and this is why this problem is occurring, but outside of trying the purge, I received no other suggestions, other than doing a dummy edit to update the page (which I did, unsuccessfully).

I would appreciate all the help I can get. The link is below. Thank you so much in advance.

http://wiki.the-reincarnation.org/index.php/Category:Units_%28Lightning%29 Zero275 (talk) 05:31, 9 October 2015 (UTC)

This is the version, as far as I can tell:
== Installed software ==
MediaWiki - 1.16.0
PHP - 5.3.10-1 ubuntu - 3.19 (apache2handler
MySQL - 5.5.22-0ubuntu1-log Zero275 (talk) 05:37, 9 October 2015 (UTC)
The software you run (version 1.16) has dozens of open security issues. Please do run supported versions: https://www.mediawiki.org/wiki/Download Malyacko (talk) 08:13, 12 October 2015 (UTC)
You have 2 pages with the same title on the wiki (but different page IDs):
Page ID 11409, namespace 0, title Lightning:Minor Elemental (this one has the category)
http://wiki.the-reincarnation.org/api.php?action=query&prop=info%7Crevisions%7Ccategories&rvprop=ids%7Ctimestamp%7Cflags%7Ccomment%7Cuser%7Ccontent&rvlimit=10&rvdir=newer&pageids=11409&format=jsonfm
Page ID 12324, namespace 406, title Lightning:Minor Elemental (this one is not, and is the page you're editing)
http://wiki.the-reincarnation.org/api.php?action=query&prop=info%7Crevisions%7Ccategories&rvprop=ids%7Ctimestamp%7Cflags%7Ccomment%7Cuser%7Ccontent&rvlimit=50&rvdir=newer&pageids=12324&format=jsonfm
Apparently, you added the Lightning: namespace when there were existing pages with Lightning: in the title? You'll need to run Manual:namespaceDupes.php to fix this mess... Ciencia Al Poder (talk) 09:40, 9 October 2015 (UTC)
Thank you so much. Could you please shed some light on how you found this page? And, perhaps how to go about running the maintenance script? As in, what would I need to do in order to proceed with the namespaceDupes? Zero275 (talk) 18:18, 9 October 2015 (UTC)
I first checked for categories on the page:
http://wiki.the-reincarnation.org/api.php?action=query&prop=info%7Ccategories&titles=Lightning:Minor%20Elemental&format=jsonfm
and then for what pages were on that category:
http://wiki.the-reincarnation.org/api.php?action=query&list=categorymembers&cmtitle=Category:Units%20%28Lightning%29&cmlimit=max&format=jsonfm
Which then noticed that the page id's were different
As per namespaceDupes.php, it will rename titles adding a prefix or suffix to the page name, so you can decide what to do with them. Try the script first without the --fix parameters to see what would do, and if the actions it performs are right, run it again with the --fix option.
But the best option IMHO would be to use the --merge option, which will attempt to merge the page histories of both to the correct name. Sadly, this option was added for MediaWiki 1.25 and you are running 1.16...
About the prefix or suffix, once moved, you could manually merge histories by deleting the page with the correct name, renaming the fixed page to the correct name, deleting, and then restoring all revisions. This could be tedious if there are many pages. Ciencia Al Poder (talk) 09:45, 10 October 2015 (UTC)
And, the best way to go about accomplishing the namespaceDupe would be to use PuTTy after being granted privilege to run maintenance scripts, correct?
Or is the manner in which I accomplish this different according to my version? I'm following these directives:
https://www.mediawiki.org/wiki/Manual:Maintenance_scripts#Configuration
I truly appreciate all the assistance. I wish there was some way to access the actual duplicate pages (since there aren't too many I need to remove the tags from), but alas, it seems not. Zero275 (talk) 22:40, 11 October 2015 (UTC)
Yes, you need shell access to run the maintenance script. If not, you still could run some of them using Extension:Maintenance and Extension:MaintenanceShell, or setting a cron job that in turn calls the script with the appropriate parameters (some hostings may allow this even if they don't provide shell access).
You need to fix those inaccessible pages because they'll generate noise in other parts of the wiki, like backlinks to pages, etc. Ciencia Al Poder (talk) 13:28, 12 October 2015 (UTC)

Tried to resize images, now mediawiki crashes (timeout)

Hello

I attempted to resize images on my wiki using the commands give in the FAQ 50px. Upon doing this the editor freezes, gives me a HTTP Timeout error and then trying to navigate out of the page causes the loading bar to turn and turn but essentially freeze.

I am able to get back into the wiki by clearing cookies on my browser, but any attempt to upload images, access filelist or save changes to a page causes the same issue: loading bar turning and the the page freezing until I delete cookies!.

Please let me know what I am doing wrong here. Uploading images is permitted but i don't know if I need to add subsequent permissions to stop this occuring?

Any help is much appreciated

Thanks x 194.78.208.217 (talk) 06:27, 9 October 2015 (UTC)

I don't see a connection between deleting cookies and the server being responsive again...
I'd say to look at the access and error logs of the server. Maybe the server exhausted all the memory while trying to create thumbnails for the page, or causes CPU to spike during some time, making the server irresponsive? Only a close monitoring of the server's resources can tell you. Ciencia Al Poder (talk) 16:59, 9 October 2015 (UTC)

Creating an alias using Extension:SpecialNamespaces

I want to create an alias of the Laro namespace in http://pekepedia.net/ using Special:Namespaces called "Game" (same with "Usapang laro" having a "Game talk" alias), but I can't seem to find a way to. Help. --Stranger195 (talk) 09:54, 9 October 2015 (UTC)

Change to one child policy page

I am a teacher and I have to admit that one of our students has changed the title of 1.2 in the one child policy page. I have changed it to administrator.
We are very sorry for any extra work that this has created. He is being dealt with by our deputy headmaster as we speak. Please feel free to contact me for further details. Edavies86 (talk) 13:34, 9 October 2015 (UTC)
This place is mediawiki.org. It's about the software behind Wikipedia, but not about its content. :)
Maybe this is about en.wikipedia.org ? If so that seems to have been reverted in https://en.wikipedia.org/w/index.php?title=One-child_policy&type=revision&diff=684898468&oldid=684898154 Malyacko (talk) 08:11, 12 October 2015 (UTC)
Since this is the only post with your user account, I believe that you may have posted this in the wrong place.
Generally, protecting a page prevents unprivileged users from editing it. Note that there also is an option for a cascading protection: If the cascadingly protected page includes templates, then these templates automatically get protected as well. Jörgi123 (talk) 16:16, 9 October 2015 (UTC)

Upgrade to 1.25.2 bad ref to skin?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I just completed the upgrade from 1.15.1 to 1.25.2. I followed the instructions by renaming old wiki directory and replacing with 1.25.2 new wiki directory and reference the skin 'Modern' in my LocalSettings:

wfLoadSkin( 'Modern' ); $wgDefaultSkin = 'Modern';

And receive this error and blank page when navigating to wiki:

PHP Fatal error: Class 'MonoBookTemplate' not found in /public_html/w/skins/Modern/SkinModern.php on line 51

I previously had loaded the MonoBook skin with 1.15.1 and the MonoBook skin works in 1.25.2. I was trying the Modern skin. Server info:

MediaWiki 1.25.2

PHP 5.4.43 (cgi-fcgi)

MySQL 5.5.42-37.1-log

SkinTemplate.php is in /public_html/w/includes/skins and MonoBookTemplate.php is in /public_html/w/skins/MonoBook on the server. .digamma (talk) 15:48, 10 October 2015 (UTC)

Turns out it was the order of the loading of the skins in the LocalSettings file. Here was the successful, and working (error free) ordering (probably also the listed order when no skin is defaulted):
wfLoadSkin( 'MonoBook' );
wfLoadSkin( 'Modern' );
wfLoadSkin( 'CologneBlue' );
wfLoadSkin( 'Vector' );
From here, you can specify any skin as default without error. This is because the load dependencies of a skin must be loaded before that skin is loaded. More specifically, Modern depends on MonoBook as stated by its man page. .digamma (talk) 03:34, 11 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Hook to replace the src attribute of thumbs?

I want to create lazy loading thumb images using </span>[[File:Foo.jpg|300]]. This should remove the src attribute and add a data attribute with the url for the script which then inserts the src attribute.

ImageBeforeProduceHTML doesn't do the trick. Maybe only hacking toHtml()? Subfader (talk) 16:50, 10 October 2015 (UTC)

Helpt to change. Myanmar(Burmese) input method extension is not Unicode.

Myanmar (Burmese) in put method using "Extension:UniversalLanguageSelector/Input methods/my-kbd" is not proper unicode font and keyboard layout.

Please help and change it or please tell me how to change it. I can provide with latest unicode, open source, Myanmar3 font which enable the Myanmar(Burmese) sorting too.

This gonna be a big issue. Everything we typed in Burmese will have to re-type again. Sanliinaung (talk) 23:15, 10 October 2015 (UTC)

You should create a task for that. Ciencia Al Poder (talk) 18:58, 11 October 2015 (UTC)

I really need help...

http://pastebin.com/6XGP2SvN how do I fix all these errors on my web installer? HurricaneTeen6900 (talk) 23:43, 10 October 2015 (UTC)

Known bug, see T69877. Currently no solution apart from disabling the Babel extension during upgrade. Ciencia Al Poder (talk) 18:56, 11 October 2015 (UTC)

Vandalism notifications

I'm getting pretty fed up with being notified that my vandalism has been reverted. The only time I see vandalism on wikipedia these days is when you assume I'm on a static ip and have made the changes myself. This is a dynamic IP on a mobile network, one with a relatively high number of silly kids using it. Chances of a vandal being notified that their 'work' has been reverted, bugger all. Chances that they would care? About the same. These notifications mostly just annoy legitimate users. I really think that you should reconsider having them for IPs. I am sure you have mechanisms in place to stop an IP editing pages once it's chalked up a few bad edits. Vandals usually have little trouble hopping to fresh IP. I know that I could grab a fresh one in about 20 seconds. Pictsidhe (talk) 04:47, 11 October 2015 (UTC)

This is the support desk for MediaWiki software. Your concern should be posted on the local wiki where this problem happens, since that would involve local policies that we don't handle. Ciencia Al Poder (talk) 18:54, 11 October 2015 (UTC)

Extract page information for use in a table

I want to extract information from all pages in a category and combine them into a table.

The information on the page is arguments to a template.

I want to specify which argument that should be placed in which column, like argument x for the template should go in table column 1 and argument y should go in column 3.

Any way to do this?

I am running MediaWiki 1.25.2 on PHP 5.6.9-1 and MariaDB 10.0.20. Datagutten (talk) 11:26, 11 October 2015 (UTC)

You can do this with Extension:DynamicPageList (third-party), but note that it will have very poor performance! Ciencia Al Poder (talk) 09:32, 13 October 2015 (UTC)

Magic words

Previously, Magic words were localized via translate wiki for Urdu language, but now it is disabled. So how we can translate and view these localized magic words? Muhammad Shuaib (talk) 18:38, 11 October 2015 (UTC)

You need to submit a patch for review, see How to become a MediaWiki hacker. Or create a task in phabricator so someone else does that. Ciencia Al Poder (talk) 18:50, 11 October 2015 (UTC)

adding new sites to wikibase

I am setting up a wikidata equivalent for esports wikis. and so i want to add links to wikis in the site bar.

how would i go about doing this?

I've found a table in the database and added my sites to that but it doesn't seem to show up. Wvdp (talk) 19:45, 11 October 2015 (UTC)

MediaWiki:SiteNotice and PAGENAME magic word

Can I make it so it gets the page name from the current article and not the sitenotice itself?:

http://imgur.com/a/QCCnc

The very top text is the sitenotice.

I'm guessing this occurs because of caching, so how do I disable SiteNotice's caching? I added these on my LocalSettings.php:

$wgEnableParserCache = false;
$wgCachePages = false;

but it didn't work. Stargy (talk) 07:16, 12 October 2015 (UTC)

Anyone? Stargy (talk) 19:18, 12 October 2015 (UTC)
You can't do that. Sitenotice won't change per-page, and it's generated in the context of the MediaWiki:sitenotice page. You'll need to think an alternate way of doing what you want Ciencia Al Poder (talk) 09:28, 13 October 2015 (UTC)

MultiLanguageManager

Hi,

I am a new member here, I'm familiar with media wiki (and Extension "BlueSpice") as an Author. I'm new in administrative Topics. (But did a lot php and SQL programming years ago).

I installed MediaWiki successful (I also Plan to install BlueSpice, but didn't yet. Hope it works together with MultiLanuageManager).

Now I want to install MultiLanguageManger, because I have english and german users and want to make them able to switch languages like in wikipedia.org.

First of all, it seems to me that the download link is dead (Extension:MultiLanguageManager), where can i download the Extension?

Cheers,

Julian J.freiberger (talk) 10:06, 12 October 2015 (UTC)

I would have doubts that code that was last touched in 2007 works with recent versions of MediaWiki. As you write "switch languages like in wikipedia.org": Wikipedia does not use MultiLanguageManager. Malyacko (talk) 08:27, 13 October 2015 (UTC)
So what does it use? How can we achieve that? 2A02:8388:E340:3A80:419C:EBE0:E05F:4A5E (talk) 20:49, 8 January 2020 (UTC)
See Extension:UniversalLanguageSelector, or for more details, MediaWiki Language Extension Bundle. AhmadF.Cheema (talk) 12:59, 9 January 2020 (UTC)
The MediaWiki Language Extension Bundle gives me hell of an error, if I try to install it... :-|
version 1.33.1 2A02:8388:E340:3A80:A95C:BA19:BD11:2BF4 (talk) 10:15, 11 January 2020 (UTC)

merge pages

I wish to combine 2 pages of the OpenSCAD into one. I have no problem combining the contents into one of the two pages. What needs to go into the other page, so I don't mess things up? LABoyd2 (talk) 19:01, 12 October 2015 (UTC)

What is "the OpenSCAD"? Is that some article on Wikipedia? If so, please ask on the Talk page of that article on Wikipedia when it comes to Wikipedia's content. https://www.mediawiki.org/wiki/Project:Support_desk is for support requests about the software called "MediaWiki" (which runs behind Wikipedia). Malyacko (talk) 08:24, 13 October 2015 (UTC)

jquery.cookie fired after MediaWiki:Common.js on mobile

The module jquery.cookie is fired after MediaWiki:Common.js on mobile devices. This makes it impossible to use $.cookie in MediaWiki:Common.js.

Why is that so?

MW 1.25.2 Subfader (talk) 19:03, 12 October 2015 (UTC)

mw.loader.using('jquery.cookie').done(function() { 
  // Your code goes here
});
Ciencia Al Poder (talk) 19:20, 12 October 2015 (UTC)
Thanks, turns out I used it in a function that fired on $(document).ready() and $(window).load() depending on mobile or not. Using mw.loader.using('jquery.cookie').done() now. Subfader (talk) 19:49, 12 October 2015 (UTC)

trying to login on other mediawiki pages, cannot

I've been trying to login to edit a wiki for a while, but whenever I try to login on that wiki, it says that my username does not exist. But when I go to the mediawiki home page or a similar page, like here, my username is accepted.

What am I doing wrong here? GeneralPatton007 (talk) 19:18, 12 October 2015 (UTC)

@GeneralPatton007, which other wiki are you trying to log into? If it's not a Wikimedia wiki (like Wikipedia or Wiktionary), it's managed by someone else, so you'll need to create a separate account. Neil Shah-Quinn (WMF) (talk) 21:04, 12 October 2015 (UTC)

cattivo comportamento

Segnalo il cattivo comportamento di un ally che utilizza il mio nik per prendermi in giro richiedo un intermento urgente

il Mio Nik è Tiramisu IL MONDO è PSI e l'ally usa il il mio nik più un insulto come nome dell'ally richiedo che i responsabili sia bannati Ruggeroballarin (talk) 07:18, 13 October 2015 (UTC)

I understand that you are reporting a user, who has behaved badly.
Please note that this is the Support Desk for MediaWiki, the software used to run wikis like Wikipedia.
Should this user have behaved badly in a wki of the Wikimedia Foundation, then you should report him on the according pages, e.g. in the Italian Wikipedia, if this is, where the problem exists!
Should he have behaved badly somewhere else, in another wiki, then you should inform the administrators of that wiki. They will be able to help you then! 88.130.77.35 (talk) 03:30, 14 October 2015 (UTC)

TivoliAccessmanager Plugin

Hi Recently we removed our old MediaWiki version and intsalled Media wiki 1.25.

In Previous version we used the Tivali Access manager Plugin

http://www.mediawiki.org/wiki/Extension:TivoliAccessManagerAuthPlugin

Is the above plug in Compatible with media Wiki 1.25? if not can you suggest a way to implement this plugin in new version? 156.77.111.17 (talk) 09:46, 13 October 2015 (UTC)

MediaWiki installtion with MSSQL DB

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi guys,

we have installed a Mediawiki on Windows Server 2012 R2 with an MS SQL Server 2012 Express. After we figuredout that MEdiawiki isn't compatible with MS SQL Server 2014 we installed a SQL Server 2012 an the installation of meidawiki run through. Today i wanted to copy the posts of our old Mediawiki into the new one but i received only error messages .

The first on:

645 [SQLSTATE 42000][Error Code 7645][Microsoft][ODBC Driver 11 for SQL Server][SQL Server] The fulltextpredicat is NULL or emtpy SQLSTATE 42000][Error Code 8180][Microsoft][ODBC Driver 11 for SQL Server][SQL Server] query can't get prepared

Te second one:

156 [SQLSTATE 42000][Error Code 156][Microsoft][ODBC Driver 11 for SQL Server][SQL Server] worng syntax near the user-keyword [SQLSTATE 42000][Error Code 8180][Microsoft][ODBC Driver 11 for SQL Server][SQL Server] query can't get prepared [SQLSTATE 01000][Error Code 16954][Microsoft][ODBC Driver 11 for SQL Server][SQL Server] SQL wil be execute directly, without cursor

Is Mediawiki compatible with MSSQL because i dont find it in the system requirements for database but in the installtion progress, you find a hint which say that you can use MSSQL. Ballettfreak (talk) 11:15, 13 October 2015 (UTC)

Which MediaWiki version is this about? AKlapper (WMF) (talk) 08:20, 14 October 2015 (UTC)
Version 1.24.3 Ballettfreak (talk) 08:37, 14 October 2015 (UTC)
MSSQL is somewhat supported, but by volunteers, and according to T113831 only for LTS versions. I won't recommend you to use SQLServer in production. mysql is the best option, since it's thoroughly tested. Ciencia Al Poder (talk) 09:21, 14 October 2015 (UTC)
Thank you very much. You made my day Ballettfreak (talk) 09:26, 14 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

delete account

How do I delete my account/profile?? 5dgyser (talk) 12:45, 13 October 2015 (UTC)

See Project:Support desk/Flow/2012/01#h-[RESOLVED]_How_i_can_delete_User?-2012-01-08T05:05:00.000Z]] Malyacko (talk) 18:24, 13 October 2015 (UTC)

Kanchipuram Saree

Dear Sir,

I had created the kanchipuramsaree a week ago but still it not come to live, what should i do further to make my Wikipedia live,

Pls take priority and revert.

Thanks

Dickens. Kanchipuramsaree (talk) 13:52, 13 October 2015 (UTC)

Please elaborate what exactly you created, how someone would see that "it" "comes to live", and what is there to "revert" exactly. Thank you! Malyacko (talk) 18:26, 13 October 2015 (UTC)

AutoAuthentication not working

My wiki page is working perfectly, except I'm forced to manually log in with my domain account, the auto authentication isn't working. Here is my LocalSettings.php:

####  Enable LDAP Authentication

 require_once( "$IP/extensions/LdapAuthentication/LdapAuthentication.php" );

 require_once( "$IP/extensions/LdapAuthentication/LdapAutoAuthentication.php" );

# $wgAuth = new LdapAuthenticationPlugin();

$wgLDAPDomainNames = array( "DOMAIN" );

 $wgLDAPServerNames = array( "DOMAIN" => "SERVER" );

 $wgLDAPSearchStrings = array( "DOMAIN" => "DOMAIN\\USER-NAME" );

 ###  Encryptation type

 $wgLDAPEncryptionType = array(

   "DOMAIN"=>"clear",

   );

 $wgLDAPUseLocal = false;

 $wgMinimalPasswordLength = 1;

 $wgLDAPBaseDNs = array( "DOMAIN" => "....");

 $wgLDAPSearchAtributes = array( "DOMAIN" => "sAMAccountName");

 $wgLDAPRetrievePrefs = array( "DOMAIN" => "true");

 $wgLDAPDebug = 3;

$wgDebugLogGroups["ldap"] = "/var/log/mediawiki/debugLDAP.log" ;

$wgDebugLogFile = "/var/log/mediawiki/debug-{$wgDBname}.log";


AutoAuthSetup();

Am I missing something? 201.155.231.19 (talk) 16:48, 13 October 2015 (UTC)

Languages

Hi there,

I just found out about MediaWiki. But before spending many hours of work on it, I would first like to ask if there are already translations into other languages. To be specific: I need it in German.

Thanks for any help offered.

Fabian 37.209.93.231 (talk) 09:21, 14 October 2015 (UTC)

Yes, MediaWiki is translated in a lot of languages, and German is fully supported. See language statistics Ciencia Al Poder (talk) 09:29, 14 October 2015 (UTC)

Windows 2012 R2 installing extensions format error

I tried to add ApprovedRevs and some other extensions which I've done on different OS's previously. I used Web Platform Installer 5.0 to install mediawiki 1.25.2 .After modifying LocalSetting.php with any extension and adding the folder to the extensions folder location any non specialpage crashes with a 500 error.The extension method looks different and I failed to locate any documentation on how this extension syntax.

----------------

# Enabled Extensions. Most extensions are enabled by including the base extension file here

# but check specific extension documentation for more details

# The following extensions were automatically enabled:

wfLoadExtension( 'Cite' );

wfLoadExtension( 'TitleBlacklist' );

wfLoadExtension( 'WikiEditor' );

require_once( "$IP/extensions/ApprovedRevs/ApprovedRevs.php" ); MindMyBool (talk) 21:57, 14 October 2015 (UTC)

This is the new Extension registration method.
See Manual:How to debug to enable the display of errors, because just a 500 error is not meaningful to see the cause of the problem. Ciencia Al Poder (talk) 09:22, 15 October 2015 (UTC)

why was my post removed?

it was the one about the information template

File:Infoerror1.jpg Gmdesignuk (talk) 02:21, 15 October 2015 (UTC)

??? Do you mean Project:Village Pump/Flow/2015#h-Unable_to_install_Information_template-2015-10-14T16:47:00.000Z? Florianschmidtwelzow (talk) 05:27, 15 October 2015 (UTC)

problems to reindex by elasticsearch

i have a problem to reindex my elastisearch database and the reason should be cirrus search. i descripted here on cirrus-talk: https://www.mediawiki.org/wiki/Help_talk:CirrusSearch

i get no answer till today - could someone help me on this forum?

reagards Jan JanTappenbeck (talk) 05:43, 15 October 2015 (UTC)

Need a replacement for SearchUpdate hook

Hi,

My extension https://github.com/mediawiki4intranet/TikaMW has relied on the SearchUpdate hook to extract indexable text from binary file contents. This hook is removed since 1.22. What replacement can I use for it?

TikaMW is an extension that uses https://tika.apache.org/ to extract contents from binary (office, pdf and other formats) documents and add them to indexed text.

I've tried to ask in the mailing list, but got no real answer :)

I know there's a way to override the content extraction method in SearchEngine subclasses, but I don't think it should be a feature of SearchEngine - I think it's something independent from SearchEngine.

So, my question is - what replacement can I use for the SearchUpdate hook? VitaliyFilippov (talk) 09:12, 15 October 2015 (UTC)

Back up mediawiki

Hello,

I installed mediawiki and started my own project. Then I decided to back it up and my ignorant way to do it was to copy the files from the server to my computer.

I deleted everything in the server and the database in my server provider as well.

I try to find the files with the articles of my wiki in the folder MediaWiki but I can't.

Did I loose everything? Is there any way I could recover my articles?

Thank you very much. 37.120.56.180 (talk) 18:33, 15 October 2015 (UTC)

Well, so...
  • You backup the files
  • Then you delete the files and the database
Obviously you've lost the database, which is where all the content of the wiki was (except images).
If your database server had binary logs enabled, you can restore the database using the binary logs, assuming they're intact. Otherwise, there's nothing you can do to recover the data, unless the wiki is public and google has cached pages of the wiki on the search indexes. Ciencia Al Poder (talk) 19:40, 15 October 2015 (UTC)
I tried, but I wasn't sure what to do with the extensions which didn't have extension.json files... I am falling back to 1.23.10 till things are a bit more stable on the extensions ends. Thanks for the reply Ciencia. MindMyBool (talk) 20:53, 15 October 2015 (UTC)
The extension.json files are not relevant in MediaWiki 1.23 at all. For MediaWiki 1.23 it should be irrelevant, if an extension has such a file or if it has not. MediaWiki 1.25 is the first version to use the new extension registration.
Does maybe your server provider create backups? Maybe they can help you out... 88.130.86.4 (talk) 00:48, 16 October 2015 (UTC)

Slow parsing.

Hello,

I have installed a wiki locally (desktop machine with windows 7) and the loading of each page is very slow. After activation of the debug log I've catched some error messages.

  • On the Main page (page with no text):
    • Tidy error detected!
    • [slow-parse] 9.52
  • On another page (fr:Illbient imported from the frWiki) with some text and one basic infobox:
    • Tidy error detected!
    • [slow-parse] 65.91
    • a json error (see trace below)
JSON error

[error-json] {"id":"d9d02320","type":"ErrorException","file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaStandalone\\LuaStandaloneEngine.php","line":252,"message":"PHP Notice: ","suppressed":true,"url":"/mediawiki/index.php/Illbient","backtrace":[{"function":"handleError","class":"MWExceptionHandler","type":"::","args":["integer","string","string","integer","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaStandalone\\LuaStandaloneEngine.php","line":252,"function":"trigger_error","args":["string"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaStandalone\\LuaStandaloneEngine.php","line":114,"function":"__construct","class":"Scribunto_LuaStandaloneInterpreter","type":"->","args":["Scribunto_LuaStandaloneEngine","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaCommon\\LuaCommon.php","line":95,"function":"newInterpreter","class":"Scribunto_LuaStandaloneEngine","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaStandalone\\LuaStandaloneEngine.php","line":8,"function":"load","class":"Scribunto_LuaEngine","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaCommon\\LuaCommon.php","line":197,"function":"load","class":"Scribunto_LuaStandaloneEngine","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaCommon\\LuaCommon.php","line":847,"function":"getInterpreter","class":"Scribunto_LuaEngine","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\engines\\LuaCommon\\LuaCommon.php","line":864,"function":"getInitChunk","class":"Scribunto_LuaModule","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Scribunto\\common\\Hooks.php","line":113,"function":"invoke","class":"Scribunto_LuaModule","type":"->","args":["string","PPTemplateFrame_DOM"]},{"function":"invokeHook","class":"ScribuntoHooks","type":"::","args":["Parser","PPTemplateFrame_DOM","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3771,"function":"call_user_func_array","args":["string","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3505,"function":"callParserFunction","class":"Parser","type":"->","args":["PPTemplateFrame_DOM","string","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Preprocessor_DOM.php","line":1169,"function":"braceSubstitution","class":"Parser","type":"->","args":["array","PPTemplateFrame_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3647,"function":"expand","class":"PPFrame_DOM","type":"->","args":["PPNode_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Preprocessor_DOM.php","line":1169,"function":"braceSubstitution","class":"Parser","type":"->","args":["array","PPTemplateFrame_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Preprocessor_DOM.php","line":1614,"function":"expand","class":"PPFrame_DOM","type":"->","args":["PPNode_DOM","integer"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3644,"function":"cachedExpand","class":"PPTemplateFrame_DOM","type":"->","args":["string","PPNode_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Preprocessor_DOM.php","line":1169,"function":"braceSubstitution","class":"Parser","type":"->","args":["array","PPFrame_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3322,"function":"expand","class":"PPFrame_DOM","type":"->","args":["PPNode_DOM","integer"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":1231,"function":"replaceVariables","class":"Parser","type":"->","args":["string"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":589,"function":"internalParse","class":"Parser","type":"->","args":["string","boolean","boolean"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Cite\\Cite_body.php","line":686,"function":"recursiveTagParse","class":"Parser","type":"->","args":["string"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Cite\\Cite_body.php","line":628,"function":"referencesFormat","class":"Cite","type":"->","args":["string"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\extensions\\Cite\\Cite_body.php","line":559,"function":"guardedReferences","class":"Cite","type":"->","args":["string","array","Parser"]},{"function":"references","class":"Cite","type":"->","args":["string","array","Parser","PPTemplateFrame_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":4212,"function":"call_user_func_array","args":["array","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\CoreParserFunctions.php","line":992,"function":"extensionSubstitution","class":"Parser","type":"->","args":["array","PPTemplateFrame_DOM"]},{"function":"tagObj","class":"CoreParserFunctions","type":"::","args":["Parser","PPTemplateFrame_DOM","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3771,"function":"call_user_func_array","args":["array","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3505,"function":"callParserFunction","class":"Parser","type":"->","args":["PPTemplateFrame_DOM","string","array"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Preprocessor_DOM.php","line":1169,"function":"braceSubstitution","class":"Parser","type":"->","args":["array","PPTemplateFrame_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Preprocessor_DOM.php","line":1614,"function":"expand","class":"PPFrame_DOM","type":"->","args":["PPNode_DOM","integer"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3644,"function":"cachedExpand","class":"PPTemplateFrame_DOM","type":"->","args":["string","PPNode_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Preprocessor_DOM.php","line":1169,"function":"braceSubstitution","class":"Parser","type":"->","args":["array","PPFrame_DOM"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":3322,"function":"expand","class":"PPFrame_DOM","type":"->","args":["PPNode_DOM","integer"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":1231,"function":"replaceVariables","class":"Parser","type":"->","args":["string"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\parser\\Parser.php","line":434,"function":"internalParse","class":"Parser","type":"->","args":["string"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\content\\WikitextContent.php","line":333,"function":"parse","class":"Parser","type":"->","args":["string","Title","ParserOptions","boolean","boolean","integer"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\content\\AbstractContent.php","line":497,"function":"fillParserOutput","class":"WikitextContent","type":"->","args":["Title","integer","ParserOptions","boolean","ParserOutput"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\poolcounter\\PoolWorkArticleView.php","line":140,"function":"getParserOutput","class":"AbstractContent","type":"->","args":["Title","integer","ParserOptions"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\poolcounter\\PoolCounterWork.php","line":123,"function":"doWork","class":"PoolWorkArticleView","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\page\\Article.php","line":674,"function":"execute","class":"PoolCounterWork","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\actions\\ViewAction.php","line":44,"function":"view","class":"Article","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\MediaWiki.php","line":395,"function":"show","class":"ViewAction","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\MediaWiki.php","line":273,"function":"performAction","class":"MediaWiki","type":"->","args":["Article","Title"]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\MediaWiki.php","line":566,"function":"performRequest","class":"MediaWiki","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\includes\\MediaWiki.php","line":414,"function":"main","class":"MediaWiki","type":"->","args":[]},{"file":"C:\\Bitnami\\mediawiki-1.25.2-0\\apps\\mediawiki\\htdocs\\index.php","line":41,"function":"run","class":"MediaWiki","type":"->","args":[]}]} [gitinfo] Computed cacheFile=C:\Bitnami\mediawiki-1.25.2-0\apps\mediawiki\htdocs/cache2/gitinfo/info.json for C:\Bitnami\mediawiki-1.25.2-0\apps\mediawiki\htdocs

Unfortunately, I not able to correct this problem. I can only see with Firebug for Firefox that there is no client-side errors and the problem is server-side.

MediaWiki 1.25.2 (Bitnami stack)

PHP 5.4.24 (cgi-fcgi)

MySQL 5.5.28 ContributorQ (talk) 20:40, 15 October 2015 (UTC)

I don't know what's the problem here, but the real error may be masked because an emtpy trigger_error, which I've reported in T103671 Ciencia Al Poder (talk) 09:44, 16 October 2015 (UTC)
About the slow parsing, might be worth setting up Profiling to see where MediaWiki spends so much time. Also, if you have $wgDBserver set to localhost, change it to 127.0.0.1. Ciencia Al Poder (talk) 09:49, 16 October 2015 (UTC)

Favicon not showing up

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I am trying to add a favicon to my wiki. I followed the guidelines on Manual:$wgFavicon

I put the icon file in the root of my mediawiki install folder.

I think my problem is the path, I entered
$wgFavicon = "../favicon.ico";
Kaysevenmm (talk) 21:49, 15 October 2015 (UTC)
Try it with
$wgFavicon = "/favicon.ico"; 88.130.86.4 (talk) 23:57, 15 October 2015 (UTC)
I tried that but no luck. I was able to get it to show up by adding the icon file to the same folder as the wiki logo image. Kaysevenmm (talk) 19:22, 16 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Dataupload

I just tried upload a picture. It's a .jpg but if i try to upload and click the button an internal error appears which say ,fatal exceptionerroer of type „MWException“'. I enabled the dataupload at installation. Know anybody something? Ballettfreak (talk) 09:38, 16 October 2015 (UTC)
Please provide a stacktrace of the Fatal exception: https://www.mediawiki.org/wiki/How_to_debug AKlapper (WMF) (talk) 16:19, 16 October 2015 (UTC)
I use version 1.25.2 Ballettfreak (talk) 09:40, 16 October 2015 (UTC)
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir" mode 0777 [Called from wfMkdirParents in C:\inetpub\wwwroot\pdvwiki\includes\GlobalFunctions.php at line 2540] in C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php on line 300
Warning: fopen(C:\inetpub\wwwroot\pdvwiki/images/lockdir/sd7477x8mj8bokl0lv7l8is8jrct85z.lock): failed to open stream: No such file or directory in C:\inetpub\wwwroot\pdvwiki\includes\filebackend\lockmanager\FSLockManager.php on line 125
Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php:300) in C:\inetpub\wwwroot\pdvwiki\includes\WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php:300) in C:\inetpub\wwwroot\pdvwiki\includes\WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php:300) in C:\inetpub\wwwroot\pdvwiki\includes\WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\wwwroot\pdvwiki\includes\debug\MWDebug.php:300) in C:\inetpub\wwwroot\pdvwiki\includes\WebResponse.php on line 37
is that enough? Ballettfreak (talk) 13:57, 19 October 2015 (UTC)
The first line is enought: failed to mkdir "C:\inetpub\wwwroot\pdvwiki\images\lockdir". Does the C:\inetpub\wwwroot\pdvwiki\images\l folder have permissions for the webserver to create files and folders on it? Apparently it doesn't. Ciencia Al Poder (talk) 09:33, 20 October 2015 (UTC)

new user page with user name

Hello there!

Is it possible to create a link a user can click, which link shown would automatically show the user's name, for the purpose of creating a template for users to create a page based on his/her name?

*For example, I have created a template called T/newpage

*Then in that template I suggest a page creation using a link like newpage/$1 ($1=username) linking to the template I called T/newpage, so that for example newuser called Istorio automatically create a page called newpage/Istorio just by clicking that link.

What i am asking simply is how can I create a link on a template that will not only pull the name of the registered user, but also create a page using the name of that user.

Many thanks for your help Sylverve (talk) 21:29, 16 October 2015 (UTC)

There is an extension called Extension:MyVariables, which adds the magic word CURRENTUSER.
Sidenote: MediaWiki has a magic word to tell you the sex of a user, but not his name. That's telling! Jörgi123 (talk) 23:38, 16 October 2015 (UTC)
Because of the double curly brackets used for the extention, I am a little confused as to how to fill the new page according to a pre-made temple.
For example mywiki/CURRENTUSER (CURRENTUSER being surrounded by 2 opening and 2 closing closing curly brackets to activate the extention) indeed leads to a page that bears the name of the current user, but I am confused on how to make a link that create a new page with that name based on a template, because linking to a template also seem to involve double curly brackets. Could there be a conflict?
Thank you again Jorgi Sylverve (talk) 21:35, 18 October 2015 (UTC)
CURRENTUSER}}!!!
I like that very much!!!
Thank you so much Jorgi :D
Thanks a lot! Sylverve (talk) 18:44, 18 October 2015 (UTC)

Help upgrading my wiki from 1.24.3 to 1.25.3

Hi how would I upgrade my wiki from 1.24.3 to 1.25.3 via FTP? HurricaneTeen6900 (talk) 23:41, 16 October 2015 (UTC)

See Manual:Upgrading Ciencia Al Poder (talk) 11:10, 17 October 2015 (UTC)

Patch to 1.23.11 breaks wiki because of wfShorthandToInteger call

within includes/Setup.php you added a call to wfShorthandToInteger which is still undefined function until a later included GlobalFunctions.php in the same file.

Neither the update.php nor any frontend page works after patching.

I added the include before that call at line #300 and it works.

The same happend when I extract a fresh tar of the 1.23.11 version. Kkretsch (talk) 18:39, 17 October 2015 (UTC)

Thanks for reporting this. Please see How to report a bug and feel free to report this with steps to reproduce in Phabricator (against the "MediaWiki-General-or-Unknown" project). Thank you for your help! Malyacko (talk) 16:30, 18 October 2015 (UTC)
Sorry, maybe I misunderstand you, but GlobalFunctions.php is loaded in WebStart.php in line #101, before the load of Setup.php in line #159. And even for a command line script, GlobalFunctions.php is loaded before Setup.php.
Can you check, if there is another problem in your setup and if all files was patched correctly? I assume, that you haven't changed any file in mediawiki/core? If not, you should report a bug (like @Malyacko: suggested :) Florianschmidtwelzow (talk) 07:18, 19 October 2015 (UTC)
It patched without any error or warnings.
I'm using php 5.6.13, but that shouldn't be any problem I think.
Since I have two different mediawiki setups with some extensions used in only one or in both installations I still have to try something new for a bug report. Kkretsch (talk) 09:12, 20 October 2015 (UTC)
I struggled with the same problem, until I found out that the culprit was the line 'include_once("extensions/AdminLinks/AdminLinks.php");' at the end of my LocalSettings.php. I am using AdminLinks 0.2, which is the version officially supported for Mediawiki 1.24. Once I commented the line out, the update worked without any further problems. After the update I could re-add the line. Pt (talk) 12:58, 19 October 2015 (UTC)

Extension obsolescence

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


As I get to grips with MW, I am happy to update the docs as I go along. I am looking for something like this: Extension:Livelets and "fixed" the broken example link only to discover the code also seems to have vanished.

What is the right way, here, to flag a project/extension that is defunct?

Cheers

Jon Gerdesj (talk) 22:57, 17 October 2015 (UTC)

For obsolete extensions, you can add the template {{ObsoleteExtension|name of replacement}} on top of the extension page.
However, I do see the extension code in SVN:
https://phabricator.wikimedia.org/diffusion/SVN/browse/trunk/extensions/Livelets/ 88.130.91.54 (talk) 13:24, 18 October 2015 (UTC)
If anybody wanted to maintain the code and take over, see the docs at Gerrit/Project ownership#Requesting repository ownership
(First step would be moving from read-only ancient SVN to Git/Gerrit.) Malyacko (talk) 16:27, 18 October 2015 (UTC)
Thanks. Could have sworn I tried the link in the box at right 8) Think I'll spend more time getting the hang of this MW thing before I start worrying about commit access. Gerdesj (talk) 22:43, 18 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

How to display template inside a infobox?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I have a page with an infobox on the right side, i would like to have additional info thats in a template displayed at the bottom of the infobox or on the right hand side and the article text display as normal on the left.

If I cannot have the template inside the infobox code how can i get the template to show below the infobox and still have all article text to the left. No matter what combination i do i cannot get this to work. Gmdesignuk (talk) 02:40, 18 October 2015 (UTC)

Not sure why you cannot include your template in your infobox code, but anyway, something like <div style="float:right;clear:both;">{{Ardrossan_Railway}}</div> should work. Clump (talk) 13:22, 18 October 2015 (UTC)
thanks that worked Gmdesignuk (talk) 17:11, 18 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Can I generate unidiff from page history by just click?

Is it possible? Are there extension? Ficell (talk) 18:29, 18 October 2015 (UTC)

song interruption

every single song is stopping about half way through Dosomasa (talk) 20:17, 18 October 2015 (UTC)

Seems like this is not MediaWiki question. Or are you talking about song playback in MediaWiki? 88.130.67.139 (talk) 11:44, 19 October 2015 (UTC)

Performance issues

Hi Mediwiki-professionals,

this is my first posting here and a good time to say "Hello everyone!".

I use MW since 1.25.1. My current version is 1.25.3. It is a very small installation, that I use first and last as a personal link page. In most cases, my page appears immediately, but in some cases, it lasts up to one minute, until the page appears. I used GTmetrix and Pagespeed to figure out the reasons, but I couln't find anything. Each time, my WM-Page is analyzed by these tools, it performs very quick.

I have an own managed server, where a few WordPress site are installed. They all work perfect without the issue mentioned here.

Has anyone of you got any idea, how I could solve this issue?

Thank you in advance.

--

Bfn

Michael Silvernerd1 (talk) 09:29, 19 October 2015 (UTC)

How long does it take to save an edit? The same time? Florianschmidtwelzow (talk) 14:20, 19 October 2015 (UTC)
Half a second. Up to now, the performance problems only came up, when I opened the page. It is a personal, password-protected link collection, that I use as startpage in my browsers. Silvernerd1 (talk) 08:43, 20 October 2015 (UTC)
Maybe the slowness happens only on the first load of the page after some time without accessing it? Maybe the server is configured to shut down some worker processes to save resources on the server, and the first connection after a while wakes up a new thread, which may take a bit to initialize. Ciencia Al Poder (talk) 09:29, 20 October 2015 (UTC)
That would be a good explanation. Unfortunately, the performance problem comes up unpredictabily. E.g. creating a new page lasted one minute a short time ago. I have beeen editing my page since a while, and everything worked fine up to that moment. Silvernerd1 (talk) 10:50, 21 October 2015 (UTC)
I further investigated this issue, and I found out, that the main problem is DOM loading and processing (analysis here).
Could this be a problem of accessing ressources like jquery / json / ajax / ... , that are loaded from external servers during runtime? Is it possible, to keep this ressources local? Or to cache them? Silvernerd1 (talk) 07:07, 22 October 2015 (UTC)
It is not a problem of too many page revisions. I deleted all (800 or so) without any success.
It is also not a problem of the complexity of my start page. I declared an empty page as mainpage => no success ...
I have no ideas anymore ... :-(
Any suggestion would be highly appreciated.
--
Bfn
Michael Silvernerd1 (talk) 07:19, 23 October 2015 (UTC)
Whoops, I started replying the other day but I probably got distracted by something and ended up not replying...
The problem is that load.php URL that takes 20 seconds.
The contents of those load.php URLs are cached in database, and then from time to time they're regenerated. I'd think they get regenerated when the URL changes because some dependency script is modified, but that shouldn't happen unless you perform an upgrade or touch some scripts... I'm not a ResourceLoader expert, though
Still, I don't know why it would take so long to serve that URL Ciencia Al Poder (talk) 09:46, 23 October 2015 (UTC)
thank you for your reply.
Is there anything I can do now? Silvernerd1 (talk) 07:13, 24 October 2015 (UTC)
You could add something like this at the end of LocalSettings.php to debug only load.php scripts:
if ( isset( $_SERVER['SCRIPT_NAME'] ) && pathinfo( $_SERVER['SCRIPT_NAME'] )['basename'] == 'load.php' ) {
$wgDebugRawPage = true;
// Uncomment this line to see all SQL queries being done
//$wgDebugDumpSql = true;
// Adapt this path to a directory writable by the webserver
$wgDebugLogFile = sprintf( '/var/log/mediawiki/loadphp-%s.log', substr( md5( $_GET['modules'] ), 0, 5 ) );
}
It will generate a file for each load.php request (so you can inspect each of them separately and they don't end writing on the same log at the same time). The first line of the log should have the request URL so you can differentiate them. Still, it doesn't output many interesting things, and logs don't have timestamp. If that doesn't show anything useful, then you'll need to set up profiling. Note that it requires a php extension that may not be available on your server, which may make that option not viable.
I added this to the code (inside the if) to enable it, after installing xhprof and creating the required database table:
$wgProfiler = array(
'class' => 'ProfilerXhprof',
'output' => array( 'text', 'db' ),
'perHost' => false,
); Ciencia Al Poder (talk) 17:32, 24 October 2015 (UTC)
Sorry for coming back to you so late ...
I created a directory called '/mis-files' with 777 rights directly under the root of my wiki and I added the following code an the end of LocalSettings.php
if ( isset( $_SERVER['SCRIPT_NAME'] ) && pathinfo( $_SERVER['SCRIPT_NAME'] )['basename'] == 'load.php' ) {
    $wgDebugRawPage = true;
    // Uncomment this line to see all SQL queries being done
    $wgDebugDumpSql  = true;
    // Adapt this path to a directory writable by the webserver
    $wgDebugLogFile = sprintf( '$IP/mis-files/loadphp-%s.log', substr( md5( $_GET['modules'] ), 0, 5 ) );
}
Unfortunately, nothing happens. The folder remains empty. Silvernerd1 (talk) 15:22, 2 November 2015 (UTC)
You must change the single quotes in '$IP/mis-files/loadphp-%s.log' with double quotes, otherwise $IP won't be substituted by the real variable value Ciencia Al Poder (talk) 10:57, 3 November 2015 (UTC)
Could be the Ressource Loader. See Project:Support desk/Flow/2015/01#h-ResourceLoader_is_very_slow_on_initial_visit_(low_traffic_wiki)-2015-01-25T15:40:00.000Z Subfader (talk) 14:44, 27 October 2015 (UTC)
Yes, it seems a RL problem. Is there an opened phabricator task about this? That would be interesting Ciencia Al Poder (talk) 10:43, 28 October 2015 (UTC)
I haven't started one tho. Subfader (talk) 12:19, 31 October 2015 (UTC)
I asked my provider's support team to check this issue. They told me, that they checked my site at multiple times of day and that they couldn't find any performance problems.
Since then, I also don't have these problems any more. I suppose, they found the reason and fixed it.
Thank you four your support.
--
Bfn
Michael Silvernerd1 (talk) 06:55, 5 November 2015 (UTC)
Someone cheered too soon. Problem still exists ... :-(
The results of Firefox' network analysis -> http://silvernerd1.de/firefox_network_analysis_01.jpg .
The paramaters of the request, that needs 86 seconds, are "load.php?debug=false&lang=de&modules=startup&only=scripts&skin=vector&*"
The correspondig MW-logfile -> http://silvernerd1.de/wgDebugLogFile_2015_11_05_10_41_30.log
Do these files help us?
--
Bfn
Michael Silvernerd1 (talk) 09:56, 5 November 2015 (UTC)

I would like to delete and remove my account on here please.

All of my photos are being nominated for deletion so I would like to remove and close down my account.

Thank You OfficialEdidion (talk) 09:59, 19 October 2015 (UTC)

Hi, an account can't be deleted, see the Wikipedia FAQ. Florianschmidtwelzow (talk) 13:22, 19 October 2015 (UTC)

How do I increase the font size on my wiki sidebar?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I am setting up a wiki and would like to make the sidebar menus font a little bigger without changing the font on the regular articles. Kaysevenmm (talk) 13:26, 19 October 2015 (UTC)

That works with something like the following CSS code:
div#mw-panel div.portal h3,
div#mw-panel div.portal div.body ul li {
font-size: 1.0em; /* default is 0.75em */
}
which you should put into the wiki page MediaWiki:Common.css in your wiki. 88.130.67.139 (talk) 15:54, 19 October 2015 (UTC)
This worked great thank you. Kaysevenmm (talk) 17:16, 20 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Colocar Páginas por ordem alfabética

Boa tarde.

Gostaria de saber como faço para colocar as páginas por ordem alfabética.

Obrigado Arturmafezzoli (talk) 18:09, 19 October 2015 (UTC)

Special:AllPages lista todas las páginas por ordem alfabética. No estoy seguro de si es lo que necesitas (disculpa por falar en "portuñol", probablemente lo entiendes mejor que en inglés) Ciencia Al Poder (talk) 09:36, 20 October 2015 (UTC)

Make Table of Contents show/hide into a button

By default it looks like "Content [show]", where you have to click "show" for the ToC to display.

I want to change it into something that looks more like this: "Content v", where the user can click the whole of "Content v", which then toggles to something like "Content ^".

See the WebM below for what I mean. Right now, I have to click the icon which is my replacement for the "[show/hide]" button. I want to be able to click the full button.

http://webmshare.com/play/xaK38

I hope someone can help me!

The code for editing this is located in "/resources/src/mediawiki/mediawiki.toc.js". It currently look like this:

  ( function ( mw, $ ) {
  	'use strict';
  
  	// Table of contents toggle
  	mw.hook( 'wikipage.content' ).add( function ( $content ) {
  		var $toc, $tocTitle, $tocToggleLink, $tocList, hideToc;
  		$toc = $content.find( '#toc' );
  		$tocTitle = $content.find( '#toctitle' );
  		$tocToggleLink = $content.find( '#togglelink' );
  		$tocList = $toc.find( 'ul' ).eq( 0 );
  
  		// Hide/show the table of contents element
  		function toggleToc() {
  			if ( $tocList.is( ':hidden' ) ) {
  				$tocList.slideDown( 'fast' );
  				$tocToggleLink.html( /* mw.msg( 'hidetoc' ) */ '<span class="hidetoc"></span>' );
  				$toc.removeClass( 'tochidden' );
  				$.cookie( 'mw_hidetoc', null, {
  					expires: 30,
  					path: '/'
  				} );
  			} else {
  				$tocList.slideUp( 'fast' );
  				$tocToggleLink.html( /* mw.msg( 'showtoc' ) */ '<span class="showtoc"></span>' );
  				$toc.addClass( 'tochidden' );
  				$.cookie( 'mw_hidetoc', '1', {
  					expires: 30,
  					path: '/'
  				} );
  			}
  		}
  
  		// Only add it if there is a complete TOC and it doesn't
  		// have a toggle added already
  		if ( $toc.length && $tocTitle.length && $tocList.length && !$tocToggleLink.length ) {
  			hideToc = $.cookie( 'mw_hidetoc' ) === '1';
  
  			$tocToggleLink = $( '<a href="#" id="togglelink"></a>' )
  				.html( hideToc ? /* mw.msg( 'showtoc' ) */ '<span class="showtoc"></span>' : /* mw.msg( 'hidetoc' ) */ '<span class="hidetoc"></span>' )
  				.click( function ( e ) {
  					e.preventDefault();
  					toggleToc();
  				} );
  
  			$tocTitle.append(
  				$tocToggleLink
  					.wrap( '<span class="toctoggle"></span>' )
  					.parent()
  					//	.prepend( ' [' )
  					//	.append( '] ' )
  			);
  
  			if ( hideToc ) {
  				$tocList.hide();
  				$toc.addClass( 'tochidden' );
  			}
  		}
  	} );
  
  }( mediaWiki, jQuery ) );
  

The code that displays the button, located in "/includes/Linker.php" looks like this:

           /**
   	 * Wraps the TOC in a table and provides the hide/collapse javascript.
   	 *
   	 * @param string $toc Html of the Table Of Contents
   	 * @param string|Language|bool $lang Language for the toc title, defaults to user language
   	 * @return string Full html of the TOC
   	 */
   	public static function tocList( $toc, $lang = false ) {
   		$lang = wfGetLangObj( $lang );
   		$title = wfMessage( 'toc' )->inLanguage( $lang )->escaped();
   
   		return '<div id="toc" class="toc">'
   			. '<div id="toctitle" class="roundedCorner togglelink2"><h2>' . $title . "</h2></div>\n"
   			. $toc
   			. "</ul>\n</div>\n";
   	}
  

92.110.165.206 (talk) 20:33, 19 October 2015 (UTC)

The "show" and "hide" texts should be changed from MediaWiki:Showtoc and MediaWiki:Hidetoc pages respectively.
Couldn't understand the second part, your webmshare link is not working. AhmadF.Cheema (talk) 18:38, 27 November 2018 (UTC)

Script error? on my article

I created a page and the code is showing within the article and still shows whatever I change

The main article

http://gmdesign.org.uk/wiki33/index.php?title=Fairlie_Pier_Railway_Station

Template the script is on

http://gmdesign.org.uk/wiki33/index.php?title=Template:Rail_line

its probably as simple as a missing character but cannot figure out what. 86.28.140.107 (talk) 00:18, 20 October 2015 (UTC)

the error is at the bottom of the page within the historical box 86.28.140.107 (talk) 00:19, 20 October 2015 (UTC)
it should look like this
File:Boxerror.jpeg 86.28.140.107 (talk) 00:23, 20 October 2015 (UTC)
do you mean the <div style="height:8px; background-color:#88dc7c; border:none; margin:0;" />
Try using <div></div> instead of <div /> Ciencia Al Poder (talk) 09:45, 20 October 2015 (UTC)
i am not able to do that as it does not have <div>
here is the script
{{s-start}} 
|- style="text-align: center;"
{{#if:{{{hide1|}}}||{{!}} rowspan="{{{rows1|1}}}" style="border-left: 0px none; border-right: 1px #aaa solid; border-top: 1px #aaa solid; border-bottom:{{#ifeq:{{{b}}}|d|dashed 1px #aaa|0px none}};"{{!}} {{#if:{{{previous|}}}|{{{previous}}}|''Terminus''}}}}
| style="background:#; border-left: 0px none; border-right: 0px none; border-top:; border-bottom:;" | &nbsp;
{{#if:{{{hidemid|}}}||{{!}} rowspan="{{{rowsmid|1}}}" style="text-align: center; border-left: 1px #aaa solid; border-right: 1px #aaa solid; border-top:solid 1px #aaa; border-bottom:{{#ifeq:{{{b}}}|d|dashed 1px #aaa|0px none}};" {{!}} {{{route}}}{{#if:{{{lightcol|}}}|<div style="height:8px; background-color:#{{{lightcol}}}; border:none; margin:0;" />}}}}
| style="background:#; border-left: 0px none; border-right: 0px none; border-top:; border-bottom:;" | &nbsp;
{{#if:{{{hide2|}}}||{{!}} rowspan="{{{rows2|1}}}" style="border-left: 1px #aaa solid; border-right: 0px none; border-top: 1px #aaa solid; border-bottom:{{#ifeq:{{{b}}}|d|dashed 1px #aaa|0px none}};"{{!}}{{#if:{{{next|}}}|{{{next}}}|''Terminus''}}}}
{{s-end}}
86.28.140.107 (talk) 02:52, 21 October 2015 (UTC)
ignore that as it wont let me show full script.
please view the script on this link
http://gmdesign.org.uk/wiki33/index.php?title=Template:Rail_line
it is the last few lines that the thing is on 86.28.140.107 (talk) 02:53, 21 October 2015 (UTC)
itshould look like this File:Boxerror.jpeg 86.28.140.107 (talk) 02:56, 21 October 2015 (UTC)
it indeed has a <div /> (with attributes on it, that for brevity I don't think it's relevant to post here) Ciencia Al Poder (talk) 09:13, 21 October 2015 (UTC)

Internal Error only on 'Special:RecentChanges'

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 get the following only on Special:RecentChanges page after installing The MediaWiki Language Extension Bundle.
Search doesn't bring up any results so help is appreciated. (MW1.25.1,SMW2.2,PHP5.4.37,Mysql5.1.73)
[60b41a16] /info/Special:RecentChanges
MWException from line 226 of
/home/dl88008/public_html/w/includes/Hooks.php: Detected bug in an
extension! Hook CCFilters::user has invalid call signature; Parameter 1
to CCFilters::user() expected to be a reference, value given
Backtrace:
#0 /home/dl88008/public_html/w/includes/specials/SpecialRecentchanges.php(263): Hooks::run(string, array, string)
#1
/home/dl88008/public_html/w/includes/specials/SpecialRecentchanges.php(231):
SpecialRecentChanges->runMainQueryHook(array, array, array, array,
array, FormOptions)
#2
/home/dl88008/public_html/w/includes/specialpage/ChangesListSpecialPage.php(91):
SpecialRecentChanges->doMainQuery(array, FormOptions)
#3 /home/dl88008/public_html/w/includes/specialpage/ChangesListSpecialPage.php(52): ChangesListSpecialPage->getRows()
#4 /home/dl88008/public_html/w/includes/specials/SpecialRecentchanges.php(60): ChangesListSpecialPage->execute(NULL)
#5 /home/dl88008/public_html/w/includes/specialpage/SpecialPage.php(384): SpecialRecentChanges->execute(NULL)
#6 /home/dl88008/public_html/w/includes/specialpage/SpecialPageFactory.php(582): SpecialPage->run(NULL)
#7 /home/dl88008/public_html/w/includes/MediaWiki.php(267): SpecialPageFactory::executePath(Title, RequestContext)
#8 /home/dl88008/public_html/w/includes/MediaWiki.php(566): MediaWiki->performRequest()
#9 /home/dl88008/public_html/w/includes/MediaWiki.php(414): MediaWiki->main()
#10 /home/dl88008/public_html/w/index.php(41): MediaWiki->run()
#11 {main}

DaveLMW 1.25.1, PHP 5.4.37, MySQL5.1.73-cll SMW 2.2 04:07, 20 October 2015 (UTC)

Furthermore, you are running an old version of MediaWiki which has security issues. Please upgrade: Download Malyacko (talk) 11:46, 20 October 2015 (UTC)
1.25.1 is an "old version of Mediawiki"? BTW, I have the same exact problem on another install of MLEB on MW 1.25.2 which I'm doing concurrently. DaveLMW 1.25.1, PHP 5.4.37, MySQL5.1.73-cll SMW 2.2 13:47, 20 October 2015 (UTC)
Looking at Extension talk:CleanChanges it seems a problem with CleanChanges extension. Be sure you use the most recent version of the extension Ciencia Al Poder (talk) 09:40, 20 October 2015 (UTC)
RESOLVED - the MLEB had an old version of CleanChanges extension. DaveLMW 1.25.1, PHP 5.4.37, MySQL5.1.73-cll SMW 2.2 15:20, 20 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Article must be approved before being published

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I would like to setup my companies wiki so then when a user creates an article it must be approved or vetted before it posted.

I am not sure how to set this up, currently as soon as a user post an article it is live. Kaysevenmm (talk) 17:21, 20 October 2015 (UTC)

Look at Extension:Approved Revs Ciencia Al Poder (talk) 19:04, 20 October 2015 (UTC)
This seems to be what I am looking for...thank you Kaysevenmm (talk) 12:41, 22 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Parsing template into a variable

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hello there.

On my wiki, a page creation is dependent on a variable: {{USERNAME}} but as far as I understand, for a page to be populated by a template content, one need to insert a hook on that page. Unfortunately, on my wiki, a page creation is done by following a link based on a variable, so I cannot insert the hook in advance, because I don't know the name of the page that will be created, How can I then create a link that BOTH create a new page (called by the variable) and it's content substituted by a template content, at the same time?

What would the parsing for this link be?

For example, the creating link is currently http://mywiki/{{USERNAME}} and that creates a new page. Should I enter something like http://mywiki/{{USERNAME}}|{{template:new}} to have that new page content automatically substituted by the template's content?

Or is there an extension for it? Many thanks in advance Sylverve (talk) 23:44, 20 October 2015 (UTC)

use the preload parameter. See Manual:Parameters to index.php#Options affecting the edit form Ciencia Al Poder (talk) 09:22, 21 October 2015 (UTC)
Wow, fantastic, thank you so much Ciencia!
So now I can use http://mywiki/{{USERNAME}}?action=edit&section=new&preload=template and it works!!!
That's so nice of you to help, I appreciate. Sylverve (talk) 13:12, 21 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Search autocomplete not working after update

I updated from 1.18 to 1.25 and autocomplete seems to have failed, I've done a fair bit of searching and the information I'm finding seems to all be out of date, apparently it should just work by default now, I'm not seeing any errors in the apache log and when I look on dev tools I see

<div id="simpleSearch">

   

<input id="searchInput" type="search" accesskey="f" title="Search Archives [f]" placeholder="Search" name="search"></input>     <input type="hidden" name="title" value="Special:Search"></input>     <input id="mw-searchButton" class="searchButton mw-fallbackSearchButton" type="submit" title="Search the pages for this text" value="Search" name="fulltext"></input>     <input id="searchButton" class="searchButton" type="submit" title="Go to a page with this exact name if exists" value="Go" name="go"></input>

</div>

As compared to other searchboxes on other sites where there is an Autocomplete option.

Any suggestions?

SematicMediaWiki installed 129.215.210.114 (talk) 08:19, 21 October 2015 (UTC)

I should mention I retained my old LocalSettings.php, though I removed the old settings for suggest $wgEnableMWSuggest. Unfortunately I'm not supposed to allow access to people outside our department to the data. 129.215.210.114 (talk) 11:48, 21 October 2015 (UTC)
I had that problem during upgrades as well. Try clearing all caches: On the server, in your browser and where else you might have cached data. That includes the objectcache database table of MediaWiki; its data can be truncated. That way you should get the latest JavaScript files.
If that did not help, you should monitor the HTTP requests, which happen when you try searching for something. I guess you might then see requests for missing files there... 88.130.127.4 (talk) 13:24, 21 October 2015 (UTC)
I'm not seeing any GET requests sent while I'm typing. I have a job queue a mile long that is currently being run, that would seem to be irrelevant to this issue though. 129.215.210.114 (talk) 15:24, 21 October 2015 (UTC)
You probably have a script error somewhere preventing the autocomplete script from working. Check your console. 121.214.36.65 (talk) 06:11, 22 October 2015 (UTC)
http://129.215.210.119/wiki/index.php/Main_Page
I'm not seeing anything unusual in the console either.
http://129.215.210.119/wiki/index.php/Main_Page
I've created a temporary login:guest - guest1
If someone could take a quick look and tell me if I'm being an idiot I'd be very grateful. 129.215.210.114 (talk) 08:36, 22 October 2015 (UTC)
From the URL, which you linked, I do not get any response. 88.130.81.168 (talk) 22:05, 22 October 2015 (UTC)

upgrade from mediawiki 1.6.10 to 1.25.3

Dear Support desk,

I have a backup of an old site not used in last period with an old version of mediawiki: 1.6.10.

I would like to restore it but the restore doesn't work.

I have understand that to run it I have to upgrade it to last version 1.25.3 because the 1.6.10 was running with old MYSQL 4 and PHP 4 (my actually server have MYSQL 5 and PHP 5).

But the directly upgrade from 1.6.10 to 1.25.3 doesn't work.

So, how can I do to resolve this problem?

Can I resolve doing more step upgrading gradually from older to less older version of mediawiki?

Best wishes

Tommaso Tozzi 93.45.77.156 (talk) 18:03, 21 October 2015 (UTC)

Hi I am not sure which mediawiki version supported upgrading from that old release but mediawiki 1.25 dosent support upgrading from that old. You may want to try mediawiki 1.15 then 1.17 or 18 then up to 1.25. 151.225.22.50 (talk) 19:56, 21 October 2015 (UTC)
Yes, upgrading gradually may be desirable for this situation. You can try for example upgrading to 1.15 or 1.19 first. You can get older versions from https://releases.wikimedia.org/mediawiki/ Ciencia Al Poder (talk) 20:05, 21 October 2015 (UTC)

Disable Talk pages completely

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I would like to disable the Talk pages completely. Not just hiding the link with CSS. Is there any way to do this? 92.110.165.206 (talk) 18:47, 21 October 2015 (UTC)

In short: No. See https://phabricator.wikimedia.org/T35298 Subfader (talk) 14:56, 27 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

internal error 500

Hello guys, the server of my website has changed, and after it I started to get internal server error 500 (chrome) or blank page (firefox) when I try to access my wiki.

I don't know why it's happening, I tried the solution that this guy posted: Project:Support desk/Flow/2012/12#c-ScottMH-2012-12-28T05:43:00.000Z-Ciencia_Al_Poder-2012-12-18T10:13:00.000Z

But the same thing still happening.

Now comes the WEIRD part, I took an old version of my wiki, something like 6 months ago restaured this version.

Before it I erased all the files of the actual wiki and the actual myslq database.

After I restore this old version with the old mysql exactly the same error appears, what doesn't make sense, since this old version has nothing with the actual version and I know that this old version was working perfectly before because I used it once.

Does anyone have any idea? 37.228.233.142 (talk) 19:49, 21 October 2015 (UTC)

an internal server error 500 is a generic error and can have a million causes. There's no way to tell how to fix the problem without knowing the cause of the error. See Manual:How to debug and come again with a descriptive error message (and stack trace if possible) Ciencia Al Poder (talk) 09:50, 22 October 2015 (UTC)

MediaWiki 1.25.3

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.


Should we migrate to version 1.25.3?

Release notes/1.25#MediaWiki 1.25.3 says changes "TODO". So, is it stable now? Waanders (talk) 07:27, 22 October 2015 (UTC)

1.25.3 is a stable release. Releng team hasn't updated the page, though, but you can see the complete RELEASE NOTES in git https://phabricator.wikimedia.org/diffusion/MW/browse/REL1_25/RELEASE-NOTES-1.25 (note that it contains information prepared for 1.25.4, in case it's ever released) Ciencia Al Poder (talk) 09:45, 22 October 2015 (UTC)
MediaWiki 1.25.3 has been released and it is a stable version, which is recommended for production usage.
User Malyacko has just updated the Release Notes page to reflect that. 88.130.81.168 (talk) 13:00, 22 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

libphp5.so not available in Apache modules

Hi team,

I have installed php55 and media wiki 1.25. I have apache 2.2

I have configured everything, But unfortunately, only the text in index.php shows saying that php is not configured properly.

I found that libphp5.so is not available under httpd/modules folder, This might be the reason why php is not configured properly, Do you guys have any idea how i can install this php module for apache?

Any help is appreciated. Thank you 156.77.111.21 (talk) 10:39, 22 October 2015 (UTC)

The answer strongly depends on how software is installed on the unmentioned operating system which runs on your server. Under Linux I would say: Install the missing package(s). Malyacko (talk) 12:25, 22 October 2015 (UTC)

Can a wiki have 2 site names?

I have set fully qualified URL site the localsettings.php

Is it possible to have a second URL address by IP address?

My companies has some dns problems.....this would be a good fall back for me.

Example:

$wgServer = "http://mywiki";

$wgServer ="http://192.168.1.150"; Kaysevenmm (talk) 14:26, 22 October 2015 (UTC)

You could leave $wgServer not set, and it will use the default server name as seen by the webserver, but if the wiki is being accessed from the host name or IP address, some links will likely break, because when one edits a page, the HTML that generates the wiki is cached, and the next user that sees the page, if entering from a different address, will see the cached page that uses the URLs of the previous user, which might be not accessible.
You should set up the DNS correctly, and specify a hostname accessible from all clients on $wgServer.
If the wiki is accessible from an intranet and from the internet, use the public host name as seen from internet, and make the intranet DNS server point the public host name to the wiki on the intranet as well. Ciencia Al Poder (talk) 19:09, 22 October 2015 (UTC)
some links will likely break - most links are relative. So if the path structure stays the same and only the domain changes, then not very many links will break (Links in emails, writing {{SERVER}}, might break though). Bawolff (talk) 01:21, 23 October 2015 (UTC)

Could not insert main page: Invalid callback SFFormUtils::purgeCache in hooks for ArticleSave

An attemp to add a wiki using the install.php script (MW version 1.25.2) gives me an error:

You can install MediaWiki.

Setting up database

done

Creating tables

done

Creating database user

done

Populating default interwiki table

done

Initializing statistics

done

Generating secret keys

done

Prevent running unneeded updates

done

Creating administrator user account

done

Creating main page with default content

Could not insert main page: Invalid callback SFFormUtils::purgeCache in hooks for ArticleSave


Waanders (talk) 10:07, 23 October 2015 (UTC)

This seems a problem with Extension:Semantic Forms. I'd say you'll need to disable this extension during install, and enable it afterwards Ciencia Al Poder (talk) 10:57, 24 October 2015 (UTC)

VisualEditor

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hello.

How to activate the VisualEditor on my Wiki, in MediaWiki 1.25.2?

I go to my preferences but there is nothing.

Thank You 90.13.146.132 (talk) 10:52, 23 October 2015 (UTC)

Hi,
To activate VisualEditor, you need Extension:VisualEditor
To active Extension:WikiEditor, you simply need to add script to Localsettings.php: 
# Enables use of WikiEditor by default but still allows users to disable it in preferences
$wgDefaultUserOptions['usebetatoolbar'] = 1;
# Enables link and table wizards by default but still allows users to disable them in preferences
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
# Displays the Preview and Changes tabs
$wgDefaultUserOptions['wikieditor-preview'] = 1;
# Displays the Publish and Cancel buttons on the top right side
$wgDefaultUserOptions['wikieditor-publish'] = 0;
Best, 146.255.183.200 (talk) 13:43, 23 October 2015 (UTC)
Thank You :) 90.13.146.132 (talk) 09:19, 24 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Extension

Hi,

Is it an extension that page (Project:Support desk) is running? I'd like to add support page like that to my own wiki.

Best, 146.255.183.200 (talk) 13:02, 23 October 2015 (UTC)

See Extension:Flow Cavila 14:48, 23 October 2015 (UTC)

Question about alphanumeric natural sorting of pages

...by which I mean the kind of sorting that sorts page "b9" before "b1000". I was wondering which of the algorithms listed at [[Manual:$wgCategoryCollation]] (if any) support this functionality. Cavila 14:41, 23 October 2015 (UTC)

I don't think you can achieve that with collation, because that's supposed to control order of specific characters, so it would match "9" against "1", not "1000". Ciencia Al Poder (talk) 10:46, 26 October 2015 (UTC)
Thanks, I was afraid of that. UCA [http://unicode.org/reports/tr10/] (esp. #1.4 Customization) basically says that it's one of those things, along with case ordering and script order, that you may want to customise but offers no further hints or advice. It looks like a 'natural' desideratum and T8948 (from 2006) was on it for a moment, but unfortunately, there's little or no sign of certain progress. I'll keep my eyes open. Cavila 12:42, 26 October 2015 (UTC)
Apparently, some discussion took place last year, with some suggesting use of the ICU library for custom collations:
https://meta.wikimedia.org/wiki/Community_Tech/Numerical_sorting_in_categories
https://phabricator.wikimedia.org/T120854 Cavila 19:59, 23 January 2016 (UTC)

Error while updating new extensions on MediaWiki v1.25.3

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I'm getting an error while updating MyWiki:

[54375921] /wiki/mw-config/?page=ExistingWiki MWException from line 337 of /users/suriyaakudo/www/wiki/includes/MagicWord.php: Error: invalid magic word 'babel'

Backtrace:

#0 /users/suriyaakudo/www/wiki/includes/MagicWord.php(262): MagicWord->load(string) #1 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(5182): MagicWord::get(string) #2 /users/suriyaakudo/www/wiki/extensions/v1.25/Babel/BabelStatic.class.php(22): Parser->setFunctionHook(string, array) #3 [internal function]: BabelStatic::onParserFirstCallInit(Parser) #4 /users/suriyaakudo/www/wiki/includes/Hooks.php(209): call_user_func_array(string, array) #5 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(310): Hooks::run(string, array) #6 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(320): Parser->firstCallInit() #7 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(5025): Parser->clearState() #8 /users/suriyaakudo/www/wiki/includes/parser/Parser.php(405): Parser->startParse(Title, ParserOptions, integer, boolean) #9 /users/suriyaakudo/www/wiki/includes/installer/Installer.php(630): Parser->parse(string, Title, ParserOptions, boolean) #10 /users/suriyaakudo/www/wiki/includes/installer/WebInstaller.php(676): Installer->parse(string, boolean) #11 /users/suriyaakudo/www/wiki/includes/installer/WebInstallerPage.php(392): WebInstaller->getInfoBox(string) #12 /users/suriyaakudo/www/wiki/includes/installer/WebInstallerPage.php(380): WebInstallerExistingWiki->showKeyForm() #13 /users/suriyaakudo/www/wiki/includes/installer/WebInstaller.php(280): WebInstallerExistingWiki->execute() #14 /users/suriyaakudo/www/wiki/mw-config/index.php(77): WebInstaller->execute(array) #15 /users/suriyaakudo/www/wiki/mw-config/index.php(36): wfInstallerMain() #16 {main}

Link to installation page: http://suriyaakudo.bplaced.net/wiki/mw-config/?page=ExistingWiki Suriyaa Kudo (iSC Inc.) (talk) 16:23, 23 October 2015 (UTC)

This is a known problem, we are working on it. The problem has been filed as Phab:T69877  « Saper // talk »  22:30, 23 October 2015 (UTC)
The workaround for now is to disable the babel extension during upgrade, and re-enable it again when you're done Ciencia Al Poder (talk) 10:51, 24 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Losing pages in big category from template

Say "Template:Infobox" adds articles to "Category:Infobox pages" (a hidden category). I have ~100K pages using that template.

Since my upgrade from MW 1.22 to 1.25.2 the category is losing pages while actually more pages are added, i.e. the category and PAGESINCAT read ~85K pages. New ones are added some existing seem to fall out.

When I edit missing pages, the bottom info "X hidden categories" is indeed empty. These pages are really not in the catgory anymore altho they were not edited for ages. After saving they're added again to the category.

What could cause this? Subfader (talk) 10:01, 24 October 2015 (UTC)

Maybe an edit on the template (or the upgrade itself) triggered those pages to force a refresh links job, and the jobs are somewhat failing to parse the pages correctly (for example, they delete categories on the page prior to reparse it, and the parsing leads to any category because a parsing error)
If jobs are running from command line, something must be different which makes the parse to fail. Maybe you're using a Lua module and from command line it fails? Ciencia Al Poder (talk) 10:50, 24 October 2015 (UTC)
I'm not using Lua.
runJobs runs every few minutes.
It affects all categories from that template. All are shrinking.
The template was indeed changed after the update. But it works fine since new pages are in the desired category.
But updating the template doesn't cause the pages to not be in the category until runJobs parses the pages again. Also, then all pages would be affected, not just a few. I see no odd similarities in the lost pages.
The PHP error log and $wgDebugLogFile show no related entries when I

A little help please :)

Hello,

I have some question that I would like to finally finally some answers!!

After my navigation in the FAQ, the manual and everything else, I got lost..

Maybe the answers that I'm looking for are somewhere here. If so, sorry for wasting your time! :)

I have the following questions:

- How to make specific external links open in a new tab or window?? I found something here but it is only for every external link and not the ones that I want.

- How can I open a file (for example a .docx or .xlsx) and modify it? When I create a link to a .docx or .xlsx I can only read it, not modify it.

- How can I make a link in order to open the folder (when I put the path) and not a printable page? Actually I want to open the folder in a windows explorer that I can modify also.

Thanks for your time. Mrala84 (talk) 13:02, 24 October 2015 (UTC)

See Snippets/Open specific external links in new window
If you want to modify any uploaded document, just like what happens with any image, you must save the edited document on your disk and upload it again.
You can't make a link open in windows explorer AFAICT Ciencia Al Poder (talk) 18:56, 24 October 2015 (UTC)

AS400 // DB2

How can I install MediaWiki on a DB2 database on AS400 ?? 186.32.12.214 (talk) 19:17, 24 October 2015 (UTC)

That will be difficult: MediaWiki currently does not support DB2 - at least not out of the box.
See Manual:IBM DB2. If you are a DB programmer, you might be able to get it running again. If that is your plan, you should first post on the development mailing list in order to get some input on how to best implement DB2 support (again). 88.130.95.112 (talk) 23:58, 24 October 2015 (UTC)

incorrect character in mediawiki

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I install mediawiki in my server but see incorrect character in mediawiki. (my language is persian)

Instead of some characters ⟨ symbol show.

how solve this problems?

My Wiki Beginneruser (talk) 08:48, 25 October 2015 (UTC)

I do not see any such character (Firefox 41 browser) on the page that you linked. If there are such characters, please provide a screenshot and browser information. Malyacko (talk) 09:32, 25 October 2015 (UTC)
I use chrome version "46.0.2490.80 m" and
[./File:Incorrect_character_in_mediawiki.jpg ]
in other web browser no problem.
also in persian wikipedia by see chrome
example:https://fa.wikipedia.org/wiki/ویکیپدیای_فارسی Beginneruser (talk) 10:01, 25 October 2015 (UTC)
Looks good to me http://snag.gy/rlspH.jpg
Looks like your computer doesn't have proper fonts installed that support farsi characters. Ciencia Al Poder (talk) 10:40, 25 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

MediaWiki uses Memcached without PHP's memcache?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


My hoster has setup the server with memcached and I use $wgMainCacheType = $wgParserCacheType = $wgMessageCacheType = $wgSessionCacheType = CACHE_MEMCACHED;

Memcached works in the wiki. But php info reads nothing about memcached / memcache.

Does MW use some fallback in such case?

MW 1.2.5.5 | Ubuntu 14.04.2 LTS | Plesk 12 | PHP Version 5.5.9-1ubuntu4.11 (Apache Module) | memcached 1.4.14 Subfader (talk) 14:11, 25 October 2015 (UTC)

Seems so: Memcached#PHP_client_for_memcached Subfader (talk) 15:41, 25 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

my goal is to create a wiki. the link of download of PHP for Windows? I found this link: http://windows.php.net/download/ , but which option I choose? ~ Please New Wiki (talk) 00:31, 26 October 2015 (UTC)

MediaWiki requires PHP 5.3.3 or newer. PHP 5.6 should be fine.
x86 or x64 will depend on your system architecture and OS.
About thread/non thread safe, there's a "Which version do I choose?" panel in the left sidebar with instructions. Ciencia Al Poder (talk) 10:43, 26 October 2015 (UTC)
the difference of Zip for 'Debug Pack'? Please New Wiki (talk) 14:30, 27 October 2015 (UTC)

my database has got smaller

Hi - I have minimal technical knowledge, and have installed MW via cPanel: www.credulism.org . I download a copy of the database most evenings, and since I installed MW, and have been adding content, the database has of course increased in size. However, the latest download is 1.9MB, whereas the previous download - on 22 October - was 5.6MB. I upgraded MW, via cPanel, at some point after 20 October, and this could have been after the 22 October download, although I don't see why this would have caused the reduction in the size of the database. Can anyone give any advice about this? Derrickfarnell (talk) 07:10, 26 October 2015 (UTC)

Maybe that's the result of tables used to cache content being cleared (l10n_cache, objectcache and maybe old entries in recentchanges) Ciencia Al Poder (talk) 10:40, 26 October 2015 (UTC)

MediaWiki application error

I get an error message whenever attempting to copy and paste the wikicode from "wikipedia:stargate (device)" to my installation of MediaWiki. The error message (#500) is from the webhost, reading: "the application you use does not work correctly, …there is a problem in the application." At first I thought it was due to the large size of the wikipage, but I can copy and paste larger wikipages without error. Is it possible there is something in the wikicode itself on that particular Wikipedia page that is causing an error to MediaWiki? http://nicoleruizsharp.altervista.org/wiki/index.php?title=Category:Transwiki ~ Nicole Sharp (talk) 11:43, 26 October 2015 (UTC)

I think I might have narrowed down the problem. There definitely seems to be something in the wikicode itself from Wikipedia that causes MediaWiki to crash. I tried copying and pasting just the section "wikipedia:Stargate (device)#Symbols at Destiny" to http://nicoleruizsharp.altervista.org/wiki/index.php?title=NikkiWiki:Sandbox#stargate and MediaWiki still crashes. Any idea what is going on there? ~ Nicole Sharp (talk) 12:13, 26 October 2015 (UTC)
http://nicoleruizsharp.altervista.org/wiki/index.php?title=NikkiWiki:Sandbox#stargate looks exactly like https://en.wikipedia.org/wiki/Stargate_(device)#Symbols_at_Destiny here. What makes you think that something crashed or that something goes wrong? Malyacko (talk) 23:47, 26 October 2015 (UTC)
Yes, I was surprised that took. I still got the #500 application error when copying and pasting the section/table into my sandbox, but it does seemed to have saved anyway. However, I still cannot get the entire Wikipedia page ("wikipedia:stargate (device)") copied to http://nicoleruizsharp.altervista.org/wiki/index.php?title=Transwiki:wikipedia:stargate_(device) . I am able to copy and paste larger Wikipedia pages than that one, so it is not the size of the page. I am wondering if it has anything to do with the large number of scalable vector graphics (SVGs) used for the stargate glyphs? But it still doesn't make sense to me, isn't wikicode just plaintext? Why should it matter what is in the code when copying and pasting? Only thing I can think of is maybe there is some unusual Unicode somewhere that can't be saved into MySQL, but I installed MediaWiki as binary instead of UTF-8, so I wouldn't think that to be a problem? The hieroglyphics appear to be displayed using a local Wikipedia script instead of typed Unicode characters, so that isn't it. Nicole Sharp (talk) 02:13, 27 October 2015 (UTC)
I am curious if anyone else has a MediaWiki installation they can try to duplicate the error by copying and pasting that Wikipedia page into their wiki. Otherwise perhaps the fault might be with the webhost AlterVista instead of MediaWiki. I still have all of the default settings set for LocalSettings.php. Nicole Sharp (talk) 02:07, 27 October 2015 (UTC)
FYI, I was able to save to my MediaWiki sandbox here on Wikimedia with no problem, which doesn't seem to help though. "user:Nicole Sharp/sandbox." ~ Nicole Sharp (talk) 02:18, 27 October 2015 (UTC)

How to hide pages of a namespace from random calls?

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Good afternoon.

How can I hide articles of a special namespace (e.g. "Sandbox" or "Playground") from being called by clicking the "random article"-link?

My aim is to have a namespace, that is available for our authors only where we can edit pages before their final release.

Kind regards

Thomas Thomas Ingenpass (talk) 11:47, 26 October 2015 (UTC)

You can use the SpecialRandomGetRandomTitle hook to edit the condition and exclude those pages Ciencia Al Poder (talk) 20:52, 29 October 2015 (UTC)
Hi there.
Sorry for being late in reply but the problem is solved. Not with that Hook named by Ciencia but with the externsion "Exclude Random". It works fine here (http://wiki.utdx.de).
Again sorry for my delay in replying. Kind regards and all the best for 2016!
Thomas Thomas Ingenpass (talk) 16:09, 30 December 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Unable to login after logging out.

Hi guys!

I am not able to log in after logging out.

The user entries are still in my db, I keep getting incorrect password or user name.

I changed passwords using changepassword.php and still it does not work.

I don't understand what is going on.

Tried to search but nothing comes close.

Am I missing something?

Thanks in advance.

Eugene Obvsgene (talk) 11:50, 26 October 2015 (UTC)

What exactly happens / is shown when you log in? Which MediaWiki version is this about? Malyacko (talk) 23:43, 26 October 2015 (UTC)
Ok I guess I cant attach a picture.
It just gives me a red box that says "Login error, Incorrect password entered. Please try again." but I know for sure that the password is correct. I even tried changing it with maintenance/changepassword.php. It's kinda weird but the first account that mediawiki creates for me is also not working.
MW 1.25.2 Obvsgene (talk) 04:54, 27 October 2015 (UTC)
anyone have any idea? still having the same issue... Obvsgene (talk) 05:33, 30 October 2015 (UTC)
I don't know what may be the issue. You may try to set a debug log as explained in Manual:How to debug and see if it prints something relevant for your issue.
You can also try to reset your password to get a temporary password by email.
When using changepassword.php be sure to not use non-ascii characters in case the shell has problems reading that could result in a mangled password. Ciencia Al Poder (talk) 17:39, 30 October 2015 (UTC)

My Wiki is not showing what I have been writing

Why is not my writing been showed, not top me or to anyone else. But I can see it under "editing" ? 217.115.58.34 (talk) 13:54, 26 October 2015 (UTC)

What are exact steps to reproduce the problem, step by step? Where exactly is "editing"? Which MediaWiki version is this about? Malyacko (talk) 23:43, 26 October 2015 (UTC)

unable to get jQuery:makeCollapsible working in MW 1.23.10

I am working on upgrading our TNG Wiki from MW 1.16.5 to 1.23.10 On the TNG Wiki we used the ToggleDisplay2 extension which is now marked obsolete with a reference to use the jQuery:makeCollapsible

ResourceLoader/Modules#jquery.makeCollapsible

Unfortunately, I am not getting the [Collapse] or [Expand] buttons when I any of the div examples to a page.

Is there anything that needs to be added to common.js or to LocalSettings.php to make the jQuery:makeCollapsible work? Ken Roy (talk) 20:48, 26 October 2015 (UTC)

How do you "mark" a section as collapsable/expandable exactly? Malyacko (talk) 23:41, 26 October 2015 (UTC)
using the class="mw-collapsible" as shown in the examples in Manual:Collapsible elements Ken Roy (talk) 00:01, 27 October 2015 (UTC)
Any errors shown in the developer console of your web browser? Malyacko (talk) 09:50, 27 October 2015 (UTC)
Where would I look for that? What browser has a developer console? Ken Roy (talk) 10:01, 27 October 2015 (UTC)
How do I enter code snippets in this forum? the class-"mw-collapsible" generates the toc type box but there is no button to toggle the Collapse or Expand of the displayed text
Sorry, but the wiki is behind htaccess security to keep search engines out while I develop the upgrade Ken Roy (talk) 10:19, 27 October 2015 (UTC)
Looks like the Expand and Collapse buttons do not show in the WikiEditor Preview but show up after you save the page. Not nice...:) Ken Roy (talk) 10:35, 27 October 2015 (UTC)
1.23.10 Is already quite old again of course. We did do a fair bit of changes to how these kinds of JS tools connect to content. I presume you have "live preview" enabled or something. Disabling that for now will likely make it more predictable. —TheDJ (Not WMF) (talkcontribs) 12:29, 27 October 2015 (UTC)
I chose 1.23.10 since it is marked as a long term support (LTS). Should I use a more current stable MW version even though it is not marked LTS? Ken Roy (talk) 13:30, 27 October 2015 (UTC)
I have the following in LocalSettings.php
# Displays the Preview and Changes tabs
$wgDefaultUserOptions['wikieditor-preview'] = 1;
are you saying I should change that to false or 0? Ken Roy (talk) 13:32, 27 October 2015 (UTC)
Best I can tell, the Wikitext/Preview/Changes tabs still do not work correctly in all cases. I updated MW to use 1.25.3 and the Preview tab in WikiEditor still does not show the [Collapse] and [Expand] buttons when trying to use the jQuery.makeCollapsible.
So I disabled the
# Displays the Preview and Changes tabs
$wgDefaultUserOptions['wikieditor-preview'] = 0; Ken Roy (talk) 10:35, 6 November 2015 (UTC)

embedded search without semantic

can i embed search results into a page such as category :people and search of smith.

basically at bottom of page, i would like a list of pages in a certain category that contain word smith somewhere on the page. i cannot install semantic add ons Rwasson99 (talk) 03:31, 27 October 2015 (UTC)

Then no, such a thing is not possible. —TheDJ (Not WMF) (talkcontribs) 12:30, 27 October 2015 (UTC)
I figured out how to install semantic and tried the following {{#ask: [[category:Meets]]}}
I think that should list all pages with category meet but it returns nothing. What did I miss? In addition if I only want meets pages that have the word smith on the page somewhere, what should I write?
Thanks,
Rich Rwasson99 (talk) 20:39, 27 October 2015 (UTC)

Page wont redirect after saving it

Hi All,

Im quite new to mediawiki and find it amazing my only issue so far is that when i go to save a page after editing it it does not redirect back to the page. The save works fine but i get a page not found error and the link stays the same for action=edit rather than just main_page

Please help!

thank you 89.101.134.169 (talk) 10:29, 27 October 2015 (UTC)

bump and may I say just wow on the spam! 89.101.134.169 (talk) 11:40, 27 October 2015 (UTC)
Does it happen on any edit? Try editing a new page and adding some simple text. If it happens only on selected edits, see Manual:Errors and symptoms#Attempting to save an edit gives you a 403 Forbidden error, or you get redirected to the main page Ciencia Al Poder (talk) 10:52, 28 October 2015 (UTC)

I found an URL to a malware site embedded in wikipedia

Hallo !

I cannot find where I can give this notice. On this URL (https://it.wikipedia.org/wiki/Imposta_sul_reddito_delle_persone_fisiche) you will find on the bottom in the section external links (Collegamenti esterni) in the second line "Calcolo dell'imposta Internazionale" (Calcolate the international tax amount) where this site is linked: http://www.calculateyournetsalary.com/ ATTENTION PLEASE DO NOT VISIT THIS SITE !!!

At first is OK, but if you try to select your countri or fill a field you open a Malware site (WOT).

I think this URL must be eliminated from wikipedia.

Ciao

Massimo MaLo 84.190.182.11 (talk) 15:04, 27 October 2015 (UTC)

Title Error

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.


Kevinobryan83 (talk) 16:14, 27 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Best way to migrate 1.6.1 on Server 2003 to 1.25.x on Server 2012

We have a mediawiki instance running on a now EOL Server 2003 box. That server is currently running MediaWiki: 1.6.1, PHP: 5.1.2 (apache2handler), MySQL:5.0.18-nt. We have a new Server 2012 box built. What is the most straight forward process to migrate this data over to the new 2012 box?

Thank you for any assistance. 67.132.9.201 (talk) 17:53, 27 October 2015 (UTC)

First move the wiki to the new server: Manual:Moving a wiki. (You will not be able to upgrade the wiki to MediaWiki 1.25 while you are still on the old server, so don't try that.)
Make sure that all files are there (e.g. LocalSettings.php and the files from the folder images/) and make sure that the complete database made it onto the new server - without special characters being broken.
At this point the wiki most likely will not be able to run as MediaWiki 1.6.1 does not work with current PHP versions.
After that, follow our page upgrade in order to upgrade to MediaWiki 1.25. Since you are updating from a really old version, you have to do some additional steps: After you have done the upgrade, you should run the refreshLinks.php maintenance script. Also, should you use a wiki as a common repository, make sure to update that repository wiki as well! 88.130.97.213 (talk) 23:12, 27 October 2015 (UTC)

Problem trying to add formatted reference

Just installed MediaWiki on Ubuntu. Everything seems to be working fine so far, except for the following: When I use the <ref> </ref> tags (for references or footnotes) and the <references /> tag, everything works fine. However, in trying to use some templates for a reference, I don't see the results as described.

Here's what I type into the editor:

This is some bit of text with a references<ref>{{Cite book |last= Smith |first= J.E. |date= 2015 |title= Book Title |url= |location= |publisher= |page= 56

 |isbn=}}</ref>

<references />

Here's what I see ...

This is some bit of text with a references[1]

All of the help pages I've found on Mediawiki seem to show that this method should produce a normally formatted reference at <references />. Any idea why "Template:Cite book" shows up rather than the reference itself? Am I supposed to create this empty page with something in it?

Thanks in advance,

Nate 144.80.193.236 (talk) 21:02, 27 October 2015 (UTC)

incorrect manual of Xampp

incorrect manual

I read the manual Manual:Installing MediaWiki on XAMPP

I did what the manual says, but even doing what the manual says, not work, HELP!!! how to create a wiki? !!!

I also saw this video https://www.youtube.com/watch?v=rN_nTdEeoZA

shows what it says in this manual, but does not work

HELP!!! how to create a wiki? !!!

Please New Wiki (talk) 00:35, 28 October 2015 (UTC)

I when I enter in the MediaWiki in the party requesting the user password and database, MediaWiki does not advance.

the problem is the password for the database, but where I will create the database password? Please New Wiki (talk) 00:48, 28 October 2015 (UTC)

Hi!
There is no database password. The password always belongs to a MySQL user. And the MySQL user can have access to a database.
So when you create the new database, make sure that the MySQL user has access to it! In the video that is at minute 1:15 - 1:48! Jörgi123 (talk) 10:42, 28 October 2015 (UTC)
I follow what you say this manual, but see the message that is shown to me
http://i650.photobucket.com/albums/uu230/semnomewiiu/MediaWiki_zpscealf4fl.png
and then when i get there in MediaWiki installation, see
http://i650.photobucket.com/albums/uu230/semnomewiiu/MediaWiki_zpsobz9pj7n.png
and hence does not advance!
what is wrong? Please New Wiki (talk) 15:16, 28 October 2015 (UTC)
MediaWiki tells you "DB connection error. Access denied for user ...".
When you run the CREATE USER statement in phpmyadmin, MySQL responds with error #1065: Query was empty.
Maybe this issue helps you: https://github.com/phpmyadmin/phpmyadmin/issues/11500 Jörgi123 (talk) 16:54, 28 October 2015 (UTC)
I do not understand anything!
which is to configure? Please New Wiki (talk) 17:05, 28 October 2015 (UTC)
Eu não entendi nada! Please New Wiki (talk) 16:57, 28 October 2015 (UTC)
I do not understand anything!
which is to configure? Please New Wiki (talk) 17:02, 28 October 2015 (UTC)
Two things:
- First, make sure that the MySQL user "mediawiki" exists.
- Second, give this user all privileges for that database.
If the user already exists, this works with something like
GRANT ALL ON database.* TO user@'localhost';
If you in fact still have to create the user account, then something like this should do:
GRANT ALL ON database.* TO user@'localhost' IDENTIFIED BY 'password'; Jörgi123 (talk) 19:00, 28 October 2015 (UTC)
this is all confusing, Please New Wiki (talk) 19:31, 28 October 2015 (UTC)
I have to give up, because this thing can not understand
:( Please New Wiki (talk) 19:29, 28 October 2015 (UTC)
This is a MySQL problem. You have to configure MySQL correctly. After that you can use it with MediaWiki.
What will work is the following: XAMPP by default comes with a MySQL user called "root" and this user does not have a password set (the password is empty).
So you can use the MySQL user "root" with an empty password. This user should exist and it should by default have access to all databases. Note that you can use this user, but if your wiki is publicly available, then using the root user without password is absolutely insecure! Jörgi123 (talk) 21:42, 28 October 2015 (UTC)

Topic

I just don't get can I create my own wiki about my topic? B-galactosidase (talk) 00:51, 28 October 2015 (UTC)

gives you create your wiki, this requires download the MediaWiki and other things, I downloaded Xampp to facilitate,
but I do not understand how I will configure
See also
Differences between Wikipedia, Wikimedia, MediaWiki, and wiki Please New Wiki (talk) 01:26, 28 October 2015 (UTC)
I guesses All is same 182.71.64.22 (talk) 09:15, 28 October 2015 (UTC)
are not the same things! Please New Wiki (talk) 15:36, 28 October 2015 (UTC)

"Upgrade an existing installation" error

After disabling the Babel extension, I got an "Upgrade an existing installation" error:

<style>.bpe a:link, .bpe a:visited, .bpe a:active { color: #0b4c8e; text-decoration: none; } .bpe a:hover { color: #0D7CEC; }</style>
Warning: require_once(/users/suriyaakudo/www/wiki/extensions/v1.25/ArticleFeedbackv5/maintenance/../../../maintenance/Maintenance.php) [<a href='http://de.php.net/function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /users/suriyaakudo/www/wiki/extensions/v1.25/ArticleFeedbackv5/maintenance/setArchiveDate.php on line 12
<style>.bpe a:link, .bpe a:visited, .bpe a:active { color: #0b4c8e; text-decoration: none; } .bpe a:hover { color: #0D7CEC; }</style>
Fatal error: require_once() [<a href='http://de.php.net/function.require'>function.require</a>]: Failed opening required '/users/suriyaakudo/www/wiki/extensions/v1.25/ArticleFeedbackv5/maintenance/../../../maintenance/Maintenance.php' (include_path='.') in /users/suriyaakudo/www/wiki/extensions/v1.25/ArticleFeedbackv5/maintenance/setArchiveDate.php on line 12

(Link to MyWiki: http://suriyaakudo.bplaced.net/wiki/mw-config/?page=Upgrade) Suriyaa Kudo (iSC Inc.) (talk) 15:37, 28 October 2015 (UTC)

The problem is that /users/suriyaakudo/www/wiki/extensions/v1.25/ArticleFeedbackv5/maintenance/../../../maintenance/Maintenance.php doesn't exists, which is translated into /users/suriyaakudo/www/wiki/extensions/maintenance/Maintenance.php.
That's because the extension must be under extensions, not under extensions/v1.25 Ciencia Al Poder (talk) 20:56, 29 October 2015 (UTC)
Thanks it works! :) Suriyaa Kudo (iSC Inc.) (talk) 15:05, 30 October 2015 (UTC)
Got a new error but similar to this one. After installung BetaFeatures and Popup extension:
<!DOCTYPE html><html><head><title>Interner Fehler – MediaWiki</title><style>body { font-family: sans-serif; margin: 0; padding: 0.5em 2em; }</style></head><body>

[366a0ad5] /wiki/mw-config/?page=Upgrade MWException from line 185 of /users/suriyaakudo/www/wiki/includes/Hooks.php: Invalid callback CNDatabasePatcher::applyUpdates in hooks for LoadExtensionSchemaUpdates

Backtrace:

#0 /users/suriyaakudo/www/wiki/includes/installer/DatabaseUpdater.php(118):Hooks::run(string, array)
#1 /users/suriyaakudo/www/wiki/includes/installer/DatabaseUpdater.php(183): DatabaseUpdater->__construct(DatabaseMysqli, boolean, NULL)
#2 /users/suriyaakudo/www/wiki/includes/installer/DatabaseInstaller.php(305): DatabaseUpdater::newForDB(DatabaseMysqli)
#3 /users/suriyaakudo/www/wiki/includes/installer/WebInstallerPage.php(647): DatabaseInstaller->doUpgrade()
#4 /users/suriyaakudo/www/wiki/includes/installer/WebInstaller.php(280): WebInstallerUpgrade->execute()
#5 /users/suriyaakudo/www/wiki/mw-config/index.php(77): WebInstaller->execute(array)
#6 /users/suriyaakudo/www/wiki/mw-config/index.php(36): wfInstallerMain()
#7 {main}

</body></html>
Suriyaa Kudo (iSC Inc.) (talk) 17:18, 30 October 2015 (UTC)
CNDatabasePatcher is from Extension:CentralNotice. And I've found it's a bug already reported: T57955 Apparently you'll need to use the update.php command line script to upgrade that extension. Ciencia Al Poder (talk) 15:20, 1 November 2015 (UTC)
I can't use the update.php command line script to upgrade the CentralNotice extension because I'm running my wiki on bplaced.net. Suriyaa Kudo (iSC Inc.) (talk) 09:48, 2 November 2015 (UTC)

How to bulk update pages?

I have a system outputs data that should be loaded as several wiki pages in a MediaWiki 1.25.

I'm able to load the pages for the first time using bulk page creator. My problem is how to reload the pages after making some changes, in order to update them in the wiki.

However, two problems occur:

  • Bulk page creator only creates new pages, but do not update them;
  • I couldn't find out how to permanently delete pages, so that the script could create it again. Even DeleteArchivedRevsions.php don't do the job.

Solving one problem or another would help me a lot.

Thanks,

alan

Alantygel (talk) 09:07, 29 October 2015 (UTC)

Have you considered using the API instead? Malyacko (talk) 11:24, 29 October 2015 (UTC)
If the system, which outputs the data, is on another machine than the MediaWiki server, then the MediaWiki API should in fact allow you to do that.
If the system, which outputs the data, is on the same machine as the server, then you might want to use the edit.php maintenance script. 88.130.80.135 (talk) 12:27, 29 October 2015 (UTC)
Thank you very much, I'll consider both suggestions to solve the problem! Alantygel (talk) 10:18, 31 October 2015 (UTC)

Problems with upgrade to 1.23.5

I've been hitting lots of problems with the upgrade. I've found solutions to most of them, but I'm stuck with this one:

Fatal error: Call to undefined method SMW\MediaWiki\Database::setDBPrefix() in /home/servi145/public_html/wiki/extensions/SemanticMediaWiki/src/MediaWiki/DatabaseConnectionProvider.php on line 52

My LocalSettings.php file is:

<?php

error_reporting( E_ALL );

ini_set( 'display_errors', 1 );

# This file was automatically generated by the MediaWiki 1.25.2

# installer. If you make manual changes, please keep track in case you

# need to recreate them later.

#

# See includes/DefaultSettings.php for all configurable settings

# and their default values, but don't forget to make changes in _this_

# file, not there.

#

# Further documentation for configuration settings may be found at:

# https://www.mediawiki.org/wiki/Manual:Configuration_settings


# Protect against web entry

if ( !defined( 'MEDIAWIKI' ) ) {

exit;

}


## Uncomment this to disable output compression

# $wgDisableOutputCompression = true;


$wgSitename = "Taking Service Forward - the Adaptive Service Model";

$wgMetaNamespace = "Taking_Service_Forward_-_the_Adaptive_Service_Model";


## 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

## (like /w/index.php/Page_title to /wiki/Page_title) please see:

## https://www.mediawiki.org/wiki/Manual:Short_URL

$wgScriptPath = "/wiki";

$wgScriptExtension = ".php";


## The protocol and server name to use in fully-qualified URLs

$wgServer = "http://takingserviceforward.org";


## The relative URL path to the skins directory

$wgStylePath = "$wgScriptPath/skins";

$wgResourceBasePath = $wgScriptPath;


## 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 = "$wgResourceBasePath/resources/assets/wiki.png";


## UPO means: this is also a user preference option


$wgEnableEmail = true;

$wgEnableUserEmail = true; # UPO


$wgEmergencyContact = "apache@takingserviceforward.org";

$wgPasswordSender = "apache@takingserviceforward.org";


$wgEnotifUserTalk = true; # UPO

$wgEnotifWatchlist = true; # UPO

$wgEmailAuthentication = true;


## Database settings

$wgDBtype = "mysql";

$wgDBserver = "localhost";

$wgDBname = "the database";

$wgDBuser = "the user";

$wgDBpassword = "the password";


# MySQL specific settings

$wgDBprefix = "mw_";


# MySQL table options to use during installation or update

$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=utf8";


# Experimental charset support for MySQL 5.0.

$wgDBmysql5 = false;


## 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";


# InstantCommons allows wiki to use images from http://commons.wikimedia.org

$wgUseInstantCommons = true;


## 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_GB.utf8";


## 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;


## 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";


# Site language code, should be one of the list in ./languages/Names.php

$wgLanguageCode = "en-gb";


$wgSecretKey = "19e87cf92c2516c69c5549c0772c25fe4756fb87006dd253cbba912d7cb043e8";


# Site upgrade key. Must be set to a string (default provided) to turn on the

# web installer while LocalSettings.php is in place

$wgUpgradeKey = "d609ebfa22d4b770";


## 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.

$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright

$wgRightsUrl = "https://creativecommons.org/licenses/by-nc-sa/3.0/";

$wgRightsText = "Creative Commons Attribution-NonCommercial-ShareAlike";

$wgRightsIcon = "$wgResourceBasePath/resources/assets/licenses/cc-by-nc-sa.png";


# Path to the GNU diff3 utility. Used for conflict resolution.

$wgDiff3 = "/usr/bin/diff3";


# The following permissions were set based on your choice in the installer

$wgGroupPermissions['*']['edit'] = false;


## Default skin: you can change the default skin. Use the internal symbolic

## names, ie 'vector', 'monobook':

$wgDefaultSkin = "vector";


# Enabled skins.

# The following skins were automatically enabled:

wfLoadSkin( 'CologneBlue' );

wfLoadSkin( 'Modern' );

wfLoadSkin( 'MonoBook' );

wfLoadSkin( 'Vector' );



# Enabled Extensions. Most extensions are enabled by including the base extension file here

# but check specific extension documentation for more details

# The following extensions were automatically enabled:



#include_once( "extensions/SemanticBundle/param-processor/param-processor/src/ParamProcessor/Processor.php" );

#include_once(  "$IP/extensions/ParamProcessor/src/ParamProcessor/Processor.php");

#require_once( "extensions/Validator/Validator.php" );

include_once( "$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php" );

enableSemantics( 'takingserviceforward.org' );

$smwgQEnabled = true;


#require_once( "$IP/extensions/SemanticBundle/SemanticBundleSettings.php" );

#require_once( "$IP/extensions/SemanticBundle/SemanticBundle.php" );


require_once "$IP/extensions/AccessLog/AccessLog.php";

require_once "$IP/extensions/AdminLinks/AdminLinks.php";

require_once "$IP/extensions/ApprovedRevs/ApprovedRevs.php";

require_once "$IP/extensions/Arrays/Arrays.php";

require_once "$IP/extensions/CheckUser/CheckUser.php";

wfLoadExtension( 'Cite' );

wfLoadExtension( 'CiteThisPage' );

require_once "$IP/extensions/Configure/Configure.php";

require_once "$IP/extensions/ConfirmEdit/ConfirmEdit.php";

require_once "$IP/extensions/customUserCreateForm/customUserCreateForm.php";

require_once "$IP/extensions/DataTransfer/DataTransfer.php";

require_once "$IP/extensions/DeleteBatch/DeleteBatch.php";

require_once "$IP/extensions/ExternalData/ExternalData.php";

wfLoadExtension( 'Gadgets' );

require_once "$IP/extensions/GetUserName/GetUserName.php";

require_once "$IP/extensions/GraphViz/GraphViz.php";

require_once "$IP/extensions/HeaderTabs/HeaderTabs.php";

require_once "$IP/extensions/HTMLets/HTMLets.php";

wfLoadExtension( 'ImageMap' );

wfLoadExtension( 'InputBox' );

wfLoadExtension( 'Interwiki' );

#wfLoadExtension( 'LocalisationUpdate' );

require_once "$IP/extensions/MaintenanceShell/MaintenanceShell.php";

#require_once "$IP/extensions/Maps/Maps.php";

wfLoadExtension( 'Nuke' );

require_once "$IP/extensions/OpenID/OpenID.php";

require_once "$IP/extensions/PageSchemas/PageSchemas.php";

wfLoadExtension( 'ParserFunctions' );

wfLoadExtension( 'PdfHandler' );

wfLoadExtension( 'Poem' );

wfLoadExtension( 'Renameuser' );

require_once "$IP/extensions/ReplaceText/ReplaceText.php";

#require_once "$IP/extensions/SemanticBreadcrumbLinks/SemanticBreadcrumbLinks.php";


require_once "$IP/extensions/SemanticCompoundQueries/SemanticCompoundQueries.php";

require_once "$IP/extensions/SemanticDrilldown/SemanticDrilldown.php";

#require_once "$IP/extensions/SemanticExtraSpecialProperties/SemanticExtraSpecialProperties.php";

#wfLoadExtension( 'SemanticForms' );

#require_once "$IP/extensions/SemanticFormsInputs/SemanticFormsInputs.php";

#require_once "$IP/extensions/SemanticFormsSelect/SemanticFormsSelect.php";

#require_once "$IP/extensions/SemanticImageInput/SemanticImageInput.php";

#require_once "$IP/extensions/SemanticInterlanguageLinks/SemanticInterlanguageLinks.php";

require_once "$IP/extensions/SemanticInternalObjects/SemanticInternalObjects.php";

#require_once "$IP/extensions/SemanticMaps/SemanticMaps.php";

require_once "$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php";

#require_once "$IP/extensions/SemanticMetaTags/SemanticMetaTags.php";

require_once "$IP/extensions/SemanticResultFormats/SemanticResultFormats.php";

#require_once "$IP/extensions/SemanticSignup/SemanticSignup.php";

require_once "$IP/extensions/SemanticTasks/SemanticTasks.php";

require_once "$IP/extensions/SemanticWatchlist/SemanticWatchlist.php";

require_once "$IP/extensions/SimpleAntiSpam/SimpleAntiSpam.php";

wfLoadExtension( 'SpamBlacklist' );

wfLoadExtension( 'SyntaxHighlight_GeSHi' );

wfLoadExtension( 'TitleBlacklist' );

require_once "$IP/extensions/Validator/Validator.php";

require_once "$IP/extensions/Variables/Variables.php";

require_once "$IP/extensions/Widgets/Widgets.php";

wfLoadExtension( 'WikiEditor' );



# End of automatically generated settings.

# Add more configuration options below.

$wgShowExceptionDetails = true ; Fustbariclation (talk) 09:17, 29 October 2015 (UTC)

Your summary says "upgrade to 1.23.5". Your paste says. "This file was automatically generated by the MediaWiki 1.25.2 installer". Your error is related to Semantic MediaWiki and I wonder which branch/version of SMW you are trying to run and if it's compatible. Malyacko (talk) 09:54, 29 October 2015 (UTC)
Thank you very much for the suggestion. I'll make sure that I get everything at the current revision and try again - something like this should, I hope, do it:
wget https://extdist.wmflabs.org/dist/extensions/*-REL1_25*.tar.gz
There seems to be no easy way to get a composer.json file that has all the 'standard' extensions in it.

Fustbariclation (talk) 08:27, 2 November 2015 (UTC)

Having rounded corners on infobox

I have an infobox template that I have named 'Place' and would like to have corners to it. I did add this script from border radius before the

but it did not work. The round corners work on other test i have on an artice but cannot get it to work on infobox.

Here is the code for the infobox

<table style="margin:6px;clear:right;" class="toc colour" align="right" width="267"><!-- Name and colour in heading row --><tr><td style="background:{{Get bg colour|{{{type|place}}} }}; border:1px solid #AFA3BF; color:{{Get text colour|{{{type|non primary}}} }}; font-size:14pt; padding:4px; font-weight: bold;" align=center colspan="2">'''{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}'''<!-- -->{{#if: {{{welsh|}}} | <br/><span style="font-size:12pt;color:{{Get welsh colour|{{{type|place}}}}}">''{{{welsh}}}''</span> }}<!-- -->{{#if: {{{irish|}}} | <br/><span style="font-size:12pt;color:{{Get irish colour|{{{type|place}}}}}">''{{{irish}}}''</span> }}<!-- -->{{#if: {{{gaelic|}}} | <br/><span style="font-size:12pt;color:{{Get gaelic colour|{{{type|place}}}}}">''{{{gaelic}}}''</span> }}<!-- --></td></tr><tr><td></td></tr><!-- Location -->{{#if: {{{location|}}} | <tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Location'''</td></tr><tr><td colspan="2" align="center">{{{location}}}</td></tr>}}<!-- Country -->{{#if: {{{country|}}} | <tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Country'''</td></tr><tr><td colspan="2" align="center">{{{country}}}</td></tr>}}<!-- County -->{{#if: {{{county|}}} |<tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Local Authority'''</td></tr><tr><td colspan="2" align="center">{{{county}}} </td></tr>}}<!-- Roads -->{{#if: {{{roads|}}} | <tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Road that Pass Over'''</td></tr><tr><td colspan="2" align="center">{{{roads}}}</td></tr>}}<!-- Local Roads -->{{#if: {{{local_roads|}}} | <tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Local Roads'''</td></tr><tr><td colspan="2" align="center">{{{local_roads}}}</td></tr>}}<!-- Primary Roads -->{{#if: {{{primary_roads|}}} | <tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Primary Roads'''</td></tr><tr><td colspan="2" align="center">{{{primary_roads}}}</td></tr>}}<!-- Other Nearby Primary Destinations -->{{#if: {{{near|}}} | <tr><td style="background:#ffcc00; border:1px solid #2E0854" colspan="4" align="center">'''Other Nearby Destinations '''</td></tr><tr><td colspan="2" align="center">{{{near}}}</td></tr>}}<!-- --></table><!----> Gmdesignuk (talk) 17:42, 29 October 2015 (UTC)

I have about 30 different infoboxes relating to different subjects is there a simple way of having a css that does them all or does code need to be on each template? Gmdesignuk (talk) 17:43, 29 October 2015 (UTC)
You need to specify styles of border radius. I don't see any on your code. See https://developer.mozilla.org/en/docs/Web/CSS/border-radius
If you want to apply border radius to various element, you should replicate the style on them, or use a CSS class and add the styles to a stylesheet Ciencia Al Poder (talk) 20:48, 29 October 2015 (UTC)
I added {{border-radius|8px 8px 8px 8px}} before the table command and also after the width 267 but still nothing. i have the {{border-radius template as works on other text but not on the infobox Gmdesignuk (talk) 02:14, 30 October 2015 (UTC)
It's hard to tell if we don't know what's the code of {{border-radius}}
Anyway, if the table itself doesn't have borders nor background, chances are that it won't have any effect. You may need to add radius to table cells at the corners of the table. Ciencia Al Poder (talk) 17:35, 30 October 2015 (UTC)
the border radius code is from mediawiki site and as i said it works fine with other text features i have but just will not convert the sides of infobox to corners
https://www.mediawiki.org/wiki/Template:Border-radius
I gave you my code for my infobox so easily can be added to a test page or sandbox to test. Gmdesignuk (talk) 05:33, 31 October 2015 (UTC)
The documentation of the template says: Insert this template within a style tag of any block-style element: but you're inserting it outside of the table or outside a style attribute. Ciencia Al Poder (talk) 13:06, 31 October 2015 (UTC)
I already said I have tried adding it before the
and also after the 267 on the first line within the table tag but it did nothing.
I would not be asking for help if I had not already tried various options first,.Gmdesignuk (talk) 21:52, 31 October 2015 (UTC)
<table style="margin:6px;clear:right; {{border-radius|8px 8px 8px 8px}}; border-collapse:separate;" class="toc colour" align="right" width="267"> Ciencia Al Poder (talk) 14:53, 1 November 2015 (UTC)

How to display a table with nowiki

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I am trying to give some example on setting up tables on my organizations wiki. I tried to use the nowiki tag but the out shows up as a continuous line of text and does not show the formatting correctly.

How can I display a table code example, I want to be like the section that says "you type"

https://www.mediawiki.org/wiki/Help%3ATables#Basics Kaysevenmm (talk) 19:56, 29 October 2015 (UTC)

You probably want to use <syntaxhighlight lang='text'> instead of <nowiki> Ciencia Al Poder (talk) 20:41, 29 October 2015 (UTC)
This worked...thank you Kaysevenmm (talk) 12:41, 30 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

$wgSpamRegex does not show the match

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi guys,

Manual:$wgSpamRegex currently claims:

Normally when the $wgSpamRegex setting matches some spam, the following message is displayed:

The page you wanted to save was blocked by the spam filter. This is probably caused by a link to a blacklisted external site.
The following text is what triggered our spam filter: [word/domain name which was blocked]

The second line comes from MediaWiki:Spamprotectionmatch. The system message is present and it is unchanged. Anyway, the complete message/the complete line is not displayed for me.

Am I the only one with this problem? Or is the manual page wrong? 88.130.80.135 (talk) 00:06, 30 October 2015 (UTC)

Never mind, the error message is somewhat unclear. In the case I had, the problem has not been caused by $wgSpamRegex, but the user had filled in the antispam field, which is supposed to stay empty. In that situation MediaWiki does not display the matching text. 88.130.105.73 (talk) 12:24, 30 October 2015 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Can I edit the picture as new in biography articles?

I want to provide a good and latest picture with reference in a biography article. Iftekhar Rimon 15:38, 30 October 2015 (UTC)

Yes, new versions of existing images can be uploaded. Malyacko (talk) 18:21, 1 November 2015 (UTC)
I uploaded two, but it has been deleted. Iftekhar Rimon 16:58, 8 November 2015 (UTC)
Please upload the images on our sister project, Wikimedia Commons (if you haven't done so already). Biography images do not belong on MediaWiki. Tropicalkitty (talk) 19:46, 8 November 2015 (UTC)

Collapse Echo button

Hi guys,

I can't collapse the notification button (Extension:Echo) in my wiki: http://suriyaakudo.bplaced.net/wiki/index.php?title=Main_Page. Suriyaa Kudo (iSC Inc.) (talk) 17:01, 30 October 2015 (UTC)

And? Suriyaa Kudo (iSC Inc.) (talk) 16:00, 3 November 2015 (UTC)
"And" your wiki gives an error 500 currently. Maybe you have a JavaScript problem, but that is hard to tell without seeing it... 88.130.113.200 (talk) 23:46, 3 November 2015 (UTC)
Working with Short URL: http://stackoverflow.com/questions/33503256/mediawiki-short-url-error-in-htaccess-file! Suriyaa Kudo (iSC Inc.) (talk) 08:34, 4 November 2015 (UTC)

how to print play lists ?? 50.187.62.104 (talk) 18:41, 30 October 2015 (UTC)

You are not talking about MediaWiki, right? 88.130.105.73 (talk) 18:58, 30 October 2015 (UTC)

Is possible convert DokuWiki to MediaWiki?

a site wiki created by other software (example: DokuWiki, PmWiki) it would be possible to convert this site to MediaWiki? Please New Wiki (talk) 19:32, 30 October 2015 (UTC)

Yes, that is possible. Here is a tutorial:
http://www.linuxintro.org/wiki/Convert_a_dokuwiki_to_mediawiki
Note however, that it will only take the texts - images, users and so on will have to be migrated manually. 88.130.105.73 (talk) 22:22, 30 October 2015 (UTC)
then lose the edit history? and carry everything by manually, what job would give Please New Wiki (talk) 19:08, 31 October 2015 (UTC)

Trying to post a question here

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Not sure why but every time I try to post I get marked as spam and get flagged http://i.imgur.com/4Srtixhl.png Ksures (talk) 20:15, 30 October 2015 (UTC)

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

VC-desc error

Hi guys,

I'm currently creating an MediaWiki extension for my wiki: http://suriyaakudo.bplaced.net/wiki/index.php?title=Special:Version.

Source: https://github.com/SuriyaaKudoIsc/VC

I got for VC-desc no text from the i18n files:

File:VC-desc error.jpg Suriyaa Kudo (iSC Inc.) (talk) 12:36, 31 October 2015 (UTC)

Try running the maintenance script rebuildLocalisationCache —TheDJ (Not WMF) (talkcontribs) 22:59, 1 November 2015 (UTC)
I can't use the command php rebuildLocalisationCache.php --force. I'm hosting my wiki on bplaced.net. Suriyaa Kudo (iSC Inc.) (talk) 09:47, 2 November 2015 (UTC)

Unable to post a question

If I try to post a question, it will be imedeately marked as spam. I can send it to the tech. support page without any problem. But there I was told, wrong place for my question.

So, what to do?

mumken Mumken123 (talk) 17:10, 31 October 2015 (UTC)

As per Special:AbuseFilter/41, if you make a few edits more (for example, on your user page), It'll ignore you and you may post your question. Matiia (talk) 17:52, 31 October 2015 (UTC)
Thanks a lot for your help. It really worked, as you can see above. Mumken123 (talk) 19:01, 31 October 2015 (UTC)
No problem :) Matiia (talk) 19:04, 31 October 2015 (UTC)

Vector Skin / modify sidebar to show table of contents TOC

Hello wikians,

I am trying to set up a Wiki for the purpose of using it as a knowledge base that can be edited by multiple privileged users. I want to use mediawiki/Vector because people are familiar with the look and feel and can get familiar with the editing style.

Version is 1.19.14+dfsg-1 and I'm happy with the Vector skin and would like to customize it.

For my purpose I don't need most of the sidebar links like "languages" and "what links here" and so on. Further I would really like to move the TOC into the sidebar by default for all users, so one can always navigate to the different sections of a page even a longer TOC doesn't take room in the page's body.

That said, I'm having a hard time unserstanding the interaction of the skin, php, js and all that. My knowledge of php and js is close to zero, sometimes I can guess the more descriptive functions...

The way my "research" went I came to find that

a) the TOC is being created by the Parser.php located in mediawiki/includes/parser/ . I guess it's "public function formatHeadings" that does it for every page?

b) the standard sidebar is rendered by Vector.php down from "//render portals".

I managed to comment out the unneeded portals like toolbox etc.

How would I include a TOC for the current page in the sidebar? Can it be done by copy and paste?

If there's a reliable extension that does it, I'd be happy to use that, too.

Cheers :) Jogginghose (talk) 18:43, 31 October 2015 (UTC)

The side bar is defined by the MediaWiki:Sidebar page inside your wiki. There is some explanation here: Sidebar.
For the seconds part of your request of moving the ToC.. This is one of those things that's not easily done. It is considered to be a true part of the Content of a page, and it cannot properly be moved. The simplest method is to write a JS function that does that and then make that script run on all pages I think. —TheDJ (Not WMF) (talkcontribs) 22:52, 1 November 2015 (UTC)

Error when connecting to old database

I’m using<br/> MediaWiki: 1.17.0<br/> PHP: 5.3.28-nmm4 (fpm-fcgi)<br/> MySQL: 5.6.24-nmm1-log<br/> on um-bruch.net/uwiki<br/>

One year ago my webhoster told:<br/> ''“- Please do not use the "AddHandler php4-cgi .php" command line in your'' ''.htaccess file anymore. Instead you need to alter the command line into'' ''"AddHandler php5-cgi .php".'' and<br/> ''2) After the server update you are able to use PHP 5.4 and PHP 5.5 (in'' ''CGI mode), the latest versions of PHP.''

''3) MySQL is going to be updated from 5.1 to 5.5. This will not lead to'' ''any expected errors.''

After the server-update my wiki did not work anymore.<br/> My webhoster helped with an addition of some .htaccess files to my wiki installation path and the root. But still some problems remain.

I decided to install the newest wiki version as test with a new empty database. MediaWiki: 1.25.2<br/> PHP: 5.6.13-nmm4 (fpm-fcgi)<br/> MySQL: 5.6.24-nmm1-log<br/> on um-bruch.net/twiki<br/> It is running without any problems.<br/> But when I am trying to connect it to my old database (by change in the LocalSettings.php) I get an error. “A database query error has occurred. This may indicate a bug in the software.”<br/>

My question:<br/> Was there any change in the structure of the database since 1.17.0?<br/> The number of tables is still 49, but I do not now, wether changes are made in the relations or the table definitions.<br/> Is there any other way to update the database to wiki 1.25.2?

I'm grateful for any help. Mumken123 (talk) 18:57, 31 October 2015 (UTC)

Hi!
Yes, there has been a huge number of changes in the database layout between MediaWiki 1.17 and MediaWiki 1.25.
Generally you should follow Manual:Upgrading and do an upgrade. Note that when you create a new LocalSettings.php file and make that file point to your old database, you will not only get problems with the missing DB upgrade, but you will also miss images and other files, which you uploaded to your original wiki.
Just follow Manual:Upgrading and you should be fine. 88.130.73.240 (talk) 00:22, 1 November 2015 (UTC)
Thanks a lot for this information. I'll do some backup jobs and try the upgrade. Mumken123 (talk) 17:07, 11 November 2015 (UTC)