https://bugzilla.wikimedia.org/show_bug.cgi?id=42462
Web browser: ---
Bug #: 42462
Summary: SecurePoll import.php script should provide output to
confirm something has happened
Product: MediaWiki extensions
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: Unprioritized
Component: SecurePoll
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
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)
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l