Project:Support desk

About this board

Welcome to the MediaWiki Support desk. This is a place where you can ask any questions you have about installing, using or administrating the MediaWiki software.

(Read this message in a different language)

See also

Before you post

Post a new question

  1. To help us answer your questions, please indicate which version of MediaWiki you are using, as found on your wiki's Special:Version page:
  2. If possible, add $wgShowExceptionDetails = true;error_reporting( -1 );ini_set( 'display_errors', 1 ); to LocalSettings.php in order to make MediaWiki show more detailed error messages.
  3. Please include the web address (URL) to your wiki if possible. It's often easier for us to identify the source of the problem if we can see the error directly.
  4. To start a new thread, click the box with the text "Start a new topic".
Saood Khan Zadran (talkcontribs)

زدران کون ہے؟ پشتوں بولنے والے #زدران کہلائے جاتے ہیں ،پنجابی اور اردو بولنے والے #جدران، #جندران کہلائے اور پکارے جاتے ہیں پشتونوں کے مشہور شاخ کارلانی پشتون ہیں۔ روایتی پشتون نسب میں ، زدران برہان کا بیٹا ، کاکی کا پوتا اور کارلانی کا پر پوتا ہے۔آج ، اس قبیلے کے لوگ زدران کے نام سے مشہور ہیں۔ زدران قوم ایک ایسا قوم ہے جو اپنے ملک اور آزادی سے پیار کرتے ہے ، ایک جنگجو ، مہمان نواز ، مذہبی اور پشتو پشتونولی سے محبت کرتا ہے۔ تاریخ حیات افغان کے مصنف کے مطابق ، وہ زیادہ تر جنگجو لوگ ہیں اور تقریبا ہر بالغ شخص کے گھر میں ایک ہتھیار ہوتا ہے ،جو غیر ملکی حملے کے دوران اپنے قبیلے کے لوگوں اور علاقے کی حفاظت کرتا ہے۔ واقعی ، انہوں نے کسی بھی حملہ آور قوت کے خلاف بہادری سے مقابلہ کیا ہے اور فوجیوں نے مہاکاویوں کو جنم دیا ہے۔ تین دہائیوں میں افغان جنگوں میں ، اس نے دوسرے افغان بادشاہوں کے ساتھ مل کر بہادری سے مقابلہ کیا ، مثال کے طور پر زمرک خان زدران (غازی ببرک خان زدران) مولوی سنگین زدران (الحاج مولوی جلال الدین حقانی) جوکہ کے حقانی نیٹ ورک کے سربراہ تھے جن کے بیٹھے خلیفہ سراج الدین حقانی انس حقانی شہید بدرالدین حقانی اور قبائلی عمائدین و مشران مولوی عبدالکبیر سید جان ملک قمر الدین ملک خدائے نور خان زدران ملک میاں خان زدران ملک عبداللہ جان پاچا خان زدران حاجی ابراھیم حقانی حاجی خلیل حقانی حاجی زنگی خان ناظم خان کرکٹرز شاپو ذدران مجیب زدران ابراھیم زدران نام قابل ذکر ہے ، کیوں کہ افغانستان حماس کی تاریخ اس کا قابل فخر نام ہے۔ زدران رہائش: شمال میں منگل ، احمد زئی ، گردیزی اور زرمت قبائل ، مغرب میں خروٹی قبائل ، جنوب میں پیرکوٹی اور ڈیورنڈ لائن پر مدھا خیل وزیر اور مشرق میں خوست کی طرف سے جکڑے ہوئے ہیں۔ ، تنائی اور منگل سے ملحق اور یہ صوبہ گریٹر پکتیا میں سب سے بڑے قبیلے میں سے ایک ہے۔ پکتیکا اور خوست میں بھی بڑی آبادی ہے۔افغانستان کے شمالی علاقہ جات ۔قندوز۔سمیت دیگر علاقوں میں زدران آباد ہے۔ چند گھرانے ذاتی رنجشوں کے وجہ سے خانہ بدوش بنے جو موسم سرما میں پاکستان کی صوبہ بلوچستان کے مختلف علاقوں میں سردی کے موسم گزار کر گرمیوں میں واپس افغانستان کے مختلف علاقے ۔قندھار؛غزنی،مقر؛ اور دیگر حلقہ جات میں زندگی بسر کرتے تھے۔ایک اندازہ کے مطابق پاکستان میں سب سے زیادہ تر تعداد پنجاب کے مختلف علاقوں میں رہائش پذیر ہیں، اور بلوچستان کے دارلحکومت کوئٹہ،کچلاگ، لورالائی، سمیت مختلف علاقوں میں رہائش پذیر ہیں، اور ساتھ میں خیبر پشتونخوا،کرم ایجنسی، سمیت قبائلی علاقوں میں زندگی بسر کرہے ہیں

( جاری ہیں )

Reply to "زدران Zadran"

List of hidden special pages

5
Zhuyifei1999 (talkcontribs)
MarkAHershberger (talkcontribs)

There is this list in SpecialPageFactory.php:

		// Unlisted / redirects
		'Blankpage'                 => 'SpecialBlankpage',
		'Blockme'                   => 'SpecialBlockme',
		'Emailuser'                 => 'SpecialEmailUser',
		'Movepage'                  => 'MovePageForm',
		'Mycontributions'           => 'SpecialMycontributions',
		'Mypage'                    => 'SpecialMypage',
		'Mytalk'                    => 'SpecialMytalk',
		'Myuploads'                 => 'SpecialMyuploads',
		'PermanentLink'             => 'SpecialPermanentLink',
		'Redirect'                  => 'SpecialRedirect',
		'Revisiondelete'            => 'SpecialRevisionDelete',
		'Specialpages'              => 'SpecialSpecialpages',
		'Userlogout'                => 'SpecialUserlogout',
104.218.129.50 (talkcontribs)

You forgot Special:Mobile languages and Special:MyLanguage.

Saood Khan Zadran (talkcontribs)

زدران Zadran

Reply to "List of hidden special pages"

Mediawiki S3 Saving error

2
Egg 3846 (talkcontribs)

Hi,

Can you help me debug some mediawiki + S3 compatible service errors ? ( image resize / uploads )


It's an error i have on my server but not locally, but i haven't found any obvious difference between the setup yet


I'm using the following :

- mediawiki 1.39.6 ( a canasta image : canasta:1.39.6-20240104-346 )

- AWS extension 0.12.0

- minio


My FileOperation log :


2024-05-03 15:57:57 9de13bf397d2 mediawiki: S3FileBackend: found backend with S3 buckets: mediawiki, mediawiki/thumb, mediawiki/deleted, mediawiki/temp.

2024-05-03 15:57:57 9de13bf397d2 mediawiki: S3FileBackend: doPrepareInternal: S3 bucket mediawiki, dir=temp/4/42, params=noAccess, noListing, dir

2024-05-03 15:57:57 9de13bf397d2 mediawiki: S3FileBackend: doSecureInternal: creating temp/.htsecure in S3 bucket mediawiki

2024-05-03 15:57:57 9de13bf397d2 mediawiki: S3FileBackend: exception [Null] in doSecureInternal from PutObject ({"Bucket":"mediawiki","Key":"temp/.htsecure","Body":"","@http":[],"@context":[]}): Error executing "PutObject" on "xxxx:9000/mediawiki/temp/.htsecure"; AWS HTTP error: Client error: `PUT xxxx:9000/mediawiki/temp/.htsecure` resulted in a `404 Not Found` response:

<HTML><HEAD>

<TITLE>Network Error</TITLE>

</HEAD>

<BODY>

<FONT face="Helvetica">

<big><strong></strong></ (truncated...)

Unable to parse error information from response - Error parsing XML: String could not be parsed as XML

2024-05-03 15:57:57 9de13bf397d2 mediawiki: S3FileBackend: doCreateInternal(): saving temp/4/42/20240503155757!phpp5WIrX.jpg in S3 bucket mediawiki (sha1 of the original file: jlb3z7ca9kw98dqons8c4pfh0sgo92m, Content-Type: image/jpeg)

2024-05-03 15:57:58 9de13bf397d2 mediawiki: S3FileBackend: exception [Null] in createOrStore from PutObject (false): Error executing "PutObject" on "xxxx:9000/mediawiki/temp/4/42/20240503155757%21phpp5WIrX.jpg"; AWS HTTP error: Client error: `PUT xxxx:9000/mediawiki/temp/4/42/20240503155757%21phpp5WIrX.jpg` resulted in a `404 Not Found` response:

<HTML><HEAD>

<TITLE>Network Error</TITLE>

</HEAD>

<BODY>

<FONT face="Helvetica">

<big><strong></strong></ (truncated...)

Unable to parse error information from response - Error parsing XML: String could not be parsed as XML

2024-05-03 15:57:58 9de13bf397d2 mediawiki: S3FileBackend: Performance: 0.127 second spent on: uploading temp/4/42/20240503155757!phpp5WIrX.jpg to S3

2024-05-03 15:57:58 9de13bf397d2 mediawiki: StoreFileOp failed: {"src":"/tmp/phpp5WIrX","dst":"mwstore://AmazonS3/local-temp/4/42/20240503155757!phpp5WIrX.jpg","overwrite":true,"headers":[],"failedAction":"attempt"}

Bawolff (talkcontribs)

The 404 responses make me wonder if the domain/port for the s3 bucket is set correctly.

Reply to "Mediawiki S3 Saving error"

Unable to Delete Files

1
72.23.146.10 (talkcontribs)

Howdy,

I'm trying to delete some duplicated images, but keep getting the following error:

Error deleting file: An unknown error occurred in storage backend "local-backend".

The images in question all have previous versions that, for one reason or another, show "No thumbnail" as their first version (despite those thumbnails existing previously, prior to new versions being uploaded). Images that don't have "No thumbnail" as their first record can be deleted without issue.

My biggest question is, is there a way to bypass this error and delete the files? Less importantly, what can cause the "No thumbnail" issue to happen? The wiki I'm working on has lost a lot of prior versions of images over the years and no one can pinpoint why, or how to prevent it from happening in the future.

Reply to "Unable to Delete Files"

How to change the pages / hide the install config pages from main page

3
Bananatree88 (talkcontribs)

I am sorry for all the stupid questions - I see on the main page it shows how to configure etc even if you are not an admin - how can you change that and have the pages / topics created show on the main page?

Ciencia Al Poder (talkcontribs)

If by pages / topics you mean actual pages, you can transclude Special:NewPages as {{Special:NewPages/25}}

Alternatively, use a proper forum software instead of MediaWiki.

Bawolff (talkcontribs)

Dont worry about stupid qusstions. Its what we are here for.

Reply to "How to change the pages / hide the install config pages from main page"

Is there a way as admin to see the list of registered users? Thanks

3
Bananatree88 (talkcontribs)

Can I see a list of registered users as admins

Bawolff (talkcontribs)

Go to the page Special:ListUsers

This post was hidden by Ciencia Al Poder (history)

css for Vector-2022

2
2003:C2:3F21:FD00:516D:5391:79D1:A338 (talkcontribs)

Where shall I place my css modifications for the new Vector (2022) skin? I've tried MediaWiki:Vector-2022.css

but it has no effect.

Ciencia Al Poder (talkcontribs)

It may take some time to take effect, usually 20 minutes at most. Otherwise, a syntax error in that page may render the entire CSS or from one point to the end unusable. For example, if you forgot to open or close curly braces. You may want to check if the CSS of that page is valid running it through an online CSS validator.

Reply to "css for Vector-2022"

upload api - how can I wrap lines in the text parameter

1
Summary by Creamycd

Use %0A instead.

Creamycd (talkcontribs)

How can I wrap lines when I fill the text parameter when using api.php?action=upload? According to the Documentations, the text parameter should be in the query string, but I need to write something like this...

=={{int:filedesc}}==
{{Information}}

=={{int:license-header}}==
{{self|cc-by-sa-4.0}}

It need to wrap lines, but how?

Thanks!

CheckUser extension - where is IP address taken from

3
Pspviwki (talkcontribs)

I recently had to install TorBlock, LoginNotify and CheckUser extensions. Tables were created successfully for Checkuser extension but during testing only localhost adress 127.0.0.1 showed in Special:CheckUser for a user access. I guess IP gets replaced during the process somewhere incorrectly but I need to find out where to fix it. It might be due to caching but in webserver logs and cache logs IPs are correct. I wonder if TorBlock and LoginNotify extensions may be influenced by this issue.

Bawolff (talkcontribs)

Did you set $wgCdnServersNoPurge correctly?

Its unlikely that TorBlock or LoginNotify affect this.

How is your web server setup. Do you have load balancers, caching proxies, etc in front of your web server. If so, do they set X-Forward-For headers properly?

Pspviwki (talkcontribs)

$wgCdnServersNoPurge was left at default value, that is []. There is varnish cache set up as recommended in Manual:Varnish caching, this setting works 

$wgUseCdn = true;$wgCdnServers = array(); $wgCdnServers[] = "ip address:port"; http.X-Forwarded-For is set up with received client IP address.

Reply to "CheckUser extension - where is IP address taken from"

DFM CAN connection?

2
Javad Arablu (talkcontribs)

where can I find the CAN configuration of FMB641 for connecting to DFM (Technoton fuel flow meter) ?

TheDJ (talkcontribs)

Probably not here, this is the support forum for the mediawiki wiki software.

Reply to "DFM CAN connection?"