Page MenuHomePhabricator

SecurePoll import.php script should provide output to confirm something has happened
Closed, ResolvedPublic


The script seems to give output for failure conditions, but nothing if all goes well... At least "done" would be useful.

For example:

mysql:wikiadmin@db63 [enwiki]> SELECT MAX( en_id ) FROM securepoll_entity;

MAX( en_id )



1 row in set (0.02 sec)

mysql:wikiadmin@db63 [enwiki]> ^CCtrl-C -- exit!
reedy@fenari:/home/wikipedia/common/php-1.21wmf4$ mwscript extensions/SecurePoll/cli/import.php --wiki=enwiki ~/arbcom-2012.xml
reedy@fenari:/home/wikipedia/common/php-1.21wmf4$ sql enwiki
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 502691498
Server version: 5.1.53-wm-log (mysql-at-facebook-r3875)

Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql:wikiadmin@db63 [enwiki]> SELECT MAX( en_id ) FROM securepoll_entity;

MAX( en_id )



1 row in set (0.00 sec)

Version: unspecified
Severity: minor



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:00 AM
bzimport set Reference to bz42462.
bzimport added a subscriber: Unknown Object (MLST).

Related URL: (Gerrit Change I879feacba211ac3cfd1eb55629300b78ef2e4c0c)