Project:Support desk/Flow/2018/01

This page is an archive.
Please ask questions on the current support desk.
Category:Support desk archives#Flow%20Archive%20Support%20desk/Flow/2018/01

Promotion Of Wikis

Hello. Tell me, how to make a robot search engine to get around the Wiki on the website. The wiki is installed in directory domain "domain.ru/wiki/" 

How to allow search engines to place this directory? What keywords to add a description? 217.118.83.202 (talk) 06:01, 1 January 2018 (UTC)

$wgArticleRobotPolicies = array( 'Home' = > 'index' ); if I add this array as the search engine will give the website. now all pages on the 404 error and N / a Kovalev.ser (talk) 06:12, 1 January 2018 (UTC)

IP address-like

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


Can someone confirm me that IP address-like usernames are prohibited by Mediawiki ? I'm wondering if it's a Wikimedia restriction or if it's a feature of Mediawiki. Framawiki (talk) 22:12, 1 January 2018 (UTC)

For usernames, MediaWiki is checking $wgInvalidUsernameCharacters. Since by default the colon character (:) is not allowed there, IP v6 usernames are not possible - at least not by default.
Also for each username, MediaWiki must be able to create a page with the same name. Which letters are allowed in page names is controlled by $wgLegalTitleChars. According to what I found on meta:Help:Page name, I would say that an IP v4 address is a valid page name (and it also does not conflict with $wgInvalidUsernameCharacters).
I think we once had another page on that topic, but I don't manage to find it currently. 2001:16B8:1077:1500:B80A:41A7:142F:5306 (talk) 00:11, 2 January 2018 (UTC)
Thanks !
For the record : https://discourse-mediawiki.wmflabs.org/t/ip-address-like-usernames/18 Framawiki (talk) 20:54, 11 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Error in search function

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 had a functioning database on xampp mw1.27.4 and no search-problems.

I exported it with mysqldump and imported it into an empty online.database. Then i installed mw1.27.4 and connected to the database and it was imported and everything functioned with the exception of the search-function, which has an error (and then normally goes to a site in which it offers to create a site with this title).

I made the same with mw1.29 and had a similar problem. (Details at http://127.spiritwiki.de/ and at http://w129.mb-info.eu ) -> search anything in the database - only sometimes it finds if it is in the database. I have no php -cli - mode and can only update with 'php maintenance/update.php --skip-external-dependencies'  : The error is ../OutputPage.php: Class 'OOUI\MediaWikiTheme' not found.

A normal installation on an empty database does not have these problems.

I have switched the error-functions on as You can see. (Please only creative commentaries). Manbu (talk) 09:47, 2 January 2018 (UTC)

Sounds like your composer dependencies are out of date.. Either get the vendor directory belonging to your version of mediawiki, or run composer update —TheDJ (Not WMF) (talkcontribs) 09:57, 2 January 2018 (UTC)
I have the newest vendor from github (https://github.com/wikimedia/mediawiki-vendor) which i use on all installations - composer update gives an error because of missing php -cli mode - an installation without database- import functions. Manbu (talk) 09:59, 2 January 2018 (UTC)
I have installed composer with the method of https://packagist.org/
curl -sS https://getcomposer.org/installer | php (ignored error of missing cli mode)
and php composer.phar install
After that it both sites work ok - thank You ! Manbu (talk) 12:03, 2 January 2018 (UTC)
@Manbu "I have the newest vendor" you should always get versions that match the rest of what you install, when you grab something from the source repositories.
You could also have downloaded the tarball, which includes the correct accompanying /vendor directory as well
But glad it worked out! —TheDJ (Not WMF) (talkcontribs) 09:47, 3 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

CSS max-width customization conflicts with popups

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 and happy new year! I chose to use this CSS customization to set a max-width to my wiki site layout (when the screen is wide, the site is centered and auto margin appear). But as a consequence, this conflicts with the use of Extension:Popups: the popups are shifted to the right, and the offset is variable, according to the margin. More precisely, I noticed that it is this CSS rule that cause the shift to the right : body { position: relative; }

Is there a simple workaround ? Does it seem to you easier to look for a tweak in the side of Extension:Popups or in the side of the CSS customization ? Thanks. My wiki : https://wikirouge.net Varlin (talk) 13:16, 2 January 2018 (UTC)

Solved here : Extension talk:Popups/2018#h-How_to_avoid_the_popups_to_be_shifted_when_there_is_a_margin-2018-02-15T21:29:00.000Z Varlin (talk) 21:31, 15 February 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Not found on any page

I was trying to install short links on a subdomain wiki (wiki.kringhistoria.be), suddenly there was a not found message on every page of the wiki without deleting something. What did i do wrong? 134.58.253.56 (talk) 13:51, 3 January 2018 (UTC)

we do not know how to "install short links". You'll have to elaborate and provide exact steps to reproduce the problem. Malyacko (talk) 14:21, 3 January 2018 (UTC)
If you've tried short urls, tell us what you did. I just visited your wiki, though, and it looks like your rewrite rules are adding an extra /wiki/. MarkAHershberger(talk) 03:24, 4 January 2018 (UTC)

Media Wiki and Zend Server

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 Reader,

I want to implement MediaWiki on Zend Server.

The installation seems to succeed, While I want to start mediaWiki I get :

Fatal error: Uncaught Error: Call to a member function getCode() on null in C:\Program Files (x86)\Zend\Apache24\htdocs\mediawiki\includes\user\User.php:1594 Stack trace: #0 C:\Program Files (x86)\Zend\Apache24\htdocs\mediawiki\includes\user\User.php(5272): User::getDefaultOptions() #1 C:\Pr

How can this problem be solved?

Best Regards.

Hans Boeve 82.217.17.154 (talk) 15:08, 3 January 2018 (UTC)

Sounds similar to: https://phabricator.wikimedia.org/T177768TheDJ (Not WMF) (talkcontribs) 10:00, 4 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

How to prevent login notifications on a successful logins when one API account is used for prod, dev and stage servers?

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


I use https://www.wikidata.org/w/api.php with wikibase-api library (https://github.com/addwiki/wikibase-api) and three servers (prod/stg/dev) with different IPs that logins to the mediawiki through API. The issue is a lot of notifications about logins from an unfamiliar device and IP. Can somebody explain how i can prevent it (except for turn off a notifications)? Alexey.sivets (talk) 16:56, 3 January 2018 (UTC)

Probably this is the same issue that described here
https://phabricator.wikimedia.org/T182867 80.112.222.222 (talk) 09:13, 4 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Question about categories in fresh install

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 downloaded & installed mediawiki-1.30.0.tar.gz I use sqlite as database and german localization, since this wiki is just for my own use. System is a fully patched OpenSuse 42.3

So far it is working fine, except for categories. When I add an article to a category (with the german [[Kategorie:foo]], I do not see the page in the corresponding category "foo", do I need to change something in LocalSettings.php or do I need to install some extension?

The only change I did in LocalSettings.php was enabling ParserFunctions with require_once "$IP/extensions/ParserFunctions/ParserFunctions.php"; and turn of the need for https $wgSessionInsecureSecrets = true;

Thanks! Wurgl (talk) 21:24, 3 January 2018 (UTC)

The job queue is probably not running frequently enough. See Manual:Job queue Clump (talk) 22:30, 3 January 2018 (UTC)
Thanks! Works now! Wurgl (talk) 22:59, 3 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Metadata and SEO tags

Hello all,

I'm looking to apply metadata tags to WikiJournal articles in order to be compatible with indexing and tracking services (e.g. AltMetric). Currently I'm using the code:

<div style="display:none"><meta name='citation_doi' value='{{{doi}}}'></div>

Where {{{doi}}} is the article's full doi number. For example in this article, it is included as:

<div style="display:none">&lt;meta name='citation_doi' value='10.15347/wjm/2017.005'&gt;</div>

However, the < and > characters get transcluded as &lt; and &gt; which (I think) prevents it from working properly.

Is Extension:WikiSEO compatible with the requirements of help.altmetric.com/...what-metadata-is-required-to-track-our-content? T.Shafee(EvoEvo)talk 01:30, 4 January 2018 (UTC)

How do you change your username on Wikipedia?

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 do you change your username on Wikipedia? TrekGalactic2161 (talk) 02:06, 4 January 2018 (UTC)

FAQ: How do I change my username/delete my account? and WP:UNC MarkAHershberger(talk) 03:20, 4 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Hide IP-Adress in EMail after change Article

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,

After a text has been changed, "observers" receive an email that changes in the text has been made. in these emails is also the IP address, if the user was anonymous. Is there a setting to hide the IP?

Kann man hier auch auf deutsch schreiben?

Greetings,

Micha 213.153.88.174 (talk) 13:52, 4 January 2018 (UTC)

IP addresses are used to track contributions and block potentially malicious "anonymous" users. If someone doesn't log in, their IP will be recorded in many places that the username normally is. There is no setting to keep this from happening. MarkAHershberger(talk) 15:43, 4 January 2018 (UTC)
Thank u! 213.153.88.174 (talk) 17:17, 4 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Spam

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 wonder if you can help me.  I have just started a wiki.

 However im not the most technically minded...

I have had problems with someone vandalising the site- uploading nonsense articles - about 20 per day. Ive tried blocking the users but they only use the same IP address a couple times then switch to a new one.  

At the moment i am deleting them all one by one which is taking ages.  I paid someone locally to put a recaptcha on the site when editing but it doesnt stop these articles from appearing.  It is often the same heading but then articles that appear to have been copy and pasted from random places on internet.  Is there anything else i can do?  

Id really appreciate some help.  Thanks

Phil 141.168.240.127 (talk) 22:07, 4 January 2018 (UTC)

With Extension:Nuke you can mass-delete pages easily.
Be sure the captcha is working properly (try yourself to create such pages and see if the captcha appears and you can't circumvent that). However.
Extension:AbuseFilter can be useful, too, to add rules based on several variables (like text added, the age of the account, etc) and prevent such pages from being created. Ciencia Al Poder (talk) 13:43, 5 January 2018 (UTC)
AbuseFilter really is a powerful tool.
If the different IP addresses are always coming from the same range, it might also be an idea to block not only a single IP, but a whole range of IPs. Note however that such a range block can also affect other, legitimate users. 2001:16B8:1053:F000:E497:3E21:C412:C53C (talk) 18:28, 5 January 2018 (UTC)
Thanks for your help! 141.168.240.127 (talk) 09:26, 7 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

MediaWiki SAML SSO Support

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.


Does MediaWiki support SAML Single Sign on?

Thanks 122.164.43.88 (talk) 22:20, 4 January 2018 (UTC)

Try with the Extension:SimpleSAMLphp Ciencia Al Poder (talk) 13:38, 5 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Fatal error: GlobalVarConfig cannot implement Config

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


Hello,

I am updating from 1.23.6 to 1.30. After preparing the wiki as per instructions, I ran update.php. I got the following error:

Fatal error: GlobalVarConfig cannot implement Config - it is not an interface in 

/home4/r9p9q0g8/public_html/ski4tplustest.com/wiki130/includes/config/GlobalVarConfig.php on line 28

I looked at the two files mentioned. Config.php sure looks like an interface!

Any suggestions?

Thanks,

Julie Julievancouver (talk) 23:42, 4 January 2018 (UTC)

Be sure you extracted the files of MediaWiki 1.30 over a new empty directory and not over the old one, which could leave files behind causing such problems. Ciencia Al Poder (talk) 13:45, 5 January 2018 (UTC)
Thanks for your reply. As this is an upgrade, how do I put the files in a new directory? Julievancouver (talk) 14:54, 5 January 2018 (UTC)
You have original files on /wiki:
  1. Upload the new MediaWiki version to /new and extensions not already bundled in the tarball
  2. copy LocalSettings from /wiki to /new
  3. Once you've done a quick test, rename /wiki to /old and then rename /new to /wiki
  4. If you have your uploads inside the wiki folder (not recommended), move the folder from /old/images to /wiki/images
  5. Run update.php
You can usually copy files over the old installation when doing minor upgrades (from 1.27.0 to 1.27.1 or similar) but with a major version you should use a clean directory. Ciencia Al Poder (talk) 16:15, 5 January 2018 (UTC)
Thanks. That worked. Julievancouver (talk) 21:00, 5 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Definition of an OOui Widget class for custom 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.


Hello,

I want to replace mw.echo.ui.NotificationBadgeWidget with a custom widget class in my skin.

So I was trying to define it in separate file by some codes like skins.foo.NotificationBadgeWidget = function bar() { ... }, but it just invoked an error likes:

ReferenceError: skins is not defined ReferenceError: skins is not defined

I can't expect I would find a simple and compact solution, So I want to read wiki manuals or tutorials describing how to define an OOjs class in separate file for a custom skin in correct way.

Is it exist in this wiki, and would you mention it for me?

Thanks Lens0021 (talk) 01:21, 5 January 2018 (UTC)

Now, I added some lines in my skin.json file:
"ResourceModules": {
...
"skins.myskin.js": {
"position": "bottom",
"scripts": [
"notification.js",
...
],
"dependencies": [
"ext.echo.api",
"mediawiki.Uri"
]
},
"skins.myskin.ui": {
"scripts": [
"mw.myskin.js",
"mw.myskin.NotificationBadgeWidget.js"
],
"dependencies": [
"ext.echo.ui.desktop",
"mediawiki.util"
]
}
}
And I added line also in the notification.js file:
mw.loader.using( 'skins.myskin.ui', function () { /* it's really empty block */ } );
mw.myskin.js is just:
( function ( mw, $ ) {
mw.myskin = mw.myskin || {};
} )( mediaWiki, jQuery );
and mw.myskin.NotificationBadgeWidget.js has lines like:
...
mw.myskin.NotificationBadgeWidget = function MwMyskinNotificationBadgeButtonPopupWidget( model, unreadCounter, config ) { ... }
OO.inheritClass( mw.myskin.NotificationBadgeWidget, OO.ui.Widget );
But last line errors:
TypeError: this.getTagName is not a function
at HTMLDocument.OoUiElement
at HTMLDocument.OoUiWidget
at HTMLDocument.MwMyskinNotificationBadgeButtonPopupWidget
at fire
at Object.add [as done]
at jQuery.fn.init.jQuery.fn.ready
at new jQuery.fn.init
at jQuery
...
I have no idea about it anymore.
Thanks. Lens0021 (talk) 17:00, 5 January 2018 (UTC)
I'm using the MediaWIKI 1.27.1 and extension:echo for that version. Lens0021 (talk) 17:18, 5 January 2018 (UTC)
correting: error occured by $(mw.myskin.NotificationBadgeWidget); but $(mw.myskin); . It is TypeError still. Lens0021 (talk) 01:05, 6 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Wikiversity Template:Navbar CSS 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.


We have a CSS problem with our navbars. See Wikiversity:Template:Using Wikiversity for an example. Template:Navbar and Module:Navbar have been imported from Wikipedia and match the source. As far as I can tell, it's a CSS problem where Wikipedia has a .navbar style that is not being applied at Wikiversity. But that's as far as I know how to go. I can't find the source of .navbar or how it loads on either Wikipedia or Wikiversity to troubleshoot any further. How do I fix this or troubleshoot from here? Dave Braunschweig (talk) 01:51, 5 January 2018 (UTC)

.navbar is in https://en.wikipedia.org/wiki/MediaWiki:Common.css, hope this helps. Lens0021 (talk) 02:11, 5 January 2018 (UTC)
Thanks, that does help, but I'm not there yet. How about .nv-view, .nv-talk, and .nv-edit? Dave Braunschweig (talk) 02:25, 5 January 2018 (UTC)
The chrome's developer tool tells me those classes do nothing. maybe it is just for future uses. Lens0021 (talk) 02:53, 5 January 2018 (UTC)
I appreciate your assistance. But at this point we have identical code on Wikipedia and Wikiversity generating different results. To make it easier to troubleshoot, I've created two test pages: Wikipedia:User:Dave Braunschweig/sandbox and Wikiversity:User:Dave Braunschweig/sandbox.
How do I figure how why one of these things is not like the other? Dave Braunschweig (talk) 03:07, 5 January 2018 (UTC)
https://en.wikiversity.org/wiki/MediaWiki:Common.css is used for the Wikiversity and it does not have .navbar, I apologize I did not say that. Lens0021 (talk) 03:15, 5 January 2018 (UTC)
Thank you! Dave Braunschweig (talk) 04:02, 5 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

loggig in iprefer "no passwords and or security

being boschuil-17 with teribel difficulty I perceive the wholeinlog sessions as hazing. let the new guy sweaeat and forget his other doties etc plus I donot understand /the smallprint at the end of this questionabelhazing 77.251.42.246 (talk) 12:00, 5 January 2018 (UTC)

Please rephrase your question to make it more understandable. Ciencia Al Poder (talk) 13:47, 5 January 2018 (UTC)

Sections display other name

Is there a way I can make a section have one name and display another? Raltseye (talk) 05:43, 6 January 2018 (UTC)

Is there a use case for this? If so, what is the use case, apart from creating confusion? :) Malyacko (talk) 13:09, 7 January 2018 (UTC)

Permission Error in Special:PasswordReset

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, NSindex has received a complaint about a user being unable to reset their account password via Special:PasswordReset. We are assuming in good faith that the user has set a recovery email.

Our investigation has revealed that when not logged-in, attempting to reset the password returns an Internal error with description text that simply reads “Permission error”.

We upgraded to 1.30 (from 1.29.2) on 1 January 2018. We have already run rebuildall.php and update.php with no success.

Can someone please advise what configurations we need to change? Minoa (talk) 11:23, 6 January 2018 (UTC)

$wgGroupPermissions['*']['editmyprivateinfo'] had to be set to ‘true’ for password recovery to work (for those locked out of their account but already have a registered email address).
Manual:User rights needs to be updated to reflect this, then it can be marked as resolved. Minoa (talk) 23:12, 8 January 2018 (UTC)
$wgGroupPermissions['*']['editmyprivateinfo'] option defaults to true. 星耀晨曦 (talk) 11:14, 10 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

How do I find and remove/revert imported pages?

I tried creating an infobox on a wiki hosted on a raspberry pi. Turns out that Scribunto/Lua will consume too much memory. Unfortunately, I already imported several an XML file of wikipedia's Template:Infobox page, which included a lot of other pages as well. I don't know which pages were imported, or whether they were newly created or merged with existing pages.

This is a brand new wiki- there are 3 short pages on it so far. If it would be possible and simpler to 'reset' my wiki to a fresh one, I'm willing to do that as well. There are no backups of the Wiki. Mammoth31 (talk) 22:55, 6 January 2018 (UTC)

Comment modifier les polices de caractères de wikipédia?

Comment modifier les caractères ? Edualk (talk) 07:14, 7 January 2018 (UTC)

Quels sont "les caractères"? AKlapper (WMF) (talk) 13:08, 7 January 2018 (UTC)

Need help to fix error and complete my site

Hi I'm new WM user. After install and add some extention I some there error. You can view at this link http://atheistpedia.org/index.php?title=Special:UserLogin
#0 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1028): Wikimedia\Rdbms\Database->reportConnectionError('Access denied f...') #1 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/libs/rdbms/loadbalancer/LoadBalancer.php(670): Wikimedia\Rdbms\LoadBalancer->reportConnectionError() #2 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/libs/rdbms/loadbalancer/LoadBalancer.php(751): Wikimedia\Rdbms\LoadBalancer->getConnection(0, Array, 'globalblocking', 0) #3 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/extensions/GlobalBlocking/includes/GlobalBlocking.class.php(264): Wikimedia\Rdbms\LoadBalancer->getConnectionRef(-1, 'globalblocking', 'globalblocking') #4 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/extensions/GlobalBlocking/includes/GlobalBlocking.class.php(157): GlobalBlocking::getGlobalBlockingDatabase(-1) #5 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/extensions/GlobalBlocking/includes/GlobalBlocking.class.php(57): GlobalBlocking::getGlobalBlockingBlock('103.67.157.37', true) #6 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/extensions/GlobalBlocking/includes/GlobalBlocking.class.php(16): GlobalBlocking::getUserBlockDetails(Object(User), '103.67.157.37') #7 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/extensions/GlobalBlocking/includes/GlobalBlockingHooks.php(87): GlobalBlocking::getUserBlock(Object(User), '103.67.157.37') #8 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/Hooks.php(177): GlobalBlockingHooks::onUserIsBlockedGlobally(Object(User), '103.67.157.37', false, NULL) #9 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/Hooks.php(205): Hooks::callHook('UserIsBlockedGl...', Array, Array, NULL) #10 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/user/User.php(2169): Hooks::run('UserIsBlockedGl...', Array) #11 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/user/PasswordReset.php(262): User->getGlobalBlock() #12 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/user/PasswordReset.php(103): PasswordReset->isBlocked(Object(User)) #13 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/specialpage/LoginSignupSpecialPage.php(1143): PasswordReset->isAllowed(Object(User)) #14 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/specialpage/LoginSignupSpecialPage.php(845): LoginSignupSpecialPage->getFieldDefinitions(Object(FakeAuthTemplate)) #15 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/specialpage/AuthManagerSpecialPage.php(652): LoginSignupSpecialPage->onAuthChangeFormFields(Array, Array, Array, 'login') #16 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/specialpage/LoginSignupSpecialPage.php(669): AuthManagerSpecialPage->fieldInfoToFormDescriptor(Array, Array, 'login') #17 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/specialpage/AuthManagerSpecialPage.php(400): LoginSignupSpecialPage->getAuthForm(Array, 'login') #18 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/specialpage/LoginSignupSpecialPage.php(316): AuthManagerSpecialPage->trySubmit() #19 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/specialpage/SpecialPage.php(522): LoginSignupSpecialPage->execute(NULL) #20 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/specialpage/SpecialPageFactory.php(578): SpecialPage->run(NULL) #21 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/MediaWiki.php(287): SpecialPageFactory::executePath(Object(Title), Object(RequestContext)) #22 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/MediaWiki.php(851): MediaWiki->performRequest() #23 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/MediaWiki.php(523): MediaWiki->main() #24 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/index.php(43): MediaWiki->run() #25 {main}
Please help me. I need wm family site with 3 language Bengali = http://bn.atheistpedia.org , English = en.atheistpedia.org Hindi = http://hi.atheistpedia.org and the family home page like https://www.wikipedia.org/ Nirmol360 (talk) 09:39, 7 January 2018 (UTC)
Создание вики-семьи с единой базой данных и единым реестром для пользователей непростой процесс, сам сделал вики-семью wikijournal.org - по инструкциям официальным ничего у меня не получилось! Могу скинуть сисадмина, который за небольшую плату может помочь настроить тебе Fokebox (talk) 06:50, 9 January 2018 (UTC)
Apparently, on your hosting set-up the database user is unable to connect with the database.
Can you explain how did you create the database for your MediaWiki installation?
The database creation instructions relevant to your hosting are available at, Getting Started: Creating or adding MySQL databases. AhmadF.Cheema (talk) 11:29, 7 January 2018 (UTC)
But atheistpedia.org/wiki/Main_Page working well. But it I uninstall some plugins it's work well. Can you help me manually? If can I'll mail you details Nirmol360 (talk) 13:10, 7 January 2018 (UTC)
The Main_Page is also not working fine, the errors are just not displaying but are present in the background.
Have you followed the steps mentioned in: Getting Started: Creating or adding MySQL databases? AhmadF.Cheema (talk) 13:38, 7 January 2018 (UTC)
Yes, did. I create a new db and install again but still giving error. Nirmol360 (talk) 14:08, 7 January 2018 (UTC)
Did you enter the correct Database name, username and password when you installed MediaWiki again?
After you have created the database, you need to connect it to your MediaWiki installation too.
One way to do it would be to insert the Database name, username and password (which you must have entered while creating the database) in your Wiki's LocalSettings.php file. AhmadF.Cheema (talk) 14:49, 7 January 2018 (UTC)
Yes, database connected well but gives error. aktopu@yahoo.com email me here. I'll give login access for view all. Nirmol360 (talk) 15:02, 7 January 2018 (UTC)
I am not sure what you are doing currently. At this moment, the wiki displays "LocalSettings.php not found".
That means that you still have to start the installation. Click the link given on your wiki page and follow the steps. You will need the server name of the server, on which MySQL is running, the database name of the database, which you want to use, the MySQL username, which you want to use and the MySQL password of that user.
Let the installer do its thing and at the end, you have to upload the LocalSettings.php file, which the installer gave you for download, to your site. 2001:16B8:1043:8400:D98C:B39D:D5FE:A9F7 (talk) 15:42, 7 January 2018 (UTC)
And please note that files inside the images/ folder should not be executable. Before you allow uploading files, you should remove the executable right from that folder and from all subfolders. 2001:16B8:1043:8400:D98C:B39D:D5FE:A9F7 (talk) 15:47, 7 January 2018 (UTC)
I tried many time in many ways it's still giving error. Nirmol360 (talk) 16:38, 7 January 2018 (UTC)
I am now speaking about this wiki: http://atheistpedia.org/wiki/Main_Page
The error message is:
A database query error has occurred.
Query: SELECT ips_item_id FROM `apw_wb_items_per_site` WHERE ips_site_id = 'kidmaxmusiccom_aehxjmeiycyffap' AND ips_site_page = 'Main Page' LIMIT 1
Error: 1146 Table 'kidmaxmusiccom_aehxjmeiycyffap.apw_wb_items_per_site' doesn't exist"
Obviously the MySQL credentials are working correctly. That means in this wiki it is possible to access the database. The wiki is using database kidmaxmusiccom_aehxjmeiycyffap. However, inside that database, the table apw_wb_items_per_site is missing. This table is needed for the wikibase extension.
I think you still have to run update.php from the shell! Did you forget to run update.php, your application's database schema updater, after upgrading? 2001:16B8:1043:8400:D98C:B39D:D5FE:A9F7 (talk) 18:08, 7 January 2018 (UTC)
[WlJlcgoUDK4AAiqfNaQAAAAW] /wiki/Main_Page Wikimedia\Rdbms\DBQueryError from line 1149 of /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading? 
Query: SELECT ips_item_id FROM `apw_wb_items_per_site` WHERE ips_site_id = 'kidmaxmusiccom_aehxjmeiycyffap' AND ips_site_page = 'Main Page' LIMIT 1 
Function: Wikimedia\Rdbms\Database::selectRow
Error: 1146 Table 'kidmaxmusiccom_aehxjmeiycyffap.apw_wb_items_per_site' doesn't exist (kidmaxmusiccom.ipagemysql.com)
Backtrace:
#0 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/libs/rdbms/database/Database.php(979): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#1 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/libs/rdbms/database/Database.php(1343): Wikimedia\Rdbms\Database->query(string, string)
#2 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/libs/rdbms/database/Database.php(1411): Wikimedia\Rdbms\Database->select(string, array, array, string, array, array)
#3 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/extensions/Wikibase/lib/includes/Store/Sql/SiteLinkTable.php(221): Wikimedia\Rdbms\Database->selectRow(string, array, array)
#4 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/extensions/Wikibase/lib/includes/Store/CachingSiteLinkLookup.php(147): Wikibase\Lib\Store\Sql\SiteLinkTable->getItemIdForLink(string, string)
#5 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/extensions/Wikibase/lib/includes/Store/CachingSiteLinkLookup.php(75): Wikibase\Lib\Store\CachingSiteLinkLookup->getAndCacheItemIdForLink(string, string)
#6 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/extensions/Wikibase/client/includes/LangLinkHandler.php(101): Wikibase\Lib\Store\CachingSiteLinkLookup->getItemIdForLink(string, string)
#7 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/extensions/Wikibase/client/includes/LangLinkHandler.php(331): Wikibase\Client\LangLinkHandler->getEntityLinks(Title)
#8 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/extensions/Wikibase/client/includes/LangLinkHandler.php(352): Wikibase\Client\LangLinkHandler->getEffectiveRepoLinks(Title, ParserOutput)
#9 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/extensions/Wikibase/client/includes/Hooks/ParserOutputUpdateHookHandlers.php(97): Wikibase\Client\LangLinkHandler->addLinksFromRepository(Title, ParserOutput)
#10 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/extensions/Wikibase/client/includes/Hooks/ParserOutputUpdateHookHandlers.php(65): Wikibase\Client\Hooks\ParserOutputUpdateHookHandlers->doContentAlterParserOutput(Title, ParserOutput)
#11 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/Hooks.php(177): Wikibase\Client\Hooks\ParserOutputUpdateHookHandlers::onContentAlterParserOutput(WikitextContent, Title, ParserOutput)
#12 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/Hooks.php(205): Hooks::callHook(string, array, array, NULL)
#13 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/content/AbstractContent.php(520): Hooks::run(string, array)
#14 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/poolcounter/PoolWorkArticleView.php(144): AbstractContent->getParserOutput(Title, integer, ParserOptions)
#15 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#16 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/page/Article.php(585): PoolCounterWork->execute()
#17 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/actions/ViewAction.php(68): Article->view()
#18 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/MediaWiki.php(499): ViewAction->show()
#19 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/MediaWiki.php(293): MediaWiki->performAction(Article, Title)
#20 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/MediaWiki.php(851): MediaWiki->performRequest()
#21 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/includes/MediaWiki.php(523): MediaWiki->main()
#22 /hermes/bosnaweb03b/b672/ipg.kidmaxmusiccom/ap/index.php(43): MediaWiki->run()
#23 {main}
Now it giving those values Nirmol360 (talk) 18:26, 7 January 2018 (UTC)
Is the update link is http://atheistpedia.org/mw-config/index.php?page=Upgrade? Nirmol360 (talk) 18:30, 7 January 2018 (UTC)
I have seen your error message. The problem is the same as it was when I answered last time.
You need to update the database.
I think you can use this link http://atheistpedia.org/mw-config/index.php?page=ExistingWiki. Enter the value of $wgUpgradeKey (which you find in LocalSettings.php) and follow the instructions on that page to update the database! 2001:16B8:1043:8400:D98C:B39D:D5FE:A9F7 (talk) 20:12, 7 January 2018 (UTC)
Not work properly Capture.PNG Nirmol360 (talk) 04:25, 8 January 2018 (UTC)
Hello, please post your error log when upgrading. 星耀晨曦 (talk) 04:45, 8 January 2018 (UTC)
Also try the database update after disabling extensions from your LocalSettings.php file. This is done by removing or commenting out (inserting // at the beginning of the line) the extension code.
You have a lot of extensions enabled on your Wiki, many of which are not designed to run on non-Wikimedia Wikis. Some of them might be causing errors with the database update through, http://atheistpedia.org/mw-config/index.php?page=ExistingWiki. AhmadF.Cheema (talk) 08:24, 8 January 2018 (UTC)
If I use those extensions are giving by default works fine. Nirmol360 (talk) 09:12, 8 January 2018 (UTC)
AbuseFilter
AntiSpoof
ApiFeatureUsage
ArticleCreationWorkflow
Babel
BetaFeatures
BounceHandler
Campaigns
CategoryTree
CentralNotice
CharInsert
CheckUser
CirrusSearch
Cite
CiteThisPage
Citoid
cldr
CodeEditor
Collection
CommonsMetadata
ConfirmEdit
ContentTranslation
Disambiguator
DismissableSiteNotice
Echo
Elastica
ElectronPdfService
EventBus
EventLogging
FeaturedFeeds
FlaggedRevs
Gadgets
GeoData
GettingStarted
GlobalBlocking
GlobalCssJs
GlobalUsage
GlobalUserPage
Graph
GuidedTour
ImageMap
InputBox
Interwiki
InterwikiSorting
JsonConfig
Kartographer
LabeledSectionTransclusion
Linter
LocalisationUpdate
LoginNotify
MassMessage
Math
mediawiki-extensions-Wikibase-master
MobileFrontend
MultimediaViewer
MwEmbedSupport
Nuke
PageAssessments
PageImages
PageTriage
ParserFunctions
PdfHandler
Poem
Popups
RelatedArticles
Renameuser
Scribunto
SiteMatrix
SpamBlacklist
SyntaxHighlight_GeSHi
TemplateData
Thanks
TimedMediaHandler
TitleBlacklist
TorBlock
UniversalLanguageSelector
UrlShortener
UserMerge
VipsScaler
VisualEditor
Wikibase
WikiEditor
wikihiero
WikiLove
WikimediaMessages
Many of those Extensions install successfully but some of them giving error and wikibase currently not install besause it not work and not still after use update. Echo for notify and wikibase for linking with another page in another language and site is in need. wikidata.org will be wikidata.atheistpedia.org on my site. Nirmol360 (talk) 18:19, 8 January 2018 (UTC)
I think what you are trying to do is overkill. You won't need most if not nearly all of these extensions. Additionally they will slow down the system and each installed extension can potentially open security issues. You should only install those extensions, which you really need. 2001:16B8:10B4:D800:2428:1C8C:E28C:A552 (talk) 18:35, 8 January 2018 (UTC)
yes I don't need EventBus, EventLogging, mediawiki-extensions-Wikibase-master. But I upload mediawiki-extensions-Wikibase-master if wikibase work fine. If I give you login access can you configure my site? Nirmol360 (talk) 18:44, 8 January 2018 (UTC)
No, it is not that you do not need 3 of these extensions, you merely need any of these extensions.
Have you only counted them? You listed 85! 85! Are you kidding me? Expecially as a beginner with MediaWiki you should not start that way. Wikimedia Foundation runs wikis with that number of extensions. And they have a number of paid, fulltime developers who keep their systems running.
As a starting point you should just start with a normal MediaWiki installation. The MediaWiki core already has quite many options that want to be configured. That already is more than enough for the beginning. Extensions for funky stuff can still be added later once you eveluated what you really need. 2001:16B8:10B4:D800:3C8D:ADEA:1DFD:7AF2 (talk) 19:50, 8 January 2018 (UTC)
I already create a site with mw and do some work before take this project https://wiki.kidmaxmusic.com/wiki/Main_Page.
currently my LocalSettiungs.php is below:
<?php
# This file was automatically generated by the MediaWiki 1.30.0
# 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 = "Atheistpedia English";
$wgMetaNamespace = "Project";
## 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 = "";
## The protocol and server name to use in fully-qualified URLs
$wgServer = "//en.atheistpedia.org";
## The URL path to static resources (images, scripts, etc.)
$wgResourceBasePath = $wgScriptPath;
## The 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@atheistpedia.org";
$wgPasswordSender = "apache@atheistpedia.org";
$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = true;
## Database settings
$wgDBtype = "mysql";
$wgDBserver = "kidmaxmusiccom.ipagemysql.com";
$wgDBname = "kidmaxmusiccom_aehxjmeiycyffap";
$wgDBuser = "yaqwfwfilr*****";
$wgDBpassword = "8678629K*****";
# MySQL specific settings
$wgDBprefix = "apw_";
# 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 = [];
## 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 https://commons.wikimedia.org
$wgUseInstantCommons = true;
# Periodically send a pingback to https://www.mediawiki.org/ with basic data
# about this MediaWiki instance. The Wikimedia Foundation shares this data
# with MediaWiki developers to help guide future development efforts.
$wgPingback = 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 = "C.UTF-8";
## 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/data/Names.php
$wgLanguageCode = "en";
$wgSecretKey = "25ac11**7fec74a5*****057045808201b*****45da2277688******86ffb6cd2fc";
# Changing this will log out all existing sessions.
$wgAuthenticationTokenVersion = "1";
# Site upgrade key. Must be set to a string (default provided) to turn on the
# web installer while LocalSettings.php is in place
$wgUpgradeKey = "e394d8d*****76990";
## 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-sa/4.0/";
$wgRightsText = "Creative Commons Attribution-ShareAlike";
$wgRightsIcon = "$wgResourceBasePath/resources/assets/licenses/cc-by-sa.png";
# Path to the GNU diff3 utility. Used for conflict resolution.
$wgDiff3 = "/usr/bin/diff3";
## 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( 'MinervaNeue' );
wfLoadSkin( 'Modern' );
wfLoadSkin( 'MonoBook' );
wfLoadSkin( 'Vector' );
# Enabled extensions. Most of the extensions are enabled by adding
# wfLoadExtensions('ExtensionName');
# to LocalSettings.php. Check specific extension documentation for more details.
# The following extensions were automatically enabled:
wfLoadExtension( 'AbuseFilter' );
wfLoadExtension( 'AntiSpoof' );
wfLoadExtension( 'ApiFeatureUsage' );
wfLoadExtension( 'ArticleCreationWorkflow' );
wfLoadExtension( 'Babel' );
wfLoadExtension( 'BetaFeatures' );
wfLoadExtension( 'BounceHandler' );
wfLoadExtension( 'Campaigns' );
wfLoadExtension( 'CategoryTree' );
wfLoadExtension( 'CentralNotice' );
wfLoadExtension( 'CharInsert' );
wfLoadExtension( 'CheckUser' );
require_once "$IP/extensions/CirrusSearch/CirrusSearch.php";
wfLoadExtension( 'Cite' );
wfLoadExtension( 'CiteThisPage' );
wfLoadExtension( 'Citoid' );
wfLoadExtension( 'cldr' );
wfLoadExtension( 'CodeEditor' );
require_once "$IP/extensions/Collection/Collection.php";
wfLoadExtension( 'CommonsMetadata' );
wfLoadExtension( 'ConfirmEdit' );
wfLoadExtension( 'ContentTranslation' );
wfLoadExtension( 'Disambiguator' );
wfLoadExtension( 'DismissableSiteNotice' );
wfLoadExtension( 'Elastica' );
wfLoadExtension( 'ElectronPdfService' );
wfLoadExtension( 'FeaturedFeeds' );
wfLoadExtension( 'Gadgets' );
wfLoadExtension( 'GettingStarted' );
wfLoadExtension( 'GlobalCssJs' );
wfLoadExtension( 'GlobalUsage' );
wfLoadExtension( 'GlobalUserPage' );
wfLoadExtension( 'Graph' );
wfLoadExtension( 'GuidedTour' );
wfLoadExtension( 'ImageMap' );
wfLoadExtension( 'InputBox' );
wfLoadExtension( 'Interwiki' );
wfLoadExtension( 'InterwikiSorting' );
wfLoadExtension( 'JsonConfig' );
wfLoadExtension( 'Kartographer' );
wfLoadExtension( 'LabeledSectionTransclusion' );
wfLoadExtension( 'Linter' );
wfLoadExtension( 'LocalisationUpdate' );
wfLoadExtension( 'MassMessage' );
wfLoadExtension( 'Math' );
wfLoadExtension( 'MobileFrontend' );
wfLoadExtension( 'MultimediaViewer' );
wfLoadExtension( 'MwEmbedSupport' );
wfLoadExtension( 'Nuke' );
wfLoadExtension( 'PageAssessments' );
wfLoadExtension( 'PageImages' );
wfLoadExtension( 'PageTriage' );
wfLoadExtension( 'ParserFunctions' );
wfLoadExtension( 'PdfHandler' );
wfLoadExtension( 'Poem' );
wfLoadExtension( 'Popups' );
wfLoadExtension( 'RelatedArticles' );
wfLoadExtension( 'Renameuser' );
wfLoadExtension( 'SiteMatrix' );
wfLoadExtension( 'Scribunto' );
wfLoadExtension( 'SpamBlacklist' );
wfLoadExtension( 'SyntaxHighlight_GeSHi' );
wfLoadExtension( 'TemplateData' );
wfLoadExtension( 'Thanks' );
require_once "$IP/extensions/TimedMediaHandler/TimedMediaHandler.php";
wfLoadExtension( 'TitleBlacklist' );
wfLoadExtension( 'TorBlock' );
wfLoadExtension( 'UniversalLanguageSelector' );
wfLoadExtension( 'UrlShortener' );
wfLoadExtension( 'UserMerge' );
wfLoadExtension( 'VipsScaler' );
wfLoadExtension( 'VisualEditor' );
require_once "$IP/extensions/Wikibase/Wikibase.php";
require_once "$IP/extensions/Wikibase/repo/Wikibase.php";
require_once "$IP/extensions/Wikibase/repo/ExampleSettings.php";
require_once "$IP/extensions/Wikibase/client/WikibaseClient.php";
require_once "$IP/extensions/Wikibase/client/ExampleSettings.php";
wfLoadExtension( 'WikiEditor' );
wfLoadExtension( 'wikihiero' );
wfLoadExtension( 'WikiLove' );
wfLoadExtension( 'WikimediaMessages' );
# End of automatically generated settings.
# Add more configuration options below.
$wgScribuntoDefaultEngine = 'luastandalone';
$wgScribuntoUseGeSHi = true;
$wgScribuntoUseCodeEditor = true;
$wgAllowSchemaUpdates = true;
$wgGroupPermissions['sysop']['review'] = true;
$wgFlaggedRevsStatsAge = false;
$wgArticlePath = '/wiki/$1';
$wgShowExceptionDetails = true;
$wgShowDBErrorBacktrace = true;
$wgShowSQLErrors = true;
$wgMFAutodetectMobileView = true;
$wgEnableWikibaseRepo = true;
$wgEnableWikibaseClient = true;
$wgWBClientSettings['repoUrl'] = '//wikidata.atheistpedia.org';
$wgWBClientSettings['repoScriptPath'] = '';
$wgWBClientSettings['repoArticlePath'] = '/wiki/$1';
$wgWBClientSettings['siteGlobalID'] = 'enwiki';
$wgEchoEnableEmailBatch = true;
all things are setup successfully I think. But found only 3 problem notify, wikibase and http://en.atheistpedia.org/wiki/Special:ContentTranslation if this 3 done well then I can create http://bn.atheistpedia.org/wiki/Main_Page http://hi.atheistpedia.org/wiki/Main_Page for Bangla and Hindi language. Then http://wikidata.atheistpedia.org/ for wikibase and http://www.atheistpedia.org/ for mediawiki family home page. Nirmol360 (talk) 04:10, 9 January 2018 (UTC)

Faute d'orthographe dans le message envoyé par mail ainsi que dans la page d'aide ( Help:Login notifications/fr )

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.


Dans le message envoyé par mail ainsi que dans la page d'aide ( Help:Login notifications/fr ) il y a une faute d'orthographe :

" ... Il y a eu 5 tentative sen échec de connexion à votre compte depuis votre dernière connexion. ... "

devrait être

" ... Il y a eu 5 tentative sans échec de connexion à votre compte depuis votre dernière connexion. ... " Lucberger (talk) 12:53, 7 January 2018 (UTC)

You could correct translations yourself at https://translatewiki.net/ if you are interested. AKlapper (WMF) (talk) 13:07, 7 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Connect Wiki as if I'm on the English Wikpedia

Can I "connect" my MediaWiki installation so it looks and acts like I'm on the English Wikipedia (totally fine if its read-only), but I have a separate namespace to work in?

I'm trying to collaboratively write "This Day in Widget History" that can be parsed and used by others, with links to Wikipedia articles for more information. I originally was doing this on Wikipedia under my user page but it was deemed an inappropriate place to do this.

I'm trying to replicate the ease of working on Wikipedia for looking up articles, making article links, and using pictures, but without the restrictions with working on Wikipedia.

I know I can create a mirror, but that uses A LOT of space, and becomes stale over time. I also know I can create interwiki links to Wikipedia, but it makes it harder for others to find, edit, and link to Wikipedia articles from my wiki.

All I really want is it to seem like I'm on Wikipedia but I have a private namespace to write in. Jer Hughes (talk) 17:49, 7 January 2018 (UTC)

Mime type upload error solved

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


In case anyone else has this issue...

The location of the mime.types file has changed (not sure when). We are using 1.29.2, which is current as of today's date. If you're getting upload errors, the file to edit is located in the includes/libs/mime directory (not where it used to be, which was in the directory root). Mitzzzz (talk) 18:38, 7 January 2018 (UTC)

Instead of hacking the core, which is evil, I would follow Manual:Configuring file uploads to configure file uploads the way I want them to be. 2001:16B8:1043:8400:D98C:B39D:D5FE:A9F7 (talk) 22:02, 7 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

criação de páginas a partir da importação de um banco mysql

Prezados(as)...

Gostaria da ajuda de vocês para a criação de páginas a partir da importação de registros de um banco de dados mysql já existente. Explico:

Criei uma página wiki que concentra as atividades culturais de médicos brasileiros e portugueses.

Além das páginas que normalmente compõe o meu ambiente wiki, tenho as páginas referentes as informações de cada médico. No banco de dados mysql tenho 23 campos com as informações, compondo assim 1 registro do médico. Como importo esses 23 campos formando uma página wiki por registro? Nesse caso tenho por volta de 1.000 registros correspondentes a 1.000 médicos. Seriam então 1.000 páginas wiki ordenadas alfabeticamente contendo esses 23 campos (ou propriedades na sintaxe wiki).

Já tenho criadas as propriedades e a página de pré-definiçaõ. A inclusão (ou criação na sintaxe wiki) e edição de uma página wiki já é feita através de um formulário. Criei (e editei) 2 páginas de médicos através deste formulário.

Vocês poderiam me ajudar? Desde já agradeço a atenção.

Daniel Branco Dbufba (talk) 19:32, 7 January 2018 (UTC)

Browser Cache: two files are not included

I would like to have the css an javascript files saved in the browser cache. This works with the following htaccess too - but not with the following two files. Do you have any idea how to do that? Is there somewhere good instructions on how to make Mediawiki with various settings faster and perfomanter?

/load.php?debug=false&lang=de&modules=ext.bluespice.insertcategory.styles%7Cext.bluespice.statebar.style%7Cext.bluespice.styles%7Cmediawiki.ui.button%2Cicon%7Cskins.minerva.base.reset%2Cstyles%7Cskins.minerva.content.styles%7Cskins.minerva.icons.images%7Cskins.minerva.mainPage.styles%7Cskins.minerva.tablet.styles&only=styles&skin=minerva&target=mobile

/load.php?debug=false&lang=de&modules=startup&only=scripts&skin=minerva&target=mobile

<IfModule mod_expires.c>

    ExpiresActive on

    ExpiresDefault                                      "access plus 1 day"

  # CSS

   ExpiresByType text/css                              "access plus 1 week"

  # Data interchange

    ExpiresByType application/atom+xml                  "access plus 3 hour"

    ExpiresByType application/rdf+xml                   "access plus 3 hour"

    ExpiresByType application/rss+xml                   "access plus 3 hour"

  # Favicon (cannot be renamed!) and cursor images

    ExpiresByType image/vnd.microsoft.icon              "access plus 1 month"

    ExpiresByType image/x-icon                          "access plus 1 month"

  # JavaScript

    ExpiresByType application/javascript                "access plus 1 month"

    ExpiresByType application/x-javascript              "access plus 1 month"

    ExpiresByType text/javascript                       "access plus 1 month"

  # Media files

    ExpiresByType audio/ogg                             "access plus 1 month"

    ExpiresByType image/bmp                             "access plus 1 month"

    ExpiresByType image/gif                             "access plus 1 month"

    ExpiresByType image/jpeg                            "access plus 1 month"

    ExpiresByType image/jpg                             "access plus 1 month"

    ExpiresByType image/png                             "access plus 1 month"

    ExpiresByType image/svg+xml                         "access plus 1 month"

    ExpiresByType image/webp                            "access plus 1 month"

    ExpiresByType video/mp4                             "access plus 1 month"

    ExpiresByType video/ogg                             "access plus 1 month"

    ExpiresByType video/webm                            "access plus 1 month"

  # Web fonts

    # Embedded OpenType (EOT)

    ExpiresByType application/vnd.ms-fontobject         "access plus 1 month"

    ExpiresByType font/eot                              "access plus 1 month"

    # OpenType

    ExpiresByType font/opentype                         "access plus 1 month"

    # TrueType

    ExpiresByType application/x-font-ttf                "access plus 1 month"

    # Web Open Font Format (WOFF) 1.0

    ExpiresByType application/font-woff                 "access plus 1 month"

    ExpiresByType application/x-font-woff               "access plus 1 month"

    ExpiresByType font/woff                             "access plus 1 month"

    # Web Open Font Format (WOFF) 2.0

    ExpiresByType application/font-woff2                "access plus 1 month"

</IfModule>

Thanks for support!

MItcha 213.153.88.174 (talk) 10:39, 8 January 2018 (UTC)

Any idea? 213.153.88.174 (talk) 08:42, 9 January 2018 (UTC)

Operating system compatibility

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 new MacBook, running macOS High Sierra.  Will GnuCash work on this operating system? 109.146.175.122 (talk) 19:30, 8 January 2018 (UTC)

We don't know, because this is the support desk for MediaWiki, not for GnuCash Ciencia Al Poder (talk) 20:13, 8 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Different content by IP/OS country/browser language settings

Hello, as the title says, I need to know if there is a way to display different content according to geolocation provided by user IP address, and/or OS country settings, and/or browser language settings.

If it's not, which technical hurdles should be overcome in order to get it done within Mediawiki and then be able to use it in the Wikipedia through a template?

Thanks in advance. Mapep (talk) 20:57, 8 January 2018 (UTC)

only one page gives an 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.


[d4ad9ade1b334319c4de6d70] /S%C3%B6zl%C3%BCk:Yaz%C4%B1m_k%C4%B1lavuzu/ba Wikimedia\Rdbms\DBQueryError from line 1149 of /var/www/vhosts/sorumu.com/httpdocs/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading? 

Query: INSERT INTO `l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('ba','messages:math-visualeditor-symbol-group-math-bounds','s:12:\"Сиктәр\";'),('ba','messages:math-visualeditor-symbol-group-math-derivatives','s:62:\"Дифференциалдар һәм сығарылмалар\";'),('ba','messages:math-visualeditor-symbol-group-math-functions','s:46:\"Стандарт һан функциялары\";'),('ba','messages:math-visualeditor-symbol-group-math-geometry','s:18:\"Геометрия\";'),('ba','messages:math-visualeditor-symbol-group-math-greek','s:25:\"Грек алфавиты\";'),('ba','messages:math-visualeditor-symbol-group-math-hebrew','s:27:\"Йәһүд алфавиты\";'),('ba','messages:math-visualeditor-symbol-group-math-large','s:23:\"Ҙур макеттар\";'),('ba','messages:math-visualeditor-symbol-group-math-logic','s:12:\"Логика\";'),('ba','messages:math-visualeditor-symbol-group-math-matrices','s:20:\"Матрицалар\";'),('ba','messages:math-visualeditor-symbol-group-math-modular','s:48:\"Модуль буйынса сағыштырыу\";'),('ba','messages:math-visualeditor-symbol-group-math-operators','s:16:\"Оператор\";'),('ba','messages:math-visualeditor-symbol-group-math-parentheses','s:14:\"Йәйәләр\";'),('ba','messages:math-visualeditor-symbol-group-math-projections','s:22:\"Проекциялар\";'),('ba','messages:math-visualeditor-symbol-group-math-relations','s:18:\"Мөнәсәбәт\";'),('ba','messages:math-visualeditor-symbol-group-math-root','s:16:\"Тамырҙар\";'),('ba','messages:math-visualeditor-symbol-group-math-sets','s:20:\"Йыйылмалар\";'),('ba','messages:math-visualeditor-symbol-group-math-spacing','s:6:\"Ара\";'),('ba','messages:math-visualeditor-symbol-group-math-special','s:12:\"Махсус\";'),('ba','messages:math-visualeditor-symbol-group-math-subscripts','s:90:\"Юл өҫтөндәгеләр, юл аҫтындағылар һәм интегралдар\";'),('ba','messages:math-visualeditor-symbol-group-math-symbols','s:50:\"Символдар һәм константалар\";'),('ba','messages:math-visualeditor-symbol-group-math-typefaces','s:25:\"Шрифт төрҙәре\";'),('ba','messages:math-visualeditor-symbol-group-math-unsorted','s:22:\"Айырылмаған\";'),('ba','messages:math_bad_output','s:124:\"Математика директорияһы булдырып йәки директорияға яҙҙырып булмай\";'),('ba','messages:math_bad_tmpdir','s:139:\"Ваҡытлы математика директорияһы булдырып йәки директорияға яҙҙырып булмай\";'),('ba','messages:math_failure','s:21:\"Уҡып булмай\";'),('ba','messages:math_image_error','s:130:\"PNG яһау хатаһы.\nlatex һәм dvipng (йәки dvips + gs + convert) дөрөҫ ҡуйылыуын тикшерегеҙ.\";'),('ba','messages:math_invalidjson','s:91:\"Дөрөҫ булмаған JSON-форматында серверҙың яуабы — $1.\";'),('ba','messages:math_invalidresponse','s:64:\"$1: «$2»серверенан (\"$3\") ярамаған яуап:\";'),('ba','messages:math_invalidxml','s:61:\"MathML йәки SVG -ҙа ярамаған XML-код бар.\";'),('ba','messages:math_lexing_error','s:21:\"лексик хата\";'),('ba','messages:math_mathoid_error','s:86:\"Үҙгәртеүҙең хатаһы. Сервер («$1») хәбәр итте: «$2»\";'),('ba','messages:math_notexvc','s:150:\"Башҡарыла торған <code>texvc</code> файлы юҡ. Көйләүҙәр буйынса белешмәне — math/README уҡығыҙ.\";'),('ba','messages:math_output_error','s:82:\"Файс системаһында матаматик һүрәт һаҡланмай\";'),('ba','messages:math_sample','s:48:\"Формуланы бында керетегеҙ\";'),('ba','messages:math-status-introduction','s:266:\"Был бит математиканы күрһәтеү буйынса, {{PLURAL:$1|тоҡанған режим}} тураһында мәғлүмәт бирә.\n\n{{PLURAL:$1|Математиканы күрһәтеүҙең киләһе режимы тоҡанған}}:\";'),('ba','messages:math_syntax_error','s:27:\"синтаксик хата\";'),('ba','messages:math_timeout','s:49:\"«$2»-нән көтөү ваҡыты $1 үтте\";'),('ba','messages:math-test-fail','s:86:\"Тест буйынса һынау \'\'$1\'\' <span style="\"color:red\"">үтмәне</span>.\";'),('ba','messages:math-test-success','s:97:\"Тест буйынса һынау «$1» <span style="\"color:green\"">уңышлы үтте</span>.\";'),('ba','messages:math_tip','s:56:\"Математик формула (LaTeX форматы)\";'),('ba','messages:math_unknown_error','s:25:\"билдәһеҙ хата\";'),('ba','messages:math_unknown_function','s:38:\"билдәһеҙ функция «$1»\";'),('ba','messages:mw_math_latexml','s:61:\"LaTeXML (эксперименталь; MathML ҡуллана)\";'),('ba','messages:mw_math_mathml','s:231:\"SVG йәки PNG форматтарына күсеү өсөн MathML ҡулланыу (яңы төр заманса браузерҙар һәм ҡорал мөмкинселектәрен күтәререгә тәҡъдим итә)\";'),('ba','messages:mw_math_png','s:20:\"PNG рәсемдәр\";'),('ba','messages:mw_math_source','s:92:\"LaTeX форматында ҡалдырырға (текст браузерҙары өсөн)\";'),('ba','messages:prefs-math','s:20:\"Формулалар\";'),('ba','messages:mathstatus','s:35:\"Математика статусы\";'),('ba','messages:datatypes-type-math','s:33:\"Математик аңлатма\";'),('ba','messages:wikibase-listdatatypes-math-head','s:29:\"Математик әйтем\";'),('ba','messages:datatypes-desc','s:71:\"Бирем төрҙәре билдәләмәһе коллекцияһы\";'),('ba','messages:datatypes-type-quantity','s:14:\"Миҡдары\";'),('ba','messages:datatypes-type-monolingualtext','s:28:\"Бер телле текст\";'),('ba','messages:datatypes-type-multilingualtext','s:28:\"Күп телле текст\";'),('ba','messages:datatypes-type-mediawiki-title','s:20:\"MediaWiki исеме\";'),('ba','messages:datatypes-type-unknown','s:24:\"Аныҡланмаған\";'),('ba','messages:datatypes-type-globe-coordinate','s:45:\"Географик координаталар\";'),('ba','messages:datatypes-type-time','s:19:\"Ваҡыт мәле\";'),('ba','messages:wikibase-sitelinks-wikipedia','s:18:\"Википедия\";'),('ba','messages:wikibase-edit','s:20:\"үҙгәртергә\";'),('ba','messages:wikibase-add','s:14:\"өҫтәргә\";'),('ba','messages:wikibase-label-empty','s:26:\"Тамға (исем) юҡ\";'),('ba','messages:wikibase-description-empty','s:47:\"Тасуирлама тултырылмаған\";'),('ba','messages:wikibase-statementsection-statements','s:18:\"Раҫлауҙар\";'),('ba','messages:wikibase-sitelinks-special','s:25:\"Башҡа сайттар\";'),('ba','messages:wikibase-statementview-rank-normal','s:23:\"Нормаль ранг\";'),('ba','messages:wikibase-statementview-references-counter','s:31:\"$1 {{PLURAL:$1|сығанаҡ}}\";'),('ba','messages:wikibase-redirectentity-success','s:51:\"$1 $2 битенә кире йүнәлтелгән.\";'),('ba','messages:tooltip-t-wikibase','s:105:\"Мәғлүмәт репозитарийҙағы үҙара бәйле элементҡа һылтанма\";'),('ba','messages:wikibase-comment-update','s:54:\"{{WBREPONAME}} элементы үҙгәртелгән\";'),('ba','messages:wikibase-dataitem','s:31:\"{{WBREPONAME}} элементы\";'),('ba','messages:wikibase-editlinks','s:37:\"Һылтанмаларҙы төҙәт\";'),('ba','messages:wikibase-editlinkstitle','s:69:\"Башҡа телдәргә һылтанмаларҙы төҙәтеү\";'),('ba','messages:wikibase-linkitem-addlinks','s:33:\"Һылтанмалар өҫтәү\";'),('ba','messages:wikibase-rc-hide-wikidata','s:17:\"$1 {{WBREPONAME}}\";'),('ba','messages:wikibase-rc-hide-wikidata-hide','s:18:\"Йәшерергә\";'),('ba','messages:wikibase-rc-hide-wikidata-show','s:20:\"Күрһәтергә\";'),('ba','messages:wikibase-rc-wikibase-edit-letter','s:1:\"D\";'),('ba','messages:wikibase-rc-wikibase-edit-title','s:33:\"{{WBREPONAME}} үҙгәртеүе\";'),('ba','messages:wikibase-otherprojects','s:33:\"Башҡа проекттарҙа\";'),('ba','messages:htmlets-filenotfound','s:46:\"$1 HTML-файлын табып булманы\";'),('ba','messages:categoryviewer-pagedlinks','s:9:\"($1) ($2)\";'),('ba','messages:category-header-numerals','s:7:\"$1–$2\";'),('ba','messages:backlinksubtitle','s:6:\"← $1\";'),('ba','messages:feed-atom','s:4:\"Atom\";'),('ba','messages:resetpass_text','s:45:\"<!-- Добавьте сюда текст -->\";'),('ba','messages:image_sample','s:16:\"Пример.jpg\";'),('ba','messages:media_sample','s:16:\"Пример.ogg\";'),('ba','messages:edittools','s:176:\"<!-- Расположенный здесь текст будет показываться под формой редактирования и формой загрузки. -->\";'),('ba','messages:edittools-upload','s:1:\"-\";'),('ba','messages:content-model-json','s:4:\"JSON\";'),('ba','messages:template-loop-warning','s:248:\"<strong>Предупреждение:</ strong> Эта страница вызывает [[:$1]], который приводит к возникновению цикла в шаблоне (бесконечный рекурсивный вызов).\";'),('ba','messages:email-blacklist-label','s:113:\"Запретить этим участникам отправлять мне электронные письма:\";'),('ba','messages:recentchanges-legend-plusminus','s:11:\"(\'\'±123\'\')\";'),('ba','messages:rcfilters-watchlist-markseen-button','s:76:\"Отметить все изменения как просмотренные\";'),('ba','messages:rcfilters-watchlist-edit-watchlist-button','s:88:\"Редактировать ваш список просмотренных страниц\";'),('ba','messages:rcfilters-watchlist-showupdated','s:238:\"Изменения страниц, которые вы не посещали с того момента, как они изменились, выделены <strong>жирным</strong> и отмечены полным маркером.\";'),('ba','messages:rcfilters-preference-label','s:84:\"Скрыть улучшенную версию Последних изменений\";'),('ba','messages:rcfilters-preference-help','s:147:\"Откатывает редизайн интерфейса 2017 года и все инструменты, добавленные с тех пор.\";'),('ba','messages:unpatrolledletter','s:1:\"!\";'),('ba','messages:upload-tryagain-nostash','s:108:\"Отправить повторно загруженный файл и изменённое описание\";'),('ba','messages:uploadwarning-text-nostash','s:128:\"Повторите загрузку файла, измените описание ниже и повторите попытку.\";'),('ba','messages:filename-prefix-blacklist','s:698:\" #<!-- оставьте эту строчку как есть --> 

\n# Синтаксис следующий:\n# * Всё, что начинается с символа «#», считается комментарием (до конца строки)\n# * Каждая непустая строка — префикс стандартного названия файла, которое обычно даёт цифровая камера\nCIMG # Casio\nDSC_ # Nikon\nDSCF # Fuji\nDSCN # Nikon\nDUW # некоторые мобильные телефоны\nIMG # общее\nJD # Jenoptik\nMGP # Pentax\nPICT # различные\n # <!-- оставьте эту строчку как есть -->

\";'),('ba','messages:shared-repo-name-wikimediacommons','s:20:\"Викисклада\";'),('ba','messages:filepage.css','s:180:\"/* Размещённые здесь CSS будут применены на странице описания файла и на сторонних клиентских вики */\";'),('ba','messages:booksources-isbn','s:5:\"ISBN:\";'),('ba','messages:listgrouprights-right-display','s:65:\"<span class="\"listgrouprights-granted\"">$1 (<code>$2</code>)</span>\";'),('ba','messages:listgrouprights-right-revoked','s:65:\"<span class="\"listgrouprights-revoked\"">$1 (<code>$2</code>)</span>\";'),('ba','messages:sp-contributions-outofrange','s:147:\"Не удаётся показать результаты. Запрашиваемый IP-диапазон больше, чем лимит CIDR /$1.\";'),('ba','messages:interlanguage-link-title','s:9:\"$1 — $2\";'),('ba','messages:common.css','s:123:\"/* Размещённый здесь CSS будет применяться ко всем темам оформления */\";'),('ba','messages:print.css','s:113:\"/* Размещённый здесь CSS будет применяться к версии для печати */\";'),('ba','messages:noscript.css','s:143:\"/* Размещённый здесь CSS будет применяться для участников с отключенным JavaScript */\";'),('ba','messages:group-autoconfirmed.css','s:142:\"/* Размещённый здесь CSS будет применяться для автоподтверждённых участников */\";'),('ba','messages:group-user.css','s:161:\"/* Размещённый здесь CSS будет применяться только для зарегистрированных пользователей */\";'),('ba','messages:group-bot.css','s:108:\"/* Размещённый здесь CSS будет применяться только для ботов */\";'),('ba','messages:group-sysop.css','s:128:\"/* Размещённый здесь CSS будет применяться только для администраторов */\";'),('ba','messages:group-bureaucrat.css','s:118:\"/* Размещённый здесь CSS будет применяться только для бюрократов */\";'),('ba','messages:common.js','s:177:\"/* Размещённый здесь код JavaScript будет загружаться пользователям при обращении к каждой странице */\";'),('ba','messages:group-autoconfirmed.js','s:207:\"/* Размещённый здесь код JavaScript будет загружаться только участникам, имеющим статус автоподтверждённых (autoconfirmed) */\";'),('ba','messages:group-user.js','s:168:\"/* Размещённый здесь JavaScript будет применяться только для зарегистрированных пользователей */\";'),('ba','messages:group-bot.js','s:172:\"/* Размещённый здесь код JavaScript будет загружаться только участникам, имеющим статус ботов (bots) */\";'),('ba','messages:group-sysop.js','s:194:\"/* Размещённый здесь код JavaScript будет загружаться только участникам, имеющим статус администраторов (sysops) */\";'),('ba','messages:group-bureaucrat.js','s:189:\"/* Размещённый здесь код JavaScript будет загружаться только участникам, имеющим статус бюрократов (bureaucrats) */\";'),('ba','messages:pageinfo-redirects-value','s:2:\"$1\";'),('ba','messages:widthheight','s:8:\"$1 × $2\";'),('ba','messages:video-dims','s:12:\"$1, $2 × $3\";'),('ba','messages:seconds-abbrev','s:5:\"$1 с\";'),('ba','messages:minutes-abbrev','s:5:\"$1 м\";'),('ba','messages:hours-abbrev','s:5:\"$1 ч\";'),('ba','messages:days-abbrev','s:5:\"$1 д\";'),('ba','messages:variantname-zh-hans','s:4:\"hans\";'),('ba','messages:exif-focallength-format','s:7:\"$1 мм\";'),('ba','messages:exif-compression-5','s:3:\"LZW\";'),('ba','messages:exif-compression-6','s:19:\"JPEG (старый)\";'),('ba','messages:exif-compression-7','s:4:\"JPEG\";'),('ba','messages:exif-photometricinterpretation-0','s:45:\"Чёрный и белый (белый — 0)\";'),('ba','messages:exif-photometricinterpretation-4','s:35:\"Маска прозрачности\";'),('ba','messages:exif-photometricinterpretation-5','s:42:\"Разделены (вероятно CMYK)\";'),('ba','messages:exif-xyresolution-i','s:27:\"$1 точек на дюйм\";'),('ba','messages:exif-xyresolution-c','s:37:\"$1 точек на сантиметр\";'),('ba','messages:unit-pixel','s:10:\" пикс.\";'),('ba','messages:pipe-separator','s:11:\" | \";'),('ba','messages:word-separator','s:5:\" \";'),('ba','messages:ellipsis','s:3:\"…\";'),('ba','messages:parentheses','s:4:\"($1)\";'),('ba','messages:size-bytes','s:45:\"$1 {{PLURAL:$1|байт|байта|байт}}\";'),('ba','messages:size-kilobytes','s:7:\"$1 КБ\";'),('ba','messages:size-megabytes','s:7:\"$1 МБ\";'),('ba','messages:size-gigabytes','s:7:\"$1 ГБ\";'),('ba','messages:size-terabytes','s:7:\"$1 ТБ\";'),('ba','messages:size-petabytes','s:7:\"$1 ПБ\";'),('ba','messages:size-exabytes','s:7:\"$1 ЭБ\";'),('ba','messages:size-zetabytes','s:7:\"$1 ЗБ\";'),('ba','messages:size-yottabytes','s:7:\"$1 ИБ\";'),('ba','messages:size-pixel','s:63:\"$1 {{PLURAL:$1|пиксель|пикселя|пикселей}}\";'),('ba','messages:bitrate-bits','s:8:\"$1 б/с\";'),('ba','messages:bitrate-kilobits','s:10:\"$1 Кб/с\";'),('ba','messages:bitrate-megabits','s:10:\"$1 Мб/с\";'),('ba','messages:bitrate-gigabits','s:10:\"$1 Гб/с\";'),('ba','messages:bitrate-terabits','s:10:\"$1 Тб/с\";'),('ba','messages:bitrate-petabits','s:10:\"$1 Пб/с\";'),('ba','messages:bitrate-exabits','s:10:\"$1 Эб/с\";'),('ba','messages:bitrate-zetabits','s:10:\"$1 Зб/с\";'),('ba','messages:bitrate-yottabits','s:10:\"$1 Иб/с\";'),('ba','messages:iranian-calendar-m1','s:18:\"Фарвардин\";'),('ba','messages:iranian-calendar-m2','s:20:\"Ордибехешт\";'),('ba','messages:iranian-calendar-m3','s:12:\"Хордад\";'),('ba','messages:iranian-calendar-m4','s:6:\"Тир\";'),('ba','messages:iranian-calendar-m5','s:12:\"Мордад\";'),('ba','messages:iranian-calendar-m6','s:16:\"Шахривар\";'),('ba','messages:iranian-calendar-m7','s:8:\"Мехр\";'),('ba','messages:iranian-calendar-m8','s:8:\"Абан\";'),('ba','messages:iranian-calendar-m9','s:8:\"Азар\";'),('ba','messages:iranian-calendar-m10','s:6:\"Дей\";'),('ba','messages:iranian-calendar-m11','s:12:\"Бахман\";'),('ba','messages:iranian-calendar-m12','s:12:\"Эсфанд\";'),('ba','messages:hijri-calendar-m1','s:16:\"Мухаррам\";'),('ba','messages:hijri-calendar-m2','s:10:\"Сафар\";'),('ba','messages:hijri-calendar-m3','s:25:\"Рабиуль-Аввал\";'),('ba','messages:hijri-calendar-m4','s:22:\"Раби ас-сани\";'),('ba','messages:hijri-calendar-m5','s:28:\"Джумада аль-уля\";'),('ba','messages:hijri-calendar-m6','s:28:\"Джумада ас-сани\";'),('ba','messages:hijri-calendar-m7','s:12:\"Раджаб\";'),('ba','messages:hijri-calendar-m8','s:12:\"Шаабан\";'),('ba','messages:hijri-calendar-m9','s:14:\"Рамадан\";'),('ba','messages:hijri-calendar-m10','s:14:\"Шавваль\";'),('ba','messages:hijri-calendar-m11','s:16:\"Зулькада\";'),('ba','messages:hijri-calendar-m12','s:19:\"Зуль-Хиджа\";'),('ba','messages:hebrew-calendar-m1','s:12:\"Тишрей\";'),('ba','messages:hebrew-calendar-m2','s:12:\"Хешван\";'),('ba','messages:hebrew-calendar-m3','s:12:\"Кислев\";'),('ba','messages:hebrew-calendar-m4','s:10:\"Тевет\";'),('ba','messages:hebrew-calendar-m5','s:8:\"Шват\";'),('ba','messages:hebrew-calendar-m6','s:8:\"Адар\";'),('ba','messages:hebrew-calendar-m6a','s:10:\"Адар I\";'),('ba','messages:hebrew-calendar-m6b','s:11:\"Адар II\";'),('ba','messages:hebrew-calendar-m7','s:10:\"Нисан\";'),('ba','messages:hebrew-calendar-m8','s:6:\"Ияр\";'),('ba','messages:hebrew-calendar-m9','s:10:\"Сиван\";'),('ba','messages:hebrew-calendar-m10','s:12:\"Таммуз\";'),('ba','messages:hebrew-calendar-m11','s:4:\"Ав\";'),('ba','messages:hebrew-calendar-m12','s:8:\"Элул\";'),('ba','messages:hebrew-calendar-m1-gen','s:12:\"Тишрея\";'),('ba','messages:hebrew-calendar-m2-gen','s:14:\"Хешвана\";'),('ba','messages:hebrew-calendar-m3-gen','s:14:\"Кислева\";'),('ba','messages:hebrew-calendar-m4-gen','s:12:\"Тевета\";'),('ba','messages:hebrew-calendar-m5-gen','s:10:\"Швата\";'),('ba','messages:hebrew-calendar-m6-gen','s:10:\"Адара\";'),('ba','messages:hebrew-calendar-m6a-gen','s:12:\"Адара I\";'),('ba','messages:hebrew-calendar-m6b-gen','s:13:\"Адара II\";'),('ba','messages:hebrew-calendar-m7-gen','s:12:\"Нисана\";'),('ba','messages:hebrew-calendar-m8-gen','s:8:\"Ияра\";'),('ba','messages:hebrew-calendar-m9-gen','s:12:\"Сивана\";'),('ba','messages:hebrew-calendar-m10-gen','s:14:\"Таммуза\";'),('ba','messages:hebrew-calendar-m11-gen','s:6:\"Ава\";'),('ba','messages:hebrew-calendar-m12-gen','s:10:\"Элула\";'),('ba','messages:timezone-utc','s:3:\"UTC\";'),('ba','messages:version-api','s:3:\"API\";'),('ba','messages:version-entrypoints-articlepath','s:98:\"[https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgArticlePath Путь к статье]\";'),('ba','messages:version-entrypoints-scriptpath','s:99:\"[https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgScriptPath Путь к скрипту]\";'),('ba','messages:logentry-delete-delete_redir','s:105:\"$1 удалил{{GENDER:$2||а}} перенаправление $3 с помощью перезаписи\";'),('ba','messages:logentry-delete-restore-nocount','s:84:\"$1 {{GENDER:$2|восстановил|восстановила}} страницу $3\";'),('ba','messages:restore-count-revisions','s:60:\"{{PLURAL:$1|1 версия|$1 версии|$1 версий}}\";'),('ba','messages:restore-count-files','s:54:\"{{PLURAL:$1|1 файл|$1 файла|$1 файлов}}\";'),('ba','messages:rightslogentry-temporary-group','s:30:\"$1 (временно, до $2)\";'),('ba','messages:limitreport-ppvisitednodes-value','s:5:\"$1/$2\";'),('ba','messages:limitreport-ppgeneratednodes-value','s:5:\"$1/$2\";'),('ba','messages:limitreport-expansiondepth-value','s:5:\"$1/$2\";'),('ba','messages:limitreport-expensivefunctioncount-value','s:5:\"$1/$2\";'),('ba','messages:pagelang-reason','s:14:\"Причина\";'),('ba','messages:pagelang-nonexistent-page','s:46:\"Страница $1 не существует.\";'),('ba','messages:pagelang-unchanged-language','s:60:\"Странице $1 уже установлен язык $2.\";'),('ba','messages:pagelang-unchanged-language-default','s:157:\"Странице $1 уже установлен язык, установленный по умолчанию для содержимого этой вики.\";'),('ba','messages:pagelang-db-failed','s:85:\"Базе данных не удалось изменить язык страницы.\";'),('ba','messages:mediastatistics-nfiles','s:8:\"$1 ($2%)\";'),('ba','messages:special-characters-group-canadianaboriginal','s:48:\"Канадское слоговое письмо\";'),('ba','messages:mw-widgets-dateinput-placeholder-day','s:18:\"ГГГГ-ММ-ДД\";'),('ba','messages:mw-widgets-dateinput-placeholder-month','s:13:\"ГГГГ-ММ\";'),('ba','messages:mw-widgets-mediasearch-input-placeholder','s:33:\"Поиск мультимедиа\";'),('ba','messages:mw-widgets-mediasearch-noresults','s:33:\"Ничего не найдено.\";'),('ba','messages:mw-widgets-categoryselector-add-category-placeholder','s:38:\"Добавить категорию…\";'),('ba','messages:mw-widgets-usersmultiselect-placeholder','s:26:\"Добавить ещё…\";'),('ba','messages:date-range-from','s:12:\"С даты:\";'),('ba','messages:date-range-to','s:14:\"По дату:\";'),('ba','messages:log-action-filter-contentmodel','s:62:\"Тип изменения модели содержимого:\";'),('ba','messages:log-action-filter-managetags','s:56:\"Действие по управлению тегами:\";'),('ba','messages:log-action-filter-move','s:36:\"Тип переименования:\";'),('ba','messages:log-action-filter-newusers','s:52:\"Тип создания учётной записи:\";'),('ba','messages:log-action-filter-rights','s:35:\"Тип изменения прав:\";'),('ba','messages:log-action-filter-suppress','s:24:\"Тип сокрытия:\";'),('ba','messages:log-action-filter-contentmodel-new','s:101:\"Создание страницы с нестандартной моделью содержимого\";'),('ba','messages:log-action-filter-delete-delete_redir','s:51:\"Перезапись перенаправления\";'),('ba','messages:log-action-filter-import-upload','s:44:\"Импорт через загрузку XML\";'),('ba','messages:log-action-filter-managetags-activate','s:29:\"Активация тегов\";'),('ba','messages:log-action-filter-managetags-deactivate','s:29:\"Отключение тега\";'),('ba','messages:log-action-filter-move-move','s:92:\"Переименования не в существующее перенаправление\";'),('ba','messages:log-action-filter-move-move_redir','s:72:\"Переименования поверх перенаправления\";'),('ba','messages:log-action-filter-newusers-create','s:56:\"Создание анонимным участником\";'),('ba','messages:log-action-filter-newusers-create2','s:74:\"Создание зарегистрированным участником\";'),('ba','messages:log-action-filter-newusers-byemail','s:95:\"Создание с паролем, присланным по электронной почте\";'),('ba','messages:log-action-filter-suppress-event','s:31:\"Сокрытие журнала\";'),('ba','messages:log-action-filter-suppress-revision','s:29:\"Сокрытие версии\";'),('ba','messages:log-action-filter-suppress-delete','s:33:\"Сокрытие страницы\";'),('ba','messages:log-action-filter-suppress-block','s:73:\"Сокрытие пользователя через блокировки\";'),('ba','messages:log-action-filter-suppress-reblock','s:96:\"Сокрытие пользователя через повторное блокирование\";'),('ba','messages:authmanager-authn-not-in-progress','s:203:\"Проверка подлинности не выполняется или данные сессии были утеряны. Пожалуйста, начните снова с самого начала.\";'),('ba','messages:authmanager-authn-no-primary','s:131:\"Предоставленные учётные данные не могут быть проверены на подлинность.\";'),('ba','messages:authmanager-authn-no-local-user','s:137:\"Предоставленные учётные данные не связаны ни с одним участником этой вики.\";'),('ba','messages:authmanager-authn-no-local-user-link','s:476:\"Предоставленные учётные данные корректны, но не связаны ни с одни участником этой вики. Войдите с помощью какого-то другого способа или создайте новую учётную запись, и у вас появится возможность привязать свои предыдущие учётные данные к этой учетной записи.\";'),('ba','messages:authmanager-authn-autocreate-failed','s:116:\"Автоматическое создание локальной учётной записи не удалось: $1\";'),('ba','messages:authmanager-change-not-supported','s:164:\"Предоставленные учётные данные не могут быть изменены, так как они не будут использованы.\";'),('ba','messages:authmanager-create-from-login','s:137:\"Чтобы создать учётную запись, пожалуйста, заполните приведённые ниже поля.\";'),('ba','messages:authmanager-create-not-in-progress','s:208:\"Создание учётной записи не выполняется или данные сессии были утеряны. Пожалуйста, начните снова с самого начала.\";'),('ba','messages:authmanager-create-no-primary','s:161:\"Предоставленные учётные данные не могут быть использованы для создания учётной записи.\";'),('ba','messages:authmanager-link-no-primary','s:167:\"Предоставленные учётные данные не могут быть использованы для связывания учётных записей.\";'),('ba','messages:authmanager-link-not-in-progress','s:212:\"Связывание учётной записи не выполняется или данные сессии были утеряны. Пожалуйста, начните снова с самого начала.\";'),('ba','messages:authmanager-authplugin-setpass-failed-message','s:85:\"Плагин аутентификации запрещает смену пароля.\";'),('ba','messages:authmanager-authplugin-create-fail','s:108:\"Плагин аутентификации запрещает создание учётных записей.\";'),('ba','messages:authmanager-authplugin-setpass-denied','s:96:\"Плагин аутентификации не позволяет изменять пароли.\";'),('ba','messages:authmanager-authplugin-setpass-bad-domain','s:28:\"Неверный домен.\";'),('ba','messages:authmanager-autocreate-noperm','s:100:\"Автоматическое создание учётных записей не разрешено.\";'),('ba','messages:authmanager-autocreate-exception','s:154:\"Автоматическое создание учётной записи временно отключено из-за предыдущих ошибок.\";'),('ba','messages:authmanager-userlogin-remembermypassword-help','s:141:\"Будет ли пароль запоминаться на время большее, чем продолжительность сессии.\";'),('ba','messages:authmanager-username-help','s:73:\"Имя участника для проверки подлинности.\";'),('ba','messages:authmanager-password-help','s:60:\"Пароль для проверки подлинности.\";'),('ba','messages:authmanager-retype-help','s:61:\"Ещё раз пароль для подтверждения.\";'),('ba','messages:authmanager-realname-help','s:44:\"Настоящее имя участника\";'),('ba','messages:authmanager-provider-password','s:59:\"Аутентификация на основе пароля\";'),('ba','messages:authmanager-provider-password-domain','s:86:\"Проверка подлинности на основе пароля и домена\";'),('ba','messages:authmanager-provider-temporarypassword','s:31:\"Временный пароль\";'),('ba','messages:authprovider-confirmlink-message','s:439:\"На основании ваших последних попыток входа, учётные записи могут быть связаны с вашей учётной записью в вики. Их связывание даёт возможность входа через эти учётные записи. Пожалуйста, выберите, какие из них должны быть связаны между собой.\";'),('ba','messages:authprovider-confirmlink-option','s:7:\"$1 ($2)\";'),('ba','messages:authprovider-confirmlink-request-label','s:80:\"Учётные записи, которые должны быть связаны\";'),('ba','messages:authprovider-confirmlink-success-line','s:32:\"$1: успешно связан.\";'),('ba','messages:authprovider-confirmlink-failed-line','s:6:\"$1: $2\";'),('ba','messages:authprovider-confirmlink-failed','s:73:\"Удалось связать не все учётные записи: $1\";'),('ba','messages:authprovider-confirmlink-ok-help','s:105:\"Продолжать после вывода сообщений об ошибках связывания.\";'),('ba','messages:authprovider-resetpass-skip-help','s:45:\"Пропустить сброс пароля.\";'),('ba','messages:authform-nosession-login','s:165:\"Проверка подлинности прошла успешно, но ваш браузер не сможет «запомнить», что вы вошли.\n\n$1\";'),('ba','messages:authform-nosession-signup','s:149:\"Учётная запись была создана, но ваш браузер не сможет «запомнить», что вы вошли.\n\n$1\";'),('ba','messages:authform-newtoken','s:37:\"Отсутствует токен. $1\";'),('ba','messages:authform-notoken','s:33:\"Отсутствует токен\";'),('ba','messages:authform-wrongtoken','s:27:\"Неверный токен\";'),('ba','messages:specialpage-securitylevel-not-allowed-title','s:23:\"Не разрешено\";'),('ba','messages:specialpage-securitylevel-not-allowed','s:182:\"Извините, вам не можете использовать эту страницу, поскольку ваша личность не может быть проверена.\";'),('ba','messages:authpage-cannot-login','s:82:\"Невозможно продолжить вход в учётную запись.\";'),('ba','messages:authpage-cannot-login-continue','s:158:\"Невозможно продолжить вход в учётную запись. Скорее всего, время вашей сессии истекло.\";'),('ba','messages:authpage-cannot-create','s:87:\"Невозможно продолжить создание учётной записи.\";'),('ba','messages:authpage-cannot-create-continue','s:163:\"Невозможно продолжить создание учётной записи. Скорее всего, время вашей сессии истекло.\";'),('ba','messages:authpage-cannot-link','s:83:\"Невозможно начать связывание учётной записи.\";'),('ba','messages:authpage-cannot-link-continue','s:167:\"Невозможно продолжить связывание учётной записи. Скорее всего, время вашей сессии истекло.\";'),('ba','messages:cannotauth-not-allowed-title','s:29:\"Доступ запрещён\";'),('ba','messages:changecredentials-invalidsubpage','s:84:\"$1 является недопустимым типом учётных данных.\";'),('ba','messages:changecredentials-success','s:63:\"Ваши учётные данные были изменены.\";'),('ba','messages:removecredentials-invalidsubpage','s:84:\"$1 является недопустимым типом учётных данных.\";'),('ba','messages:removecredentials-success','s:61:\"Ваши учётные данные были удалены.\";'),('ba','messages:credentialsform-provider','s:35:\"Тип учётных данных:\";'),('ba','messages:cannotlink-no-provider-title','s:59:\"Нет связываемых учётных записей\";'),('ba','messages:cannotlink-no-provider','s:60:\"Нет связываемых учётных записей.\";'),('ba','messages:linkaccounts','s:42:\"Связать учётные записи\";'),('ba','messages:linkaccounts-success-text','s:52:\"Учетная запись была связана.\";'),('ba','messages:linkaccounts-submit','s:42:\"Связать учётные записи\";'),('ba','messages:unlinkaccounts','s:44:\"Отвязать учётные записи\";'),('ba','messages:unlinkaccounts-success','s:52:\"Учетная запись была отвязан.\";'),('ba','messages:authenticationdatachange-ignored','s:198:\"Изменение данных для проверки подлинности не было обработано. Может быть, не был настроен ни один провайдер?\";'),('ba','messages:userjsispublic','s:260:\"Обратите внимание: подстраницы JavaScript не должны содержать конфиденциальные сведения, поскольку они доступны для просмотра другим участникам.\";'),('ba','messages:usercssispublic','s:253:\"Обратите внимание: подстраницы CSS не должны содержать конфиденциальные сведения, поскольку они доступны для просмотра другим участникам.\";'),('ba','messages:restrictionsfield-badip','s:81:\"Недопустимый IP-адрес или диапазон адресов: $1\";'),('ba','messages:restrictionsfield-label','s:60:\"Разрешённые диапазоны IP-адресов:\";'),('ba','messages:restrictionsfield-help','s:168:\"По одному IP-адресу или CIDR-диапазону в строке. Чтобы разрешить всё, используйте:

0.0.0.0/0\n::/0

\";'),('ba','messages:revid','s:15:\"версия $1\";'),('ba','messages:pageid','s:22:\"ID страницы $1\";'),('ba','messages:rawhtml-notallowed','s:130:\"<html> теги могут быть использованы только в пределах обычных страниц.\";'),('ba','messages:gotointerwiki','s:55:\"Покидаем {{grammar:accusative|{{SITENAME}}}}...\";'),('ba','messages:gotointerwiki-invalid','s:57:\"Указан некорректный заголовок.\";'),('ba','messages:gotointerwiki-external','s:160:\"Вы покидаете {{grammar:accusative|{{SITENAME}}}} для посещения стороннего сайта [[$2]].\n\n\'\'\'[$1 Перейти на $1]\'\'\'\";'),('ba','messages:undelete-cantedit','s:177:\"Вы не можете восстановить эту страницу, поскольку у вас недостаточно прав для ее редактирования.\";'),('ba','messages:undelete-cantcreate','s:202:\"Вы не можете восстановить эту страницу, поскольку она не существует, а у вас недостаточно прав для ее создания.\";'),('ba','messages:pagedata-title','s:29:\"Данные страницы\";'),('ba','messages:pagedata-text','s:575:\"Эта страница предоставляет интерфейс к данным страниц. Пожалуйста, введите заголовок страницы в URL, используя синтаксис подстраниц.\n* Согласование содержимого применяется основываясь на заголовке Accept вашего клиента. Это означает, что данные страницы будут предоставлены в формате, предпочитаемом вашим клиентом.\";'),('ba','messages:pagedata-not-acceptable','s:109:\"Соответствующий формат не найден. Поддерживаемые MIME-типы: $1\";'),('ba','messages:pagedata-bad-title','s:48:\"Некорректный заголовок: $1.\";'),('ba','messages:apihelp-main-param-maxlag','s:899:\"Значение максимального отставания может использоваться, когда MediaWiki установлена на кластер из реплицируемых баз данных. Чтобы избежать ухудшения ситуации с отставанием репликации сайта, этот параметр может заставить клиента ждать, когда задержка репликации станет ниже указанного значения. В случае чрезмерной задержки возвращается код ошибки «<samp>maxlag</samp>» с сообщением «<samp>Waiting for $host: $lag seconds lagged</samp>».<br>См. подробнее на странице с описанием [[mw:Special:MyLanguage/Manual:Maxlag_parameter|Manual: параметра Maxlag]].\";'),('ba','messages:apihelp-main-param-assertuser','s:109:\"Проверить, что ник текущего участника совпадает с заданным.\";'),('ba','messages:apihelp-main-param-responselanginfo','s:131:\"Включить языки, использованные для <var>uselang</var> и <var>errorlang</var>, в результат.\";'),('ba','messages:apihelp-main-param-uselang','s:518:\"Язык, используемый для перевода сообщений. Запрос «<kbd>[[Special:ApiHelp/query+siteinfo|action=query&meta=siteinfo]]</kbd>» с «<kbd>siprop=languages</kbd>» возвращает список кодов языков; укажите «<kbd>user</kbd>», чтобы использовать текущие языковые настройки участника, или «<kbd>content</kbd>» для использования основного языка этой вики.\";'),('ba','messages:apihelp-main-param-errorformat','s:604:\"Формат, используемый для вывода текста предупреждений и ошибок.\n; plaintext: Вики-текст с удалёнными HTML-тегами и замещёнными мнемониками.\n; wikitext: Нераспарсенный вики-текст.\n; html: HTML.\n; raw: Ключ сообщения и параметры.\n; none: Без текстового вывода, только коды ошибок.\n; bc: Формат, используемый до MediaWiki 1.29. <var>errorlang</var> и <var>errorsuselocal</var> игнорируются.\";'),('ba','messages:apihelp-main-param-errorlang','s:583:\"Язык, используемый для вывода предупреждений и сообщений об ошибках. Запрос «<kbd>[[Special:ApiHelp/query+siteinfo|action=query&meta=siteinfo]]</kbd>» с «<kbd>siprop=languages</kbd>» возвращает список кодов языков; укажите «<kbd>content</kbd>» для использования основного языка этой вики, или «<kbd>uselang</kbd>» для использования того же значения, что и в параметре «<var>uselang</var>».\";'),('ba','messages:apihelp-main-param-errorsuselocal','s:208:\"Если задан, тексты ошибок будут использовать локально модифицированные сообщения из пространства имён {{ns:MediaWiki}}.\";'),('ba','messages:apihelp-block-param-userid','s:156:\"Идентификатор блокируемого участника. Нельзя использовать одновременно с <var>$1user</var>.\";'),('ba','messages:apihelp-block-param-tags','s:80:\"Изменить метки записи в журнале блокировок.\";'),('ba','messages:apihelp-changeauthenticationdata-summary','s:104:\"Смена параметров аутентификации для текущего участника.\";'),('ba','messages:apihelp-changeauthenticationdata-example-password','s:117:\"Попытаться изменить текущий пароль участника на <kbd>ExamplePassword</kbd>.\";'),('ba','messages:apihelp-clientlogin-summary','s:81:\"Вход в вики с помощью интерактивного потока.\";'),('ba','messages:apihelp-clientlogin-example-login','s:137:\"Начать вход в вики в качестве участника <kbd>Example</kbd> с паролем <kbd>ExamplePassword</kbd>.\";'),('ba','messages:apihelp-clientlogin-example-login2','s:223:\"Продолжить вход после ответа <samp>UI</samp> для двухфакторной авторизации, предоставив <kbd>987654</kbd> в качестве токена <var>OATHToken</var>.\";'),('ba','messages:apihelp-compare-extended-description','s:237:\"Номер версии, заголовок страницы, её идентификатор, текст, или относительная сноска должна быть задана как для «from», так и для «to».\";'),('ba','messages:apihelp-compare-param-fromtext','s:176:\"Используйте этот текст вместо содержимого версии, заданной <var>fromtitle</var>, <var>fromid</var> или <var>fromrev</var>.\";'),('ba','messages:apihelp-compare-param-frompst','s:120:\"Выполнить преобразование перед записью правки (PST) над <var>fromtext</var>.\";'),('ba','messages:apihelp-compare-param-fromcontentmodel','s:150:\"Модель содержимого <var>fromtext</var>. Если не задана, будет угадана по другим параметрам.\";'),('ba','messages:apihelp-compare-param-fromcontentformat','s:81:\"Формат сериализации содержимого <var>fromtext</var>.\";'),('ba','messages:apihelp-compare-param-torelative','s:233:\"Использовать версию, относящуюся к определённой<var>fromtitle</var>, <var>fromid</var> или <var>fromrev</var> Все другие опции \'to\' будут проигнорированы.\";'),('ba','messages:apihelp-compare-param-totext','s:170:\"Используйте этот текст вместо содержимого версии, заданной <var>totitle</var>, <var>toid</var> или <var>torev</var>.\";'),('ba','messages:apihelp-compare-param-topst','s:118:\"Выполнить преобразование перед записью правки (PST) над <var>totext</var>.\";'),('ba','messages:apihelp-compare-param-tocontentmodel','s:148:\"Модель содержимого <var>totext</var>. Если не задана, будет угадана по другим параметрам.\";'),('ba','messages:apihelp-compare-param-tocontentformat','s:79:\"Формат сериализации содержимого <var>totext</var>.\";'),('ba','messages:apihelp-compare-param-prop','s:49:\"Какую информацию получить.\";'),('ba','messages:apihelp-compare-paramvalue-prop-diff','s:20:\"HTML разницы.\";'),('ba','messages:apihelp-compare-paramvalue-prop-diffsize','s:49:\"Размер HTML разницы в байтах.\";'),('ba','messages:apihelp-compare-paramvalue-prop-rel','s:105:\"Идентификаторы предыдущей к \'from\' и следующей за \'to\' версий.\";'),('ba','messages:apihelp-compare-paramvalue-prop-ids','s:75:\"Идентификаторы страниц и версий \'from\' и \'to\'.\";'),('ba','messages:apihelp-compare-paramvalue-prop-title','s:67:\"Названия страниц для версий \'from\' и \'to\'.\";'),('ba','messages:apihelp-compare-paramvalue-prop-user','s:91:\"Имя и идентификатор участника для версий \'from\' и \'to\'.\";'),('ba','messages:apihelp-compare-paramvalue-prop-comment','s:65:\"Описания правок для версий \'from\' и \'to\'.\";'),('ba','messages:apihelp-compare-paramvalue-prop-parsedcomment','s:90:\"Распарсенные описания правок для версий \'from\' и \'to\'.\";'),('ba','messages:apihelp-compare-paramvalue-prop-size','s:41:\"Размер версий \'from\' и \'to\'.\";'),('ba','messages:apihelp-createaccount-param-preservestate','s:540:\"Если запрос <kbd>[[Special:ApiHelp/query+authmanagerinfo|action=query&meta=authmanagerinfo]]</kbd> возвращает true для <samp>hasprimarypreservedstate</samp>, то запросы, отмеченные как <samp>primary-required</samp>, должны быть пропущены. Если запрос возвращает непустое значение поля <samp>preservedusername</samp>, то это значение должно быть использовано в параметре 

<samp>username.\";'),('ba','messages:apihelp-createaccount-example-create','s:113:\"Начать создание участника <kbd>Example</kbd> с паролем <kbd>ExamplePassword</kbd>.\";'),('ba','messages:apihelp-cspreport-summary','s:387:\"Используется браузерами, чтобы сообщать о нарушениях политики безопасности (CSP). Этот модуль никогда не должен использоваться, за исключением случаев автоматического использования совместимыми с CSP браузерами.\";'),('ba','messages:apihelp-cspreport-param-reportonly','s:138:\"Отметить как доклад от политики мониторинга, не от принудительной политики\";'),('ba','messages:apihelp-cspreport-param-source','s:98:\"Что сгенерировало заголовок SCP, вызвавший этот доклад\";'),('ba','messages:apihelp-expandtemplates-paramvalue-prop-volatile','s:200:\"Является ли вывод нестабильным и следует ли отказаться от его повторного использования где-либо на странице.\";'),('ba','messages:apihelp-expandtemplates-paramvalue-prop-modules','s:310:\"Любые модули ResourceLoader, запрашиваемые функциями парсера на добавление в результат. Одновременно с <kbd>modules</kbd> должен быть запрошен либо <kbd>jsconfigvars</kbd>, либо <kbd>encodedjsconfigvars</kbd>.\";'),('ba','messages:apihelp-expandtemplates-param-generatexml','s:85:\"Создать дерево парсинга XML (заменено $1prop=parsetree).\";'),('ba','messages:apihelp-feedcontributions-param-user','s:60:\"Вклад каких участников получить.\";'),('ba','messages:apihelp-feedcontributions-param-namespace','s:76:\"Вклад в каком пространстве имён показать.\";'),('ba','messages:apihelp-feedcontributions-param-tagfilter','s:74:\"Показать вклад, содержащий данные метки.\";'),('ba','messages:apihelp-feedcontributions-param-hideminor','s:37:\"Скрыть малые правки.\";'),('ba','messages:apihelp-feedrecentchanges-param-namespace','s:90:\"Пространство имён, которым ограничить результат.\";'),('ba','messages:apihelp-feedrecentchanges-param-associated','s:117:\"Включить связанное (обсуждения или основное) пространство имён.\";'),('ba','messages:apihelp-feedrecentchanges-param-days','s:70:\"Сколькими днями ограничить результат.\";'),('ba','messages:apihelp-feedrecentchanges-param-hidecategorization','s:55:\"Скрыть категоризацию страниц.\";'),('ba','messages:apihelp-filerevert-param-archivename','s:72:\"Архивное название возвращаемой версии.\";'),('ba','messages:apihelp-help-param-wrap','s:90:\"Обернуть вывод в стандартную структуру API-ответа.\";'),('ba','messages:apihelp-help-param-toc','s:57:\"Включить содержание в вывод HTML.\";'),('ba','messages:apihelp-imagerotate-param-tags','s:76:\"Изменить метки записи в журнале загрузок.\";'),('ba','messages:apihelp-import-summary','s:85:\"Импорт страницы из другой вики, или из XML-файла.\";'),('ba','messages:apihelp-import-extended-description','s:308:\"Обратите внимание, что HTTP POST-запрос должен быть осуществлён как загрузка файла (то есть, с использованием многотомных данных) при отправки файла через параметр <var>xml</var>.\";'),('ba','messages:apihelp-import-param-fullhistory','s:159:\"Для импорта из других вики: импортировать полную историю, а не только текущую страницу.\";'),('ba','messages:apihelp-import-param-templates','s:131:\"Для импорта из других вики: также импортировать все включённые шаблоны.\";'),('ba','messages:apihelp-import-param-namespace','s:172:\"Импортировать в это пространство имён. Не может быть использовано одновременно с <var>$1rootpage</var>.\";'),('ba','messages:apihelp-import-param-rootpage','s:202:\"Импортировать в качестве подстраницы данной страницы. Не может быть использовано одновременно с <var>$1namespace</var>.\";'),('ba','messages:apihelp-import-param-tags','s:154:\"Изменить метки записи в журнале импорта и нулевой правки в импортируемых страницах.\";'),('ba','messages:apihelp-linkaccount-summary','s:99:\"Связать аккаунт третьей стороны с текущим участником.\";'),('ba','messages:apihelp-linkaccount-example-link','s:73:\"Начать связывание аккаунта с <kbd>Example</kdb>.\";'),('ba','messages:apihelp-login-summary','s:75:\"Вход и получение аутентификационных cookie.\";'),('ba','messages:apihelp-login-extended-description','s:505:\"Это действие должно быть использовано только в комбинации со [[Special:BotPasswords]]; использование этого модуля для входа в основной аккаунт не поддерживается и может сбиться без предупреждения. Для безопасного входа в основной аккаунт, используйте <kbd>[[Special:ApiHelp/clientlogin|action=clientlogin]]</kbd>.\";'),('ba','messages:apihelp-login-extended-description-nobotpasswords','s:251:\"Это действие не поддерживается и может сбиться без предупреждения. Для безопасного входа, используйте <kbd>[[Special:ApiHelp/clientlogin|action=clientlogin]]</kbd>.\";'),('ba','messages:apihelp-managetags-param-operation','s:689:\"Какую операцию выполнить:\n;create: Создать новую метку для ручного использования.\n;delete: Удалить метку из базы данных, что включает в себя удаление метки со всех версий и записей журналов, где она использовалось.\n;activate: Активировать изменение метки, позволив участникам устанавливать её вручную.\n;deactivate: Деактивировать изменение метки, запретив участникам устанавливать её вручную.\";'),('ba','messages:apihelp-managetags-param-tag','s:551:\"Создаваемая, удаляемая, активируемая или деактивируемая метка. Создаваемая метка должна не существовать. Удаляемая метка должна существовать. Активируемая метка должна существовать и не быть использованной в каком-либо расширении. Деактивируемая метка должна существовать и быть заданной вручную.\";'),('ba','messages:apihelp-managetags-param-ignorewarnings','s:123:\"Игнорировать ли все предупреждения, возникающие во время операции.\";'),('ba','messages:apihelp-managetags-param-tags','s:95:\"Изменить метки записи в журнале управления метками.\";'),('ba','messages:apihelp-managetags-example-create','s:122:\"Создать метку с названием <kbd>spam</kbd> с причиной <kbd>For use in edit patrolling</kbd>.\";'),('ba','messages:apihelp-managetags-example-delete','s:87:\"Удалить метку <kbd>vandlaism</kbd> с причиной <kbd>Misspelt</kbd>.\";'),('ba','messages:apihelp-managetags-example-activate','s:110:\"Активировать метку <kbd>spam</kbd> с причиной <kbd>For use in edit patrolling</kbd>.\";'),('ba','messages:apihelp-managetags-example-deactivate','s:106:\"Деактивировать метку <kbd>spam</kbd> с причиной <kbd>No longer required</kbd>.\";'),('ba','messages:apihelp-mergehistory-param-timestamp','s:366:\"Временная метка, до которой версии будут перемещены из истории страницы-источника в историю целевой страницы. Если опущено, в целевую страницу будет перемещена вся история правок страницы-источника.\";'),('ba','messages:apihelp-mergehistory-example-merge','s:135:\"Переместить всю историю правок страницы <kbd>Oldpage</kbd> на страницу <kbd>Newpage</kdb>.\";'),('ba','messages:apihelp-mergehistory-example-merge-timestamp','s:178:\"Переместить историю правок из <kbd>Oldpage</kbd>, совершённых до <kbd>2015-12-31T04:37:41Z</kbd>, на страницу <kbd>Newpage</kdb>.\";'),('ba','messages:apihelp-move-param-tags','s:172:\"Изменить метки записи в журнале переименований и нулевой правки на переименованной странице.\";'),('ba','messages:apihelp-opensearch-param-suggest','s:150:\"Ничего не делать, если <var>[[mw:Special:MyLanguage/Manual:$wgEnableOpenSearchSuggest|$wgEnableOpenSearchSuggest]]</var> ложно.\";'),('ba','messages:apihelp-opensearch-param-redirects','s:455:\"Как обрабатывать перенаправления:\n;return: Вернуть само перенаправление.\n;resolve: Вернуть целевую страницу. Может вернуть меньше $1limit результатов.\nПо историческим причинам значением по умолчанию является «return» для $1format=json и «resolve» для остальных форматов.\";'),('ba','messages:apihelp-opensearch-param-warningsaserror','s:184:\"Если предупреждения возникают при <kbd>format=json</kbd>, вернуть ошибку API вместо того, чтобы игнорировать их.\";'),('ba','messages:apihelp-options-summary','s:64:\"Смена настроек текущего участника.\";'),('ba','messages:apihelp-options-extended-description','s:398:\"Менять можно только настройки, зарегистрированные в ядре или в одном из установленных расширений, а также настройки, чьи ключи начинаются с <code>userjs-</code> (предназначенные для использования в пользовательских скриптах).\";'),('ba','messages:apihelp-options-param-resetkinds','s:119:\"Список типов сбрасываемых настроек, если задана опция <var>$1reset</var>.\";'),('ba','messages:apihelp-options-param-change','s:715:\"Список изменений в формате название=значение (например, skin=vector). Если значения не даётся (нет даже знака равенства), например, названиенастройки|другаянастройка|, настройка будет возвращена в своё значение по умолчанию. Если какое-либо значение должно содержать знак пайпа (<kbd>|</kbd>), используйте [[Special:ApiHelp/main#main/datatypes|альтернативный разделитель значений]] для корректного проведения операции.\";'),('ba','messages:apihelp-options-param-optionname','s:175:\"Название настройки, которая должна быть установлена в значение, переданное через <var>$1optionvalue</var>.\";'),('ba','messages:apihelp-options-param-optionvalue','s:78:\"Значение настройки, заданной <var>$1optionname</var>.\";'),('ba','messages:apihelp-options-example-change','s:76:\"Изменить настройки <kbd>skin</kbd> и <kbd>hideminor</kbd>.\";'),('ba','messages:apihelp-options-example-complex','s:114:\"Сбросить все настройки, а затем изменить <kbd>skin</kbd> и <kbd>nickname</kbd>.\";'),('ba','messages:apihelp-paraminfo-param-modules','s:372:\"Список названий модулей (значения параметров <var>action</var> и <var>format</var>, или <kbd>main</kbd>). Можно указать подмодули с помощью <kbd>+</kbd>, все подмодули с помощью <kbd>+*</kbd>, или все подмодули рекурсивно с помощью <kbd>+**</kbd>.\";'),('ba','messages:apihelp-paraminfo-param-querymodules','s:228:\"Список модулей query (значения параметров <var>prop</var>, <var>meta</var> или <var>list</var>). Используйте <kbd>$1modules=query+foo</kbd> вместо <kbd>$1querymodules=foo</kbd>.\";'),('ba','messages:apihelp-paraminfo-param-mainmodule','s:154:\"Также получить информацию о главном модуле. Вместо этого используйте <kbd>$1modules=main</kbd>.\";'),('ba','messages:apihelp-paraminfo-param-pagesetmodule','s:134:\"Также получить информацию о модуле pageset (предоставляющем titles= и синонимы).\";'),('ba','messages:apihelp-paraminfo-param-formatmodules','s:189:\"Список названий форматных модулей (значения параметра <var>format</var>). Вместо этого используйте <var>$1modules</var>.\";'),('ba','messages:apihelp-paraminfo-example-1','s:299:\"Показать информацию для <kbd>[[Special:ApiHelp/parse|action=parse]]</kbd>, <kbd>[[Special:ApiHelp/jsonfm|format=jsonfm]]</kbd>, <kbd>[[Special:ApiHelp/query+allpages|action=query&list=allpages]]</kbd>, и <kbd>[[Special:ApiHelp/query+siteinfo|action=query&meta=siteinfo]]</kbd>.\";'),('ba','messages:apihelp-paraminfo-example-2','s:125:\"Показать информацию для всех подмодулей <kbd>[[Special:ApiHelp/query|action=query]]</kbd>.\";'),('ba','messages:apihelp-parse-summary','s:94:\"Парсит содержимое и возвращает результат парсинга.\";'),('ba','messages:apihelp-parse-extended-description','s:717:\"См. различные prop-модули <kbd>[[Special:ApiHelp/query|action=query]]</kbd> для получения информации о текущей версии страницы.\n\nЕсть несколько способов указать текст для парсинга:\n# Указать страницы или версию, используя <var>$1page</var>, <var>$1pageid</var> или <var>$1oldid</var>.\n# Явно указать содержимое, используя <var>$1text</var>, <var>$1title</var> и <var>$1contentmodel</var>.\n# Указать описание правки. Параметру <var>$1prop</var> должно быть присвоено пустое значение.\";'),('ba','messages:apihelp-parse-param-title','s:275:\"Название страницы, которой принадлежит текст. Если опущено, должен быть указан параметр <var>$1contentmodel</var>, и в качестве заголовка будет использовано [[API]].\";'),('ba','messages:apihelp-parse-param-text','s:182:\"Распарсиваемый текст. Используйте <var>$1title</var> или <var>$1contentmodel</var> для управления моделью содержимого.\";'),('ba','messages:apihelp-parse-param-summary','s:57:\"Анализируемое описание правки.\";'),('ba','messages:apihelp-parse-param-page','s:181:\"Распарсить содержимое этой страницы. Не может быть использовано совместно с <var>$1text</var> и <var>$1title</var>.\";'),('ba','messages:apihelp-parse-param-pageid','s:122:\"Анализировать содержимое этой страницы. Переопределяет <var>$1page</var>.\";'),('ba','messages:apihelp-parse-param-redirects','s:146:\"Если значением <var>$1page</var> или <var>$1pageid</var> указано перенаправление, разрешить его.\";'),('ba','messages:apihelp-parse-param-oldid','s:135:\"Распарсить содержимое этой версии. Переопределяет <var>$1page</var> и <var>$1pageid</var>.\";'),('ba','messages:apihelp-parse-paramvalue-prop-text','s:81:\"Возвращает текст распарсенного вики-текста.\";'),('ba','messages:apihelp-parse-paramvalue-prop-categories','s:106:\"Возвращает категории из проанализированного вики-текста.\";'),('ba','messages:apihelp-parse-paramvalue-prop-categorieshtml','s:58:\"Возвращает HTML-версию категорий.\";'),('ba','messages:apihelp-parse-paramvalue-prop-modules','s:343:\"Возвращает использованные на странице модули ResourceLoader. Для загрузки, используйте <code>mw.loader.using()</code>. Одновременно с <kbd>modules</kbd> должно быть запрошено либо <kbd>jsconfigvars</kbd>, либо <kbd>encodedjsconfigvars</kbd>.\";'),('ba','messages:apihelp-parse-paramvalue-prop-indicators','s:121:\"Возвращает HTML-код индикаторов, использованных на данной странице.\";'),('ba','messages:apihelp-parse-paramvalue-prop-parsetree','s:143:\"Дерево парсинга XML содержимого версии (требуется модель содержимого <code>$1</code>).\";'),('ba','messages:apihelp-parse-paramvalue-prop-parsewarnings','s:101:\"Возвращает предупреждения, возникшие во время анализа.\";'),('ba','messages:apihelp-parse-param-wrapoutputclass','s:101:\"CSS-класс, используемый для оборачивания вывода парсера.\";'),('ba','messages:apihelp-parse-param-pst','s:251:\"Выполнить преобразование перед записью правки (PST) до того, как начать анализировать текст. Доступно только когда используется с текстом.\";'),('ba','messages:apihelp-parse-param-onlypst','s:322:\"Выполнить преобразование перед записью правки (PST) входных данных, но не парсить их. Возвращает тот же вики-текст после применения PST. Доступно только при применении с <var>$1text</var>.\";'),('ba','messages:apihelp-parse-param-effectivelanglinks','s:169:\"Включает языковые ссылки, обеспечиваемые расширениями (для использования с <kbd>$1prop=langlinks</kbd>).\";'),('ba','messages:apihelp-parse-param-section','s:387:\"Распарсить содержимое только секции с заданным номером.\n\nЕсли задан <kbd>new</kbd>, распарсить <var>$1text</var> и <var>$1sectiontitle</var> так, как будто добавлена новая секция на страницу.\n\n<kbd>new</kbd> доступен только при заданном <var>text</var>.\";'),('ba','messages:apihelp-parse-param-sectiontitle','s:338:\"Название новой секции, когда <var>section</var> имеет значение <kbd>new</kbd>.\n\nВ отличие от редактирования страницы, оно не примет значение параметра <var>summary</var>, если опустить его или оставить пустым.\";'),('ba','messages:apihelp-parse-param-disablelimitreport','s:112:\"Опустить отчёт о лимите («NewPP limit report») из результата парсинга.\";'),('ba','messages:apihelp-parse-param-disableeditsection','s:124:\"Опустить ссылки на редактирование разделов из результата парсинга.\";'),('ba','messages:apihelp-parse-param-disabletidy','s:127:\"Не проводить очистку HTML (например, с помощью tidy) результатов парсинга.\";'),('ba','messages:apihelp-parse-param-generatexml','s:180:\"Сгенерировать дерево парсинга XML (требуется модель содержимого <code>$1</code>, замещено <kbd>$2prop=parsetree</kbd>).\";'),('ba','messages:apihelp-parse-param-sectionpreview','s:151:\"Распарсить в режиме предпросмотра раздела (также активирует режим предпросмотра).\";'),('ba','messages:apihelp-parse-param-disabletoc','s:57:\"Не включать в вывод содержание.\";'),('ba','messages:apihelp-parse-param-useskin','s:299:\"Применить выбранную тему оформления к результату работы парсера. Может затронуть следующие свойства: <kbd>langlinks</kbd>, <kbd>headitems</kbd>, <kbd>modules</kbd>, <kbd>jsconfigvars</kbd>, <kbd>indicators</kbd>.\";'),('ba','messages:apihelp-parse-param-contentformat','s:199:\"Формат сериализации содержимого, использующийся во входном тексте. Доступен только при использовании с $1text.\";'),('ba','messages:apihelp-parse-param-contentmodel','s:348:\"Модель содержимого входного текста. Если пропущена, должен быть задан $1title, и значение по умолчанию будет взято в зависимости от указанного названия. Доступно только при использовании с $1text.\";'),('ba','messages:apihelp-parse-example-texttitle','s:95:\"Парсинг вики-текста с заданным заголовком страницы.\";'),('ba','messages:apihelp-patrol-summary','s:66:\"Патрулирование страницы или версии.\";'),('ba','messages:apihelp-protect-param-pageid','s:155:\"Идентификатор (раз)защищаемой страницы. Не может использоваться одновременно с $1title.\";'),('ba','messages:apihelp-protect-param-protections','s:458:\"Список уровней защиты в формате <kbd>действие=уровень</kbd> (например, <kbd>edit=sysop</kbd>). Уровень <kbd>all</kbd> означает, что кто угодно может осуществлять действие, то есть, нет ограничений.\n\n<strong>Примечания:</strong> Все неперечисленные действия потеряют уровни защиты.\";'),('ba','messages:apihelp-protect-param-expiry','s:340:\"Временная метка истечения защиты. Если задана только одна метка, она будет использована для всех защит. Используйте <kbd>infinite</kbd>, <kbd>indefinite</kbd>, <kbd>infinity</kbd> или <kbd>never</kbd> для бессрочных защит.\";'),('ba','messages:apihelp-protect-param-cascade','s:331:\"Активировать каскадную защиту (то есть, защитить включённые шаблоны и использованные изображения). Игнорируется, если ни один из заданных уровней не поддерживает каскадную защиту.\";'),('ba','messages:apihelp-protect-param-watch','s:157:\"Если задан, добавить (раз)защищаемую страницу в список наблюдения текущего участника.\";'),('ba','messages:apihelp-purge-summary','s:56:\"Очистка кэша заданных страниц.\";'),('ba','messages:apihelp-purge-example-simple','s:85:\"Очистить кэш для страниц <kbd>Main Page</kbd> и <kbd>API</kbd>.\";'),('ba','messages:apihelp-purge-example-generator','s:109:\"Очистить кэш первых 10 страниц в основном пространстве имен.\";'),('ba','messages:apihelp-query-summary','s:51:\"Запросить данные с и о MediaWiki.\";'),('ba','messages:apihelp-query-extended-description','s:238:\"Все модификации данных сначала должны запросить соответствующий токен для предотвращения злоупотреблений с вредоносных сайтов.\";'),('ba','messages:apihelp-query-param-prop','s:102:\"Какие использовать свойства для запрашиваемых страниц.\";'),('ba','messages:apihelp-query-param-indexpageids','s:182:\"Включить дополнительную секцию pageids, содержащую список идентификаторов всех возвращённых страниц.\";'),('ba','messages:apihelp-query-param-export','s:139:\"Экспортировать текущую версию для всех данных или сгенерированных страниц.\";'),('ba','messages:apihelp-query-param-exportnowrap','s:260:\"Вернуть экспортируемый XML без оборачивания его в XML-результат (тот же формат, что и в [[Special:Export]]). Можно использовать только одновременно с $1export.\";'),('ba','messages:apihelp-query-param-iwurl','s:130:\"Возвращать ли полную ссылку, если названием является интервики-ссылка.\";'),('ba','messages:apihelp-query-param-rawcontinue','s:100:\"Вернуть сырые данные в <samp>query-continue</samp> для продолжения.\";'),('ba','messages:apihelp-query-example-revisions','s:167:\"Получить [[Special:ApiHelp/query+siteinfo|site info]] и [[Special:ApiHelp/query+revisions|последнее изменение]] для <kbd>Main Page</kbd>.\";'),('ba','messages:apihelp-query-example-allpages','s:112:\"Получить последнее изменение для страниц, начиная с <kbd>API/</kbd>.\";'),('ba','messages:apihelp-query+allcategories-param-min','s:129:\"Вернуть только категории, в которых не меньше заданного числа страниц.\";'),('ba','messages:apihelp-query+allcategories-param-max','s:129:\"Вернуть только категории, в которых не больше заданного числа страниц.\";'),('ba','messages:apihelp-query+allcategories-paramvalue-prop-hidden','s:121:\"Отмечает категории, скрытые магическим словом <code>__HIDDENCAT__</code>.\";'),('ba','messages:apihelp-query+alldeletedrevisions-paraminfo-nonuseronly','s:96:\"Не может быть использовано одновременно с <var>$3user</var>.\";'),('ba','messages:apihelp-query+alldeletedrevisions-param-start','s:87:\"Временная метка, с которой начать перечисление.\";'),('ba','messages:apihelp-query+alldeletedrevisions-param-from','s:71:\"Начать перечисление на этом заголовке.\";'),('ba','messages:apihelp-query+alldeletedrevisions-param-to','s:77:\"Закончить перечисление на этом заголовке.\";'),('ba','messages:apihelp-query+alldeletedrevisions-param-tag','s:59:\"Только правки с заданной меткой.\";'),('ba','messages:apihelp-query+alldeletedrevisions-param-excludeuser','s:75:\"Не перечислять правки данного участника.\";'),('ba','messages:apihelp-query+alldeletedrevisions-param-miser-user-namespace','s:465:\"<strong>Примечание:</strong> Из-за [[mw:Special:MyLanguage/Manual:$wgMiserMode|жадного режима]] одновременное использование <var>$1user</var> и <var>$1namespace</var> может привести к меньшему, чем <var>$1limit</var>, числу результатов перед продолжением; в крайнем случае, может вернуться и ноль результатов.\";')

Function: LCStoreDB::finishWrite
Error: 1062 Duplicate entry 'ba-messages:rcfilters-watchlist-markseen-button' for key 'PRIMARY' (localhost)
Backtrace:
#0 /var/www/vhosts/sorumu.com/httpdocs/includes/libs/rdbms/database/Database.php(979): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#1 /var/www/vhosts/sorumu.com/httpdocs/includes/libs/rdbms/database/Database.php(1589): Wikimedia\Rdbms\Database->query(string, string)
#2 /var/www/vhosts/sorumu.com/httpdocs/includes/cache/localisation/LCStoreDB.php(87): Wikimedia\Rdbms\Database->insert(string, array, string)
#3 /var/www/vhosts/sorumu.com/httpdocs/includes/cache/localisation/LocalisationCache.php(1023): LCStoreDB->finishWrite()
#4 /var/www/vhosts/sorumu.com/httpdocs/includes/cache/localisation/LocalisationCache.php(459): LocalisationCache->recache(string)
#5 /var/www/vhosts/sorumu.com/httpdocs/includes/cache/localisation/LocalisationCache.php(376): LocalisationCache->initLanguage(string)
#6 /var/www/vhosts/sorumu.com/httpdocs/includes/cache/localisation/LocalisationCache.php(291): LocalisationCache->loadSubitem(string, string, string)
#7 /var/www/vhosts/sorumu.com/httpdocs/languages/Language.php(4483): LocalisationCache->getSubitem(string, string, string)
#8 /var/www/vhosts/sorumu.com/httpdocs/includes/cache/MessageCache.php(838): Language::getMessageFor(string, string)
#9 /var/www/vhosts/sorumu.com/httpdocs/includes/Message.php(1275): MessageCache->get(string, boolean, LanguageTr)
#10 /var/www/vhosts/sorumu.com/httpdocs/includes/Message.php(842): Message->fetchMessage()
#11 /var/www/vhosts/sorumu.com/httpdocs/includes/Message.php(922): Message->toString(string)
#12 /var/www/vhosts/sorumu.com/httpdocs/extensions/HeaderFooter/HeaderFooter.class.php(58): Message->parse()
#13 /var/www/vhosts/sorumu.com/httpdocs/extensions/HeaderFooter/HeaderFooter.class.php(30): HeaderFooter::conditionalInclude(string, string, string)
#14 /var/www/vhosts/sorumu.com/httpdocs/includes/Hooks.php(177): HeaderFooter::hOutputPageParserOutput(OutputPage, ParserOutput)
#15 /var/www/vhosts/sorumu.com/httpdocs/includes/Hooks.php(205): Hooks::callHook(string, array, array, NULL)
#16 /var/www/vhosts/sorumu.com/httpdocs/includes/OutputPage.php(1855): Hooks::run(string, array)
#17 /var/www/vhosts/sorumu.com/httpdocs/includes/OutputPage.php(1903): OutputPage->addParserOutputMetadata(ParserOutput)
#18 /var/www/vhosts/sorumu.com/httpdocs/includes/page/Article.php(600): OutputPage->addParserOutput(ParserOutput)
#19 /var/www/vhosts/sorumu.com/httpdocs/includes/actions/ViewAction.php(68): Article->view()
#20 /var/www/vhosts/sorumu.com/httpdocs/includes/MediaWiki.php(499): ViewAction->show()
#21 /var/www/vhosts/sorumu.com/httpdocs/includes/MediaWiki.php(293): MediaWiki->performAction(Article, Title)
#22 /var/www/vhosts/sorumu.com/httpdocs/includes/MediaWiki.php(851): MediaWiki->performRequest()
#23 /var/www/vhosts/sorumu.com/httpdocs/includes/MediaWiki.php(523): MediaWiki->main()
#24 /var/www/vhosts/sorumu.com/httpdocs/index.php(43): MediaWiki->run()
#25 {main}

Sözlük:Yazım_kılavuzu/ba page error. there is no error on the other pages. eg. Sözlük:Yazım_kılavuzu/b, Sözlük:Yazım_kılavuzu/bc ... Thanks. Arnavutsezgin (talk) 01:56, 9 January 2018 (UTC)

right now Sözlük:Hep/ba, Aman/ba bla,bla/ba I get the same error for every / ba. Arnavutsezgin (talk) 02:07, 9 January 2018 (UTC)
There error is:
> INSERT INTO `l10n_cache` (lc_lang,lc_key,lc_value) VALUES
> Error: 1062 Duplicate entry 'ba-messages:rcfilters-watchlist-markseen-button' for key 'PRIMARY'
That means that in the l10n_cache table, an entry with the same primary key already exists. According to Manual:l10n_cache table you should be able to delete the contents from the l10n_cache table. That means you can do a TRUNCATE query on that table. Do NOT delete the table structure itself. Afterwards, MediaWiki will rebuild the cache again. Maybe that helps... 2001:16B8:1028:100:95E3:9FBD:22B7:9433 (talk) 18:34, 9 January 2018 (UTC)
I thank you very much for your interest. I unfortunately installed the backup data base. I hope it will not happen again. Thanks... Arnavutsezgin (talk) 19:57, 9 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Hallo, ich betreibe ein mediawiki - 1.28.2

Dort steht im Footer:

Haftungsausschluss mit Link auf Impressum

Ich möchte im Footer haben:

Haftungsausschluss mit Link auf Haftungsausschluss

plus zusätzlich:

Impressum mit Link auf Impressum

Was muss ich machen?

Antworten bitte in Deutsch und Idiotensicher. Vielen Dank! 79.225.98.17 (talk) 08:13, 9 January 2018 (UTC)

Ich habe das in der Sprachdatei gemacht. ist aber sicherlich nicht der richtige Weg!? 213.153.88.174 (talk) 08:40, 9 January 2018 (UTC)
Und wie und wo? Ich probierte in de.json mit fataler Fehlermeldung! 79.225.98.17 (talk) 09:14, 9 January 2018 (UTC)
Da wäre es schon richtig. Darfst halt nur den Text verändern 213.153.88.174 (talk) 12:31, 9 January 2018 (UTC)
Hab ich ja. Da steht:
"disclaimers": "Haftungsausschluss",
"disclaimerpage": "Project:Impressum",
Mit Editor habe ich geändert:
"disclaimers": "Haftungsausschluss",
"disclaimerpage": "Project:Haftungsausschluss",
Beim 2. Versuch:
"disclaimers": "Impressum",
"disclaimerpage": "Project:Impressum",
und dabei immer .htaccess deaktiviert.
In beiden Fällen bei Aufruf der Webseite keine Hauptseite, sondern {Fehlercode} Fataler Fehler.
Wie wäre es denn richtig?? 79.225.98.17 (talk) 13:22, 9 January 2018 (UTC)
Hallo zusammen!
Die Dateien des MediaWiki-Core zu hacken ist definitiv der falsche Weg.
Der richtige Weg ist, sich die entsprechende Wiki-Seite in MediaWiki rauszusuchen und die dann zu in deinem Wiki als Administrator zu bearbeiten. Details stehen auf Help:System_message/de#Überschreiben_von_Mitteilungen_on-Wiki. Das ist der vorgesehene Weg, um Interface-Texte zu bearbeiten! 2001:16B8:1028:100:95E3:9FBD:22B7:9433 (talk) 18:26, 9 January 2018 (UTC)
Wie man weitere Links in den Footer einfügt steht hier: Manual:Footer#Add_links_to_the_footer. 2001:16B8:1028:100:95E3:9FBD:22B7:9433 (talk) 18:28, 9 January 2018 (UTC)
Während Nummer 1 einen ergoogelten Trick empfiehlt, gibt Nummer 2 Links bekannt, die ich bereits kenne. Richtig helfen konnte mir leider keiner von beiden Experten. Trotzdem bedanke ich mich. LG 79.225.98.17 (talk) 22:06, 9 January 2018 (UTC)
Danke, aber ich bin ein und dieselbe Person.
Was ich in meinem ersten Post verlinkt habe, ist kein "Trick", sondern das richtige Vorgehen, wenn es darum geht, einen Text zu überschreiben. Wenn du diese Seite bereits kennst, ist der erste Teil deines Problems ja gelöst. Wie das mit dem SkinTemplateOutputPageBeforeExec-Hook funktioniert, müsste ich auch erst ausprobieren. Die Dokumentation dazu kannst du gerne verbessern, während du rausbekommst, wie du das gewünschte Ergebnis erhälst. 2001:16B8:1028:100:D5D1:90A8:9E72:499 (talk) 23:26, 9 January 2018 (UTC)

what photo credit do I use

What vrbiage do I use when providing credit for the image used Dkb43201 (talk) 21:21, 9 January 2018 (UTC)

Statistic on registration site

Hi there,

on the registration Site is a statistic with edits, pages and authors.

I have only one site to edit by user. So i have 1 Site, 13.000 edits an 1 author :-(

I will show the edits and the editors

13.000 edits

56 editors

u know what i mean?

How can i change that? Evetro (talk) 08:01, 10 January 2018 (UTC)

No idea? 213.153.88.174 (talk) 16:27, 11 January 2018 (UTC)
Couldn't understand your question. AhmadF.Cheema (talk) 17:32, 11 January 2018 (UTC)
Take a look here:
https://www.mediawiki.org/w/index.php?title=Special:CreateAccount&returnto=Project:Support+desk&campaign=loginCTA
I want to show in my wiki only the edits and the number of editors (not Authors) Evetro (talk) 08:35, 12 January 2018 (UTC)
Assuming by "editors" you mean "recent contributors", what is the difference between "editors" and "Authors"?
Where are "Authors" shown? AhmadF.Cheema (talk) 09:46, 12 January 2018 (UTC)
Authors - so i think - are the Article creators?
An editors these guys who edit the Article, Evetro (talk) 16:00, 14 January 2018 (UTC)
Where are the "Authors" being shown?
On https://www.mediawiki.org/w/index.php?title=Special:CreateAccount&returnto=Project:Support+desk&campaign=loginCTA, there are "edits", "pages" and "recent contributors". No "Authors".
Are you using a translated version of the page, that might include "Authors". In any case, "Authors [who] are the Article creators" are not even shown on the page, only "recent contributors" are. AhmadF.Cheema (talk) 16:27, 14 January 2018 (UTC)

Hello, I am running a mediawiki - 1.28.2

There is in the footer:

Disclaimer with link to imprint

I would like to have in the footer:

Disclaimer with link to disclaimer

plus additionally:

Imprint with link to imprint

What should I do?

I like an understanding way.

Please answer in small English. Many Thanks! 79.225.98.17 (talk) 08:26, 10 January 2018 (UTC)

See Manual:Footer#Customizing the Built-in items. AhmadF.Cheema (talk) 09:16, 10 January 2018 (UTC)
Thank you for help. But I miss always the imprint Option in all files. 79.200.79.187 (talk) 11:47, 11 January 2018 (UTC)

Creating a glossary of terms

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


I'd like to know the best way to create a glossary of terms.

I work at a company that has a lot of terms unique to our business.#

We are using mediawiki 1.25.1. It is only internal, not connected to the internet due to security requirements.

We have some terms defined and they have [[category:glossary]] at the bottom.

So they all show up on the page /wiki/Category:Glossary

I saw that there is a the Lingo extension, I'm wondering if that would make it better? I'm just wondering about best practices to do this. Andrewschlussel (talk) 10:25, 10 January 2018 (UTC)

One issue I'm having is that if we want to organise all of the terms, by putting them under /glossary, then all of the terms show up with the prefix of the path that they're in on the category: glossary page. So if I don't want that, I just have to leave them out, unorganised. Is there a way to remove the prefix of that path? Andrewschlussel (talk) 10:30, 10 January 2018 (UTC)
How do you create terms? One page is a term (title is the term, text of the page the definition)? Trizek_(WMF) (talk) 08:40, 11 January 2018 (UTC)
Yes, each term is a page. The title of the page is the term, the content of the page is the definition, and the [[category:glossary]] is the thing that puts it into the glossary page. Andrewschlussel (talk) 15:36, 11 January 2018 (UTC)
Thank you for your reply!
The way you are going it is IMO the best one with a standard configuration. That question of creating glossaries is crucial for mediawiki. At the moment, we use definitions lists, as described on Help:Glossaries. I'm also looking for a good way to get a searchable glossary.
I don't know much about Lingo, but it appears to be a parser extension that identifies contents structured as definition lists on a given page, to display definitions on matching strings on wikitext pages.
I'm not aware of any way to get rid of the prefix, sorry. I hope someone else will have a solution for you! Trizek_(WMF) (talk) 14:23, 12 January 2018 (UTC)
Extension:HideNamespace or Extension:HidePrefix may help if you have all your definition under a Glossary:namespace, but both are unmaintained. Trizek_(WMF) (talk) 18:46, 12 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

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


Our wiki is not connected to the internet, it is internal only.

Any URL on our wiki is therefore a broken link.

I was wondering if there was a way to automatically redirect any link to an external page to a page that describes that they will need to copy the link and put it into an internet enabled browser.

So for example, if a page on the wiki had a link to www.google.com and you clicked on that, it would take you to a page that said:

"www.google.com is an external link and cannot be viewed on this browser. Click here to copy the link, then paste it into your internet enabled browser." Andrewschlussel (talk) 11:15, 10 January 2018 (UTC)

You can add the js for the behavior to MediaWiki:common.js星耀晨曦 (talk) 11:28, 10 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Installing any extension results in ERROR 500

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,

I am trying to install extension IssueTracker 2.0 for MediaWiki 1.21+. I have uploaded the folder to the /extensions folder, created the SQL table as it stated, however after putting the lines to the LocalSettings.php file (as stated on the IssueTracker 2.0 extension site here on mediawiki), the Wiki itself crashes with ERROR 500.

I have tried the older version of the extension (prior to MediaWiki 1.21), again added the lines as stated in the "Installation" section to LocalSettings.php, but I am getting exactly the same error.

Of course, after removing those lines, the Wiki works again.

Any help? Spenaat (talk) 11:41, 10 January 2018 (UTC)

See Manual:How to debug, this manual maybe can help you. 星耀晨曦 (talk) 12:26, 10 January 2018 (UTC)
Can you quote the exact code that you insert in your LocalSettings.php to enable Extension:IssueTracker 2.0?
Also if you have access to your server logs, they will provide more information regarding the "500" error. AhmadF.Cheema (talk) 12:27, 10 January 2018 (UTC)
Thank you for your replies. The code I've added to the LocalSettings.php is as following (I will check out the logs as soon as I can):
''//issuetracker extension''
wfLoadExtension( 'IssueTracker2' );
$wgAvailableRights[] = 'issuetracker-list';
$wgAvailableRights[] = 'issuetracker-view';
$wgAvailableRights[] = 'issuetracker-add';
$wgAvailableRights[] = 'issuetracker-edit';
$wgAvailableRights[] = 'issuetracker-archive';
$wgAvailableRights[] = 'issuetracker-delete';
$wgAvailableRights[] = 'issuetracker-assign';
$wgAvailableRights[] = 'issuetracker-assignee';
$wgGroupPermissions['*']['issuetracker-list'] = true;
$wgGroupPermissions['*']['issuetracker-view'] = true;
$wgGroupPermissions['*']['issuetracker-add'] = true;
$wgGroupPermissions['*']['issuetracker-edit'] = true;
$wgGroupPermissions['*']['issuetracker-archive'] = true;
$wgGroupPermissions['*']['issuetracker-delete'] = true;
$wgGroupPermissions['sysop']['issuetracker-assign'] = true;
$wgGroupPermissions['developer']['issuetracker-assignee'] = true;
Spenaat (talk) 12:32, 10 January 2018 (UTC)
note that if your LocalSettings.php contains literally //issuetracker extension, that would be the error, because it's a syntax error. Otherwise the syntax looks good Ciencia Al Poder (talk) 15:05, 13 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

HTTP 500 occurred while sending mail

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.


An HTTP 500 error occurs when I do something related to sendling mail, e.g. mail verification, send mail to other users. I found the following message in the web server error log:

[Thu Jan 11 03:59:34.985219 2018] [fcgid:warn] [pid 19897:tid 140124994078464] (104)Connection reset by peer: [client <IP address>:9534] mod_fcgid: error reading data from FastCGI server, referer: <URL>
[Thu Jan 11 03:59:34.985267 2018] [core:error] [pid 19897:tid 140124994078464] [client <IP address>:9534] End of script output before headers: index.php, referer: <URL>

I also can not receive mail.

I am looking for a long time, can't find PHP error message. I will not debug this situation that no detailed error log. I also tried to close selinux, but the error is still.

Before I upgrade MW, can send mail normally. Before and after the upgrade, I did not edit the SMTP config. Has anyone encountered this situation?

My wiki info are:

MediaWiki 1.30.0
PHP 7.2.1 (cgi-fcgi)
MariaDB 10.2.11-MariaDB-log
星耀晨曦 (talk) 20:30, 10 January 2018 (UTC)
You need to find the detailed error message. Try https://serverfault.com/questions/133265/error-logging-with-php-and-mod-fcgid Ciencia Al Poder (talk) 10:18, 11 January 2018 (UTC)
I set LogLevel fcgid:debug in httpd.conf. But still no detailed error log to me. 星耀晨曦 (talk) 10:58, 11 January 2018 (UTC)
Sadly I do not use fcgid with PHP, but you should try to find a way to get a detailed error messaged, not an error from the fcgid. Maybe try executing php by other means what will be less problematic (mod_php, php-fpm)? Ciencia Al Poder (talk) 15:03, 13 January 2018 (UTC)
The problem is solved. Before, I have also encountered problems that my wiki could not send mail, MW will give me a friendly error - authentication failure [SMTP: STARTTLS failed (code: 220, response: begin TLS negotiation)]. I try to solve this problem with the previous solution(change pear/net_smtp code), and the result is good. I do not know yet how this problem caused this error in the error log. Previous environment and the current environment, the difference between them is that I have changed the PHP run way(mod_php -> fastcgi) and I upgraded MW. 星耀晨曦 (talk) 15:56, 13 January 2018 (UTC)
fastcgi is particularly bad when there are error messages. Maybe something in PHP is not configured correctly, and when MediaWiki sends a HTTP 500 response (when there's an error), the fastcgi mod is not displaying it correctly Ciencia Al Poder (talk) 17:32, 13 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

ssl authentication

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.


What is the best way to get https enabled on my wiki? Im not hosting the site so would my best option be to just use an extension? 104.10.250.82 (talk) 21:11, 10 January 2018 (UTC)

HTTPS is not enabled through a MediaWiki extension. It is linked to your domain, and you will have to consult your hosting provider on how to get an SSL certificate for your domain. AhmadF.Cheema (talk) 21:16, 10 January 2018 (UTC)
Changing from http to https is easy - at least as far as MediaWiki is concerned. You usually only need to change the value of $wgServer in LocalSettings.php accordingly.
However, you still need to contactyour host to get the domain itself switched to https (including a certificate). 2001:16B8:10AD:1A00:60F5:B45E:A254:9E62 (talk) 22:31, 10 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

mediawiki 1.15

Hello everybody, we still using an old version of mediawiki and for the time being, we can't update it. The main problem we have is it not possible to use the search engine. For exemple, there are a log a article with "ldap" as article name bug no result is available, 0 result. Even if i use all the namespace "all:ldap" idem. Is there any reason ?? 193.240.154.120 (talk) 18:00, 11 January 2018 (UTC)

You could try running the rebuildtextindex.php script to rebuild the search index.
Note however that your MediaWiki version is really old. It has known security issues, which are not going to be fixed. Running that old version is at least negligent. You really should do an upgrade! 2001:16B8:108F:3400:89F9:72E5:C268:AAE9 (talk) 13:54, 12 January 2018 (UTC)
Thank you, unfortunatly, I'am using postgres :
# php /srv/mediawiki/maintenance/rebuildtextindex.php
This script is only for MySQL.
There is nothing else ? 193.240.154.120 (talk) 16:02, 13 January 2018 (UTC)
I know that for Postgres, the rebuildtextindex.php script is not needed.
Actually, for Postgres the searchindex table does not exist; instead the full text information is stored as columns in the page and pagecontent tables directly. Maybe your problem is somehwere in these tables/columns? 2001:16B8:102B:9F00:C598:FA6E:6A89:E3D2 (talk) 16:23, 13 January 2018 (UTC)
Actually if I install a mediawiki 1.15 (ubuntu precise) and I set the default setting (with a postgres database). It's working. When I create some articles just for testing and I try a research, it's working. However if I need to restore a database, I do sudo -u postgres dropdb wikidb + createdb wither owner wikiuser and pg_restore wikidb_$(date ...).dump.
I retrieve my articles but the search engine is not working anymore.... (I have to pass by Spacial Pages : Allpages, not really usefull ....
Otherwise, here is the error msg :
# php /srv/mediawiki/maintenance/updateSearchIndex.php
Updating searchindex between 20180113132119 and 20180114132119
PHP Warning:  pg_query(): Query failed: ERROR:  invalid input syntax for type timestamp with time zone: "20180113132119"
LINE 3:    WHERE rc_timestamp BETWEEN '20180113132119' AND '20180114...
                                     ^ in /usr/share/mediawiki/includes/db/DatabasePostgres.php on line 580
Set $wgShowExceptionDetails = true; in LocalSettings.php to show detailed debugging information. 193.240.154.120 (talk) 13:22, 14 January 2018 (UTC)
With $wgShowExceptionDetails = true; Ive got :
# php /srv/mediawiki/maintenance/updateSearchIndex.php
Updating searchindex between 20180113132404 and 20180114132404
PHP Warning:  pg_query(): Query failed: ERROR:  invalid input syntax for type timestamp with time zone: "20180113132404"
LINE 3:    WHERE rc_timestamp BETWEEN '20180113132404' AND '20180114...
                                     ^ in /usr/share/mediawiki/includes/db/DatabasePostgres.php on line 580
A database error has occurred
Query: SELECT rc_cur_id,rc_type,rc_moved_to_ns,rc_moved_to_title FROM recentchanges
     JOIN page ON rc_cur_id=page_id AND rc_this_oldid=page_latest
     WHERE rc_timestamp BETWEEN '20180113132404' AND '20180114132404'     
Function: updateSearchIndex
Error: 1 ERROR:  invalid input syntax for type timestamp with time zone: "20180113132404"
LINE 3:    WHERE rc_timestamp BETWEEN '20180113132404' AND '20180114...
                                     ^
Backtrace:
#0 /usr/share/mediawiki/includes/db/Database.php(616): DatabasePostgres->reportQueryError('ERROR:  invalid...', 1, 'SELECT rc_cur_i...', 'updateSearchInd...', false)
#1 /usr/share/mediawiki/maintenance/updateSearchIndex.inc(31): Database->query('SELECT rc_cur_i...', 'updateSearchInd...')
#2 /usr/share/mediawiki/maintenance/updateSearchIndex.php(51): updateSearchIndex('20180113132404', '20180114132404', 20, false)
#3 {main} 193.240.154.120 (talk) 13:24, 14 January 2018 (UTC)
Sorry, am not a Postgres expert. Have you changed the Postgres version recently?
If the error "pg_query(): Query failed: ERROR: invalid input syntax for type timestamp with time zone" is happening now but did not happen earlier, something must have been changed in your setup... 2001:16B8:10B4:A700:D119:1B89:B972:AEC5 (talk) 15:20, 14 January 2018 (UTC)

Hidden pages.

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


I was just wondering if there is a way to create a page that only people who are logged into the Wikipedia could view? 80.195.91.93 (talk) 18:35, 11 January 2018 (UTC)

See also: Manual:Preventing_access#Restrict_viewing_of_certain_specific_pagesTheDJ (Not WMF) (talkcontribs) 10:17, 12 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

* T880466 Mary Curley (Beaufort) Kits marked with * have not been tokenized and have not completed batch processing.

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.


Above message Has been showing since loading file two weeks ago.

How do we fix this issue 108.20.25.43 (talk) 01:31, 12 January 2018 (UTC)

I believe you are speaking about some kind of DNA kit, which can be uploaded.
Google hits suggest that, if processing does not finish after a few months, then you should delete the kit and upload it again.
This is not a MediaWiki problem btw. 2001:16B8:101C:4C00:8027:2B0B:5CA6:1D71 (talk) 03:47, 12 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

E-Mail in registration not optional

Hi,

in my Wiki the registration field E-Mail is optional. How can i change that to required? Evetro (talk) 12:33, 12 January 2018 (UTC)

See Manual:$wgEmailConfirmToEdit. AhmadF.Cheema (talk) 16:16, 12 January 2018 (UTC)
Hi Ahmad,
no, i mean this:
https://www.mediawiki.org/w/index.php?title=Special:CreateAccount&returnto=Project:Support+desk&campaign=loginCTA
Take a look. There ist EMail Optional - i want that this is required Evetro (talk) 15:58, 14 January 2018 (UTC)
When you set the following in your LocalSettings.php, the term "(optional)" from "Email address (optional)" will automatically be removed.
$wgEmailConfirmToEdit = true;
AhmadF.Cheema (talk) 16:33, 14 January 2018 (UTC)
Thats correct, but then is a registration required to edit articles!? And i want that the EMail ist required by registration. Evetro (talk) 19:58, 15 January 2018 (UTC)
Read Manual:$wgEmailConfirmToEdit. AhmadF.Cheema (talk) 20:16, 15 January 2018 (UTC)
I have the same problem. How to make email to be required in a new user registration form?
AhmadF.Cheema, wgEmailConfirmToEdit is not a solution, because it will affect anonymous users as well. I want to have 2 categories of users on my wiki:
  1. anonyms that can edit any article without extra steps
  2. registered users with confirmed emails
I don't want to have users without emails or with emails that was not confirmed, but at the same time i'm totally fine with anonymous users editing articles without giving any personal information. Алексей Скрипник (talk) 14:10, 20 February 2022 (UTC)

LDAP Authetication question

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


Hi,

Using the LDAP extension. Do you have to allow local account creation? In other words can everthing just be based on Active Directory or doe the user have to have an account in the Wiki database? Jiajim (talk) 16:52, 12 January 2018 (UTC)

Accounts can be created automatically. Options for creating accounts automatically. MarkAHershberger(talk) 15:24, 17 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

How to start contributing to wikipedia

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.


Hey, I am new to the site and I'm ready to start contributing in anyway i can, how can I start editing? Diegogrijalva (talk) 18:47, 12 January 2018 (UTC)
Not referring to Wikipedia but MediaWiki (the website that you are on), see: How to contribute AKlapper (WMF) (talk) 21:47, 12 January 2018 (UTC)
For contributing to Wikipedia, see Contributing to Wikipedia. AhmadF.Cheema (talk) 19:16, 12 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

openbugbounty.org says there is a XSS vulnerability

https://www.openbugbounty.org/ says that a certain wiki has a XSS vulnerability.

The URL that is supposed to be vulnerable is domain.com/mediawiki/index.php?search=%22%2F%3E%27%3E%22%3EI%3Ci%3EI%3Csvg%2Fonload%3Dalert%28%2Fopenbugbounty%2F%29%3E&button=&title=Spezial%3ASuche

Can this be true? Does someone have experience with openbugbounty.org?

Versions of the wiki: MediaWiki 1.27.4, PHP 7.1.9 (fpm-fcgi), MySQL 5.7.19-17 Stefahn (talk) 12:12, 13 January 2018 (UTC)

You could find out by testing on the "certain wiki"? Malyacko (talk) 14:17, 13 January 2018 (UTC)
First, security issues should be reported privately through the according channels. An unresolved issue should not be posted publicly. Please keep that in mind.
I have tested the code you posted with MW 1.30 and unless your code is broken, the code does not produce according output. All it does is it returns the search page with search string.
Also I could not find a report about this on openbugbounty.org. 2001:16B8:102B:9F00:C0E2:3668:B636:A0C2 (talk) 14:30, 13 January 2018 (UTC)
Exactly, I didn't tell the domain on purpose.
Could you test the code on a MW 1.27 install too?
I have tested the code on my wiki too, but it also showed the search page with a search string. How would I know when there is "according output"? (I'm new to XSS stuff) Stefahn (talk) 21:45, 13 January 2018 (UTC)
The code, if not sanitized properly, contains an svg file and in that file it contains an onload command with an alert message with the word "openbugbounty". This message did not show up in my test.
For MediaWiki 1.27.0 the result was the same.
If you know a domain name, you can just check it yourself...
Is there a page on the issue at openbugbounty.org? 2001:16B8:102B:9F00:C088:69E4:FAB9:D09C (talk) 22:16, 13 January 2018 (UTC)
Thanks for your explanation. There is no alert message on my wiki either.
Yes, this is the page: https://www.openbugbounty.org/reports/278650/ Stefahn (talk) 13:14, 14 January 2018 (UTC)

help enabling extensions

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 tried to enable a number of preinstalled extensions but they dont seem to work.ie navigating to special:nuke gives me a no such page message and the questycaptcha doesnt show

Am i missing something simple in the localsettings

Edited local settings as follows

# End of automatically generated settings.

# Add more configuration options below.

wfLoadExtension('WikiEditor');

wfLoadExtension('Nuke')

wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/QuestyCaptcha' ]);

$wgCaptchaQuestions = [

'Which of these animals purr? Cat, Dog, Bird' => 'Cat',

'Which of these animals bark? Cat, Dog, Bird' => 'Dog', // Answers are case insensitive

'Which of these animals fly? Cat, Dog, Bird' => 'bird', // A question may have many answers

]; 124.170.189.150 (talk) 12:12, 13 January 2018 (UTC)

There is a ";" missing after wfLoadExtension('Nuke'). 2001:16B8:102B:9F00:C0E2:3668:B636:A0C2 (talk) 13:09, 13 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

DBQueryError after restore; error in update.php

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 moving my wiki to a new site. When I restore the database I get this error from update.php:

Function: Wikimedia\Rdbms\Database::sourceFile( /var/www/html/wiki/maintenance/interwiki.sql )

Error: 1054 Unknown column 'iw_api' in 'field list' (localhost)

Backtrace:

#0 /var/www/html/wiki/includes/libs/rdbms/database/Database.php(979): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)

#1 /var/www/html/wiki/includes/libs/rdbms/database/Database.php(3325): Wikimedia\Rdbms\Database->query(string, string)

#2 /var/www/html/wiki/includes/libs/rdbms/database/Database.php(3274): Wikimedia\Rdbms\Database->sourceStream(unknown type, NULL, NULL, string, NULL)

#3 /var/www/html/wiki/includes/installer/DatabaseUpdater.php(673): Wikimedia\Rdbms\Database->sourceFile(string)

#4 /var/www/html/wiki/includes/installer/MysqlUpdater.php(406): DatabaseUpdater->applyPatch(string, boolean, string)

#5 /var/www/html/wiki/includes/installer/DatabaseUpdater.php(472): MysqlUpdater->doInterwikiUpdate()

#6 /var/www/html/wiki/includes/installer/DatabaseUpdater.php(436): DatabaseUpdater->runUpdates(array, boolean)

#7 /var/www/html/wiki/maintenance/update.php(204): DatabaseUpdater->doUpdates(array)

#8 /var/www/html/wiki/maintenance/doMaintenance.php(92): UpdateMediaWiki->execute()

#9 /var/www/html/wiki/maintenance/update.php(249): require_once(string)

#10 {main}

I'm blocked. Any ideas? After this, I get the DBQueryError that's been reported in other threads when I try to open the wiki. Any help will be appreciated. Jonawebb (talk) 17:07, 13 January 2018 (UTC)

FWIW my backup is from MySQL 5.6.32-78.1 and I am restoring using 5.7.20. I've verified that the backup restored properly by dumping the restored backup and comparing it to the original backup. No diff except dates.
I'm assuming the problem is some difference in the database schema between the wiki I'm moving from. But I looked at the interwiki table the update script is complaining about and it does have the iw_api column. So maybe the error refers to a problem somewhere else in the script? Jonawebb (talk) 18:07, 13 January 2018 (UTC)
> it does have the iw_api column.
If the above is true, I mean if the iw_api column is really, really there, then I guess you are not using the right database. Or do your tables maybe have a table prefix? Please check in LocalSettings.php, if you have adjusted database name and password as needed... 2001:16B8:102B:9F00:8525:4166:E1CF:FA31 (talk) 21:31, 13 January 2018 (UTC)
Thanks for pointing me in the right direction. It was the wrong prefix. Jonawebb (talk) 21:41, 14 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

How to Use API instead of AjaxExportList

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 upgrading from 1.23 to 1.30 and my extensions need some work. I created extension.json for them all using the built-in converter and got something like this for the functions that are used:

"config": {

"AjaxExportList": {

"value": [

"TripsPage::removeFromInterested",

"TripsPage::addToInterested",

"TripsPage::postForSale",

"TripsPage::removeFromForSale",

"TripsPage::markMemberAsPaid",

"TripsPage::removeAttendingMember",

"TripsPage::addSoldToMember",

"TripsPage::getMemberPayments"

]

}

The pages render properly. It's only when clicking buttons that trigger javascript $get calls to functions that I have a problem.

I get the error when executing a $get call from jquery:

unknown function TripsPage::postForSale

After much googling I found a suggestion to use API instead of AjaxExportList but can't find documentation on how to do it.

Any suggestions?

Thanks.

Julie Julievancouver (talk) 01:17, 14 January 2018 (UTC)

The Ajax modules are deprecated on MediaWiki. You should convert them into API modules, accessible from the common /api.php entry point.
You may need to create a new api module for each function (something like action=tripspage_removefrominterested, action=tripspage_addtointerested, etc). Ciencia Al Poder (talk) 11:42, 14 January 2018 (UTC)
Do you know of an extension that does that? I have been downloading extensions looking for one that has converted to the new 1.30 extension.json format and also uses API but haven't found one yet. So much easier to see a working example than working it out from scatch (for me at least....)! Julievancouver (talk) 15:28, 14 January 2018 (UTC)
Look at Category:API extensions Ciencia Al Poder (talk) 16:23, 14 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Template Box Not Stopping

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 been working on a template for this Wiki, and have run into the problem where the box in the template applies to all of the text on the page it is used on. I am guessing it is a problem with one of the elements, but I cannot for the life of my figure out what exactly it is.

Template in question.

<div><div style="text-align: center;">

<div>
2samspan (talk) 03:48, 14 January 2018 (UTC)
The template code has three opening div tags and one sup tag but no closing ones. Adding a closing sup and div tag should fix the relevant issue. AhmadF.Cheema (talk) 11:29, 14 January 2018 (UTC)
The div tags are unbalanced. You have a initial <div>, an image, a second <div>, and you later close the second <div> but not the first one.
Side note: You probably want to rename your wiki domain to wiki.(domain) instead of wikia.(domain), I advise you against having any reference to the wikia hosting provider Ciencia Al Poder (talk) 11:37, 14 January 2018 (UTC)
I tried adding another <div> and <sup> in a couple different locations (<div> after '''This article consists of mechanics that are no longer implemented''', then putting it two lines down from the <sup> text, then both at once) with neither of them working.
And I will see what I can do about getting it renamed. I'm not sure why Wikia is in the title. 2samspan (talk) 17:27, 14 January 2018 (UTC)
Closing <div> and <sup> tag means </div> and </sup>, i.e. with the forward slash /. AhmadF.Cheema (talk) 17:37, 14 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

MW file cache and apache cache

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.


MW file cache and apache cache

These two caching ways, how should I choose. Or that both are enabled? 星耀晨曦 (talk) 10:39, 14 January 2018 (UTC)

Use only one of them, because they'll overlap, except some cases like load.php URLs.
Note however, that while MediaWiki file cache will guarantee it will be used only on page views of unregistered users, I'm not sure if apache cache will differentiate unregistered users vs logged-in users, and purge the cache properly. Ciencia Al Poder (talk) 11:31, 14 January 2018 (UTC)
I think apache is also able to distinguish between logged-in and unregistered users. But need complex configuration.. Not necessarily apache cache performance will be better.
So I choose MW file cache. 星耀晨曦 (talk) 17:57, 15 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Crud (create , read, update, delete)using external data

I need to create a page that will query external sql data and display the result on that page.

Also any user can edit the data and will automatically update the external sql database/.

Is there already such available extension ? Aag2010 (talk) 13:53, 14 January 2018 (UTC)

How do I create the textboxes like they did in the main article of the help.section?

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.


Id like to now how to create those text boxes. I don't need a link to any confusing website, please tell me how. 2003:D1:2BEF:D25C:DC77:D52D:FCE6:3EF9 (talk) 16:06, 14 January 2018 (UTC)

Where is the "main article of the help.section"? A link would be helpful. AhmadF.Cheema (talk) 16:28, 14 January 2018 (UTC)
https://m.mediawiki.org/wiki/Special:MyLanguage/Help:Formatting
It's in every page, as an example, look at the first paragraph where they put "this" with before and after it into a box. Hope you can help! 2003:D1:2BEF:D25C:DC77:D52D:FCE6:3EF9 (talk) 16:50, 14 January 2018 (UTC)
You mean like this?
This is done by enclosing a string inside the <code></code> tags, i.e.
<nowiki><code>this</code></nowiki>
Additionally, in the future you can find such things by just taking a look at the source code of the page. AhmadF.Cheema (talk) 17:02, 14 January 2018 (UTC)
thank you! appreciate your help! gonna look at it next time. but maybe you should add it to the formatting help page. 2003:D1:2BEF:D25C:DC77:D52D:FCE6:3EF9 (talk) 18:46, 14 January 2018 (UTC)
is it possible that they don't show up if you have another colour? we use a grey background and you don't see anything. 2003:D1:2BEF:D25C:DC77:D52D:FCE6:3EF9 (talk) 18:54, 14 January 2018 (UTC)
It is possible that the grey background makes the grey code box indistinguishable from the background, but even still the change of font should be noticeable.
You can also change the background grey colour of the box by adding the following to your MediaWiki:Common.css:
code {
	background-color: #2d6194;
}
AhmadF.Cheema (talk) 22:58, 14 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

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


Hello.

Could anybody help me with that issue/

I have loop in template:

https://wazeopedia.waze.com/wiki/Poland/Szablon:Documentation/end_box TraaBBIT (talk) 18:40, 14 January 2018 (UTC)

Extension:Loops I use this one Fokebox (talk) 22:57, 14 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Fatal Error Uncaught Exception, fine the next refresh? What???

Okay so--

let me start by saying that I'm no programmer. I know some basics regarding the many bells and whistles of /some/ languages, but I'm more of the designer side-- i.e., the CSS business.

So when I went to see about using Web Fonts to add to the overall theme of my modified skin, I was directed to the Universal Language Selector.

I followed the instructions to the best of my ability, wound up throwing the Git Master into the extensions folder (I don't know if that affected anything)......................

After being met with a wall of text which I can only assume was the "hey you fucked all these things up, such-and-such file does not exist", I started troubleshooting. I /should/ have backed up my wiki folder before I went ape shit. I have learned my lesson. Moving on, I downloaded the ACTUAL extension and uploaded it, then got hit with the "extension.json doesn't exist" error message. Shit.

After hours (literally HOURS) of even more trouble-shooting, I wiggled some of the code around. In LocalSettings.php, I moved the command to trigger the extension to the bottom of the file. I opened extension.json in the ULS folder and stared at it. I tried screaming at it, chanting incantations, and fidget-spinning my computer. It was all in vain. I still saw that message.

Then, after forcing WM to 'register' it (I... am an idiot, I don't know what I did), I managed to get a different message!

Fatal error: Uncaught Exception: /home1/database/public_html/wiki/extensions/UniversalLanguageSelector/extension.json is not a valid JSON file. in /home1/database/public_html/wiki/includes/registration/ExtensionRegistry.php:212 Stack trace: #0 /home1/database/public_html/wiki/includes/registration/ExtensionRegistry.php(148): ExtensionRegistry->readFromQueue(Array) #1 /home1/database/public_html/wiki/includes/Setup.php(40): ExtensionRegistry->loadFromQueue() #2 /home1/database/public_html/wiki/includes/WebStart.php(114): require_once('/home1/database...') #3 /home1/database/public_html/wiki/index.php(40): require('/home1/database...') #4 {main} thrown in /home1/database/public_html/wiki/includes/registration/ExtensionRegistry.php on line 212

I've managed to access the editor (for both articles and Common.css), which is where I mostly get this error now, but this message pops up every now and again and I have to hard refresh it like three times: once to get that message out of there, once to actually see my long-lost page again, and one more to see my long-lost page with the webfont.

Fffffffffffffffffuck. What does this mean?! I am aware that I have probably janked this up beyond all repair, but I want to see if I can fix it with the help of people who /actually know what they're doing/ before I clean house and start all over. It's bad enough it took me forever to figure out the CSS properties of the vector skin to begin with. FfffaAAaaah.

Can anyone help a goof out? I'm dying, here!

Site in question: http://wiki.twistedfates.net Orribu (talk) 19:36, 14 January 2018 (UTC)

I am sorry to hear that what you did was such a pain.
You are using MediaWiki 1.30 and you have used the wiki page MediaWiki:Common.css in your wiki to modify the design of the wiki. That is one of the ways to modify an existing skin.
After reading Extension:UniversalLanguageSelector I think you do not need this extension at all. If installing the extension is everything you did, then this can be easily undone: In LocalSettings.php, just remove or comment the line(s), which you added to integrate the UniversalLanguageSelector extension. Afterwards, you can delete the extension from the extensions/ folder again. That should make the error "extensions/UniversalLanguageSelector/extension.json is not a valid JSON file" go away. After that you should be able to see http://twistedfates.net/wiki/index.php?title=MediaWiki:Common.css again.
You wrote "I went to see about using Web Fonts to add to the overall theme of my modified skin..." What is it that you want to do? 2001:16B8:10B4:A700:8F8:DBE5:8745:5F9E (talk) 20:01, 14 January 2018 (UTC)
Oh, I'm a moron. I forgot to provide the error log! I don't know if this will help any, but it might help better explain what exactly I did in my adventures to get /one font/ to work v_v
BlEh Orribu (talk) 20:36, 14 January 2018 (UTC)
Heyo!
Firstly, thank you for your feedback!
I wanted to use Roboto as the new default font for the wiki. I've also performed the steps you provided and the page is still giving me grief; I remembered that I did throw a snapshot in the extensions folder originally. I'll be surfing the other files to see if there's mention of ULS, but I feel like we're on the right track. Thank youuu ;A: <3 Orribu (talk) 20:16, 14 January 2018 (UTC)
Currently, the error message is gone - MediaWiki:Common.css can be viewed without error again.
In order to use the Roboto font, go to Google's Web Fonts page and search for Roboto in the search box at the top right. Select the variants of the font you want to use, click the black bar at the bottom and choose the weights and character sets you need.
The page will give you a <link> element to include in your pages, and a list of sample 'font-family' rules to use in your MediaWiki:Common.css.
Using Google's fonts this way guaranties availability, and reduces bandwidth to your own server. 2001:16B8:10B4:A700:8F8:DBE5:8745:5F9E (talk) 21:31, 14 January 2018 (UTC)
Oh g-- when did-- I wonder what happened? o____o ...........
Huh! That's actually a way more efficient way to do that. I didn't think of that at all! So do I insert the <link> in all of the pages? I just want to be sure before I break the dang site again....................................
Ah, thank you so much! I'll def be a LOT more careful when it comes to extensions. Orribu (talk) 21:40, 14 January 2018 (UTC)
Instead of adding yet another stylesheet with a <link> element, which can't be inserted unless you use a Hook or an extension, you can import another stylesheet from the MediaWiki:Common.css page.
On the google fonts link that 2001:16B8 provided, select @IMPORT instead of STANDARD from the embed tool, and place that code inside MediaWiki:Common.css (without the <style> tags!). For example:
@import url('https://fonts.googleapis.com/css?family=Roboto');
But be sure to place that line at the very beginning of the MediaWiki:Common.css page, because @import rules can only appear at the top of the stylesheet, otherwise it would be ignored. Ciencia Al Poder (talk) 10:29, 15 January 2018 (UTC)

Could I change my user ID using my same email?

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


Hello,

I mistakenly enter an user ID that was not the one I intended. Is it possible to change it using the same email that is connected to my account? sandrof (talk) 00:30, 15 January 2018 (UTC)

@Sanfrof See meta:Changing username for information on changing your username. You can request a rename by using meta:Special:GlobalRenameRequest or posting at meta:Steward requests/Username changes. JJMC89 (talk) 02:26, 15 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

After importing XML dump mainpage does not contain expected 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 just installed version 1.29 on a new server and am attempting to bring across the content of my wiki from another machine, which was running an old version 1.15. The 1.29 main page comes up OK and it looks as though the installation itself is fine. I exported an XML dump from the old wiki and have imported it to the new. This also generated no errors and culminated with a series of messages such as "100 (0.03 pages/sec....).

When I access the main page of the wiki, I do not see any of the content I expected to see. It looks like the default main page exactly as it was before I imported the XML dump. However if I search, I get results that confirm my imported data is there in the database.

Any idea why my main page is not being populated with my imported content?

Thanks in anticipation

Martin 81.107.246.9 (talk) 08:11, 15 January 2018 (UTC)

When you install a wiki for the first time, it creates a initial main page. Since that revision is newer than the old wiki, the imported main page may be as the history of the main page but not the current version. You can go to the page history and revert/undo to the previous version that contains your old main page.
Another cause may be that the main page of the old wiki is on a different title than the new main page. In this case your old main page is somewhere else and you should tell your wiki where the main page is. Edit MediaWiki:Mainpage to tell the title of the main page. Ciencia Al Poder (talk) 10:22, 15 January 2018 (UTC)
Hi and thanks for your response. Unfortunately, I since rebooted my server (but made no changes to MediaWiki) and now I get an uncaught exception if I try to access the main page or any other page I know the URL to:
[Mon Jan 15 11:13:45.824252 2018] [:error] [pid 2798] [client 192.168.0.102:57487] PHP Fatal error: Uncaught Error: Call to a member function getCode() on null in /mnt/disk2/var/www/html/mediawiki-1.29.2/includes/user/User.php:1578\nStack trace:\n#0 /mnt/disk2/var/www/html/mediawiki-1.29.2/includes/user/User.php(5243): User::getDefaultOptions()\n#1 /mnt/disk2/var/www/html/mediawiki-1.29.2/includes/user/User.php(2859): User->loadOptions()\n#2 /mnt/disk2/var/www/html/mediawiki-1.29.2/includes/context/RequestContext.php(364): User->getOption('language')\n#3 /mnt/disk2/var/www/html/mediawiki-1.29.2/includes/Message.php(380): RequestContext->getLanguage()\n#4 /mnt/disk2/var/www/html/mediawiki-1.29.2/includes/Message.php(1275): Message->getLanguage()\n#5 /mnt/disk2/var/www/html/mediawiki-1.29.2/includes/Message.php(842): Message->fetchMessage()\n#6 /mnt/disk2/var/www/html/mediawiki-1.29.2/includes/Message.php(934): Message->toString('text')\n#7 /mnt/disk2/var/www/html/mediawiki-1.29.2/includes/exception/MWExceptionRenderer.php(254): Message->text()\n#8 /mnt/disk2/var/www/html/mediawiki-1.29.2/includes/exception/MWException in /mnt/disk2/var/www/html/mediawiki-1.29.2/includes/user/User.php on line 1578
Sorry to have to go off on a tangent from the original problem. Any idea what's going on here?
Martin 81.107.246.9 (talk) 11:19, 15 January 2018 (UTC)
Ooops :-(
Fixed the exception. My bad. I shall now look into your suggestions. Thanks again! 81.107.246.9 (talk) 11:28, 15 January 2018 (UTC)
OK, success! I reverted the latest revision in history. Thanks very much for your help, much appreciated! 81.107.246.9 (talk) 11:30, 15 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Limit login access to domain computers only

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've been tasked with find a way to limit any login to users working on PC in our domain. I'm using active directory and I have that working. We do not want users to be able to login from their home computers and edit any of the wikis. I'm not sure if this is possible. Please let me know if there is more detail needed.

MediaWiki 1.26.3

PHP       5.6.31 (cgi-fcgi)

MySQL     5.5.57 PSIDWiki (talk) 15:58, 15 January 2018 (UTC)

So you would like to only have people edit from a specific IP (range)? Reception123 (talk) 18:40, 16 January 2018 (UTC)
Sorry for my delayed response. This has been changed. We are not using Active Directory anymore. We are creating accounts for editing users. Thank you PSIDWiki (talk) 20:08, 12 February 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Upgrading from 1.11 to 1.30 and new server?

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


Hello.

I have recently taken over the responsibility for our Wiki page. After some looking around, I can see that it is running on a old 1.11 version.

I was wondering how much work would have to be done to upgrade this to 1.30 ?

It is not a big wiki, we have around 7k pages. We would also have to move the wiki to a new server as the one it is running on will be taken down at some point in the near future.

What would be the best way of doing this ? Can I just do a clean install of 1.30 on the new server. Export the database. Import the database on the new server and run the upgrade function or ?

Hope you will be able to help me get on the right track.

Our current Wiki is running on a windows machine and the new server will also be a windows machine.

If more info is neede please let me know.

Best Regards

Kenn Jensen Kenn.Jensen (talk) 17:29, 15 January 2018 (UTC)

First, you have to back up everything in your wiki (Includes file system and database data). Then follow this manual to upgrade your wiki. 星耀晨曦 (talk) 18:06, 15 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

My isp forced a php upgrade and the results made every external link became broken and not connect to the intended page.  The link instead just looped you back to the original wiki page.

I checked the syntax and that the links were correct, they just no longer work now

Customer service said this:

The web hosting machine was upgraded to run PHP7, up from PHP5.6, which can break compatibility with software making use of older, potentially depreciated, methods of doing things. Typically updating the software overall will clear that up, but it may require some small file edits in the worse case scenarios.

Anyone know how to specifically do this?

You can go to my wiki and click on any external link to see the problem

http://uoevolution.com/wiki/index.php?title=Main_Page 69.145.169.214 (talk) 22:25, 15 January 2018 (UTC)

MediaWiki 1.16 is an old version, which is not compatible with PHP 7. Actually I wonder that it worked with 5.6...
An upgrade of MediaWiki should in fact help here. The syntax in your pages is correct and it should in fact produce working links. Browsing your page, I also saw a few PHP errors, e.g. from Sanitizer.php, which I guess failed at properly sanitizing source code.
Create a backup of your site and then try an upgrade. That should really solve the problem! 2001:16B8:1040:EC00:B079:D350:C940:2FE6 (talk) 22:53, 15 January 2018 (UTC)

PHP Warning: Error while sending QUERY packet. PID=29477 in includes/libs/rdbms/database/DatabaseMysqli.php on line 47

[13-Jan-2018 16:58:09 Europe/ ]PHP Warning:  Error while sending QUERY packet. PID=29477 in /includes/libs/rdbms/database/DatabaseMysqli.php on line 47

Mediawiki 1.30.0

I had the same warnings in 1.23 2A04:2413:8300:8480:308A:4942:A17:DA31 (talk) 09:28, 16 January 2018 (UTC)

No one has a clue from where this is happening? 2A04:2413:8300:8480:308A:4942:A17:DA31 (talk) 13:23, 16 January 2018 (UTC)
MySQL has limitation for the size of data. You either need to break your query in small groups of records or you can change your max_allowed_packet in MySQL. I would opt for the second. 2001:16B8:10D4:9000:E9F1:6908:75B4:4232 (talk) 17:13, 16 January 2018 (UTC)
Thank you. I asked my host provider about that value because I don't have it in php ini or user.ini. 2A04:2413:8300:8480:308A:4942:A17:DA31 (talk) 17:48, 16 January 2018 (UTC)
16 Mb was the answer. Is that enough for mediawiki 1.30? 2A04:2413:8300:8480:88B1:1FC1:FFB5:ED5C (talk) 20:18, 16 January 2018 (UTC)
Or what is the recomended value for mediawiki 1.30? 109.166.131.100 (talk) 10:48, 17 January 2018 (UTC)

How to create pages like wikihow

Hi,

I would like to create how to manual website like wikihow. In wikihow the page title is different from page url, Suppose if page title "How to create a website" then the page url is "wikihow.com/create-a-website". the word "how to" is no there in page url. In same way i want to implement this in my mediawiki project. I googled it but can't able to find related tutorial for this topic. 106.203.64.122 (talk) 11:25, 16 January 2018 (UTC)

For having page titles different from their URLs, see {{DISPLAYTITLE:title}} from Help:Magic words#Technical metadata and Manual:$wgRestrictDisplayTitle. AhmadF.Cheema (talk) 14:55, 16 January 2018 (UTC)

How to test email function

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


Hello,

I had a huge requirement change so I had to start my site all over with the following software versions:

-Python 3.4 64-bit

-MySql 5.7.21 64-bit

-PHP 7.0.21

-MediaWiki 1.30

I create 2 accounts with the option to send the user the temporary password, but neither email account has received anything. In LocalSettings.php I have the following:

$wgEnableEmail = True;

$wgEnableUserEmail = True; # UPO

$wgEmailAuthentication = True;

$wgSMTP = array(

'host'     => "smtp.com", // could also be an IP address. Where the SMTP server is located

'IDHost'   => "tempsite.com",      // Generally this will be the domain name of your website (aka mywiki.org)

'port'     => 25,                 // Port to use when connecting to the SMTP server

'auth'     => True,               // Should we use SMTP authentication (true or false)

'username' => "SMTPUser",     // Username to use for SMTP authentication (if being used)

'password' => "SMTPPassword"       // Password to use for SMTP authentication (if being used)

);

I'm not sure how to test it other then to create more accounts. PSIDWiki (talk) 18:59, 16 January 2018 (UTC)

Once an account is created, if it has a configured mail, you can request a new password by email Ciencia Al Poder (talk) 10:20, 17 January 2018 (UTC)
How is it possible to request a new password? 141.211.32.5 (talk) 14:52, 17 January 2018 (UTC)
What if I forget the password or username? MarkAHershberger(talk) 15:20, 17 January 2018 (UTC)
Thanks again Mark for your help PSIDWiki (talk) 20:07, 12 February 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Storing images on object storage

Hi, is there a built-in way to store user uploaded images on object storage instead of directly to the local drive? I was thinking of using a service such as DigitalOcean Spaces, Backblaze B2, or Amazon S3 buckets due to scalability and other concerns. I see there's an extension for Amazon S3, but is there something for the other services? If I was to create an extension for this, could someone please point me in the right direction as to what documentation I should be looking at? Thanks. Deluge Lights (talk) 21:27, 16 January 2018 (UTC)

There are extensions for "Amazon S3" (Extension:LocalS3Repo), "Windows Azure" (Extension:WindowsAzureStorage). "Swift" is supported natively.
If you want to implement your own backend, have a look at the code of the extensions or the FileBackend design considerations. Osnard (talk) 13:33, 17 January 2018 (UTC)

Forbidden. Please submit form again.

I've been getting some complaints from the users of my site about error messages regarding account creation. Specifically, when trying to create an account, they get "Forbidden. Please submit form again. " or a variant that says "You submitted too quickly." I tested this out myself and it's been fairly inconsistent. Sometimes, I'm able to create an account after one try, but other times I can't at all after five or more tries.

After doing some digging, I found that temporarily disabling CleanTalk (from the Antispam plugin) allows one to register their account with no further hindrances. I don't quite understand why CleanTalk has to do it with it though because to my knowledge, a different error message regarding blacklisting appears if a spambot tries to register. However, I am hesitant to turn CleanTalk off in the long term because it actually does its job really well at blocking spam. It blocks about 300 - 400 attacks per week with only one or two misses every now and then.

I haven't been able to find any other topics regarding similar issues, so I was wondering what I could do to be able to fix this. Krayfishkarl (talk) 21:35, 16 January 2018 (UTC)

It sounds like CleanTalk is taking too long to update or erroring out. What do the logs of your site say when there is a problem? MarkAHershberger(talk) 15:18, 17 January 2018 (UTC)
In the error log, I found the following message:
[15-Jan-2018 04:23:23 UTC] PHP Notice: Undefined index: HTTP_REFERER in <my site's directory>/extensions/Antispam/Antispam.hooks.php on line 243
I'm currently using PHP version 5.6. Will it be necessary to upgrade? Krayfishkarl (talk) 23:12, 18 January 2018 (UTC)
This should be just a logical issue with the extension code, it's just a notice. 星耀晨曦 (talk) 11:07, 19 January 2018 (UTC)
Then I suppose there's not too much I can do at this point? It doesn't look like there's been any updates since May of 2016.
For now though, I've just been having users request me to create their accounts for them by temporarily disabling CleanTalk, then reenabling it when needed. Krayfishkarl (talk) 21:18, 19 January 2018 (UTC)

Is it possible to set some pages to update later?

We have some changes to some pages on our wiki that we'd like to push out later, but they can't go live yet. Is there some sort of delayed update extension? Banaticus (talk) 22:20, 16 January 2018 (UTC)

May be you can make some template for such reasons Fokebox (talk) 22:35, 16 January 2018 (UTC)
Well, we could create template X, Y, Z, and then edit pages a, b, c to add those templates, but we want to actually edit the pages so that it's shown in the page edit history. Banaticus (talk) 22:39, 16 January 2018 (UTC)
Currently, you would have to write a bot to do this. If you're interested pywikibot will be a good place to start. MarkAHershberger(talk) 15:15, 17 January 2018 (UTC)

Restoring a backup

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


Hi! I have MySQL 5.7.20 and I think I messed up terribly. I noticed my database was in latin1 and so I followed the instructions on this page (http://tlug.dnho.net/?q=node/276) to change it into utf8. Well that didn't work. And now half of my information is gone! I've tried restoring multiple times and even reversing the steps. Is the info gone for good or can I get it back!? Bttfvgo (talk) 04:05, 17 January 2018 (UTC)

If you have the original SQL script, that's your backup and restoring it should work, but the --default-character-set=latin1 --skip-set-charset options may skip some importan information from the original database. If the original data was really latin1, importin it with --default-character-set=latin1 should work. However, I doubt MediaWiki would use latin1 for database even in the more older versions. Maybe it wasn't in latin1 at all, or even if the database default was latin1, tables were created as utf8 (the charset can be specified for each table).
If you made any modification to MediaWiki configuration like Manual:$wgDBTableOptions you'll need to restore them as well. Ciencia Al Poder (talk) 10:33, 17 January 2018 (UTC)
Hi sir! Here's what happened... everything was listed as latin1 using $mysql status. So I did what the page said, $mysqldump -u root -p --opt --default-character-set=latin1 --skip-set-charset  DBNAME > DBNAME" Then I did $sed  -e 's/latin1/utf8/g' -i ./DBNAME.sql. I could not create the database like it said because it said it already existed. So I followed the last step. $mysql -p --default-character-set=utf8  DBNAME < DBNAME.sql. I was editing the wiki like normal but noticed it seemed like I was creating pages I already had. I figured I better check the site stats. Half of my pages, users, and multimedia files were missing!
So I tried to reverse the second step, using $sed -e 's/utf8/latin1/g' -i ./DBNAME.sql, and the third, $mysql -p --default-character-set=latin1 DBNAME < DBNAME.sql. That didn't work. That's when I wrote here.
I kept trying things and nothing would work. I dumped the databases, couldn't log back on, finally would up having to purge mysql and reinstall it... twice. Then I remembered I used automysqlbackup earlier in the day based on the steps found on Manual:Backing up a wiki#Automysqlbackup. It was extremely rough but I was finally able to get the file sourced. But it yielded the same results - half of my pages are still missing! And now, even though I finally got the site working again, I'm getting backtrace errors saying that tables that exist do not.
I don't know what I can do. I'm somewhat heartbroken and distraught. I checked one of the tables (user_id) and there are a lot less rows than there were users. Does this really mean all of my information is gone... for good? Please, sir, tell me I can recover everything!
I just checked - I have 4 backups and 1 of them is several hundred megabytes larger that the other 3. I assume the larger one is the one I need to focus on? I had made a "dump.xml" file but I tried to import it and now it's empty (went from 370 MB to 0). Sigh. Bttfvgo (talk) 20:16, 17 January 2018 (UTC)
The mysqldump from the page you linked, should export the entire database, and the number of rows of the user table should be the same. You should check if, when importing the dump, there's any error when inserting rows to the tables (which may happen if the character set is wrong.
As I said, every table can have a different character set than the default character set of the database (which applies only when creating new tables if you don't specify a character set for them). Hopefully the data may be OK, but the table definition/default charset not, and fixing it may give you to the previous state, if the shell hasn't done weird things with it (look at this). I suggest you posting this problem on a mysql related forum, since that's probably just mysql related and it doesn't necessarily need MediaWiki knowledge, mysql experts can give you better advice. Ciencia Al Poder (talk) 23:08, 17 January 2018 (UTC)
Thank you sir. After a plethora of problems and obstacles I was finally able to integrate the backup that automysqlbackup created. It was a blessing seeing everything come back!! Bttfvgo (talk) 03:56, 18 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Is licensing notice required for third-party websites using MediaWiki?

I went to https://en.pornopedia.com/wiki and could not find the terms "GNU", "General Public", "GPL" or anything related. Is licensing notice of the GNU General Public License required for certain third-party sites using MediaWiki? If so, whom can I contact about this? George Ho (talk) 05:17, 17 January 2018 (UTC)

The content of the GPL itself should tell you whether a licensing notice is required. Whether that's for MediaWiki or any other software under GPL. How does "certain sites" make sense here? Malyacko (talk) 12:58, 17 January 2018 (UTC)
Well... The legal codes of ver 2 and of ver 3 are very long, so I don't know whether a notice is required. As for "certain sites", well... I should have said "third-party" sites earlier for clarity. George Ho (talk) 13:10, 17 January 2018 (UTC)
I have never heard of a requirement to notify users of a website what software licenses you are using. As far as I know, there is no requirement that says you have to say "we use MediaWiki" if you use it on your site.
The classic 4-clause BSD license (not used much any more) does require some notification, but that was deemed to be too onerous. MarkAHershberger(talk) 15:12, 17 January 2018 (UTC)
@Malyacko and MarkAHershberger: Correct me if I'm wrong. However, I re-read the License, including sections 1 and 4, saying that a copy of the License must be visible to others and distributed and that every website must have a copyright notice containing a link to the GNU General Public License. Copyright has a copyright notice for the software, and summary from FreedomDefined.org seems to say so. George Ho (talk) 13:26, 9 March 2018 (UTC)
I used to work for a project, which developed a software product, that was then licensed under the GPL and we also had such a discussion. As far as I remember the result was that the licence only affects how the software may be used and distributed.
It however does not affect the output, which the software is creating.
With other words: The GPL cannot be used to force users of the software to have a certain "copyright notice" or anything like that in the output of their actual website. Users in fact are free to modify the output the way they liked. In our case the result was that some users could even remove a copyright notice, which our software printed out by default and that was totally fine. 2001:16B8:10F3:5B00:75D1:31FA:176B:7ECC (talk) 13:50, 9 March 2018 (UTC)

PHP deprecated error after adding Lockdown extension

I'm trying to force users to login to view special pages and recent changes. I added the Lockdown extension directory to /w/extensions/Lockdown. I then added these lines to my LocalSettings.php file.

require_once "$IP/extensions/Lockdown/Lockdown.php";
$wgSpecialPageLockdown['Export'] = array('user');
$wgSpecialPageLockdown['Recentchanges'] = array('user');
$wgSpecialPageLockdown['Specialpages'] = array('user');
$wgSpecialPageLockdown['Recentchangeslinked'] = array('user');

When I go to my wiki and click special pages I get a "500 - Internal server error". When I log in I'm able to go to special pages. I checked my error log and it says

[error] [dddf1fc1ccccd7df34f2ec09] /index.php?title=Special:SpecialPages   ErrorException from line 309 of C:\inetpub\wwwroot\TestWiki\w\includes\debug\MWDebug.php: PHP Deprecated: Use of User::makeGroupLinkWiki was deprecated in MediaWiki 1.29. [Called from array_map in (internal function)]

This did work in MediaWiki 1.26.

I'm now using 1.30 that was a fresh install not an upgrade. I'm also using PHP 7 and MySQL 5.7. 141.211.32.5 (talk) 14:50, 17 January 2018 (UTC)

Thanks for reporting this. I've created a phabricator task: T185105 MarkAHershberger(talk) 15:04, 17 January 2018 (UTC)
Thank you for the reply.
If I go back to 1.29 will this issue still occur? I have to demo it to some people in the next day or so. I doubt a fix will be made by then. 141.211.32.5 (talk) 15:54, 17 January 2018 (UTC)
MediaWiki downgrades are not supported. You can disable output of PHP deprecated messages by adjusting the error_reporting setting of PHP. 2001:16B8:1063:2D00:9C54:46CF:CEB7:838B (talk) 19:53, 17 January 2018 (UTC)
I've uploaded a fix. I think, though, that there must be another problem. A deprecation should not be fatal. Are there any other errors in your log? MarkAHershberger(talk) 20:14, 17 January 2018 (UTC)
I cleared my log and clicked on the "Special Pages" link without being logged in. I checked the log for "[error]" and it found only one row with the same error message I posted before except the key is different.
There is this line which says it's an http error. Would this cause this issue?
[http] Error fetching URL: SSL certificate problem: unable to get local issuer certificate
How do I apply the fix you uploaded? Is there a file to replace? Thank you 141.211.32.5 (talk) 20:48, 17 January 2018 (UTC)
It is possible that the error you see is causing the problem, but I don't know enough to tell you.
If you click the link for my fix, you'll see a download link near the upper right. Click it and you'll see an option to get a tgz archive in the lower left archive of the box that appears.
This will provide you with a replacement for the lockdown extension for you to use. MarkAHershberger(talk) 22:57, 17 January 2018 (UTC)
I'm still getting the same error. the tgz file didn't have a Lockdown.php file, is that correct?
I extracted the tgz into a new Lockdown directory and the error that Lockdown.php didn't exist appeared. So I used the original Lockdown and copied the files from the new Lockdown and it overwrote any matching files.
PHP Deprecated:  Use of User::makeGroupLinkWiki was deprecated in MediaWiki 1.29. [Called from array_map in (internal function)] in C:\inetpub\wwwroot\TestWiki\w\includes\debug\MWDebug.php on line 309 141.211.32.5 (talk) 14:06, 18 January 2018 (UTC)
There is no Lockdown.php in the new Lockdown. Reinstall the tgz file so that the files you copied aren't there anymore. Using the new Lockdown, but change your require_once statement to wfLoadExtension('Lockdown');
And, again, the deprecation notice shouldn't be the source of your problems. The source of your problem will most likely be labeled "fatal". MarkAHershberger(talk) 16:10, 18 January 2018 (UTC)
That worked. I created a new Lockdown directory in extensions and put all the contents of the tgz file in it. I then edited my LocalSettings.php and commented out
#require_once "$IP/extensions/Lockdown/Lockdown.php";
and added
wfLoadExtension('Lockdown');
$wgSpecialPageLockdown['Export'] = array('user');
$wgSpecialPageLockdown['Recentchanges'] = array('user');
$wgSpecialPageLockdown['Specialpages'] = array('user');
$wgSpecialPageLockdown['Recentchangeslinked'] = array('user');
Now when I'm not logged in and I go to these pages it says that login is required. 141.211.32.5 (talk) 16:27, 18 January 2018 (UTC)

linux importImages.php catch-22 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.


We came across an interesting issue. When running importImages.php as root, any subdirectories created in the images directory by this process (php running as root) are owned by root and use its umask. This is as it should be... however, if someone tries to upload an image through the wiki, and the hashing algorithm collides with a subdirectory created by root, it, of course, cannot import the image.

I have tried using

runuser -l apache -c "php importImages.php /tmp/toload" but this fails with the message

This account is currently not available (as it should. no one can log in as the apache user for security reasons).

I have considered making an extension "Upload Image Folder" that would essentially do the same thing, but under the apache thread, but before I go to that effort, is there something I am missing about running the existing maintenance script and having the subdirectories created as apache:apache instead of root:root?

Thank you in advance for your advice

Cordially,

Mark D Henning. Markdhenning (talk) 23:48, 17 January 2018 (UTC)

you should use the sudo command with the user that should own those files
sudo -u apache php importImages.php /tmp/toload Ciencia Al Poder (talk) 08:34, 18 January 2018 (UTC)
Thank you, Ciencia, That worked fine. I hadn't read sudo's man page correctly and assumed it always ran as root, which would be counter-productive in this case :-) Markdhenning (talk) 17:59, 18 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Forgot password and user name

Hello,

can someone help me to find out how I can reset my password and user name? My company´s profile needs to be updated and no one here knows the user name or the email which which the content was created. Can someone please help?

Thanks a lot!

Julia 62.156.251.130 (talk) 08:23, 18 January 2018 (UTC)

Help:Logging in#What if I forget the password or username? Ciencia Al Poder (talk) 08:32, 18 January 2018 (UTC)
Perfect, thanks! But how do I "move" the page now to my new account? 62.156.251.130 (talk) 10:20, 18 January 2018 (UTC)
See Help:Moving a page. 星耀晨曦 (talk) 12:06, 18 January 2018 (UTC)

Fatal exception of type "Error" for common.css & common.js

I upgraded my Mediawiki install from 1.29.2 to 1.30 on a linux box. Everything went smoothly and update.php existed without errors. The site is operation (can access and edit pages), yet when accessing Mediawiki:Common.css it throws an "Fatal exception of type "Error"" and does not display the page. The page content is present from the previous version (visible when clicking "Edit Source") and Mediawiki implements the code provided, yet I cannot save any edits. Same is true for common.js. Any recommendations? 128.180.54.204 (talk) 15:00, 18 January 2018 (UTC)

Possibly some extension that gets called on the Common.css and Common.js pages (such as Extension:CodeEditor and Extension:SyntaxHighlight) is causing the fatal error, having possibly not been updated or something.
See Manual:How to debug, to get more detailed error information. AhmadF.Cheema (talk) 15:52, 18 January 2018 (UTC)
I fixed a same problem by updating Extension:SyntaxHighlight extension.
You can try to switch off this extension for test: comment line "wfLoadExtension( 'SyntaxHighlight_GeSHi' );" in the LocalSettings.php. If the bug will fixed, start updating SyntaxHighlight extension:
(change mediawiki dir with your location)
sudo rm -rf /var/lib/mediawiki/extensions/SyntaxHighlight_GeSHi
cd ~/temp
wget <nowiki>https://extdist.wmflabs.org/dist/extensions/SyntaxHighlight_GeSHi-REL1_30-87392f1.tar.gz</nowiki>
tar -xzf SyntaxHighlight_GeSHi-REL1_30-87392f1.tar.gz -C /var/lib/mediawiki/extensions
Kirillaristov (talk) 02:11, 28 January 2018 (UTC)

tracking % of transfer complete on large transfers

I would like to see a progress bar for large transfers 69.42.124.214 (talk) 17:32, 18 January 2018 (UTC)

Transfers from where? Is this MediaWiki related? AhmadF.Cheema (talk) 17:55, 18 January 2018 (UTC)

Change left side bar for logged in users

What is the best way to change the side bar for logged in users and anonymous users.

I've tried adding Manual:Interface/Sidebar/Hacks and it hasn't worked. I also tried https://www.mediawiki.org/wiki/Manual:Interface/Sidebar "Change sidebar content when logged in (PHP) " and I get this error:

PHP Notice:  Did not find alias for special page 'Login'. Perhaps no aliases are defined for it? [Called from SpecialPageFactory::getLocalNameFor in C:\inetpub\wwwroot\TestWiki\w\includes\specialpage\SpecialPageFactory.php at line 693] in C:\inetpub\wwwroot\TESTWiki\w\includes\debug\MWDebug.php on line 309

PHP Notice:  Undefined index: TOOLBOX in C:\inetpub\wwwroot\TESTWiki\w\LocalSettings.php on line 250

PHP Warning:  Invalid argument supplied for foreach() in C:\inetpub\wwwroot\TESTWiki\w\LocalSettings.php on line 250 141.211.32.5 (talk) 20:32, 18 January 2018 (UTC)

maintenance

There is the maintenance script importTextFiles.

My Question: Exists the opposite, a script like exportTextFiles.php

which produces a textfile for each page?

Additionally: How to remove all pages without the main page?

best regards.... 212.204.92.13 (talk) 21:38, 18 January 2018 (UTC)

The most appropriate way to export Wiki content is to use Special:Export, which will export pages in an XML format. The XML format can be used to see the content in plain text.
For deleting pages, the way would be to create a text file with a list of all pages in the Wiki, remove "Main page" from the list and then use DeleteBatch.php with the text file to bulk delete pages.
See Manual:DeleteBatch.php for more details. AhmadF.Cheema (talk) 07:31, 19 January 2018 (UTC)
There's getText.php which you can use to redirect the output to a file. If you have a list of pages, you can easily script it.
Deleting pages will still leave them in the archive, and the text remains on the database, so you can restore it later, but it takes disk space. If you only want to "reset wiki to initial state" you may want to drop the database and create it again from the installer. Ciencia Al Poder (talk) 10:34, 19 January 2018 (UTC)
> If you only want to "reset wiki to initial state"...
...this however will not only remove the pages, but also everything else, e.g. the users and the references to all files.
Actually, after you deleted pages so that they are in the archive table, you can use the maintenance script deleteArchivedRevisions.php to permanently delete the revisions from the archive table. Note that it is not the revisions, which take up much space. Instead, the text of the single revisions is taking up most of the space. The deleteArchivedRevisions.php script also takes care to remove the according texts. 2001:16B8:10A9:8700:D12B:CA52:FFE2:E32F (talk) 13:59, 19 January 2018 (UTC)

Getting VisualEditor to work???

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.


Admittedly this is the first time I try this. The docu on how to do this is pretty unclear. As a result saving pages does not work.

My setup:

  • MW 1.30.0
  • PHP 5.6.33
  • MariaDB 10.0.33
  • Parsoid 0.8.0
  • NodeJS 8.9.4

(MediaWiki) LocalSettings.php:

## VisualEditor
wfLoadExtension( 'VisualEditor' );
$wgVisualEditorAvailableNamespaces = [
        NS_MAIN => true,
        NS_USER => true,
        NS_EXTRA => true
        ];
$wgVirtualRestConfig['modules']['parsoid'] = [
        'url' => 'https://parsoid.example.org:8143',
        'domain' => 'sd.example.org',
        'prefix' => 'seexo'
        ];

(parsoid) config.yaml:

conf:
 mwApis:
     uri: 'https://sd.example.org/w/api.php'
     domain: 'sd.example.org'  # optional
 serverPort: 8143

(stunnel) parsoid.conf:

cert = /etc/letsencrypt/live/sd.example.org/fullchain.pem
key = /etc/letsencrypt/live/sd.example.org/privkey.pem

[parsoid]
accept  = 8143
connect = 8142

(apache) sd.example.org.conf

   ...
   ServerAlias parsoid.example.org
   ...

As soon as I want to save a page I get:

(curl error: 7) Couldn't connect to server

and

apierror-visualeditor-docserver-http-error

From reading all the related threads it is either a version mismatch or a config issue. However I do not get what I am doing wrong.

Any hint is highly appreciated. Thanks a ton in advance! [[kgh]] (talk) 23:19, 18 January 2018 (UTC)

Needless to say that parsoid is running, at least the service parsoid status is telling me. I also checked if it is possible to work with NodeJS i.e. typing node and getting > ... . This test ended positively, too. The parsoid.log remains empty for this issue. [[kgh]] (talk) 23:23, 18 January 2018 (UTC)
Downgrading to nodeJS 6.12.3 does not help either. I get the same error. This is pretty frustrating. [[kgh]] (talk) 23:39, 18 January 2018 (UTC)
Switching all to use localhost does not help either. Same error or all ports I tried, i.e. 8000, 8142 or 8143. Tried several variations. [[kgh]] (talk) 23:40, 18 January 2018 (UTC)
So the big question is: Where should parsoid show up?
  1. https://parsoid.example.org:8143
  2. https://parsoid.example.org:8000
  3. https://sd.example.org:8143
  4. https://sd.example.org:8143
  5. https://localhost:8000
- same for http.
Again the error message remains the same. [[kgh]] (talk) 23:43, 18 January 2018 (UTC)
Well the thread should be called getting parsoid to work??? I realized that parsoid is not getting stiff. I expected issues but did not realizes that it will be that bad. I will revisit this and try to get it running. [[kgh]] (talk) 08:51, 19 January 2018 (UTC)
This current instructions are b... I had do work around very instruction and tweaks all setups. On a standard machine. [[kgh]] (talk) 15:07, 20 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Any user cannot change password using Preferences

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.


MediaWiki 1.27.4
PHP 7.0.27-0+deb9u1 (apache2handler)
MariaDB 10.1.26-MariaDB-0+deb9u1

User log in, press Preferences, then Change password. And instead Change password form open url <server>/w/index.php?title=Special:ChangeCredentials/MediaWiki\Auth\PasswordAuthenticationRequest&returnto=Special%3APreferences with authorization request. GreenGhost (talk) 08:02, 19 January 2018 (UTC)

What extensions do you have installed? Looks like you may have an auth plugin or similar Ciencia Al Poder (talk) 10:27, 19 January 2018 (UTC)
Installed extensions:
Cite
Nuke
ParserFunctions
Renameuser
SyntaxHighlight_GeSHi
WikiEditor
Math
Semantic MediaWiki
Already tried to disable all extensions - nothing changed. GreenGhost (talk) 10:57, 19 January 2018 (UTC)
Ugh, well, I though it was an error, but no, it's normal behavior. To change your password you should first enter your current password. What's the problem with that? Ciencia Al Poder (talk) 16:01, 19 January 2018 (UTC)
It doesn't look like normal behavior. It doesn't simple require password. Text on page is:
"Login required
Please log in to view other pages."
OK, press log in. It ask not only password, username field is also empty. Fill both fields.Fail: "There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Go back to the previous page, reload that page and then try again." GreenGhost (talk) 06:38, 22 January 2018 (UTC)
For "session hijacking" error in MediaWiki 1.27, see Project:Support desk/Flow/2016/07#h-Login_error_(session_hijacking_protection)-2016-07-11T08:56:00.000Z. AhmadF.Cheema (talk) 07:11, 22 January 2018 (UTC)
This error for first log in I already solved a long time ago - now it work fine. But now - on try to change password - it appear again. Disabling all cache also doesn't help. GreenGhost (talk) 07:34, 22 January 2018 (UTC)
Note that you don't need to disable all cache. Just be sure to set Manual:$wgSessionCacheType to CACHE_DB in case it's wrongly set to a non-persistent cache. Ciencia Al Poder (talk) 21:52, 22 January 2018 (UTC)
Yes, I know it. I disabled all cache only for test. But problem with change password using preferences still exists. GreenGhost (talk) 06:56, 23 January 2018 (UTC)
Problem solved.
Solution: in Apache wiki was configured through https, but in wiki LocalSettings.php was $wgServer = "http://...". So just correct $wgServer to https.
Thanks for help. GreenGhost (talk) 06:36, 26 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

There were no results matching the query.ಠ ̯ಠ

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


Can I change this page when no results are found Id like to list alternative locations where we hold information to point - users at -

There were no results matching the query.

Where in the wiki can I edit this to tailor it?

thanks

All J Jaller79 (talk) 10:00, 19 January 2018 (UTC)

You could modity the system message by editing the page MediaWiki:Search-nonefound on your wiki. See also Help:System_message Osnard (talk) 10:10, 19 January 2018 (UTC)
Super thanks for the fast response Jaller79 (talk) 14:18, 19 January 2018 (UTC)
Sorry no Luck I can get to help system messages then search then tried search for
There were no results matching the query
no luck Jaller79 (talk) 14:31, 19 January 2018 (UTC)
ah found it
had to set search 5000 Jaller79 (talk) 14:39, 19 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Hello.

Here is my template QuickNavi.

How to put external link inside it? When I do that I break all template.

https://wazeopedia.waze.com/wiki/Poland/Szablon:PL_QuickNavi/Spo%C5%82eczno%C5%9B%C4%87 TraaBBIT (talk) 12:48, 19 January 2018 (UTC)

Anybody? TraaBBIT (talk) 15:03, 4 February 2018 (UTC)
Maybe elaborate on what exactly do you mean by "break all template"? AhmadF.Cheema (talk) 15:19, 4 February 2018 (UTC)

Set User-Preferences - Notification per default?

Hi,

how i can do this to set a checklist element in the User-Settings to default. I want to inform the User per E-Mail, after a site was edited (Notifications)

Thanks for Support Evetro (talk) 13:20, 19 January 2018 (UTC)

See the second to last comment on Project:Support desk/Flow/2014/01#h-[RESOLVED]_How_to_enable_email_notification_for_watchlist_changes_by_default-2014-01-02T22:54:00.000Z. AhmadF.Cheema (talk) 13:37, 19 January 2018 (UTC)

Date extension Special:Version page

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.


What date exactly is shown for an extension in the Special:Version page?

I did install a new version of an extension and version number in column Version is changed now. But date is still and old date. Waanders (talk) 15:41, 19 January 2018 (UTC)

Might need to run update.php to get the fields to update. AhmadF.Cheema (talk) 17:20, 19 January 2018 (UTC)
Isn't that a bit drastic method? Waanders (talk) 18:32, 19 January 2018 (UTC)
update.php is just a maintenance script not a MediaWiki core update. If you have SSH access, it will take just a few seconds. AhmadF.Cheema (talk) 19:50, 19 January 2018 (UTC)
Done. Okay now. Thanks! Waanders (talk) 20:59, 19 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Missing Required Extension to PHP that Media Wiki reuwires

I am trying to install MediaWiki on a fedora machine. I am getting the error message:

Required components: You are missing the required extension to PHP that Media Wiki requires to run. Please install: mbstring xml

Both of these are installed, yet the error remains? Tombat1998 (talk) 01:35, 20 January 2018 (UTC)

You can write a php script, write phpinfo();, then visit it to confirm that you really installed these two PHP extensions. 星耀晨曦 (talk) 10:22, 20 January 2018 (UTC)
Have you maybe enabled these extensions in a php.ini file, which in fact only is used in CLI environment? Note that the webserver might use PHP with a different configuration! And in fact the webserver might use a completely different version of PHP as well... 2001:16B8:1041:9E00:28:8C56:2E44:7FB (talk) 11:34, 20 January 2018 (UTC)

I find I mistakenly translate a page into other language. What should I do?

I find I mistakenly translate a page into other language. What should I do? HNlander (talk) 04:40, 20 January 2018 (UTC)

How to make the mediawiki site could upload file?

I have edited the php.ini

I have edited Localsetting.php

But I could still not upload any file in my site.

And it said that could not create the directory "mwstore://local-backend/local-public/3/3d”

What should I do? AndyPKU (talk) 08:07, 20 January 2018 (UTC)

Make sure your web server can read and write your upload directory. 星耀晨曦 (talk) 10:19, 20 January 2018 (UTC)
how to make sure?
咱们能说中文吗? AndyPKU (talk) 11:52, 20 January 2018 (UTC)

There is an error in installing 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.


Hello. I'm using an online hosting service to make a wiki. I am trying to make a wiki but it has an error like this. (In addition, my wiki's name is firewiki.)

[WmMv23CvuEAAAF6VFNoAAAAH] /firewiki/mw-config/index.php?page=Install Wikimedia\Rdbms\DBQueryError from line 1149 of /host/home1/firewiki/html/firewiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT page_id,page_len,page_is_redirect,page_latest,page_content_model FROM `page` WHERE page_namespace = '0' AND page_title = '대문' LIMIT 1

Function: LinkCache::fetchPageRow

Error: 1267 Illegal mix of collations (utf8_bin,IMPLICIT) and (euckr_korean_ci,COERCIBLE) for operation '=' (localhost)

Backtrace:

#0 /host/home1/firewiki/html/firewiki/includes/libs/rdbms/database/Database.php(979): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)

#1 /host/home1/firewiki/html/firewiki/includes/libs/rdbms/database/Database.php(1343): Wikimedia\Rdbms\Database->query(string, string)

#2 /host/home1/firewiki/html/firewiki/includes/libs/rdbms/database/Database.php(1411): Wikimedia\Rdbms\Database->select(string, array, array, string, array, array)

#3 /host/home1/firewiki/html/firewiki/includes/cache/LinkCache.php(313): Wikimedia\Rdbms\Database->selectRow(string, array, array, string)

#4 /host/home1/firewiki/html/firewiki/includes/cache/LinkCache.php(270): LinkCache->fetchPageRow(Wikimedia\Rdbms\DatabaseMysqli, Title)

#5 /host/home1/firewiki/html/firewiki/includes/Title.php(3344): LinkCache->addLinkObj(Title)

#6 /host/home1/firewiki/html/firewiki/includes/Title.php(4447): Title->getArticleID(integer)

#7 /host/home1/firewiki/html/firewiki/includes/installer/Installer.php(1698): Title->exists()

#8 [internal function]: Installer->createMainpage(MysqlInstaller)

#9 /host/home1/firewiki/html/firewiki/includes/installer/Installer.php(1554): call_user_func(array, MysqlInstaller)

#10 /host/home1/firewiki/html/firewiki/includes/installer/WebInstallerInstall.php(45): Installer->performInstallation(array, array)

#11 /host/home1/firewiki/html/firewiki/includes/installer/WebInstaller.php(277): WebInstallerInstall->execute()

#12 /host/home1/firewiki/html/firewiki/mw-config/index.php(80): WebInstaller->execute(array)

#13 /host/home1/firewiki/html/firewiki/mw-config/index.php(39): wfInstallerMain()

#14 {main}

The word '대문' means for main page.

What should I do to fix this? 79brue (talk) 12:06, 20 January 2018 (UTC)

> Error: 1267 Illegal mix of collations (utf8_bin,IMPLICIT) and (euckr_korean_ci,COERCIBLE)
This error means that you have different collations and different charsets in your database. This is not supported by MediaWiki.
Since you write you would be in the process of creating the wiki, I would remove the contents inside the database again now. Then I would change the character set of the empty database to utf8 and the collation to utf8_general_ci. Afterwards I would run the installer again to fill the database again. 2001:16B8:1041:9E00:28:8C56:2E44:7FB (talk) 13:10, 20 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Mediawiki mail settings for password reset and registration

I want to setup mail settings on Mediawiki. I am used Sparkpost for mail server. My Mediawiki system installed on Digital Ocean with Serverpilot. There my mail settings on Localsettings.php file.

$wgEnableEmail = True;

$wgEnableUserEmail = True; # UPO

$wgEmailAuthentication = True;

$wgSMTP = array(

'host'     => "smtp.sparkpostmail.com", // could also be an IP address. Where the SMTP server is located

'IDHost'   => "sitename.com",      // Generally this will be the domain name of your website (aka mywiki.org)

'port'     => 587,                 // Port to use when connecting to the SMTP server

'auth'     => true,               // Should we use SMTP authentication (true or false)

'username' => "SMTP_Injection",     // Username to use for SMTP authentication (if being used)

'password' => "KEY"       // Password to use for SMTP authentication (if being used)

);

It does not work that way. When i create account or password reset request, Mediawiki gives me an error:

[9d7926ea] /index.php?title=%C3%96zel:Kullan%C4%B1c%C4%B1OturumuA%C3%A7ma&action=submitlogin&type=signup&returnto=Ana+Sayfa MWException from line 268 of includes/mail/UserMailer.php: PEAR mail package is not installed

Backtrace:

#0 includes/User.php(4208): UserMailer::send(array, MailAddress, string, string, NULL)

#1 includes/User.php(4184): User->sendMail(string, string)

#2 includes/specials/SpecialUserlogin.php(409): User->sendConfirmationMail()

#3 includes/specials/SpecialUserlogin.php(314): LoginForm->addNewAccount()

#4 includes/specialpage/SpecialPage.php(384): LoginForm->execute(NULL)

#5 includes/specialpage/SpecialPageFactory.php(582): SpecialPage->run(NULL)

#6 includes/MediaWiki.php(267): SpecialPageFactory::executePath(Title, RequestContext)

#7 includes/MediaWiki.php(566): MediaWiki->performRequest()

#8 includes/MediaWiki.php(414): MediaWiki->main()

#9 index.php(41): MediaWiki->run()

#10 {main}

So, I check PEAR version on the terminal with that command: pear7.0-sp version

Output:

PEAR Version: 1.10.5

PHP Version: 7.0.27

Zend Engine Version: 3.0.0

Running on: Linux sitename.com 3.13.0-79-generic #123-Ubuntu SMP Fri Feb 19 14:27:58 UTC 2016 x86_64

Pear installed on my server. This problem about include path or PEAR mail package installation? What is your suggestion?

I've tried include path settings but it gives me error too. If the problem is related to this, how i can set that correctly? Thank you so much. Bekircem (talk) 13:47, 20 January 2018 (UTC)

Project:Support desk/Flow/2014/12#h-[RESOLVED]_Internal_Error_-_PEAR_mail_package_is_not_installed_-_Fixed_in_Locals-2014-12-09T20:00:00.000Z
Project:Support desk/Flow/2013/03#h-PEAR_mail_package_is_not_installed-2013-03-25T14:33:00.000Z
Project:Support desk/Flow/2016/01#h-Math_extension-MediaWiki_1.26_internal_error-2016-01-15T10:54:00.000Z
Project:Support desk/Flow/2015/06#h-Confirmation_Email_not_working_-_Pear_not_installed-2015-06-29T23:48:00.000Z Malyacko (talk) 14:50, 20 January 2018 (UTC)
I've installed Pear Mail package. After that, when i request for password reset it gives me that error:
Fatal error: Uncaught TypeError: Argument 1 passed to MWExceptionHandler::handleException() must be an instance of Exception, instance of Error given in includes/exception/MWExceptionHandler.php:153 Stack trace: #0 [internal function]: MWExceptionHandler::handleException(Object(Error)) #1 {main} thrown in includes/exception/MWExceptionHandler.php on line 153
I think Pear problem fixed but there is another problem now... :( Bekircem (talk) 19:26, 20 January 2018 (UTC)
Please provide a full stacktrace: Manual:How to debug Malyacko (talk) 13:14, 21 January 2018 (UTC)
I added Localsettings.php this lines:
$wgShowExceptionDetails = true;;
$wgDebugToolbar = true;
$wgShowDebug = true;
$wgDevelopmentWarnings = true;
It gives me error, i disabled Description2 extension for viewing wiki correctly.
Notice: Deprecated PHP entry point used for Description2 extension. Please use wfLoadExtension instead, see https://www.mediawiki.org/wiki/Extension_registration for more details. [Called from require_once in /extensions/Description2/Description2.php at line 20] in /includes/debug/MWDebug.php on line 300
Warning: Cannot modify header information - headers already sent by (output started at /includes/debug/MWDebug.php:300) in /includes/WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /includes/debug/MWDebug.php:300) in /includes/WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /includes/debug/MWDebug.php:300) in /includes/WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /includes/debug/MWDebug.php:300) in /includes/WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /includes/debug/MWDebug.php:300) in /includes/WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /includes/debug/MWDebug.php:300) in /includes/WebResponse.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /includes/debug/MWDebug.php:300) in /includes/WebResponse.php on line 37
It's error when i go special pages.
Deprecated: Use of SpecialRecentChangesQuery hook (used in FlaggedRevsUIHooks::modifyRecentChangesQuery) was deprecated in MediaWiki 1.23. [Called from SpecialRecentChanges::runMainQueryHook in specials/SpecialRecentchanges.php at line 262] in includes/debug/MWDebug.php on line 300
When i added that lines to .htaccess file wiki gives me 500 Internal Server Error:
php_value error_reporting -1
php_flag display_errors On
When i request for password reset it gives me same error:
Fatal error: Uncaught TypeError: Argument 1 passed to MWExceptionHandler::handleException() must be an instance of Exception, instance of Error given in exception/MWExceptionHandler.php:153 Stack trace: #0 [internal function]: MWExceptionHandler::handleException(Object(Error)) #1 {main} thrown in includes/exception/MWExceptionHandler.php on line 153 Bekircem (talk) 13:42, 21 January 2018 (UTC)
Except for the last one ("Fatal error") and a HTTP 500, none of the messages that you posted above are errors. There is no error when you go to special pages, but a warning that you or someone should update the code of "Description2".
We still need a full stacktrace of the fatal error, via $wgShowExceptionDetails as described on Manual:How to debug. Malyacko (talk) 15:07, 21 January 2018 (UTC)
We need a full stacktrace for PHP errors or SQL errors? $wgShowExceptionDetails is already has true value in localsettings.php file. I also set display_startup_errors on with index.php. Here is my locatsettings file changes about that topic:
#PHP ERRORS
$wgShowExceptionDetails = true;;
$wgDebugToolbar = true;
$wgShowDebug = true;
$wgDevelopmentWarnings = true;
#SQL ERRORS
$wgShowSQLErrors = true;
$wgDebugDumpSql  = true;
error_reporting( -1 );
ini_set( 'display_errors', 1 );
I did everything as described on PHP errors and SQL errors part of the page. There is no error on the viki web page. Just i see very long debug-data on the bottom of the page. Must i look some error log or something like that? Bekircem (talk) 15:58, 21 January 2018 (UTC)
You have a typo at the very end of your line:
$wgShowExceptionDetails = true;; Malyacko (talk) 09:47, 22 January 2018 (UTC)
I fixed typo problem. And there no error seems yet. Nothing has changed. Bekircem (talk) 15:50, 22 January 2018 (UTC)
The debug log may give more info, but if you're unable to find hints to solve your problem you may post it in dpaste.org and post the link here so we can take a look (remove private information like cookies) Ciencia Al Poder (talk) 22:32, 22 January 2018 (UTC)
I've removed some private information and paste it. Here it is: https://dpaste.de/8f2g Bekircem (talk) 08:32, 23 January 2018 (UTC)
Each request get logged, but of course you need to get the log of the request that causes the error (a password reset or registration).
Your request is "# Start request GET /Ana_Sayfa". A password reset should be a POST to the Special:Userlogin or similar. That's why your debug log is not useful. Ciencia Al Poder (talk) 10:22, 23 January 2018 (UTC)
Thanks for your explanations.
Here it is debug data for password reset page(Special:PasswordReset): https://dpaste.de/dXe9 Bekircem (talk) 13:23, 23 January 2018 (UTC)
No, the log should be from the request that produces the error. You said the error happens when you submit the special:passwordreset form, not when you load it for the first time. Hence, the log should contain the POST request, not the GET one. Ciencia Al Poder (talk) 15:28, 23 January 2018 (UTC)
But error seems in the empty page. https://imgur.com/a/8avil Bekircem (talk) 19:33, 23 January 2018 (UTC)
That's OK, this is where the log would probably be more useful. If you were getting your error from the console log, yoi should enable a debug log file instead (see Manual:How to debug). Enable the debug log first and load a page, it should be created (if not check for permissions). Once you know the log can be created, go to the page before pressing the button that cause the error, delete the log, press the button, and then you'll have the log containing the request that causes the error, hopefully with useful information. Ciencia Al Poder (talk) 10:28, 24 January 2018 (UTC)
I am enabled debug log file too now.
$wgDebugLogFile = "/var/log/mediawiki/debug-{$wgDBname}.log";
I think I'm having a permission problem. Because in the var/log/mediawiki directory, there is no log file. Localsettings file users groups permisson seems serverpilot serverpilot now. How i fix permissions? Am i must give localsettingsfile.php file root permissions?
I fully understand what you say. Thanks for your great explanations. Bekircem (talk) 21:35, 24 January 2018 (UTC)
well, if you're not sure, you can set permissions to everybody (777) to the /var/log/mediawiki/ folder, and when the file gets created, you'll see what the correct owner is Ciencia Al Poder (talk) 22:44, 24 January 2018 (UTC)
Debug file created finally after set permissions 777. Can i share it here?
Edit: I removed some special informations and added with dpaste.org: removed Bekircem (talk) 00:19, 25 January 2018 (UTC)
I've removed the paste, because it contains private information (cookies and hashed passwords). Please reset your password on the wiki just in case.
The relevant code of the log is this:
Sending mail via PEAR::Mail
[fatal] [93b10efd] /%C3%96zel:ParolaS%C4%B1f%C4%B1rlama   ErrorException from line 264 of wiki/includes/exception/MWExceptionHandler.php: Fatal Error: Uncaught TypeError: Argument 1 passed to MWExceptionHandler::handleException() must be an instance of Exception, instance of Error given in wiki/includes/exception/MWExceptionHandler.php:153
Stack trace:
#0 [internal function]: MWExceptionHandler::handleException(Object(Error))
#1 {main}
  thrown
#0 [internal function]: MWExceptionHandler::handleFatalError()
#1 {main}
However, it doesn't provide any useful stack trace (no trace of the original exception). I've seen other similar reports and this is something that needs to be fixed in MediaWiki. Maybe the way to know what's the error here is to find MWExceptionHandler::handleException and remove the "Exception" type hint... Ciencia Al Poder (talk) 10:26, 25 January 2018 (UTC)
@Bekircem, What version of PHP are you using? 星耀晨曦 (talk) 11:37, 25 January 2018 (UTC)
What can we do for that?
My version is PHP 7.0. Bekircem (talk) 15:21, 25 January 2018 (UTC)
What version of MediaWiki are you using? Please note that only MediaWiki 1.27 and later is officially supported on PHP 7. 星耀晨曦 (talk) 05:36, 26 January 2018 (UTC)
My Mediawiki version is 1.25.1. I did not know that. I am hosted my wiki on the Digital Ocean with Serverpilot, so i can change PHP version to 5.6 if it neccessary.
Mediawiki and PHP version mismatch could it be causing that problem? Also, i tried update my Mediawiki to 1.3 but it gives me error, after that i restored from my backup wiki. Bekircem (talk) 09:07, 26 January 2018 (UTC)
MediaWiki 1.25 doesn't support PHP7, and it's also outdated Ciencia Al Poder (talk) 10:13, 26 January 2018 (UTC)
Am i must upgrade Mediawiki 1.25 to 1.30 with PHP 5.6? I am tried to upgrade Mediawiki but after the upgrade index page is blank... So i restore from the backup. Bekircem (talk) 12:04, 26 January 2018 (UTC)
A blank page, there may be a HTTP 500 error. See also Manual:Upgrading to upgrade your wiki. 星耀晨曦 (talk) 13:49, 26 January 2018 (UTC)

How to add Mobile View?

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 to add "Mobile View" option in footer, same as this site, https://m.mediawiki.org/wiki ?

Version 1.3, Php 7.1, MySQL 5.6+

https://www.m1a.bayviewboom.org/wiki Johnywhy (talk) 14:51, 20 January 2018 (UTC)

You will need to install Extension:MobileFrontend. AhmadF.Cheema (talk) 15:17, 20 January 2018 (UTC)
thx. Solved 24.4.232.167 (talk) 18:11, 20 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

rebuildall.php fails with errors

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.


mediawiki 1.3, php 7.1 fast cgi

Executing mediawiki rebuildall.php with winscp

https://image.ibb.co/iJTAuG/Screenshot_3.jpg

returns errors:

Command '"./rebuildall.php"'

failed with return code 2 and error message

./rebuildall.php: line 1: ?php: No such file or directory

./rebuildall.php: line 2: /CmdTool.log: Permission denied

./rebuildall.php: line 3: 7zip.inc: command not found

./rebuildall.php: line 4: 7zip.inc: command not found

./rebuildall.php: line 5: 7zip.inc: command not found

./rebuildall.php: line 6: 7zip.inc: command not found

./rebuildall.php: line 6: you: command not found

./rebuildall.php: line 7: 7zip.inc: command not found

./rebuildall.php: line 8: 7zip.inc: command not found

./rebuildall.php: line 8: either: command not found

./rebuildall.php: line 9: syntax error near unexpected token `at'

./rebuildall.php: line 9: ` * (at your option) any later version.'. Johnywhy (talk) 19:51, 20 January 2018 (UTC)

You need to make sure that you are executing he file with the PHP executable. The normal way of doing this is from the shell, e.g. php rebuildall.php. 2001:16B8:1041:9E00:8D13:68EF:DE48:FAB9 (talk) 22:25, 20 January 2018 (UTC)
Executing php rebuildall.php at terminal, i'm getting:
"Error: Missing one or more required components of PHP. You are missing a required extension to PHP that MediaWiki needs. Please install: * fileinfo <https://secure.php.net/fileinfo>"
However, my wiki root folder, https://www.MyWikiUrl/phpinfo.php returns:
== [fileinfo] ==
fileinfo support enabled
version 1.0.5
libmagic 522
(MyWikiUrl above linked to my actual wiki)
Is it possible fileinfo is enabled in the wiki root folder, but not the maintenance folder? Johnywhy (talk) 17:51, 21 January 2018 (UTC)
Resolved, by editing my host phprc file.
Issue was that, on my host, shell user may be assigned different php version than website. I had to enable fileinfo for the shell user. Shell user was assigned php 5.6, so i had to enable fileinfo on 5.6.
https://help.dreamhost.com/hc/en-us/articles/214205858-How-do-I-enable-fileinfo- Johnywhy (talk) 19:16, 21 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Table of Contents on Sidebar

This should be simple, right? I'm trying to set up wiki site so that a table of contents appears on the left vertical sidebar. Just like the one on this page.

Is there a way to do this automatically? Or do I have to paste links to each page/section?

Thanks! CarbShark (talk) 20:19, 20 January 2018 (UTC)

Doesn't a sidebar by default show up for your MediaWiki site?
For further customization of the displayed links on the sidebar, see Manual:Interface/Sidebar. AhmadF.Cheema (talk) 10:20, 21 January 2018 (UTC)
I do get a sidebar, but I thought there was a way to automatically list the table of contents.
I see I can do it manually, so that's helpful, thank you! CarbShark (talk) 23:11, 21 January 2018 (UTC)
The table of contents, which is the list of the sections/headings on a particular page, is automatically generated for a a Wiki page with three or more headings within the content area of the page and not the sidebar. AhmadF.Cheema (talk) 07:09, 22 January 2018 (UTC)
I do think this is a good question.
It would make the wiki much more readable.
Can a "book" be a solution? 212.123.0.8 (talk) 07:20, 30 October 2019 (UTC)
It can be done, but no easy direct way to do it, will include writing a bit of code. Maybe there already is some custom skin which does this?
For presently available solutions, see mediawiki: have TOC / page sections displayed in the sidebar. AhmadF.Cheema (talk) 07:44, 30 October 2019 (UTC)
Thanks!
I will lookin to it 212.123.0.8 (talk) 08:05, 4 November 2019 (UTC)

Password reset MWExceptionHandler.php 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.


I've installed Pear Mail package. After that, when i request for password reset it gives me that error:

Fatal error: Uncaught TypeError: Argument 1 passed to MWExceptionHandler::handleException() must be an instance of Exception, instance of Error given in includes/exception/MWExceptionHandler.php:153 Stack trace: #0 [internal function]: MWExceptionHandler::handleException(Object(Error)) #1 {main} thrown in includes/exception/MWExceptionHandler.php on line 153

My localsettings.php file:

$wgEnableEmail = True;
$wgEnableUserEmail = True; # UPO
$wgEmailAuthentication = True;

$wgSMTP = array(
    'host'     => "smtp.sparkpostmail.com",
    'IDHost'   => "sitename.com",
    'port'     => 587,
    'auth'     => true,
    'username' => "SMTP_Injection",
    'password' => "KEY"
);

How i fix that problem? Bekircem (talk) 08:04, 21 January 2018 (UTC)

This sounds like a problem with the installed PHP version. Which version MediaWiki and which version of PHP do you have installed?
To get a more speaking error message you could remove the type hint "Exception" in includes/exception/MWExceptionHandler.php on line 153 Osnard (talk) 08:20, 22 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

500 error with images

Hello everyone,  I am being hosted on a Hostgator shared server.  I have installed the wiki through the control panel.  However when I try to put photos or pictures in my pages they dont show up.  I have set the permission in the folder to read/write.  I have gone up and down through the LocalSettings file. I made sure uploads were on in the php.ini file.  One suggestion said to modify the config.ini for the server but I have no diea what to modify or why.  Can someone provide some help on this wierd issue ?  Any help is extremely appreciated.  Thank you 205.56.181.196 (talk) 09:26, 21 January 2018 (UTC)

By "they dont show up", do you mean that their thumbnails don't show up or do you mean that after uploading you receive the 500 error? AhmadF.Cheema (talk) 10:34, 21 January 2018 (UTC)

WikiEditor doesnt work?!

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


Hello,

i have the MediaWiki1.30.0 and WikiEditor0.5.1.

The extension is allready aktivated. I see it at the special side "version". But I still see the old editor. So can someone help me? Whats wrong?! 178.25.136.117 (talk) 10:51, 21 January 2018 (UTC)

Have you enabled it from your preferences or added the following in your LocalSettings.php?
$wgDefaultUserOptions['usebetatoolbar'] = 1;
AhmadF.Cheema (talk) 11:41, 21 January 2018 (UTC)
Thanks for your help! No it works! 178.25.136.117 (talk) 16:15, 21 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Infobox missing line at bottom of box

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 starting a new wiki, and the infobox on the right side is missing the bottom of the box - not sure what I'm doing wrong?

For example: http://www.phcwiki.com/index.php?title=2004-12-11

The template that I'm using shows the bottom line fine: http://www.phcwiki.com/index.php?title=Template:InfoboxShow

MediaWiki 1.26.3
PHP 7.0.24 (cgi-fcgi)
MySQL 5.6.34-log
GreenBryn (talk) 18:12, 21 January 2018 (UTC)
The bottom line is there, but some other element is probably coming above it making it practically invisible.
A quick fix could be to remove "padding:0;" OR use a value like "padding:1px;" from your template. AhmadF.Cheema (talk) 20:21, 21 January 2018 (UTC)
That fixed it - thank you so much!!! GreenBryn (talk) 09:57, 22 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

how can i create code block containing several lines?

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.


Id like to create a code block containing several lines.

THIS HERE:

AND THIS!:

SHOULD BE

in a block. The block shouldnt be bigger then necessary. 2003:D1:2BEF:D2E9:1C03:FC46:145F:B497 (talk) 18:39, 21 January 2018 (UTC)

You can use <pre></pre> tags, like so:

<pre>
1. line
2. line
3. line
</pre>
AhmadF.Cheema (talk) 19:57, 21 January 2018 (UTC)
thanks 2003:D1:2BEF:D2E9:1C03:FC46:145F:B497 (talk) 21:30, 21 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Can you change the colour of the blocks?

^ 2003:D1:2BEF:D2E9:1C03:FC46:145F:B497 (talk) 21:47, 21 January 2018 (UTC)

You can change the background grey colour of the box by adding the following to your MediaWiki:Common.css:
code {
	background-color: #2d6194;
}
AhmadF.Cheema (talk) 07:12, 22 January 2018 (UTC)

Edited Text Background Color Change

Once user edit the text, That need to show to everybody but with grey background color, after it get approved from our administrator, it will be like ordinary text.. How to do that  ? 122.172.82.179 (talk) 09:18, 22 January 2018 (UTC)

See Extension:Approved Revs and similar extensions Ciencia Al Poder (talk) 21:48, 22 January 2018 (UTC)

Hi there, thanks for your help, we've installed Mediawiki and copied over many templates from Wikipedia. Much of it is working fine but there are a few remaining niggling errors. Wondered if you can help. Thanks!

I've got an example of the error here:

http://encyclopediaofbuddhism.org/index.php?title=User:Robertinventor/import_process /error_example

This is the same code on Wikipedia to show how it should be displayed: https://en.wikipedia.org/wiki/User:Robertinventor/test

I copied the Navbox template over from Wikipedia using Special:Export, with "Include Templates " checked and then imported into the new wiki with Special:Import.

Any idea how to fix it?

Parser extension flags missing

As you'll see from the error page it also is missing some Parser extension flags including "indicator" - do you know why that is and what we can do?

Instant commons images not shown

Finally we also have enabled InstantCommons but the image links are shown as red text. I'm guessing this is a permissions problem connecting to the network as noted there. Checked to see if we have SELinux installed as I saw that mentioned as a problem that could lead to this issue. But not sure where to go in CPanel or how else to check this

(As you will see from the error page, We also have a FlaggedRevs error but this is in a template we don't need at present so there is no urgency about this, seems likely to be a missing extension and it looks like it may be tricky to install so we can just forget it for now.)

MediaWiki 1.24.1
PHP 5.6.33
MySQL 5.6.36-82.1
Lua 5.1.5

http://encyclopediaofbuddhism.org/index.php?title=Special:Version Robertinventor (talk) 12:02, 22 January 2018 (UTC)

The "indicator" tag was included in MediaWiki 1.25. You will need to upgrade MediaWiki to make it work for your site. AhmadF.Cheema (talk) 13:54, 22 January 2018 (UTC)
Oh okay great, thanks! That's a simple one then. We do plan to upgrade but it's not our top priority. If this is the only reason to upgrade, if we only need that tag - well it seems to have rather small repercussions for our wiki so far - small enough to work around them - so then we will probably leave it to a few months down the line.
So - I count that as the Parser extension flags missing question now answered :).
Anything about the other two anyone? They are more important for us and if either of those require the wiki to be upgraded we have to do it right away and will make it top priority. Robertinventor (talk) 14:18, 22 January 2018 (UTC)
Continuing with an old version that has known security vulnerabilities is risky, an upgrade is recommended as soon as possible.
Also note that a lot of Wikipedia templates make use of code such as the "indicator" tag, therefore you will not be able to just import and use such templates. You will need to edit the fairly complicated templates and modules code in order to make those work for an out-of-date Wiki.
For horizontal lists in Navboxes, you will need to include the "hlist" code from w:MediaWiki:Common.css into your Wiki.
For SELinux, the most convenient route would be to contact your hosting provider's support. AhmadF.Cheema (talk) 16:49, 22 January 2018 (UTC)
Oh, okay, I will recommend that to my colleague. He was planning an upgrade last weekend but then decided not to do it as we had other priorities. I'll suggest he does it as soon as possible and then that will be fixed. With our wiki then I did a visual review of the pages with script errors and didn't turn up anything else so far - though there are errors in the templates they don't seem to affect the pages visually. This one is not actually used at present as we have only two contributors and plan to grow gradually and not let the general public create accounts - it's a closed wiki - so page protection is not a priority for us at present. It was just a display issue for the imported protected page which I fixed by removing the protection template. In future we can do the same for other imported protected pages. Still, fixing it would save the need of that extra step to remove protections from imported pages :).
With the MediaWiki:Commons.css, have I put this in the right place?
http://encyclopediaofbuddhism.org/index.php?title=MediaWiki:Commons.css
It doesn't seem to have changed the visual display on the test page yet.
http://encyclopediaofbuddhism.org/index.php?title=User:Robertinventor/import_process/error_examples
Or in any of the pages that use the navbox, see e.g. end of this page
http://encyclopediaofbuddhism.org/index.php?title=Pratyekabuddha
I tried Shift + reload in Firefox and purging the page and looking at the page in a different browser (Chrome) never used to view it before. It doesn't seem to have done anything yet.
Okay I will suggest he contacts the hosing provider's support on SELinux.
Thanks for your help. Robertinventor (talk) 03:44, 23 January 2018 (UTC)
This could have something to do with Module errors due to old MediaWiki version – as some of the code that loads for the template on Wikipedia does not load for your Wiki – but I can't say for sure. AhmadF.Cheema (talk) 07:42, 23 January 2018 (UTC)
Oh okay fine. My colleague is going to update to the latest MediaWiki version over the weekend maybe this or the next weekend as it is a weekend project for him. So we will see what it's like after that. So that is everything addressed for now, and will need to see what the result is after the wiki upgrade and after he hears back from his question about SELinux. Thanks for your help! Robertinventor (talk) 07:53, 23 January 2018 (UTC)

Multilang wiki site like wikipedia

hello

how can I setup wiki like wikipedia in two language

and create first page (language page ) and change address to like wikipedia

I means mywiki.com/wiki/articlename now my address as default ( is mywiki.com/index.php?title=articlename ) Parsweb (talk) 15:09, 22 January 2018 (UTC)

See Manual:Short URL Ciencia Al Poder (talk) 21:45, 22 January 2018 (UTC)

Password reset without email

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 am running MediaWiki on a Intranet, unfortunately I am unable to get a mailserver up and running due to my organizational policies.

Hence when a user attempts to reset there password when they have forgotten it they don't get an email and I as the admin have to go into the backend and reset the password.

Once I have the MediaWiki up and running it won't be feasible for me to do this, we will have a possible 100k+ users. Is there a way that a password can be reset using personal questions such as your first pets name or favorite sports team.

I have looked at extensions and can't find anything, the only thing I have found is where an admin can reset a password from the Wiki end rather than Terminal/PHPMyAdmin.

I'm not sure if I have the knowledge to write one myself.

Any help would be appreciated Squeak24 (talk) 16:49, 22 January 2018 (UTC)

What about using another source of authentication eg LDAP or you can relay email through another system - you don't have to run the SMTP daemon yourself. Gerdesj (talk) 20:03, 22 January 2018 (UTC)
An intranet with 100k+ users but without internal mail server? How's that possible? :) Ciencia Al Poder (talk) 21:41, 22 January 2018 (UTC)
I didn't set the system up. We are using the WIki as an off shoot of the Intranet for a particular purpose. The Intranet and other systems have mail servers, but they don't use the SMTP route that most would expect. I really don't know how it works, I just know that it doesn't work for MediaWiki. Squeak24 (talk) 22:52, 22 January 2018 (UTC)
If the intranet has a mail server it should use SMTP, use it for sending email. You only need to configure one mail account. Ciencia Al Poder (talk) 10:20, 23 January 2018 (UTC)
the internal mail uses something called EMS. How it works I don't know. 79.68.16.15 (talk) 16:16, 24 January 2018 (UTC)
Gerdesj, thank you for your response, I have looked at that, I should have put this in the original post, but the server am on is behind a firewall with no internet access, hence when looking for an outside SMTP it can't see it. We don't have any internal SMTPs to use either. Squeak24 (talk) 22:47, 22 January 2018 (UTC)
@Squeak24 What about using the changePassword.php maintenance script? Regards. MarcoAurelio (talk) 11:09, 23 January 2018 (UTC)
I have been using that, but I want to use something where users can reset there own password rather than asking the admin each time. With the number of potential users that could be too much work for people with access to the terminal. 79.68.16.15 (talk) 16:14, 24 January 2018 (UTC)
I recommend using the EditAccount extension. [[kgh]] (talk) 09:29, 25 January 2018 (UTC)
Thank you, I will look into it. Squeak24 (talk) 15:45, 30 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

I can't create an account because Gilliam blocked it

I can't create an account because Gilliam blocked it 105.100.73.103 (talk) 19:46, 22 January 2018 (UTC)
See
en:Wikipedia:Request an account or you could explain your issue in an unblock request there. Tropicalkitty (talk) 18:48, 25 January 2018 (UTC)
Please tell us the exact, complete error message that makes you think that account creation is blocked, and on which website. Malyacko (talk) 22:22, 22 January 2018 (UTC)

Issue with image files after updating

I recently updated my Wiki to version 1.30.

After updating i noticed that certain images are no longer being displayed despite being uploaded, online and available.

f.e. > http://www.huskywiki.de/HuskyWiki//index.php?title=Robert_Francz

Check out the placeholder on the right side.

The issue concerns png-files as well as jpg-files. Does any one of you have any idea how to fix this?

Thank you so much! TexasR87 (talk) 22:44, 22 January 2018 (UTC)

when i open the broken image separately, it reports is trying to open "http://www.huskywiki.de/HuskyWiki//5x"
Which obviously is broken somehow, that's not a path that you would normally expect. Looking at the generated HTML, i notice that the srcset statements for your HTML are incorrect. I suspect this might be bug T181987 and that you are running your MediaWiki setup in the german locale, instead of the C (as advised for 1.30 and later) or english locale.
See also: Manual:$wgShellLocale
P.S. you also seem to have a double / in all your paths, indicating that something in your path configuration is not entirely ok either. —TheDJ (Not WMF) (talkcontribs) 13:29, 29 January 2018 (UTC)
Thank you for your reply! I'm not the biggest pro in wiki technology, so I try my best keeping my wiki running.
The wgShellLocale-hint was spot on. I changed it to "C.UTF-8'" and that did the job for me. All images are back where they are supposed to be.
Thanks again! TexasR87 (talk) 19:50, 30 January 2018 (UTC)

Error creating thumbnail: Unable to save thumbnail to destination

MediaWiki 1.30.0 PHP 5.5.38 (apache2handler) MySQL 5.5.58-cll

I cannot get the thumbnails to display. I've looked through every support page and tried everything, to no avail.

Any fresh ideas out there for 2018?

http://fakeologist.com/fakeopedia/index.php/Main_Page Fakeologist (talk) 01:34, 23 January 2018 (UTC)

As a starting point see Project:Support desk/Flow/2017/08#h-Error_creating_thumbnail:_Unable_to_save_thumbnail_to_destination-2017-08-24T15:09:00.000Z. AhmadF.Cheema (talk) 02:51, 23 January 2018 (UTC)
Thanks. Tried everything and so far nothing works.
To I have to set this variable explicitly?
$wgUploadPath Fakeologist (talk) 00:07, 1 February 2018 (UTC)
A file linked to wikicommons displays fine. Why then can't it display thumbnails to my own server? Fakeologist (talk) 00:08, 1 February 2018 (UTC)
Did you create a debug log file?
What is the output to the log, at the time the thumbnails should be created? AhmadF.Cheema (talk) 08:23, 1 February 2018 (UTC)
Set $wgShowExceptionDetails = true; and reload http://fakeologist.com/fakeopedia/thumb.php?f=9-11-Photos-AP-Getty-640x480.jpg&w=180 Ciencia Al Poder (talk) 10:39, 1 February 2018 (UTC)
ok did that, got the error. now what? Fakeologist (talk) 01:23, 2 February 2018 (UTC)
Search on Google, or maybe try posting the error here - that might help also. AhmadF.Cheema (talk) 01:32, 2 February 2018 (UTC)
https://pastebin.com/FdBqX01E Fakeologist (talk) 01:41, 2 February 2018 (UTC)
Is the log complete? It ends with [FileOperation] FileBackendStore::getFileStat: File mwstore://local-backend/local-thumb/a/ad/9-11-Photos-AP-Getty-640x480.jpg/180px-9-11-Photos-AP-Getty-640x480.jpg does not exist., which is okay, but it should then try to create the thumbnail, which should get logged. Ciencia Al Poder (talk) 10:36, 2 February 2018 (UTC)
I re-pasted the whole log with 3 requests for the file in a row.@Ciencia Al Poder Fakeologist (talk) 12:02, 2 February 2018 (UTC)
Better now, but still doesn't give any useful information, but that's not your fault.
I don't see the command used to generate the thumbnail, so my guess is that you don't have MediaWiki configured to use ImageMagick for thumbnails, and it's using the GD library instead., which seems to have less debug traces. In that case, try to use ImageMagick if you can, or else check if GD is really available to PHP (try phpinfo). Check also if you have SELinux enabled, which may cause problems if not configured correctly. Ciencia Al Poder (talk) 16:33, 2 February 2018 (UTC)
I do have
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert"; Fakeologist (talk) 22:35, 2 February 2018 (UTC)
How can I test that it is/is not using it @Ciencia Al Poder? Fakeologist (talk) 22:36, 2 February 2018 (UTC)
Well, if you have those settings, then you're using imagemagick. The error may happen on an early stage before attempting to invoke imagemagick, otherwise the full convert command will be printed on the debug log, but it wasn't printed on your debug log. Probably it fails when trying to copy the file to a temp folder. Check permissions of the $wgTmpDirectory Ciencia Al Poder (talk) 15:57, 3 February 2018 (UTC)
Temp folder is 777. I didn't set the variable so assume it's the default. Fakeologist (talk) 01:51, 7 February 2018 (UTC)
Have you checked SELinux? Ciencia Al Poder (talk) 10:40, 7 February 2018 (UTC)
what does that mean? Change servers? Fakeologist (talk) 12:09, 7 February 2018 (UTC)
See SELinux, if you installed SELinux. 星耀晨曦 (talk) 12:19, 7 February 2018 (UTC)
Emm. I have a problem. Why is my tmp directory under /images/temp, I haven't give any value to $ wgTmpDirectory in my LocalSettings.php. 星耀晨曦 (talk) 17:35, 3 February 2018 (UTC)
Must be the default directory. 209.48.43.22 (talk) 19:09, 3 February 2018 (UTC)
Still not working. Upgraded to latest mediawiki 1.3 with still no ability to see thumbnails. Fakeologist (talk) 00:14, 3 March 2019 (UTC)
Version 1.3 is from the early 2000s (I hope that's a typo), and not helpful as you have not answered the SELinux question yet... If your configuration is broken then no software code update will fix it anyway. Malyacko (talk) 11:07, 3 March 2019 (UTC)
I don't know whether my solution is helpful but it works for me. When I try to use the imagemagick built from source, it turned out that I cannot resize the png file as it cannot find some required dependency. So I use the imagemagick installed from ubuntu repo using apt-get install imagemagick instead and it puts convert executable file into /usr/bin instead of /usr/local/bin. So I reset the $wgImageMagickConvertCommand to "/usr/bin/convert". Here is when this error occurs. But when I copy file "/usr/bin/convert" into "/usr/local/bin/convert" and set $wgImageMagickConvertCommand="/usr/local/bin/convert", this error disappeared.
So in short, following method may be helpful:
apt-get install imagemagick
cp /usr/bin/convert /usr/local/bin/
Edit your LocalSettings.php and set $wgImageMagickConvertCommand = "/usr/local/bin/convert";
Besides......yes, I use account root directly when install mediawiki. 溪木 (talk) 09:04, 13 October 2019 (UTC)
It makes no sense to need to copy the executable to another location for it to work. Maybe you had open_basedir restrictions that don't allow you to access /usr/bin directly but /usr/local/bin/ is allowed, or some rule in SELinux where /usr/local/bin/ is whitelisted and /usr/bin/ is not. Ciencia Al Poder (talk) 09:24, 13 October 2019 (UTC)

NEW INSTALL - Error when trying to log into 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.


Hi all,

Just deployed MediaWiki on an IIS 10.0 Server, but when I try to log in I get the following error:

Internal error

[3f0e7d7f4d9e01360479bb96] 2018-01-23 23:00:36: Fatal exception of type "BadMethodCallException"

I'm at a loss as to what I need to do here. Could anybody point me in the right direction?

Thanks! Toby7243 (talk) 23:02, 23 January 2018 (UTC)

Just to re-iterate, this is when I'm putting in the username and password created during setup on the http://mymediawiki/index.php?title=Special:UserLogin&returnto=Main+Page page. Toby7243 (talk) 23:04, 23 January 2018 (UTC)
Set $wgShowExceptionDetails = true; in your LocalSettings.php, to display a more detailed error message. 星耀晨曦 (talk) 23:24, 23 January 2018 (UTC)
Perfect, that gave me the answer! Looks like it wasn't happy because I'm not using encryption.
Thank you so much! :) Toby7243 (talk) 23:31, 23 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

MediaWiki 1.30.0 Installation Error: DatabaseInstaller::stepApplySourceFile

Hi Everyone,

Encountered an error when installing. I'm at the final stage which is the actual install section but I encountered this message:

PHP Notice: Uncommitted DB writes (transaction from DatabaseInstaller::stepApplySourceFile). in C:\inetpub\devroot\Wiki\includes\libs\rdbms\database\Database.php on line 3674

For those who know the issue, how did you resolve it? 125.212.52.98 (talk) 23:27, 23 January 2018 (UTC)

Debugging the error at the installation stage is very difficult. The Notice: Uncommitted DB writes is masking the original error.
You should change the error_reporting setting in php.ini to include E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED (excluding E_NOTICE to get rid of the error masking the original one). After changing php.ini you must restart IIS.
The database may be in an inconsistent state because of the error, so when you start the installation again you should first drop the database. Ciencia Al Poder (talk) 10:48, 24 January 2018 (UTC)

JBOSS support

Hello, we currently use MediaWiki on Windows 2003, however we're looking to upgrade this to a Windows 2016 server with JBOSS EAP 7.0.8. please can you confirm if the mediawiki software supports JBOSS?

Thanks

Mo 193.120.161.6 (talk) 10:04, 24 January 2018 (UTC)

JBOSS is for Java, if I've read correctly. MediaWiki runs with PHP, not Java, so I guess it won't work. On windows you should use IIS or Apache, with php, or any other webserver that can run PHP Ciencia Al Poder (talk) 10:35, 24 January 2018 (UTC)
hi
thanks for your reply. for web servers, our standard is now JBOSS, so I'm trying to determine if it can be used\is compatible.
I've been advised that JBOSS can be used in conjunction with PHP.
Thanks
Mo 193.120.161.6 (talk) 11:51, 24 January 2018 (UTC)
We have deployed mediawiki1.26 successfully on JEAP7.0 but failed to run latest version of mediawiki(v1.35+).
when loading mediawiki index page, it says "Refused to execute script from xxx because its MIME type ('text/css') is not executable, and strict MIME type checking is enabled."
I suppose it's relevant with mime type interpretation on JEAP but have no idea how to resolve this. Any suggestion? StrangeIcecream (talk) 10:54, 11 January 2022 (UTC)
@StrangeIcecream What does the log of the webserver software say? Which exact "script" is this about? Malyacko (talk) 11:26, 11 January 2022 (UTC)
e.g. : /load.php?lang=zh-cn&modules=startup&only=scripts&raw=1&skin=vector. the error is showing up at every time loading page.
@Malyacko
I tried to monitor server log but nothing shown in console. StrangeIcecream (talk) 14:14, 12 January 2022 (UTC)
This means that the url to load the initial javascript payload for mediawiki is returning CSS as the mime type on the response header. You'll have to figure out if the server is overwriting the mime type that mediawiki is returning, or if the routing is somehow not correctly setup.
Of note to a system admin is that load.php can return both javascript and css, and that this content is dynamic, depending on the query arguments. It might be that this confuses JBOSS and needs some special configuration or caching setup to take this into account. —TheDJ (Not WMF) (talkcontribs) 15:23, 12 January 2022 (UTC)

DBQueryError when attempt to change password

Hi,

I am using MediaWiki 1.28.2-0126 on running on a Synology system using Apache 2.4, PHP 5.6 and MariaDB10. Whenever I try to change a user password, a DBQueryError appears without additional information. This happens both when I try to reset a password and when I try to change a password from the logged in user. Creating new users works fine. What am I doing wrong? Many thanks in advance.

Matze MatzeEF (talk) 12:47, 24 January 2018 (UTC)

Can you add
$wgShowExceptionDetails = true;
$wgShowSQLErrors = true;
$wgShowDBErrorBacktrace = true;
to your LocalSettings.php?
This should give a more detailed error message. Osnard (talk) 07:50, 25 January 2018 (UTC)
Apparently I am getting issues doing this on an 1.27.4 but have not gotten around to reporting this. Moreover I cannot even create new users. Since other people seem to have similar issues I should put this on the front burner. [[kgh]] (talk) 09:31, 25 January 2018 (UTC)

Project:Support desk/Flow/2017/12#h-Moving_pages_does_not_work-2017-12-29T09:05:00.000Z

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 All,
I'd like to return to that topic.

It is about a user who can move pages in the user space but not in the main space.

You gave us the advise to check, whether he can move page <somepage>, adressing special:movePage/<somepage> directly instead of via the move-button.

The user replied to me that on Movepages in the main space (where he misses the move button) he receives a notice that he is not permitted to use that page. :(

What is the next thing to check?
Thank you in advance.
Yours, Ciciban (talk) 14:40, 24 January 2018 (UTC)

You should be able to reopen that topic by clicking/tapping on the ••• in the top right corner, and selecting reopen (if there's anything relevant to add in that topic). Tropicalkitty (talk) 19:24, 25 January 2018 (UTC)
Thanks — Ciciban (talk) 10:34, 26 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Search box not showing in mediawiki sidebar

متذيركنحو

I just got done reading Manual:Interface/Sidebar and was able to implement most of it correctly. The only thing I'm having trouble verifying is the * SEARCH command. Even Mediawiki.org's left sidebar menu is not displaying the "Search box" as the code on the manual page would suggest. I tested in both Chrome and Firefox and same problem, on both mediawiki.org and on my local wiki I created on my hard drive. Any suggestions? Is this a known issue?

Any help is appreciated.

P.S.: I took a screenshot, but I can't find any way to upload it here. Ehtech2000 (talk) 20:04, 24 January 2018 (UTC)

Having the search box in the left navigation panel needs to be supported by the skin. Which skin do you use? The MediaWiki default skin "Vector" does not support it anymore, as it has a dedicated place for the search box (upper right corner of the content box).
btw. for sharing screenshots you could use services like https://imagebin.ca/. I'd not recommend uploading them to mediawiki.org Osnard (talk) 07:48, 25 January 2018 (UTC)
Thanks for your your reply @Osnard. Yes, I'm using the default "Vector" skin. Good to know that it will not work in the default skin, and that presumably I can browse to find skins that do support the left sidebar. I don't really need a left sidebar, it's just that I was following the only decent video tutorial for beginning MediWiki developer, step-by-step, and it is from 2009. I've not been able to find anything clear and concise that is recent, unfortunately. So, I'm learning a lot as I hit these roadblocks! ;)
Thanks again for your help.
P.S.: For completeness, I think the tutorial I was following was from Kristin McMurray , or TheFreeCollege Ehtech2000 (talk) 07:35, 4 February 2018 (UTC)

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


Hello, is there any way I can get past this "Installing some external dependencies (e.g. via composer) is required." error without having to install composer and setting up GIT? I would have thought that the application would have came with everything it needed? 23.25.96.189 (talk) 20:52, 24 January 2018 (UTC)

You can download a tarball that includes all dependencies from the Download page. Osnard (talk) 07:42, 25 January 2018 (UTC)
If you stumble into this bug, check Talk:Download/Archive 2/Flow export#h-"Installing_some_external_dependencies_(e.g._via_composer)_is_required."-2018-10-08T04:57:00.000Z. It might be that you have recreated the archive in another format, and that the new archive is incomplete. Jeblad (talk) 05:02, 8 October 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

How to make "Advanced" the default editor?

How to make "Advanced" the default editor?

thx Johnywhy (talk) 05:02, 25 January 2018 (UTC)

Where to find and see "Advanced" as the non-default editor? Malyacko (talk) 05:17, 25 January 2018 (UTC)
To localsettings.php file:
wfLoadExtension( 'WikiEditor' );
# Enables use of WikiEditor by default but still allow users to
# disable it in preferences
$wgDefaultUserOptions['usebetatoolbar'] = 1;
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
# Displays the Preview and Changes tabs
$wgDefaultUserOptions['wikieditor-preview'] = 0;
# Displays the Publish and Cancel buttons on the top right side
$wgDefaultUserOptions['wikieditor-publish'] = 0;
more info at: https://en.wikijournal.org/wiki/How_to_create_website_on_MediaWiki Fokebox (talk) 19:05, 25 January 2018 (UTC)

picture

I can't upload any pictures to the edited page by me. What do I do wrong? Maral Əsədova (talk) 06:39, 25 January 2018 (UTC)

Are you referring to a permission issue or can't you find the upload page? If permitted you can upload a file using Special:Upload. After uploading you will need to place a wikitext link in your wikipage, e.g.
[[File:Myimage.png|thumb]]
If you don't use VisualEditor there is no upload tool in the edit mode of a wikipage.
Also, have a look at Help:Images Osnard (talk) 07:54, 25 January 2018 (UTC)

How to debug SMTP?

I've been trying to get my 1.30.0 wiki set up with email but have hit a wall. Using smtper.net I've confirmed that my external SMTP service is working properly and that my settings in $wgSMTP match and are correct — but for some reason I still get an error every time my MediaWiki install tries to send an email. I've been testing it using Special:PasswordReset and have been getting this:

"The password reset was not handled. Maybe no provider was configured?"

I tried to see what was going on by writing out to the $wgDebugLogFile, but the only relevant line I see is this:

[authentication] User1 attempted password reset of User2 but failed

I can't tell if I have an email problem that's breaking my password resets, or if I have a PasswordReset problem that's interfering with mail getting sent... of maybe two entirely unrelated problems. (And either way I'm not sure what else I can do to diagnose and correct it.) Any suggestions? I've been beating my head against this for a while and have run out of ideas. Thanks very much for any assistance! Huwmanbeing (talk) 11:01, 25 January 2018 (UTC)

Even just knowing how to debug the "attempted password reset but failed" message would be very useful, if anyone has any thoughts on that. Thanks! Huwmanbeing (talk) 14:40, 29 January 2018 (UTC)
$wgSMTP has information on troubleshooting email. It sounds like you might need to install the mail and net_smtp packages. MarkAHershberger(talk) 01:08, 31 January 2018 (UTC)
Both are installed and at the latest version. I even set up a little custom PHP file on the server just to test that I can connect properly to the SMTP provider and send mail successfully, and that works fine.
For some reason MediaWiki just keeps saying "maybe no provided was configured", and unfortunately gives no indication what provider it's talking about. (The troubleshooting steps at $wgSMTP also don't appear to speak to this particular case.) Any idea how to debug this? Huwmanbeing (talk) 16:23, 31 January 2018 (UTC)

Cannot upload PDF file although PDF is a permitted file type

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


Hello,

I installed Mediawiki on my NAS using the docker image from

https://github.com/kristophjunge/docker-mediawiki

It is up and running. Even the find VisualEditor works like a charm. I can also upload images using drag & drop into the browser.

However, I failed to upload PDF files. When uploading PDF files I get the error message:

".pdf" is not a permitted file type. Permitted file types are png, gif, jpg, jpeg, webp, png,gif,jpg,jpeg,doc,xls,mpp,pdf,ppt,tiff,bmp,docx,xlsx,pptx,ps,odt,ods,odp,odg

I wonder why this is as PDF is obviously a permitted file type.

According to MediaWiki manual, the default list of allowed extensions is 'png', 'gif', 'jpg', 'jpeg', 'webp' and all others are blocked. To add more extensions, this container provides the environment variable MEDIAWIKI_FILE_EXTENSIONS.

I've set the container's environment variable

MEDIAWIKI_FILE_EXTENSIONS=png,gif,jpg,jpeg,doc,xls,mpp,pdf,ppt,tiff,bmp,docx,xlsx,pptx,ps,odt,ods,odp,odg

In LocalSettings.php (which has been modified to allow to set configuration using docker's environment variables mechanics) this environment variable is read and used add filetype to the $wgFileExtensions array:

if (getenv('MEDIAWIKI_FILE_EXTENSIONS') != <nowiki>''</nowiki>) {
    foreach (explode(', ', getenv('MEDIAWIKI_FILE_EXTENSIONS')) as $extension) {
        $wgFileExtensions[] = trim($extension);
    }
}                                                                      

I don't know where to investigate further to fix this issue...on docker's side or on MediaWiki's side. I also reported this issue here Herrmanthegerman (talk) 15:23, 25 January 2018 (UTC)

It looks like you should have a space separating the extensions. That is:
MEDIAWIKI_FILE_EXTENSIONS="png, gif, jpg, jpeg, doc, xls, mpp, pdf, ppt, tiff, bmp, docx, xlsx, pptx, ps, odt, ods, odp, odg" MarkAHershberger(talk) 01:18, 31 January 2018 (UTC)
Thanks. You are correct. I overlooked the space in the delimiter passed to explode(). I simply didn't expect this space there as the following trim() handles whitespace properly.
How can I close this "support request"? Herrmanthegerman (talk) 11:13, 31 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

I'm pretty new to wiki and web hosting on databases, so although I've located the cause of the 403 error - the colon in the symbolic links on my page - the two different solutions (here - Manual:Errors and symptoms#403 Forbidden with Symbolic Links and here Manual:Short URL/Page title -- Windows & Apache without 403 on Special Pages) I've discovered are of little use to me.

Can anyone explain how to actually go about the solutions given there, as I have no idea what any of them mean (like I say, new to this - no idea what Apache even is!). Or is there a direction someone can point me so I can pick this up. Or should I maybe just give up on Wiki now? It seemed so simple until this! Intldebris (talk) 20:22, 26 January 2018 (UTC)

Hi there,
error 403 means "access denied". I guess that is caused by something in the server configuration.
You say something about a colon in the page name? Does the error 403 only happen with some pages, but not with others? Are all MediaWiki namespaces affected?
Can you give us the URL to your wiki so that we can have a look? 2001:16B8:10F4:7500:8D30:E093:11A6:E996 (talk) 23:10, 26 January 2018 (UTC)
^The wiki link is: http://www.internationaldebris.co.uk/fsol/Main_Page. Setup information.
Any link with a colon in it, meaning every one with a namespace, gives a "403 Forbidden, You don't have permission to access..." error. AhmadF.Cheema (talk) 07:04, 27 January 2018 (UTC)
After looking at your wiki, I guess that the configuration, which you have put into .htaccess is wrong in a way so that it does not allow access to pages with colon.
You should undo the configuration changes, which you did to make short URLs working (which currently does not work for you).
Instead you should follow Manual:Short URL/Apache to get it working for all URLs. 2001:16B8:1045:A800:E4F5:7C24:E5EE:CBC5 (talk) 07:36, 27 January 2018 (UTC)

How could I show the number of users?

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


If I want to show the users' number, what could I do? AndyPKU (talk) 08:11, 27 January 2018 (UTC)

The number of users is available through the magic word {{NUMBEROFUSERS}} and the number of active users through the magic word {{NUMBEROFACTIVEUSERS}}.
The numbers also are available through the API. 2001:16B8:1045:A800:88F2:D7A1:61D1:7164 (talk) 08:39, 27 January 2018 (UTC)
thanks very much AndyPKU (talk) 08:42, 27 January 2018 (UTC)
You're welcome! 2001:16B8:1045:A800:54BD:3E31:C0C8:1396 (talk) 08:53, 27 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Files are broken after upgrading from MediaWiki 1.22.7 to 1.28.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.


Hi all,

I just upgraded a wiki from MW 1.22.7 to 1.28.3, and now files are inaccessible. I strongly suspect that this is because the way file uploads worked was changed; before, the images were all directly uploaded to the images directory, but now each image is kept under a directory images/(hex)/(hex)(hex).

I'm not sure how to properly resolve this issue - should I make a script to move all the images? But no, that won't work - it won't fix image versions.

Any idea how to resolve this? Thanks. AbyxDev (talk) 05:39, 28 January 2018 (UTC)

Hi there!
Have you created a new LocalSettings.php file during the update? Note that this is not necessary! The old file can still be used.
It sounds to me like you had set $wgHashedUploadDirectory to false, while now you maybe have not set it at all, so that it defaults to true.
Try if setting $wgHashedUploadDirectory to false solves the issue! 2001:16B8:10D8:FE00:3505:60D3:E052:249D (talk) 10:55, 28 January 2018 (UTC)
Ahhh! Yes, thank you! That solved the issue completely!
I had regenerated a new LocalSettings.php file because after upgrading and keeping the old one I came up with blank page errors, so I manually merged the old and new files. Thank you for your advice! AbyxDev (talk) 12:30, 28 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Is there any way to solve the problem of different views?

I want to have one or two collumns on my cellphone view, but 4 or 5 collumns on my PC view. How to solve this problem? AndyPKU (talk) 13:53, 28 January 2018 (UTC)

See https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Columns/Using_multi-column_layouts Ciencia Al Poder (talk) 10:27, 29 January 2018 (UTC)
it just offers a way of layout, but not referring to the different view..How to differentiate the two views? by Pixels? AndyPKU (talk) 01:30, 30 January 2018 (UTC)
You can set a fixed column width, and the browser will generate as many columns as it needs to fill the screen width. This is generally preferable, as it's adapted to the available screen width, rather than having a fixed number of columns depending on device without taking account the screen resolution.
If for cellphone view vs PC view you mean using a mobile skin versus normal skin (provided by Extension:MobileFrontend), then you may add a general css to MediaWiki:Common.css and target specific CSS for the mobile skin in MediaWiki:Mobile.css. Note that you can get a mobile skin on desktop and vice versa if you switch the view clicking the link at the bottom of the page. Ciencia Al Poder (talk) 10:09, 30 January 2018 (UTC)
yes, I have used the extension:MobileFrontend..I am going to try to configure the CSS
. AndyPKU (talk) 13:51, 30 January 2018 (UTC)

Unsubscribe

I want to unsubscribe from this site but the email I used isn't working when I log in. 150.101.184.144 (talk) 00:10, 29 January 2018 (UTC)

If you're receiving mails from the site, if you can't login, click on the forgot password to get a new one. Ciencia Al Poder (talk) 10:26, 29 January 2018 (UTC)

How could I create a support desk in my MW site?

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


If I want to create a support desk in my MW site, what should I do? AndyPKU (talk) 00:14, 29 January 2018 (UTC)

Support desk just is a page. You can create it just like you would a normal page.
Or you want to ask Flow? 星耀晨曦 (talk) 05:33, 29 January 2018 (UTC)
那么我怎样才能把它放在左侧栏或者顶部栏呢? AndyPKU (talk) 13:07, 29 January 2018 (UTC)
See MediaWiki:Sidebar. 星耀晨曦 (talk) 13:29, 29 January 2018 (UTC)
我真没看懂这个页面是什么意思。。。 AndyPKU (talk) 13:47, 29 January 2018 (UTC)
以第一级support为例,这将会在侧边栏显示名为Support的栏位。之后跟在support(第一级)的第二级,就是显示在Support栏位内的链接。第二级的语法和内部链接的语法很相似,只是没有[[]]。|右边的字段将会是显示的文字。|左边的字段是实际的页面名,这个页面名在没有前缀的时候,默认是MediaWiki名字空间里的页面。想要链接到非mediawiki名字空间的页面需要在前面加上对应名字空间的前缀。 星耀晨曦 (talk) 14:31, 29 January 2018 (UTC)
原来是这个页面直接就定义了侧边栏啊。。。 AndyPKU (talk) 15:08, 29 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Upgrading issues Mediawiki 1.25 to 1.30

I've tried 3 times that. I want to upgrade Mediawiki 1.25 to Mediawiki 1.30. I referenced this page: Manual:Upgrading

I followed these steps:

  • Check the requirements
  • Read the release notes
  • Back up existing files and the database
  • Unpack the new files
  • Upgrade extensions
  • Run the update script to check the database
  • Test the update

I check Manual: Upgrading page many times. When i cd to maintenance directory and run "php update.php" it does not give an error. I checked system requriements.

My system is:

MediaWiki 1.25.1
PHP 5.6.33 (fpm-fcgi)
MySQL 5.5.59-0ubuntu0.14.04.1-log

MySQL is not compatible. So i updated my Mysql version to 5.6.

Also adapt my Localsettings for Mediawiki 1.30. I upgraded extension too. But after upgrade my wiki homepage content is missing. SCREENSHOT (not blank page, just empty) Also when i entered content pages, pages is broken completely. (SCREENSHOT)

I restored my wiki from backup. But i want to upgrade to 1.30. I tried everything that came to mind. I need some help. Bekircem (talk) 00:51, 29 January 2018 (UTC)

Try to access the web installer(mw-config/index.php). See if there is garbled phenomenon. 星耀晨曦 (talk) 05:30, 29 January 2018 (UTC)
As i said before, i've tried to update many times. So i am also tried web installer. There is no garbled phenomenon. Everything seems fine. But it does not update either. Bekircem (talk) 08:43, 29 January 2018 (UTC)
The garbled text happens usually when the content is gzip-encoded in the server but it doesn't send the HTTP header stating that the content is gzipped, and the browser doesn't attempt to decode it. This may be a server configuration (apache or whatever you're using). However I've tested the URL of the screenshot and it looks fine for me now, did you resolve it? Ciencia Al Poder (talk) 10:37, 29 January 2018 (UTC)
I am using Digital Ocean 14.04 VPS with Serverpilot configuration with Cloudflare. I've never experienced such a problem before in this server on Mediawiki. Because of the problem I restored wiki from backup, and it's live. It is running 1.25 version now. Bekircem (talk) 14:58, 29 January 2018 (UTC)

Is it possible to seperate a wiki in areas for different eams?

I read many articles about user and group privileges and about namespaces but don't get an answer for my question.

Is it possible to have an "main section" for all users and sections which are only visible and writeable for a group? And is it possible to implement this to an existing MW? SaKraSa (talk) 11:47, 29 January 2018 (UTC)

You can use Extension:Lockdown to achieve this through the extension's $wgNamespacePermissionLockdown variable. AhmadF.Cheema (talk) 12:09, 29 January 2018 (UTC)
Thanks for your answer.
I tested the extension and it works but it's really ugly and it's very time intensive to move all the existing pages. I'm not sure if this is the right solution for my problem. SaKraSa (talk) 12:16, 30 January 2018 (UTC)

How does EMail Notification Work on pages in Watchlist?

i would like to inform every user who is watching this page (Watchlist) every time the page changes. But now I have found out with test accounts that not all users are informed. If I log in with a user, or edit the article, then the information works again - but not for long. I think there is a time limit here ?! If so, how can I switch it off?

$wgEnotifWatchlist = true;

$wgEmailAuthentication = true;

$wgDefaultUserOptions['enotifwatchlistpages'] = true; Evetro (talk) 15:40, 29 January 2018 (UTC)

The notification is sent only one time, and no further notifications will be sent for that page until the user views the page again while being logged-in. Ciencia Al Poder (talk) 21:53, 29 January 2018 (UTC)
Thank u! Evetro (talk) 10:49, 30 January 2018 (UTC)

Uploaded file doesn't get created in directory

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,

My wiki was uploading fine and creating the directories in my Upload folder. Then we renamed the server that the wiki is on and now it says that a file is uploaded but when I click on the file it says

HTTP Error 404.0 - Not Found

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

The only errors I see in the log are :

[http] Error fetching URL: SSL certificate problem: unable to get local issuer certificate

ZipDirectoryReader: Fatal error: zip file lacks EOCDR signature. It probably isn't a zip file.

The only location where I changed the name is the $wgServer value in LocalSettings.php.

I check the location and the path that the link is pointing too doesn't exist.

$wgScriptPath = "";

$wgServer = "https://fakeservername.com";

$wgResourceBasePath = $wgScriptPath;

$wgUploadPath      = "$wgScriptPath/upload";

$wgUploadDirectory = "$wgScriptPath/upload" ;

$wgEnableUploads = true;

$wgMaxUploadSize = 104857600;

$wgUploadSizeWarning=104857600;

$wgTmpDirectory = "{$wgUploadDirectory}/tmp";

$wgExtendedLoginCookieExpiration = 0 ;

$wgFileExtensions = array('pdf');

$wgCheckFileExtensions=true;

Software and versions I'm using.

MediaWiki     1.30.0

PHP     7.0.21 (cgi-fcgi)

MySQL     5.7.21-log PSIDWiki (talk) 22:01, 29 January 2018 (UTC)

Make sure you have your picture under the "$wgScriptPath/upload" directory. 星耀晨曦 (talk) 05:09, 30 January 2018 (UTC)
I'm only allowing pdf files to be uploaded. In the upload directory there are many directories but none to the path of the file I uploaded. This is an example of the url the document is pointing too: https://Wikisite.com/upload/f/f0/test.pdf
But when I go to the upload directory there is no "f" directory. It seems like it is updating the database but not actually creating the directories. It was able too before the server name change.
Thank you PSIDWiki (talk) 13:51, 30 January 2018 (UTC)
It looks like it is creating the upload directory off of the C drive not off of Inetpub\wwwroot\Wikisite\w.
How do I point it back to go off of the root of my wiki site? PSIDWiki (talk) 14:44, 30 January 2018 (UTC)
You can modify the values of $wgUploadPath and $wgUploadDirectory to other value. But at the same time, you have to move the original upload directory to the new path. 星耀晨曦 (talk) 14:52, 30 January 2018 (UTC)
This is what I have them set for
$wgScriptPath = "";
$wgUploadPath      = "$wgScriptPath/upload";
$wgUploadDirectory = "$wgScriptPath/upload" ;
This is where it should go : C:\inetpub\wwwroot\WikiTest\w\upload\...
but it is going to: C:\upload\..
Should I be setting the script path?
Thank you 141.211.32.5 (talk) 16:07, 30 January 2018 (UTC)
Yes, you should. You can set $wgScriptPath = '/w'; so that the value of $wgUploadDirectory becomes 'C:\inetpub\wwwroot\WikiTest\w\upload'. 星耀晨曦 (talk) 16:33, 30 January 2018 (UTC)
In IIS I'm pointing to C:\inetpub\wwwroot\WikiTest\w as the Physical Path for my website WikiTest.com. If I put '/w' it gives me an error: 404 - File or directory not found.
http://wikitest.com/w/index.php?title=Main_Page
Why is $wgScriptPath = ""; defaulting for the C: drive on my web server? 141.211.32.5 (talk) 16:50, 30 January 2018 (UTC)
This may be because of the internal logic of mediawiki. In most cases, you can not set $wgScriptPath to empty. 星耀晨曦 (talk) 17:19, 30 January 2018 (UTC)
So how can I correct this issue? Is there a location in the database that I would need to update or some other php file?
Thank you PSIDWiki (talk) 19:37, 30 January 2018 (UTC)
You can re-run the web install script(mw-config/index.php) once. At the end of the installation, the install script will give a new LocalSettings.php file. You need to copy the value of $wgScriptPath found in this file into $wgScriptPath in existing LocalSettings.php.
This should be the most correct way. 星耀晨曦 (talk) 01:38, 31 January 2018 (UTC)
What I ended up doing was commenting out $wgUploadDirectory and $wgUploadPath so it would use the default path which is w/images and that works. It saves the uploaded pdf to the images directory and the link to it works. But the caching is still being done off of the C drive. I tried commenting out $wgFileCacheDirectory = "{$wgUploadDirectory}/cache" ; but that didn't work.
Thank you for all your help I really appreciate it. PSIDWiki (talk) 14:35, 31 January 2018 (UTC)
$wgFileCacheDirectory default to "{$wgUploadDirectory}/cache" 星耀晨曦 (talk) 15:35, 31 January 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Custom level headers?

I find that levels 3 or so and below all format their headings the same. Can I customise the formatting for the headings of each level? Dexdyne (talk) 10:34, 30 January 2018 (UTC)

Yes. In your MediaWiki:Common.css, insert .CSS rules such as the following:
h3 {
	font-size: 150%;
}
h4 {
	background-color: #2d6194;
}
AhmadF.Cheema (talk) 15:27, 30 January 2018 (UTC)

You blacklisted my email address


For quite some time I try to find the cause of this problem but I ran out of ideas.

In our multi-language MediaWiki installation I have one instance that has problems with the sidebar (The others work fine).

The effect is, that the sidebar shows only the default content after a fresh installation. This happens not all the time. It normally works after a webserver restart but not always and after a while our sidebar content is gone and only the default one is shown. It is also possible that the problem is disappearing and coming back after some time. Until now I have no idea about the cause and what makes it disappear.

There is nothing in the apache/php/maria db logs.

Can someone check if it is only a syntax problem? https://pool.publicdomainproject.org/index.php/MediaWiki:Sidebar

If needed I can provide you with more information or for a developer access to the system. Nuess0r (talk) 14:31, 30 January 2018 (UTC)

Do you have File cache or CDN like CloudFlare enabled for your site? AhmadF.Cheema (talk) 15:10, 30 January 2018 (UTC)
No CDN. I have Zend opcache and APCu userland caching active. Nuess0r (talk) 10:21, 1 February 2018 (UTC)
This problem may be caused by APCu. 星耀晨曦 (talk) 12:01, 1 February 2018 (UTC)
I have deactivated APCu and will observe the behaviour. I'll report back to you. Nuess0r (talk) 16:11, 1 February 2018 (UTC)
This may also be a browser cache problem. 星耀晨曦 (talk) 16:14, 1 February 2018 (UTC)
Hi again.
It observed it in the meantime and it seems that the problem is gone after deactivating APCu. It is still strange, that only the wiki at pool.publicdomainproject.org is affected and all other subdomains (en. de. fr. it. es.) never had this issue.
I'm using APC for some years now and with the upgrade to PHP7 (which includes Opcache by default) I also migrated from APC to APCu.
How should we proceed? Should I file a bug report on this or does someone add a note to the Manual:Performance tuning and Manual:Cache site to uninstall APCu if upgrading to PHP 7?
Thanks for your help Nuess0r (talk) 22:07, 13 February 2018 (UTC)

Issues with transclusion after upgrading from 1.28 to 1.30

MediaWik Version 1.30

PHP 7.1.9 (apache2handler)

MySQL 5.7.19

ICU 57.1

I have just upgraded on my development server to 1.30 from 1.28. But I have noticed that the transclusion isn't working. We have a number of areas where we use Infoboxes, but they aren't showing.

Does anyone know what has gone wrong and how to resolve it?

Any help is appreciated.

Gary Squeak24 (talk) 15:52, 30 January 2018 (UTC)

OK, I think I know what the issue is, it looks like all of the templates have been deleted, but still showing when you go to the templates. I am sure I have come across this before so just need to figure out what I did last time. If anyone wants to remind me I'm all ears. Squeak24 (talk) 16:42, 30 January 2018 (UTC)

api.php ends up in redirection loop

I tried installing MW 1.30 onto my box (another mw 1.25 already runs there w/o problems). The wiki itself runs smoothly so far, but whenever I try to use the api.php, the browser reports a redirection error. I assumed a problem with my Apache Rewrite Rules and removed them completely, no success. According to google I've added $wgUsePathInfo = true; to the LocalSettings, no change. I assumed some incompatibility and tried MW 1.29.2 and MW 1.27.4 with the same result.

Please let me know if you need more info. Thanks. Dominik Maus (talk) 22:28, 30 January 2018 (UTC)

An addition to the info: I tried to access api.php using lynx, which reported HTTP 301. Dominik Maus (talk) 22:34, 30 January 2018 (UTC)
Yep, and I verified this using
wget -S -O /dev/null http://m59wiki.webmaus.net/api.php
I got 20 of these before it stopped:
--2018-01-30 19:51:31--  http://m59wiki.webmaus.net/api.php
Reusing existing connection to m59wiki.webmaus.net:80.
HTTP request sent, awaiting response... 
  HTTP/1.1 301 Moved Permanently
  Date: Wed, 31 Jan 2018 00:51:31 GMT
  Server: Apache
  X-Powered-By: HHVM/3.17.1
  X-Content-Type-Options: nosniff
  Vary: Accept-Encoding
  Location: http://m59wiki.webmaus.net/api.php
  X-Powered-By: PleskLin
  Keep-Alive: timeout=5, max=80
  Connection: Keep-Alive
  Transfer-Encoding: chunked
  Content-Type: text/html
Location: http://m59wiki.webmaus.net/api.php [following]
20 redirections exceeded.
What are $wgScriptPath, $wgServer, etc. set to? MarkAHershberger(talk) 00:55, 31 January 2018 (UTC)
Are you sure you've removed the .htaccess file for the site? MarkAHershberger(talk) 00:59, 31 January 2018 (UTC)
Yes, the .htaccess is deleted.
$wgScriptPath = "";
$wgScript = "{$wgScriptPath}/index.php";
$wgArticlePath = "{$wgScript}?title=$1";
$wgScriptExtension = ".php";
$wgServer = "http://m59wiki.webmaus.net";
$wgResourceBasePath = $wgScriptPath; Dominik Maus (talk) 12:19, 31 January 2018 (UTC)
I was messing around a little bit more. I've installed an MW 1.25.1, this version's api.php worked. There must be some problem on newer versions. Dominik Maus (talk) 16:33, 1 February 2018 (UTC)
Hmmm... The only thing I can think of right now is that there is some confusion with the skin. Have you done any custom work there? MarkAHershberger(talk) 21:58, 4 February 2018 (UTC)
I am using the original vector skin, I've re-colored some of the pictures, but no code.
I believe there is some compatibility problem with either the hhvm version, or the mysql version. For example, the mw 1.30 required a newer mysql version than I am using. Maybe that's the issue with 1.26+ aswell. However I will stick to 1.25.6 which runs perfectly by now. Dominik Maus (talk) 09:58, 5 February 2018 (UTC)
I doubt the problem is with mysql. Just so you know, though, 1.27 is the oldest version currently supported. MarkAHershberger(talk) 13:21, 6 February 2018 (UTC)
I had the same problem. Eventually narrowed it down to some strange code at the top of api.php.
// Pathinfo can be used for stupid things. We don't support it for api.php at
// all, so error out if it's present.
if ( isset( $_SERVER['PATH_INFO'] ) && $_SERVER['PATH_INFO'] != '' ) {
       $correctUrl = wfAppendQuery( wfScript( 'api' ), $wgRequest->getQueryValues() );
       $correctUrl = wfExpandUrl( $correctUrl, PROTO_CANONICAL );
       header( "Location: $correctUrl", true, 301 );
       echo 'This endpoint does not support "path info", i.e. extra text between "api.php"'
               . 'and the "?". Remove any such text and try again.';
       die( 1 );
}
Pathinfo might be used for stupid things, but my guess is that it's also how nginx communicates with fastcgi, so the above results in a loop where api.php gets rid of the path info, and nginx puts it back in again. Anyway, I commented out the above and things work again. Yaxu (talk) 16:42, 7 November 2018 (UTC)
This line in the response seems to indicate another software is causing interferences:
X-Powered-By: PleskLin
This api is being intercepted by another application, not PHP. Check the rewrite rules on your server. Ciencia Al Poder (talk) 10:43, 8 November 2018 (UTC)
I ran into this problem myself, and found this thread through searching. I believe that the problem is as Yaxu said, your webserver configuration is setting PATH_INFO, which makes api.php fail, but no other entry points. I had <code>fastcgi_param PATH_INFO $fastcgi_script_name;</code> in my php-fpm config. Commenting this out solved the problem, though I wonder if it won't break some other applications on my server. I filed a bug https://phabricator.wikimedia.org/T215857 Finlay Beaton (talk) 03:52, 12 February 2019 (UTC)

Is there any way that I could figure out how many times that my files has been loaded?

I upload some files on my server for people to download. I just wonder how many times they have been loaded. Is there any way or extensions that could help me to get the details? AndyPKU (talk) 23:02, 30 January 2018 (UTC)

Unless you've restricted access to them (using something like Thumb.php, the only way you can do that (somewhat) reliably is to look at the access log for your site. MarkAHershberger(talk) 00:48, 31 January 2018 (UTC)

Thumbnails not moving to thumb/, but staying in temp/. Wiki throws a 301, followed by a 404 for the thumbnail.

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


The problem, by all the debugging I've undergone through, is that the images get generated in the temp/ directory, but fail to be moved to the source MediaWiki is looking for them in.

The request from the webserver is images/thumb/d/d7/Yjesus.jpg/120px-Yjesus.jpg, which 301's and then later is requested as Images/thumb/d/d7/Yjesus.jpg/120px-Yjesus.jpg which 404's.

The actual thumbnail generated can be found at temp/ and the full size picture is freely accessible.

Imagemagick is working in the environment.

Permissions are set to 755 and ownership goes to www-data for the whole images/ directory (except the .htaccess)

What am I doing wrong?

This is what I get in the wiki whenever I upload an image Goymaster (talk) 17:17, 31 January 2018 (UTC)

On further investigation of the logs, this line might be relevant, but I do not know what to make of it:
TransformationalImageHandler::doTransform: creating 120x119 thumbnail at mwstore://local-backend/local-thumb/d/d7/Yjesus.jpg/120px-Yjesus.jpg using scaler im
TransformationalImageHandler::doTransform: Transforming later per flags.
ForeignAPIRepo: HTTP GET: https://commons.wikimedia.org/w/api.php?aisha1base36=f0p4guzjudegjkk15pj2lmk7ezdgv46&aiprop=timestamp%7Cuser%7Ccomment%7Curl%7Csize%7Csha1%7Cmetadata%7Cmime%7Cmediatype%7Cextmetadata&list=allimages&format=json&action=query&redirects=true&uselang=en-gb
[http] HTTP request timed out. Goymaster (talk) 17:32, 31 January 2018 (UTC)
I ended up finding the solution thanks to this Project:Support desk/Flow/2018/01#h-Error_creating_thumbnail:_Unable_to_save_thumbnail_to_destination-2018-01-23T01:34:00.000Z
Ended up that all I had to do is specify a $wgUploadPath which was not there.
It is strange, however, that images uploaded at all with that not specified. Goymaster (talk) 13:26, 2 February 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

loggin help

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.


What I noted as user and password, neither is not working 157.131.198.136 (talk) 19:59, 31 January 2018 (UTC)

rather neither is working!
Kim Osmer 157.131.198.136 (talk) 19:59, 31 January 2018 (UTC)
Works for me. Try giving us more information? Ciencia Al Poder (talk) 10:40, 1 February 2018 (UTC)
i ihave a similar issue. I've installed version 1.28 and i can't loggin, even with administrator user. I cant't create accounts. Always the same message
"Parece que hay un problema con tu sesión;
esta acción ha sido cancelada como medida de precaución contra secuestros de sesión.
Por favor, pulsa "Retroceder", recarga la página de la que viniste e inténtalo de nuevo."
Any idea Lgalanv (talk) 22:56, 4 February 2018 (UTC)
^For session hijacking errors, first see Project:Support desk/Flow/2016/07#h-Login_error_(session_hijacking_protection)-2016-07-11T08:56:00.000Z. AhmadF.Cheema (talk) 05:29, 5 February 2018 (UTC)
Thank you. Now it's fine.
Again, thanks 80.36.108.175 (talk) 10:04, 5 February 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

I have my Mediawiki 1.30 server running on an Ubuntu 16.04 server OS. I have a series of NFS shares configured on this same server. I want to link existing PDF files in those shares on my MW pages. The file names have both spaces and square brackets as part of the syntax. Therefore a file name will look like this...

/home/<user>/documents/library/[File Category] File name.pdf

How do I create a link on my MW page that comes out as File name? Cjhusvar (talk) 21:12, 31 January 2018 (UTC)

Maybe UNC links? AhmadF.Cheema (talk) 08:21, 1 February 2018 (UTC)
Category:Support desk archives Category:Support desk archives using deprecated source tags