https://bugzilla.wikimedia.org/show_bug.cgi?id=33993
Web browser: --- Bug #: 33993 Summary: populateCategory output is confusing in read-only mode Product: MediaWiki Version: 1.18.1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: Unprioritized Component: Maintenance scripts AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: alexe...@gmail.com CC: innocentkil...@gmail.com Classification: Unclassified 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 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l