Page MenuHomePhabricator

Scale: add articles to test Wikipedia so that users can try SuggestedEdits
Closed, ResolvedPublic


At the moment, we only have 26 articles in Suggested Edits on

More articles are welcomed to populate Suggested Edits. Could be done both by importing pages that have the right templates, or by adding the right templates to existing articles en masse.

We would like to import 1,000 new articles.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 20 2020, 6:21 PM
MMiller_WMF updated the task description. (Show Details)May 25 2020, 5:15 PM
MMiller_WMF renamed this task from Add articles to test Wikipedia so that users can try SuggestedEdits to Scale: add articles to test Wikipedia so that users can try SuggestedEdits.May 25 2020, 8:13 PM
MMiller_WMF added subscribers: Catrope, Tgr, kostajh and 3 others.
Tgr claimed this task.EditedJul 6 2020, 8:34 PM

There are 39 ORES topics and 5 difficulty levels, so that's five articles per level per topic.

set -e

TOPICS=$( curl -s '' \
	| jq --raw-output '.paraminfo.modules[0].parameters[] | select(.name == "topics") | .type[]' \
for TOPIC in $TOPICS; do
	curl -s "$TOPIC" | jq --raw-output '.query.growthtasks.suggestions[].title'

python transferbot -family:wikipedia -lang:en -tofamily:wikipedia -tolang:test -file:tasks.txt

list of created pages


curl -s '' | jq --raw-output '.[].templates[] | "Template:" + .' > templates.txt
python transferbot -family:wikipedia -lang:en -tofamily:wikipedia -tolang:test -file:templates.txt -putthrottle:0
Tgr added a comment.Jul 6 2020, 10:28 PM

In hindsight using Special:Export would have been easier. Oh well.

Tgr added a comment.Jul 7 2020, 1:03 PM

In double hindsight it wouldn't. Some articles make testwiki time out, even when saved on their own. With mass import, that would have been much worse.

Done (39*5*5=975 articles). Caveats:

Etonkovidova closed this task as Resolved.Jul 7 2020, 9:14 PM

Checked - testwiki wmf.39 has been populated with SE articles (there is no ORES topics as per @Tgr comments above.

MMiller_WMF reopened this task as Open.Jul 22 2020, 5:35 PM

Re-opening so that @Trizek-WMF can use this task to do the last step: adding to the instructions so that future communities can use Test Wikipedia to try out our features.

MMiller_WMF reassigned this task from Tgr to Trizek-WMF.Jul 22 2020, 5:35 PM
MMiller_WMF moved this task from QA to In Progress on the Growth-Team (Current Sprint) board.