Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2564624
CX Suggestions setup
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
santhosh
Sep 10 2015, 10:20 AM
2015-09-10 10:20:26 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
CX Suggestions setup
View Options
santhosh@thottingal ContentTranslation (master)$ mysql -h localhost -p -u root
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15872
Server version: 5.6.25-2 (Debian)
Copyright (c) 2000, 2015, 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> use contenttranslation;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> source sql/lists.sql;
Query OK, 0 rows affected (0.04 sec)
Query OK, 0 rows affected (0.04 sec)
Query OK, 0 rows affected (0.04 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.05 sec)
Query OK, 0 rows affected (0.04 sec)
Query OK, 0 rows affected (0.03 sec)
Records: 0 Duplicates: 0 Warnings: 0
mysql> Ctrl-C -- exit!
santhosh@thottingal ContentTranslation (master)$ cd scripts/
santhosh@thottingal scripts (master)$ php manage-lists.php --source en --target es --category Featured_articles
DRY-RUN mode: actions are NOT executed
Fetching pages from Featured_articles not present in es ... [OK]
Found 1626 pages:
The Relapse
Kylfings
Rampart Dam
The Lucy poems
Rhys ap Gruffydd
....
Use --really to insert these pages.
santhosh@thottingal scripts (master)$ php manage-lists.php --source en --target es --category Featured_articles --really
EXECUTE mode: actions ARE executed
Fetching pages from Featured_articles not present in es ... [OK]
1626 pages added to the list successfully.
Add this line to core/LocalSettings.php
$GLOBALS['wgContentTranslationEnableSuggestions'] = true;
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2578242
Default Alt Text
CX Suggestions setup (1 KB)
Attached To
Mode
P2002 CX Suggestions setup
Attached
Detach File
Event Timeline
Log In to Comment