Last modified: 2013-10-29 07:50:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35993, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33993 - populateCategory output is confusing in read-only mode
populateCategory output is confusing in read-only mode
Status: NEW
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.18.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-27 19:02 UTC by Alexey Khrulev
Modified: 2013-10-29 07:50 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alexey Khrulev 2012-01-27 19:02:25 UTC
STEPS:

1. Delete all data from table "Category"
2. Set read-only mode:
  $wgReadOnly = 'Wiki engine upgrade';
3. Launch populateCategory maintenance script to re-create data:
  php maintenance/populateCategory.php --force

ACTUAL:

Script reports about success:
"Category population complete."
But actually nothing is changed (table "Category" is still empty) because of read-only mode.

EXPECTED:

There are two possible ways of correct behavior:
1. Ignore $wgReadOnly and perform database update (like update.php does)
2. Take $wgReadOnly into account and output proper message

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links