Extension talk:MaintenanceShell

About this board

Archive of previous talk

adjustMemoryLimit deprecated

Rasputin1493 (talkcontribs)

Hello, I want to use this extension on my wiki (1.39.2) and get this following result along with the progress wheel spinning forever. How to fix this?

<br />
<b>Deprecated</b>:  Use of Maintenance::adjustMemoryLimit was deprecated in MediaWiki 1.39. [Called from AlteredSelectedMaintenanceScript::setup in /homepages/24/d950504665/htdocs/www/w/extensions/MaintenanceShell/includes/AlteredSelectedMaintenanceScript.php at line 29] in <b>/homepages/24/d950504665/htdocs/www/w/includes/debug/MWDebug.php</b> on line <b>381</b><br />
Reply to "adjustMemoryLimit deprecated"

Seems to be maintained now, there are recent commits.

Summary by Kghbln

Extension apparently beta

Hamishmb (talkcontribs)

As above, seems to be maintained now. I even couldn't use master on 1.35 (requires 1.37), so should the warning be removed?

Kghbln (talkcontribs)

In other words: Master of this extension works for you on MediaWiki 1.35? If yes, this will be cool and indeed the warning could be removed.

Hamishmb (talkcontribs)

Master is too new for 1.35 (think it needed 1.36 or 1.37), but the version served through the extension downloader for 1.35 (which is recent) works really well.

Kghbln (talkcontribs)

Error on 1.31

Summary by Kghbln

Reported with task T210130

Octahedron80 (talkcontribs)

I got this error after upgrading from 1.30 to 1.31. I already replace with REL1_31 but it still happens.

Delete old revisions
[W0giZtMa0h6BH0P7VN1VMwAAAAA] /a/%E0%B8%9E%E0%B8%B4%E0%B9%80%E0%B8%A8%E0%B8%A9:MaintenanceShell Wikimedia\Rdbms\DBUnexpectedError from line 3692 of /home/bondinth/domains/bond.in.th/public_html/wiki/w/includes/libs/rdbms/database/Database.php: DeleteOldRevisions::doDelete: Implicit transaction already active (from Wikimedia\Rdbms\Database::query (LCStoreDB::get)).
Backtrace: #0
/home/bondinth/domains/bond.in.th/public_html/wiki/w/maintenance/Maintenance.php(1337): Wikimedia\Rdbms\Database->begin(string) #1
/home/bondinth/domains/bond.in.th/public_html/wiki/w/maintenance/deleteOldRevisions.php(48): Maintenance->beginTransaction(Wikimedia\Rdbms\DatabaseMysqli, string) #2
/home/bondinth/domains/bond.in.th/public_html/wiki/w/maintenance/deleteOldRevisions.php(42): DeleteOldRevisions->doDelete(boolean, array) #3
/home/bondinth/domains/bond.in.th/public_html/wiki/w/extensions/MaintenanceShell/includes/SpecialMaintenanceShell.php(161): DeleteOldRevisions->execute() #4
/home/bondinth/domains/bond.in.th/public_html/wiki/w/extensions/MaintenanceShell/includes/SpecialMaintenanceShell.php(96): SpecialMaintenanceShell->mainshellExec(string, string) #5
/home/bondinth/domains/bond.in.th/public_html/wiki/w/includes/htmlform/HTMLForm.php(660): SpecialMaintenanceShell->onSubmit(array, HTMLForm) #6
/home/bondinth/domains/bond.in.th/public_html/wiki/w/includes/htmlform/HTMLForm.php(552): HTMLForm->trySubmit() #7
/home/bondinth/domains/bond.in.th/public_html/wiki/w/includes/htmlform/HTMLForm.php(567): HTMLForm->tryAuthorizedSubmit() #8
/home/bondinth/domains/bond.in.th/public_html/wiki/w/includes/specialpage/FormSpecialPage.php(155): HTMLForm->show() #9
/home/bondinth/domains/bond.in.th/public_html/wiki/w/extensions/MaintenanceShell/includes/SpecialMaintenanceShell.php(21): FormSpecialPage->execute(NULL) #10
/home/bondinth/domains/bond.in.th/public_html/wiki/w/includes/specialpage/SpecialPage.php(522): SpecialMaintenanceShell->execute(NULL) #11
/home/bondinth/domains/bond.in.th/public_html/wiki/w/includes/specialpage/SpecialPageFactory.php(568): SpecialPage->run(NULL) #12
/home/bondinth/domains/bond.in.th/public_html/wiki/w/includes/MediaWiki.php(288): SpecialPageFactory::executePath(Title, RequestContext) #13
/home/bondinth/domains/bond.in.th/public_html/wiki/w/includes/MediaWiki.php(861): MediaWiki->performRequest() #14
/home/bondinth/domains/bond.in.th/public_html/wiki/w/includes/MediaWiki.php(524): MediaWiki->main() #15
/home/bondinth/domains/bond.in.th/public_html/wiki/w/index.php(42): MediaWiki->run() #16
Kghbln (talkcontribs)

This extension currently has no maintainer so I fear that it will take a while until this is fixed if at all. Keeping fingers crossed.

Reply to "Error on 1.31" (talkcontribs)

Does something need to be installed for the command prompt to display properly like it does on the pic on this extension's page? The script is running....I can see it running when checking on the server but the command prompt does not display on the site. I get a small black line across the bottom of the page.

Kghbln (talkcontribs)

Make sure that your browser does not use script blockers.

Does not work correctly in MediaWiki 1.24 or higher

3 (talkcontribs)

Hi Maintenence Shell does not work correctly in MediaWiki 1.24 or higher the problem is the checkbox where you select your script you want to run instead of it hiding all of them and you click the box to open the list instead it shows all of them please fix the problem. It works in MediaWiki 1.23.

Kghbln (talkcontribs)

Hi, please file a bug for this at bugzilla Thanks and cheers

Kghbln (talkcontribs)

Cool, this was done with T71075 and fixed by Paladox 201x :)

There are no older topics