Last modified: 2013-10-18 03:22:28 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 T44462, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42462 - SecurePoll import.php script should provide output to confirm something has happened
SecurePoll import.php script should provide output to confirm something has h...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SecurePoll (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-26 22:17 UTC by Sam Reed (reedy)
Modified: 2013-10-18 03:22 UTC (History)
3 users (show)

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


Attachments

Description Sam Reed (reedy) 2012-11-26 22:17:52 UTC
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` ) |
+----------------+
|            258 |
+----------------+
1 row in set (0.02 sec)

mysql:wikiadmin@db63 [enwiki]> ^CCtrl-C -- exit!
Aborted
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
owners.

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` ) |
+----------------+
|            281 |
+----------------+
1 row in set (0.00 sec)
Comment 1 Gerrit Notification Bot 2013-05-30 15:19:35 UTC
Related URL: https://gerrit.wikimedia.org/r/66120 (Gerrit Change I879feacba211ac3cfd1eb55629300b78ef2e4c0c)
Comment 2 Diederik van Liere 2013-10-18 03:22:28 UTC
https://gerrit.wikimedia.org/r/66120 was merged and issue has been resolved.

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


Navigation
Links