Project:Support desk

About this board

Welcome to the MediaWiki Support desk, where you can ask MediaWiki questions!

(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 versions you are using, as found on your wiki's Special:Version page:
    • MediaWiki version
    • PHP version
    • Database type and version
  2. 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.
  3. To start a new thread, click "Start a new topic".

Password reset without email address

3
अभय नातू (talkcontribs)

Hello,

One of my bots (User:सांगकाम्या) is now blocked from using AWB because I cannot clear a spam message someone posted to it, which is a result of my not remembering the password of this account after using it for many years on auto-fill.

When I go to reset password for सांगकाम्या, I'm not getting any emails, likely because I did not attach an email address. Now, in order to add an email address, I need to log in, which I cannot do because I do not have an attached email address :-(

This bot is operated by me and my primary account is User:अभय नातू. I am an admin and a 'crat on w:mr.

Can you please guide me in resetting my bot account password? Thanks!

Bawolff (talkcontribs)

Email ca@wikimedia.org


Be warned you need to have very solid proof that you really do own the account.

41.115.54.239 (talkcontribs)

0635853586🤣🤣

Reply to "Password reset without email address"

VTE, collapse same line as title in nav bars.

1
84.211.61.21 (talkcontribs)
Reply to "VTE, collapse same line as title in nav bars."
2001:B07:ADD:AA57:BC02:2408:B120:FE9E (talkcontribs)

Salve, non riesco più ad accedere ai contenuti, come devo procedere?

ELLEBI77 (talkcontribs)

Ora ho creato nuovamente un account, ma continuo a non vedere nulla!

Reply to "Accesso alle pagine"
Vikipolimer (talkcontribs)

Hi, I'm getting this error ""JavaScript parse error (scripts need to be valid ECMAScript 5): Parse error: Missing ) in parenthetical in file 'MediaWiki:Gadget-AfDHelper.js' on line 748" for the below line, can you help me?

api.get(params).done(data => {
//
})
Reply to "ECMAScript 5 error"

Remove a template from an article with API:Edit

1
Vikipolimer (talkcontribs)

Hi, how can I remove a template (eg:{{Sample}}) from an article with MediaWiki's API?

Reply to "Remove a template from an article with API:Edit"
105.105.220.155 (talkcontribs)

When I shutdown the computer, does the wiki work?

Ciencia Al Poder (talkcontribs)

If the wiki is hosted on the computer being shut down, then no, it won't work.

To avoid this, you should install the wiki on a server on the internet that's online 24h. This usually costs money.

See also Hosting services, for some hosting services that facilitate MediaWiki hosting.

Reply to "Shutdown computer"
2A02:AA7:460D:B088:9A:CDB8:13B4:2 (talkcontribs)

Hi,


A suggestion, that you, like the VERY good improvement og release train graph, improve the releseplan tables, i.e. that you list them in reverse order as of now.

When I lokke into the plan, I'm interested in the newest possible version, and find it a waste of time, to have to run through older versions ...


/René

Bawolff (talkcontribs)

Which tables are you referring to?

Reply to "List order of release plan"

Can I set different pages as main page for separate skins?

3
Summary by Teetrition

Not possible.

Teetrition (talkcontribs)

For example, set Project:Main page as main page for skin Vector and set Main page (in main namespace) as main page for skin Timeless. Is it possible?

Bawolff (talkcontribs)

Not possible.

Teetrition (talkcontribs)

Thanks.

Reply to "Can I set different pages as main page for separate skins?"

Invalid Time Zone Error while installing

5
하늘토끼 (talkcontribs)

Hello, I'm trying to install mediawiki 1.39.0-alpha to Windows Subsystem for Linux which using Ubuntu 22.04 LTS. PHP version is 8.1.6.


When I go to welcome page, I get an error message.


[179976b38d28bf9f842574bd] /w/mw-config/index.php Wikimedia\Timestamp\TimestampException: Wikimedia\Timestamp\ConvertibleTimestamp::setTimezone: Invalid timezone.

Backtrace:

from /var/www/html/w/vendor/wikimedia/timestamp/src/ConvertibleTimestamp.php(365)

#0 /var/www/html/w/includes/MWTimestamp.php(177): Wikimedia\Timestamp\ConvertibleTimestamp->setTimezone()

#1 /var/www/html/w/includes/specials/SpecialVersion.php(258): MWTimestamp::getLocalInstance()

#2 /var/www/html/w/includes/installer/WebInstallerWelcome.php(38): SpecialVersion::getCopyrightAndAuthorList()

#3 /var/www/html/w/includes/installer/WebInstaller.php(271): WebInstallerWelcome->execute()

#4 /var/www/html/w/mw-config/index.php(82): WebInstaller->execute()

#5 /var/www/html/w/mw-config/index.php(40): wfInstallerMain()

#6 {main}


It says "The environment has been checked. You can install MediaWiki.", but under this green text, the error message has appeared.


I changed vendor/wikimedia/timestamp/src/ComvertibleTimestamp.php to show current timezone setting (as told at Topic:Rl54p2aku969t0jc ), but it seemed current timezone setting is empty.


How can I solve this problem? I uploaded the screenshot at IMGBB. my server address is http://se-a.swa.re.kr/w/, but I'll shortly shut down the computer.

하늘토끼 (talkcontribs)

Plus : I added 'date.timezone = Asia/Seoul' to php.ini. Screenshot on twitter

I restarted Apache2, wsl. I also rebooted the computer. The error still occurs.


I'm using mysql, version is 'Ver 8.0.29-0ubuntu0.22.04.2 for Linux on x86_64'

I'm using php, version is 'PHP 8.1.6 (cli) (built: May 17 2022 16:46:54) (NTS)'

Ammarpad (talkcontribs)
하늘토끼 (talkcontribs)

I don't have LocalSettings.php(I'm newly installing the MediaWiki), and when I made LocalSettings.php by using vim, I can't enter to install page. Screenshot

I inserted the upgrade key in LocalSettings.php, but it doesn't work.


Update : I successfully setted $wgLocaltimezone, but the same error still occurs. What should I do? Screenshot I entered ':wq' to console several times, restarted apache2 several times, and rebooted computer several times, but the same error still occurs.

Ammarpad (talkcontribs)

OK, I can reproduce this now, created bug report at phab:T309476.

Reply to "Invalid Time Zone Error while installing"
Vikipolimer (talkcontribs)

Hi dear community, I'm a sysop and interface admin on Turkish Wikipedia, right now I'm working on an AfD remarker gadget on the Turkish wiki for leaving opinions to candidate articles, I'm working on it for about 21 hours approximately but I have a problem with getting selected data with OOUI ButtonSelectWidget can you help me with this please, how can I get selected ButtonOptionWidget data?

Reply to "Help needed about OOUI"