Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P2002
CX Suggestions setup
Active
Public
Actions
Authored by
santhosh
on Sep 10 2015, 10:20 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F2564624: CX Suggestions setup
Sep 10 2015, 10:20 AM
2015-09-10 10:20:26 (UTC+0)
Subscribers
None
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;
Event Timeline
santhosh
edited the content of this paste.
(Show Details)
Sep 10 2015, 10:20 AM
2015-09-10 10:20:26 (UTC+0)
santhosh
changed the title of this paste from untitled to
CX Suggestions setup
.
santhosh
updated the paste's language from
autodetect
to
text
.
Mbch331
mentioned this in
T172776: Property labels missing on some items
.
Aug 8 2017, 10:51 AM
2017-08-08 10:51:51 (UTC+0)
Salgo60
mentioned this in
T236769: Create a Shape Expressions (ShEx) for Swedish Parliament members in Wikidata
.
Oct 29 2019, 10:15 AM
2019-10-29 10:15:48 (UTC+0)
•
AKhatun_WMF
mentioned this in
T282129: Test triple-analysis functions over a large dataset with Spark
.
May 19 2021, 11:15 AM
2021-05-19 11:15:45 (UTC+0)
Log In to Comment