Code
library(tidyverse)
library(gt)
library(IRdisplay)
library(ggsankey)
library(scales)
#set preferences
options(dplyr.summarise.inform = FALSE)
options(repr.plot.width = 15, repr.plot.height = 10)On July 28, 2026, we deployed Mobile VE as the default editor on the English Wikipedia mobile web T431858, following unanimous consensus among 24 editors in the RfC.
We reviewed the impact of this deployment on a set of core editing metrics to confirm any changes to the editing experience of Junior Editors (defined as having 100 or fewer cumulative edits).
Please see the task description for more details.
We computed and compared the following metrics for the two-week periods immediately preceding and following the July 28 deployment of VisualEditor as the default mobile editing interface for newcomers on English Wikipedia.
| Metric | Definition |
|---|---|
| [DE1.1 KPI] Distinct registered users who make a constructive edit | Proportion and number of registered users with 100 or fewer edits who publish as least one constructive edit on mobile web (edit was not reverted within 48 hours) on a main namespace. Where the denominator in this context refers to users who make an edit attempt (defined as the interface reaching ready) |
| Edit completion rate | The proportion of editing sessions on a main namespace that successfully save an edit (saveSuccess) after the editor interface was ready (ready). |
| Constructive edit rate | Proportion of published main namespace edits that are constructive (not reverted within 48 hours of being published) |
| Revert rate | Proportion of published main namespace edits that are reverted within 48 hours of being published |
| 24 hr Constructive Activation 1 | Proportion of newly registered accounts that make at least one constructive edit in the main namespace within 24 hours of account registration, where constructive means the edit was not reverted within 48 hours of being published. |
| 2nd week retention | Percentage of contributors who return to publish at least one edit (any namespace) during their second week (day 7-14 ) after their initial constructive edit on a main namespace after experiment exposure. |
| Edit abandonment rate (w/ and w/o changes) | Proportion of main namespace edit attempts that were abandoned with the user discarding changes (abandon). Proportion of main namespace edit attempts that were abandoned with no changes (nochange). |
Data Sources & Scope
To capture this timeframe, we collected editing events logged between July 14 and August 12, 2026. The data was sourced from the editattemptstep and mediawiki_revision_tags_change tables. Note: The August 2026 mediawiki_history snapshot was not available at the time of this analysis so we relied on available daily event data instead.
The analysis was limited to the following target audience:
Limitations
This analysis looks at data before and after the deployment; it is not a controlled A/B test. While the positive trends are strong, we cannot definitively prove that the VisualEditor deployment is the only reason for these shifts. Other outside factors (like traffic changes during July and August) might also play a role, so these results show a strong connection rather than strict cause-and-effect.
library(tidyverse)
library(gt)
library(IRdisplay)
library(ggsankey)
library(scales)
#set preferences
options(dplyr.summarise.inform = FALSE)
options(repr.plot.width = 15, repr.plot.height = 10)Let’s first look at how the switch to Mobile VE as the default impacted the number of distinct edit attempts by editing interface on English Wikipedia. Note that this data represents raw attempt volume, independent of edit quality or subsequent revert status.
# load constructive edits data
constructive_edits_data <-
read.csv(
file = 'data/constructive_edits_data.tsv',
header = TRUE,
sep = "\t",
stringsAsFactors = TRUE
) # clean and add labels
constructive_edits_data <- constructive_edits_data %>%
mutate(
# Ensure date column is in Date format
event_date = as.Date(date),
# Define Pre and Post periods
period = case_when(
event_date >= as.Date("2026-07-14") & event_date <= as.Date("2026-07-28") ~ "Pre",
event_date >= as.Date("2026-07-29") & event_date <= as.Date("2026-08-12") ~ "Post",
TRUE ~ NA_character_
),
# Convert period to a factor and lock the order of the levels
period = factor(period, levels = c("Pre", "Post")),
# Decipher between first time editor and users with 1-100 edits
experience_level = if_else(user_edit_count == 0, "Newcomer", "Junior Editor")
)# Aggregate daily attempting editor counts by interface
# Count unique user_ids that appear in each day/interface/period, regardless of outcome
daily_attempting_counts <- constructive_edits_data %>%
mutate(
editing_interface = case_when(
editing_interface == "visualeditor" ~ "VisualEditor",
editing_interface == "wikitext" ~ "Wikitext",
TRUE ~ editing_interface
)
) %>%
group_by(event_date, editing_interface, period) %>%
summarize(
attempting_users = n_distinct(user_id), # Key metric: count any unique user who tried to edit
.groups = "drop"
)
attempting_volume_plot <- ggplot(
daily_attempting_counts,
aes(x = event_date, y = attempting_users)
) +
geom_line(
aes(group = editing_interface),
color = "gray60", linetype = "solid",
alpha = 0.5, linewidth = 0.6
) +
geom_point(aes(color = period), size = 2) +
# Vertical Deployment Line
geom_vline(
xintercept = as.Date("2026-07-28.5"),
linetype = "dashed",
color = "gray30",
linewidth = 0.7
) +
annotate(
"text",
x = as.Date("2026-07-23"),
y = 2850,
label = "Mobile VE Default Deployment\n(July 28th)",
hjust = 0.5, vjust = 1,
color = "gray20", fontface = "bold", size = 3.2
) +
annotate(
"segment",
x = as.Date("2026-07-26"), xend = as.Date("2026-07-28.2"),
y = 2700, yend = 2700,
color = "gray20", linewidth = 0.6,
arrow = arrow(length = unit(0.2, "cm"), type = "closed")
) +
facet_wrap(~ editing_interface, ncol = 1, scales = "fixed") +
scale_x_date(date_breaks = "3 days", date_labels = "%b %d") +
scale_y_continuous(labels = scales::comma, limits = c(500, 3000)) +
scale_color_manual(
values = c("Pre" = "#2b5c8f", "Post" = "#d95f02"),
limits = c("Pre", "Post")
) +
labs(
title = "Volume of unique registered editors (<=100 edits) initiating an edit",
x = "Date",
y = "Number of Attempting Editors",
color = "Period"
) +
theme_minimal(base_size = 14) +
theme(
plot.title = element_text(face = "bold", size = 16),
strip.text = element_text(face = "bold", size = 11),
strip.background = element_rect(fill = "gray95", color = NA),
panel.grid.minor = element_blank(),
legend.position = "bottom",
axis.text.x = element_text(angle = 45, hjust = 1),
plot.margin = margin(t = 15, r = 15, b = 10, l = 15),
legend.title = element_text(size = 14, face = "bold"),
legend.text = element_text(size = 14)
)
attempting_volume_plotThis chart shows the daily number of Junior Editors (100 edits or fewer) who started an edit attempt before and after the July 28 deployment.
Making VisualEditor the default caused an immediate swap in editor usage. The number of Junior Editors attempting to use VisualEditor more than doubled, increasing from about 1,000 users a day to over 2,200. At the exact same time, Wikitext attempts dropped by a nearly identical amount.
This clear swap between the two charts confirms that the shift in edior usage was driven by the new default setting.
Proportion and number of registered users with 100 or fewer edits who publish as least one constructive edit on mobile web (edit was not reverted within 48 hours) on a main namespace. Where the denominator in this context refers to users who make an edit attempt (defined as the interface reaching ready).
# Overall KPI
constructive_editors_by_period <- constructive_edits_data %>%
# exclude deployment date
filter(date != '2026-07-28') %>%
group_by(period, user_id) %>%
summarize(
# Evaluates to 1 if the user had at least one constructive edit in this period
made_constructive_edit = max(if_else(saved_edit == 1 & was_reverted == 0, 1, 0), na.rm = TRUE),
.groups = "drop_last"
) %>%
summarize(
total_attempting_users = n(),
users_with_constructive_edit = sum(made_constructive_edit),
proportion_constructive = users_with_constructive_edit / total_attempting_users,
.groups = "drop"
) %>%
arrange(period) %>%
mutate(
abs_change_pp = (proportion_constructive - lag(proportion_constructive)) * 100,
rel_change_pct = ((proportion_constructive - lag(proportion_constructive)) / lag(proportion_constructive)) * 100
)
constructive_editors_table <- constructive_editors_by_period %>%
arrange(period) %>%
gt() %>%
cols_label(
period = "Period",
total_attempting_users = "Users that made an edit attempts",
users_with_constructive_edit = "Constructive editors",
proportion_constructive = "Constructive proportion",
abs_change_pp = "Abs. Change (pp)",
rel_change_pct = "Rel. Change (%)"
) %>%
fmt_integer(
columns = c(total_attempting_users, users_with_constructive_edit)
) %>%
fmt_percent(
columns = proportion_constructive,
decimals = 2
) %>%
fmt_number(
columns = c(abs_change_pp, rel_change_pct),
decimals = 2,
force_sign = TRUE
) %>%
sub_missing(
columns = c(abs_change_pp, rel_change_pct),
missing_text = "—"
) %>%
cols_align(
align = "left",
columns = period
) %>%
cols_align(
align = "right",
columns = c(
total_attempting_users,
users_with_constructive_edit,
proportion_constructive,
abs_change_pp,
rel_change_pct
)
) %>%
tab_header(
title = md("**Constructive Mobile Web Registered Editors**"),
subtitle = "Registered users (<=100 edits) that saved at least one constructive edit before and after deployment"
) %>%
tab_style(
style = cell_text(weight = "bold"),
locations = cells_column_labels()
) %>%
opt_stylize(5)
display_html(as_raw_html(constructive_editors_table))| Constructive Mobile Web Registered Editors | |||||
|---|---|---|---|---|---|
| Registered users (<=100 edits) that saved at least one constructive edit before and after deployment | |||||
| Period | Users that made an edit attempts | Constructive editors | Constructive proportion | Abs. Change (pp) | Rel. Change (%) |
I then ran a two-proportion z-test to check if the Pre/Post change is statistically significant
pre_data <- filter(constructive_editors_by_period, period == "Pre")
post_data <- filter(constructive_editors_by_period, period == "Post")
x_successes <- c(post_data$users_with_constructive_edit, pre_data$users_with_constructive_edit)
n_totals <- c(post_data$total_attempting_users, pre_data$total_attempting_users)
# Run two-sample proportion test
prop_test_results <- prop.test(
x = x_successes,
n = n_totals,
alternative = "two.sided",
correct = TRUE
)
constructive_editors_summary_stats <- tibble(
pre_prop = prop_test_results$estimate[2], # Group 2 = Pre
post_prop = prop_test_results$estimate[1], # Group 1 = Post
abs_diff = post_prop - pre_prop,
relative_change = (post_prop - pre_prop) / pre_prop,
p_value = prop_test_results$p.value,
ci_lower_95 = prop_test_results$conf.int[1],
ci_upper_95 = prop_test_results$conf.int[2],
statistically_significant = prop_test_results$p.value < 0.05
)
# Summarize in table
constructive_editors_stat_table <- constructive_editors_summary_stats %>%
mutate(
pre_prop_pct = sprintf("%.2f%%", pre_prop * 100),
post_prop_pct = sprintf("%.2f%%", post_prop * 100),
abs_diff_pct = sprintf("%+.2f percentage points", abs_diff * 100),
# Format relative change
rel_change_pct = sprintf("%+.2f%%", relative_change * 100),
# Format 95% Confidence Interval range
ci_95_str = sprintf("[%+.2f, %+.2f] pp", ci_lower_95 * 100, ci_upper_95 * 100),
p_val_str = if_else(p_value < 0.001, "< 0.001", sprintf("%.4f", p_value))
)
# build gt table
constructive_editors_stat_summary_table <- constructive_editors_stat_table %>%
select(
pre_prop_pct,
post_prop_pct,
abs_diff_pct,
rel_change_pct,
ci_95_str,
p_val_str
) %>%
gt() %>%
cols_label(
pre_prop_pct = "Pre-Deployment",
post_prop_pct = "Post-Deployment",
abs_diff_pct = "Absolute Difference",
rel_change_pct = "Relative Change",
ci_95_str = "95% CI (Difference)",
p_val_str = "p-value"
) %>%
tab_header(
title = md("**Constructive Mobile Web Registered Editors: Pre and Post Deployment (Stat Summary)**"),
subtitle = "Two-sample proportion test comparing registered users (≤100 edits) making constructive edits on Mobile VE"
) %>%
cols_align(
align = "center",
columns = everything()
) %>%
tab_style(
style = cell_text(weight = "bold"),
locations = cells_column_labels()
) %>%
tab_style(
style = cell_fill(color = "#f8f9fa"),
locations = cells_body()
) %>%
tab_source_note(
source_note = md("*Note: Constructive edit defined as a published main namespace edit not reverted within 48 hours.*")
) %>%
opt_stylize(5)
# Render Table
display_html(as_raw_html(constructive_editors_stat_summary_table))| Constructive Mobile Web Registered Editors: Pre and Post Deployment (Stat Summary) | |||||
|---|---|---|---|---|---|
| Two-sample proportion test comparing registered users (≤100 edits) making constructive edits on Mobile VE | |||||
| Pre-Deployment | Post-Deployment | Absolute Difference | Relative Change | 95% CI (Difference) | p-value |
| Note: Constructive edit defined as a published main namespace edit not reverted within 48 hours. | |||||
Summary of Insights
# Daily Aggregation
daily_constructive_editors <- constructive_edits_data %>%
# Group by date and period
group_by(event_date, period) %>%
summarize(
total_users = n_distinct(user_id),
constructive_users = n_distinct(user_id[saved_edit == 1 & was_reverted == 0]),
prop_constructive = constructive_users / total_users,
.groups = "drop"
)# pre and post means for baseline lines
pre_mean <- 0.3500
post_mean <- 0.3636
daily_constructive_editors_plot <- ggplot(daily_constructive_editors, aes(x = event_date, y = prop_constructive)) +
# Period average baseline segments
geom_segment(
x = as.Date("2026-07-14"), xend = as.Date("2026-07-28"),
y = pre_mean, yend = pre_mean,
color = "#2b5c8f", linetype = "solid", linewidth = 0.9, alpha = 0.8
) +
geom_segment(
x = as.Date("2026-07-29"), xend = as.Date("2026-08-12"),
y = post_mean, yend = post_mean,
color = "#d95f02", linetype = "solid", linewidth = 0.9, alpha = 0.8
) +
geom_line(aes(group = 1), linetype = "solid", color = "gray60", alpha = 0.8, size = 1.5) +
geom_point(aes(color = period), size = 2.2) +
geom_vline(xintercept = as.Date("2026-07-28.5"), linetype = "dashed", color = "gray30", linewidth = 0.8) +
annotate("text", x = as.Date("2026-07-16"), y = 0.352, label = "Pre Avg: 35.0%", color = "#2b5c8f", fontface = "bold", size = 3.2) +
annotate("text", x = as.Date("2026-08-10"), y = 0.365, label = "Post Avg: 36.4%", color = "#d95f02", fontface = "bold", size = 3.2) +
annotate(
"text",
x = as.Date("2026-07-22"),
y = 0.385,
label = "Mobile VE Default Deployment\n(July 28th)",
hjust = 0.5, fontface = "bold", size = 3.5, color = "gray20"
) +
annotate(
"segment",
x = as.Date("2026-07-25"), xend = as.Date("2026-07-28.2"),
y = 0.385, yend = 0.385,
color = "gray20", linewidth = 0.6,
arrow = arrow(length = unit(0.2, "cm"), type = "closed")
) +
scale_y_continuous(
labels = scales::percent_format(accuracy = 0.1),
breaks = seq(0.32, 0.40, by = 0.01)
) +
scale_x_date(date_breaks = "3 days", date_labels = "%b %d") +
# Force Pre first, then Post in legend
scale_color_manual(
values = c("Pre" = "#2b5c8f", "Post" = "#d95f02"),
breaks = c("Pre", "Post")
) +
labs(
title = "Daily Constructive Mobile Web Registered Editors",
subtitle = "Registered editors (<=100 edits) making at least 1 constructive edit on mobile web",
x = "Date",
y = "Proportion of Constructive Editors",
color = "Period"
) +
theme_minimal(base_size = 14) +
theme(
plot.title = element_text(face = "bold", size = 14),
panel.grid.minor = element_blank(),
legend.position = "bottom",
axis.text.x = element_text(angle = 45, hjust = 1),
plot.margin = margin(t = 20, r = 15, b = 10, l = 15),
legend.title = element_text(size = 14, face = "bold"),
legend.text = element_text(size = 14),
)
daily_constructive_editors_plotThe positive impact was immediate, with a sharp spike occurring in the days immediately following the July 28th deployment. Furthermore, despite daily volatility, nearly every single day in the post-deployment period outperformed the average of the pre-deployment period.
# aggregate by editor experience
constructive_editors_by_interface <- constructive_edits_data %>%
filter(date != '2026-07-28') %>% # filter out deployment date
mutate(
editing_interface = case_when(
editing_interface == "visualeditor" ~ "VisualEditor",
editing_interface == "wikitext" ~ "Wikitext",
TRUE ~ editing_interface
)
) %>%
# Roll up to the distinct user
group_by(period, editing_interface, user_id) %>%
summarize(
# Evaluates to 1 if the user had at least one constructive edit in this period
made_constructive_edit = max(if_else(saved_edit == 1 & was_reverted == 0, 1, 0), na.rm = TRUE),
.groups = "drop_last"
) %>%
# Calculate counts and proportions per period and interface
summarize(
total_attempting_users = n(),
users_with_constructive_edit = sum(made_constructive_edit),
proportion_constructive = users_with_constructive_edit / total_attempting_users,
.groups = "drop"
) %>%
mutate(
period = factor(period, levels = c("Pre", "Post"))
) %>%
group_by(editing_interface) %>%
arrange(period, .by_group = TRUE) %>%
mutate(
abs_change_pp = (proportion_constructive - lag(proportion_constructive)) * 100,
rel_change_pct = ((proportion_constructive - lag(proportion_constructive)) / lag(proportion_constructive)) * 100
) %>%
ungroup()constructive_editors_by_interface_table <- constructive_editors_by_interface %>%
arrange(editing_interface, period) %>%
gt(groupname_col = "editing_interface") %>%
cols_label(
period = "Period",
total_attempting_users = "Attempting Users",
users_with_constructive_edit = "Constructive Editors",
proportion_constructive = "Constructive Proportion",
abs_change_pp = "Abs. Change (pp)",
rel_change_pct = "Rel. Change (%)"
) %>%
fmt_integer(columns = c(total_attempting_users, users_with_constructive_edit)) %>%
fmt_percent(columns = proportion_constructive, decimals = 2) %>%
fmt_number(columns = c(abs_change_pp, rel_change_pct), decimals = 2, force_sign = TRUE) %>%
sub_missing(columns = c(abs_change_pp, rel_change_pct), missing_text = "—") %>%
cols_align(align = "left", columns = period) %>%
cols_align(
align = "right",
columns = c(total_attempting_users, users_with_constructive_edit, proportion_constructive, abs_change_pp, rel_change_pct)
) %>%
tab_header(
title = md("**Constructive Mobile Web Registered Editors by Interface**"),
subtitle = "Pre vs. Post comparison split by where edit was started in Visual Editor or Wikitext"
) %>%
tab_style(
style = cell_text(weight = "bold"),
locations = cells_column_labels()
) %>%
tab_style(
style = cell_text(weight = "bold"),
locations = cells_group() #
) %>%
tab_source_note(
source_note = md("*Note: Constructive editor defined as a user publishing at least one main namespace edit not reverted within 48 hours.*")
) %>%
opt_stylize(5)
display_html(as_raw_html(constructive_editors_by_interface_table))| Constructive Mobile Web Registered Editors by Interface | |||||
|---|---|---|---|---|---|
| Pre vs. Post comparison split by where edit was started in Visual Editor or Wikitext | |||||
| Period | Attempting Users | Constructive Editors | Constructive Proportion | Abs. Change (pp) | Rel. Change (%) |
| VisualEditor | |||||
| Wikitext | |||||
| Note: Constructive editor defined as a user publishing at least one main namespace edit not reverted within 48 hours. | |||||
Key Findings
Once it became the default, the number of people trying VisualEditor more than doubled (from 10,521 to 27,665). This massive increase resulted in 8,762 constructive mobile web editors, exceeding the number of constructive Junior editors using Wikitext.
Even though VisualEditor took on the vast majority of newcomer traffic, its success rate only dropped by 1.82 percentage points. This decrease is expected as it reflects a broader, less experienced cohort now relying on the tool, rather than a degradation of the interface itself.
Because Wikitext is no longer the default, total wikitext attempts by newcomers dropped by 63.3%. However, the users who went out of their way to choose Wikitext were much more likely to succeed, driving its success rate up by nearly 13 percentage points.
Defined as the proportion of editing sessions on a main namespace that successfully save an edit (saveSuccess) after the editor interface was ready (ready).
# Calculate overall pre and post edit completion rates
edit_completion_summary <- constructive_edits_data %>%
filter(date != '2026-07-28') %>% # remove deployment date to reduce noise
group_by(period) %>%
summarize(
total_ready_sessions = n(),
successful_saves = sum(saved_edit == 1, na.rm = TRUE),
completion_rate = successful_saves / total_ready_sessions,
.groups = "drop"
) %>%
# Compute absolute and relative change between Pre and Post
mutate(
period = factor(period, levels = c("Pre", "Post"))
) %>%
arrange(period) %>%
mutate(
abs_change_pp = (completion_rate - lag(completion_rate)) * 100,
rel_change_pct = ((completion_rate - lag(completion_rate)) / lag(completion_rate)) * 100
)edit_completion_summary_table <- edit_completion_summary %>%
gt() %>%
cols_label(
period = "Period",
total_ready_sessions = "Ready Sessions",
successful_saves = "Successful Saves",
completion_rate = "Completion Rate",
abs_change_pp = "Abs. Change (pp)",
rel_change_pct = "Rel. Change (%)"
) %>%
fmt_integer(
columns = c(total_ready_sessions, successful_saves)
) %>%
fmt_percent(
columns = completion_rate,
decimals = 2
) %>%
fmt_number(
columns = c(abs_change_pp, rel_change_pct),
decimals = 2,
force_sign = TRUE
) %>%
sub_missing(
columns = c(abs_change_pp, rel_change_pct),
missing_text = "—" # Replaces NA for the baseline 'Pre' row
) %>%
cols_align(
align = "left",
columns = period
) %>%
cols_align(
align = "right",
columns = c(total_ready_sessions, successful_saves, completion_rate, abs_change_pp, rel_change_pct)
) %>%
tab_header(
title = md("**Mobile Web Edit Completion Rate Overview**"),
subtitle = "Pre vs. Post comparison of edit attempts resulting in a successful save (main namespace)"
) %>%
tab_style(
style = cell_text(weight = "bold"),
locations = cells_column_labels()
)%>%
opt_stylize(5)
display_html(as_raw_html(edit_completion_summary_table))| Mobile Web Edit Completion Rate Overview | |||||
|---|---|---|---|---|---|
| Pre vs. Post comparison of edit attempts resulting in a successful save (main namespace) | |||||
| Period | Ready Sessions | Successful Saves | Completion Rate | Abs. Change (pp) | Rel. Change (%) |
# Conirm stat sig
counts <- edit_completion_summary %>%
arrange(period) %>% # Ensures order is Pre, then Post
summarize(
x_pre = successful_saves[period == "Pre"],
n_pre = total_ready_sessions[period == "Pre"],
x_post = successful_saves[period == "Post"],
n_post = total_ready_sessions[period == "Post"]
)
# Run two-proportion test
completion_prop_test <- prop.test(
x = c(counts$x_post, counts$x_pre),
n = c(counts$n_post, counts$n_pre),
correct = FALSE
)# Extract raw counts and run the two-sample z-test
completion_counts <- edit_completion_summary %>%
summarize(
x_pre = sum(successful_saves[period == "Pre"]),
n_pre = sum(total_ready_sessions[period == "Pre"]),
x_post = sum(successful_saves[period == "Post"]),
n_post = sum(total_ready_sessions[period == "Post"])
)
# Calculate proportions, absolute/relative differences, and standard error
x1 <- completion_counts$x_post
n1 <- completion_counts$n_post
x2 <- completion_counts$x_pre
n2 <- completion_counts$n_pre
p1 <- x1 / n1
p2 <- x2 / n2
# Unpooled Standard Error for 95% Confidence Interval
se_unpooled <- sqrt((p1 * (1 - p1) / n1) + (p2 * (1 - p2) / n2))
# Pooled Standard Error for Z-score and P-value
p_pooled <- (x1 + x2) / (n1 + n2)
se_pooled <- sqrt(p_pooled * (1 - p_pooled) * (1/n1 + 1/n2))
z_score <- (p1 - p2) / se_pooled
p_val <- 2 * (1 - pnorm(abs(z_score)))
# Build summary dataframe with formatted statistical strings
completion_stat_table <- data.frame(
pre_prop = p2,
post_prop = p1,
abs_diff = p1 - p2,
relative_change = (p1 - p2) / p2,
ci_lower_95 = (p1 - p2) - (1.96 * se_unpooled),
ci_upper_95 = (p1 - p2) + (1.96 * se_unpooled),
p_value = p_val
) %>%
mutate(
# Format proportions as percentages
pre_prop_pct = sprintf("%.2f%%", pre_prop * 100),
post_prop_pct = sprintf("%.2f%%", post_prop * 100),
abs_diff_pct = sprintf("%+.2f percentage points", abs_diff * 100),
rel_change_pct = sprintf("%+.2f%%", relative_change * 100),
ci_95_str = sprintf("[%+.2f, %+.2f] pp", ci_lower_95 * 100, ci_upper_95 * 100),
p_val_str = if_else(p_value < 0.001, "< 0.001", sprintf("%.4f", p_value))
)
#create gt table
completion_stat_summary_table <- completion_stat_table %>%
select(
pre_prop_pct,
post_prop_pct,
abs_diff_pct,
rel_change_pct,
ci_95_str,
p_val_str
) %>%
gt() %>%
cols_label(
pre_prop_pct = "Pre-Deployment",
post_prop_pct = "Post-Deployment",
abs_diff_pct = "Absolute Difference",
rel_change_pct = "Relative Change",
ci_95_str = "95% CI (Difference)",
p_val_str = "p-value"
) %>%
tab_header(
title = md("**Moible Web Edit Completion Rate: \n Pre and Post Deployment (Stat Summary)**"),
subtitle = "Two-sample proportion test comparing main namespace edit attempts resulting in a successful save"
) %>%
cols_align(
align = "center",
columns = everything()
) %>%
tab_style(
style = cell_text(weight = "bold"),
locations = cells_column_labels()
) %>%
tab_style(
style = cell_fill(color = "#f8f9fa"),
locations = cells_body()
) %>%
# Source Notes
tab_source_note(
source_note = md("*Note: Edit completion rate is calculated as total saveSuccess events divided by total ready events in the main namespace.*")
) %>%
opt_stylize(5)
# Render Table
display_html(as_raw_html(completion_stat_summary_table))| Moible Web Edit Completion Rate: Pre and Post Deployment (Stat Summary) | |||||
|---|---|---|---|---|---|
| Two-sample proportion test comparing main namespace edit attempts resulting in a successful save | |||||
| Pre-Deployment | Post-Deployment | Absolute Difference | Relative Change | 95% CI (Difference) | p-value |
| Note: Edit completion rate is calculated as total saveSuccess events divided by total ready events in the main namespace. | |||||
Key Findings
Mobile web edit completion rate by Junior Editor increased by 4.34% (relative) following the deployment of Mobile VE as Default. Overall completion rates improved from 37.53% in the pre-deployment period to 39.15% post-deployment.
Even though the total number of ready sessions experienced a slight dip from 141,054 to 139,812 (potentially due to loading issues), a higher proportion of initiating editors successfully saved their edits (54,741 successful post-deployment saves, up from 52,932).
Statistical analysis provides strong confidence that this upward shift is genuine, with the 95% confidence interval confirming the true absolute improvement falls reliably between +1.27 and +1.99 percentage points (p < 0.001).
edit_completion_daily <- constructive_edits_data %>%
group_by(event_date, period) %>%
mutate(period = factor(period, levels = c("Pre", "Post"))) %>%
summarize(
ready_sessions = n(),
successful_saves = sum(saved_edit == 1, na.rm = TRUE),
completion_rate = successful_saves / ready_sessions,
.groups = "drop"
)
# Calculate pre and post mean completion rates for reference horizontal lines
period_means <- edit_completion_daily %>%
group_by(period) %>%
summarize(
mean_rate = mean(completion_rate),
start_date = min(event_date),
end_date = max(event_date),
.groups = "drop"
)
pre_avg <- period_means %>% filter(period == "Pre") %>% pull(mean_rate)
post_avg <- period_means %>% filter(period == "Post") %>% pull(mean_rate)
pre_start <- period_means %>% filter(period == "Pre") %>% pull(start_date)
pre_end <- period_means %>% filter(period == "Pre") %>% pull(end_date)
post_start <- period_means %>% filter(period == "Post") %>% pull(start_date)
post_end <- period_means %>% filter(period == "Post") %>% pull(end_date)
# 2. Build plot with matching theme, colors, and annotations
edit_completion_daily_plot <- ggplot(edit_completion_daily, aes(x = event_date, y = completion_rate)) +
# Connecting line in neutral gray
geom_line(color = "#9e9e9e", linewidth = 1) +
# Color-coded points by Period (Pre = #2b5c8f, Post = #d95f02)
geom_point(aes(color = period), size = 2) +
# Pre-deployment average horizontal segment
geom_segment(
x = pre_start, xend = pre_end,
y = pre_avg, yend = pre_avg,
color = "#2b5c8f", linewidth = 1.1
) +
# Post-deployment average horizontal segment
geom_segment(
x = post_start, xend = post_end,
y = post_avg, yend = post_avg,
color = "#d95f02", linewidth = 1.1
) +
# Vertical dashed line for deployment date (July 28th)
geom_vline(xintercept = as.Date("2026-07-28"), linetype = "dashed", color = "#333333", linewidth = 0.6) +
# Label for Pre-Deployment Average
annotate(
"text", x = pre_start + 1, y = pre_avg + 0.005, # Nudged y-position slightly higher
label = sprintf("Pre Avg: %.1f%%", pre_avg * 100),
color = "#2b5c8f", fontface = "bold", size = 3.5, hjust = 0
) +
# Label for Post-Deployment Average
annotate(
"text", x = post_end - 2, y = post_avg + 0.003,
label = sprintf("Post Avg: %.1f%%", post_avg * 100),
color = "#d95f02", fontface = "bold", size = 3.5, hjust = 1
) +
# Deployment event annotation text
annotate(
"text",
x = as.Date("2026-07-27"),
y = max(edit_completion_daily$completion_rate) * 0.99,
label = "Mobile VE Default Deployment\n(July 28th)",
fontface = "bold",
size = 3,
hjust = 1
) +
# Shortened arrow segment (starts at Jul 25 instead of Jul 20/22)
annotate(
"segment",
x = as.Date("2026-07-25"),
xend = as.Date("2026-07-27.5"),
y = max(edit_completion_daily$completion_rate) * 0.98,
yend = max(edit_completion_daily$completion_rate) * 0.98,
arrow = arrow(length = unit(0.15, "cm"), type = "closed")
) +
# Custom scales and formatting
scale_y_continuous(labels = percent_format(accuracy = 0.1)) +
scale_x_date(date_breaks = "3 days", date_labels = "%b %d") +
scale_color_manual(values = c("Pre" = "#2b5c8f", "Post" = "#d95f02")) +
# Titles and labels
labs(
title = "Daily Mobile Web Edit Completion Rate",
subtitle = "Proportion of main namespace edit attempts by registered users (<=100 edits) resulting in a successful save",
x = "Date",
y = "Edit Completion Rate",
color = "Period"
) +
# Minimalist clean theme setup
theme_minimal(base_family = "sans", base_size = 14) +
theme(
plot.title = element_text(face = "bold", size = 16, hjust = 0),
plot.subtitle = element_text(size = 12, color = "#444444", margin = margin(b = 15)),
axis.title = element_text(size = 14, color = "#222222"),
axis.text.x = element_text(angle = 45, hjust = 1, vjust = 1, size = 12),
axis.text.y = element_text(size = 14),
panel.grid.major.y = element_line(color = "#f0f0f0"),
panel.grid.minor = element_blank(),
panel.grid.major.x = element_blank(),
legend.position = "bottom",
legend.title = element_text(size = 14, face = "bold"),
legend.text = element_text(size = 14),
)
edit_completion_daily_plotThe chart above shows daily edit completion rates before and after the deployment of Mobile VE as default.
The trend line shows that the improvement wasn’t driven by a single spike. Instead, nearly every single day following the July 28th deployment performed better than the historical baseline, showing that the 39.1% average is a sustained rate.
edit_completion_summary_by_interface <- constructive_edits_data %>%
mutate(
editing_interface = case_when(
editing_interface == "visualeditor" ~ "VisualEditor",
editing_interface == "wikitext" ~ "Wikitext",
TRUE ~ editing_interface
)
) %>%
group_by(editing_interface, period) %>%
summarize(
total_ready_sessions = n(),
successful_saves = sum(saved_edit == 1, na.rm = TRUE),
completion_rate = successful_saves / total_ready_sessions,
.groups = "drop"
) %>%
mutate(
period = factor(period, levels = c("Pre", "Post"))
) %>%
group_by(editing_interface) %>%
arrange(period, .by_group = TRUE) %>%
mutate(
abs_change_pp = (completion_rate - lag(completion_rate)) * 100,
rel_change_pct = ((completion_rate - lag(completion_rate)) / lag(completion_rate)) * 100
) %>%
ungroup()gt_interface_completion_table <- edit_completion_summary_by_interface %>%
gt(groupname_col = "editing_interface") %>%
cols_label(
period = "Period",
total_ready_sessions = "Ready Sessions",
successful_saves = "Successful Saves",
completion_rate = "Completion Rate",
abs_change_pp = "Abs. Change (pp)",
rel_change_pct = "Rel. Change (%)"
) %>%
fmt_integer(
columns = c(total_ready_sessions, successful_saves)
) %>%
fmt_percent(
columns = completion_rate,
decimals = 2
) %>%
fmt_number(
columns = c(abs_change_pp, rel_change_pct),
decimals = 2,
force_sign = TRUE
) %>%
sub_missing(
columns = c(abs_change_pp, rel_change_pct),
missing_text = "—"
) %>%
cols_align(
align = "left",
columns = period
) %>%
cols_align(
align = "right",
columns = c(
total_ready_sessions,
successful_saves,
completion_rate,
abs_change_pp,
rel_change_pct
)
) %>%
# Header and Subtitle
tab_header(
title = md("**Mobile Web Edit Completion Rate by Interface**"),
subtitle = "Pre vs. Post comparison of ready sessions resulting in a successful save by editing interface"
) %>%
tab_style(
style = cell_text(weight = "bold"),
locations = cells_column_labels()
) %>%
tab_style(
style = cell_text(weight = "bold"),
locations = cells_group()
) %>%
opt_stylize(5)
display_html(as_raw_html(gt_interface_completion_table))| Mobile Web Edit Completion Rate by Interface | |||||
|---|---|---|---|---|---|
| Pre vs. Post comparison of ready sessions resulting in a successful save by editing interface | |||||
| Period | Ready Sessions | Successful Saves | Completion Rate | Abs. Change (pp) | Rel. Change (%) |
| VisualEditor | |||||
| Wikitext | |||||
Summary of Findings
We observed increases in edit completion rate for both Visual Editor and Wikitext.
Defined as proportion of published main namespace edits that are constructive (not reverted within 48 hours of being published).
# Calculate constructive edit rate aggregated by period
constructive_rate_summary <- constructive_edits_data %>%
filter(date != '2026-07-28' & saved_edit == 1) %>% # Filter for published edits only
group_by(period) %>%
summarize(
total_published_edits = n(),
constructive_edits = sum(was_reverted == 0, na.rm = TRUE),
constructive_rate = constructive_edits / total_published_edits,
.groups = "drop"
) %>%
mutate(period = factor(period, levels = c("Pre", "Post"))) %>%
arrange(period) %>%
mutate(
abs_change_pp = (constructive_rate - lag(constructive_rate)) * 100,
rel_change_pct = ((constructive_rate - lag(constructive_rate)) / lag(constructive_rate)) * 100
)# Overview Table
constructive_edit_rate_overall_table <- constructive_rate_summary %>%
gt() %>%
cols_label(
period = "Period",
total_published_edits = "Published Edits",
constructive_edits = "Constructive Edits",
constructive_rate = "Constructive Rate",
abs_change_pp = "Abs. Change (pp)",
rel_change_pct = "Rel. Change (%)"
) %>%
fmt_integer(columns = c(total_published_edits, constructive_edits)) %>%
fmt_percent(columns = constructive_rate, decimals = 2) %>%
fmt_number(columns = c(abs_change_pp, rel_change_pct), decimals = 2, force_sign = TRUE) %>%
sub_missing(columns = c(abs_change_pp, rel_change_pct), missing_text = "—") %>%
cols_align(align = "left", columns = period) %>%
cols_align(align = "right", columns = c(total_published_edits, constructive_edits, constructive_rate, abs_change_pp, rel_change_pct)) %>%
tab_header(
title = md("**Constructive Edit Rate Overall**"),
subtitle = "Pre vs. Post comparison of published main namespace edits not reverted within 48 hours"
) %>%
tab_style(style = cell_text(weight = "bold"), locations = cells_column_labels()) %>%
opt_stylize(5)
display_html(as_raw_html(constructive_edit_rate_overall_table ))| Constructive Edit Rate Overall | |||||
|---|---|---|---|---|---|
| Pre vs. Post comparison of published main namespace edits not reverted within 48 hours | |||||
| Period | Published Edits | Constructive Edits | Constructive Rate | Abs. Change (pp) | Rel. Change (%) |
## confirm stat sig
# Calculate two-sample proportion z-test
x1 <- constructive_rate_summary %>% filter(period == "Post") %>% pull(constructive_edits)
n1 <- constructive_rate_summary %>% filter(period == "Post") %>% pull(total_published_edits)
x2 <- constructive_rate_summary %>% filter(period == "Pre") %>% pull(constructive_edits)
n2 <- constructive_rate_summary %>% filter(period == "Pre") %>% pull(total_published_edits)
p1 <- x1 / n1
p2 <- x2 / n2
se_unpooled <- sqrt((p1 * (1 - p1) / n1) + (p2 * (1 - p2) / n2))
p_pooled <- (x1 + x2) / (n1 + n2)
se_pooled <- sqrt(p_pooled * (1 - p_pooled) * (1/n1 + 1/n2))
z_score <- (p1 - p2) / se_pooled
p_val <- 2 * (1 - pnorm(abs(z_score)))
constructive_edits_stat <- data.frame(
pre_prop = p2,
post_prop = p1,
abs_diff = p1 - p2,
relative_change = (p1 - p2) / p2,
ci_lower_95 = (p1 - p2) - (1.96 * se_unpooled),
ci_upper_95 = (p1 - p2) + (1.96 * se_unpooled),
p_value = p_val
)constructive_edits_stat_table <- constructive_edits_stat %>%
mutate(
pre_prop_pct = sprintf("%.2f%%", pre_prop * 100),
post_prop_pct = sprintf("%.2f%%", post_prop * 100),
abs_diff_pct = sprintf("%+.2f percentage points", abs_diff * 100),
rel_change_pct = sprintf("%+.2f%%", relative_change * 100),
ci_95_str = sprintf("[%+.2f, %+.2f] pp", ci_lower_95 * 100, ci_upper_95 * 100),
p_val_str = if_else(p_value < 0.001, "< 0.001", sprintf("%.4f", p_value))
) %>%
select(pre_prop_pct, post_prop_pct, abs_diff_pct, rel_change_pct, ci_95_str, p_val_str) %>%
gt() %>%
cols_label(
pre_prop_pct = "Pre-Deployment",
post_prop_pct = "Post-Deployment",
abs_diff_pct = "Absolute Difference",
rel_change_pct = "Relative Change",
ci_95_str = "95% CI (Difference)",
p_val_str = "p-value"
) %>%
tab_header(
title = md("**Constructive Edit Rate: Pre and Post Deployment (Stat Summary)**"),
subtitle = "Two-sample proportion test comparing non-reverted edits in the main namespace"
) %>%
cols_align(align = "center", columns = everything()) %>%
tab_style(style = cell_text(weight = "bold"), locations = cells_column_labels()) %>%
tab_style(style = cell_fill(color = "#f8f9fa"), locations = cells_body()) %>%
tab_source_note(source_note = md("*Note: Constructive edit defined as a published main namespace edit not reverted within 48 hours.*")) %>%
opt_stylize(5)
display_html(as_raw_html(constructive_edits_stat_table))| Constructive Edit Rate: Pre and Post Deployment (Stat Summary) | |||||
|---|---|---|---|---|---|
| Two-sample proportion test comparing non-reverted edits in the main namespace | |||||
| Pre-Deployment | Post-Deployment | Absolute Difference | Relative Change | 95% CI (Difference) | p-value |
| Note: Constructive edit defined as a published main namespace edit not reverted within 48 hours. | |||||
Key Findings
## Daily Rate
# 1. Aggregate daily constructive edit rate
daily_constructive <- constructive_edits_data %>%
filter(saved_edit == 1) %>% # Main namespace published edits only
mutate(
date = as.Date(date),
period = factor(period, levels = c("Pre", "Post"))
) %>%
group_by(date, period) %>%
summarize(
published_edits = n(),
constructive_edits = sum(was_reverted == 0, na.rm = TRUE),
constructive_rate = constructive_edits / published_edits,
.groups = "drop"
)
# Calculate pre and post mean constructive rates for horizontal reference lines
period_means <- daily_constructive %>%
group_by(period) %>%
summarize(
mean_rate = mean(constructive_rate),
start_date = min(date),
end_date = max(date),
.groups = "drop"
)
pre_avg <- period_means %>% filter(period == "Pre") %>% pull(mean_rate)
post_avg <- period_means %>% filter(period == "Post") %>% pull(mean_rate)
pre_start <- period_means %>% filter(period == "Pre") %>% pull(start_date)
pre_end <- period_means %>% filter(period == "Pre") %>% pull(end_date)
post_start <- period_means %>% filter(period == "Post") %>% pull(start_date)
post_end <- period_means %>% filter(period == "Post") %>% pull(end_date)
# 2. Build plot with matching styling, colors, and annotations
constructive_edits_daily_plot <- ggplot(daily_constructive, aes(x = date, y = constructive_rate)) +
# Connecting line in neutral gray
geom_line(color = "#9e9e9e", linewidth = 1) +
# Color-coded points by Period (Pre = #2b5c8f, Post = #d95f02)
geom_point(aes(color = period), size = 2) +
# Pre-deployment average horizontal segment
geom_segment(
x = pre_start, xend = pre_end,
y = pre_avg, yend = pre_avg,
color = "#2b5c8f", linewidth = 1.1
) +
# Post-deployment average horizontal segment
geom_segment(
x = post_start, xend = post_end,
y = post_avg, yend = post_avg,
color = "#d95f02", linewidth = 1.1
) +
# Vertical dashed line for deployment date (July 28th)
geom_vline(xintercept = as.Date("2026-07-28"), linetype = "dashed", color = "#333333", linewidth = 0.6) +
# Label for Pre-Deployment Average
annotate(
"text", x = pre_start + 1, y = pre_avg + 0.005,
label = sprintf("Pre Avg: %.1f%%", pre_avg * 100),
color = "#2b5c8f", fontface = "bold", size = 3.5, hjust = 0
) +
# Label for Post-Deployment Average
annotate(
"text", x = post_end - 1, y = post_avg + 0.005,
label = sprintf("Post Avg: %.1f%%", post_avg * 100),
color = "#d95f02", fontface = "bold", size = 3.5, hjust = 1
) +
# Deployment event annotation arrow and text (shortened arrow)
annotate(
"text",
x = as.Date("2026-07-27"),
y = max(daily_constructive$constructive_rate) * 0.99,
label = "Mobile VE Default Deployment\n(July 28th)",
fontface = "bold", size = 3, hjust = 1
) +
annotate(
"segment",
x = as.Date("2026-07-25"),
xend = as.Date("2026-07-27.5"),
y = max(daily_constructive$constructive_rate) * 0.98,
yend = max(daily_constructive$constructive_rate) * 0.98,
arrow = arrow(length = unit(0.15, "cm"), type = "closed")
) +
# Custom scales and formatting
scale_y_continuous(labels = percent_format(accuracy = 0.1)) +
scale_x_date(date_breaks = "3 days", date_labels = "%b %d") +
scale_color_manual(values = c("Pre" = "#2b5c8f", "Post" = "#d95f02")) +
# Titles and labels
labs(
title = "Daily Constructive Edit Rate",
subtitle = "Proportion of published main namespace edits by registered users (<=100 edits) not reverted within 48 hours",
x = "Date",
y = "Constructive Edit Rate",
color = "Period"
) +
# Clean minimalist theme
theme_minimal(base_family = "sans") +
theme(
plot.title = element_text(face = "bold", size = 16, hjust = 0),
plot.subtitle = element_text(size = 14, color = "#444444", margin = margin(b = 15)),
axis.title = element_text(size = 14, color = "#222222"),
axis.text.x = element_text(angle = 45, hjust = 1, vjust = 1, size = 12),
axis.text.y = element_text(size = 14),
panel.grid.major.y = element_line(color = "#f0f0f0"),
panel.grid.minor = element_blank(),
panel.grid.major.x = element_blank(),
legend.position = "bottom",
legend.title = element_text(size = 14, face = "bold"),
legend.text = element_text(size = 14),
)
constructive_edits_daily_plotDespite the shift of newcomers into VisualEditor, daily mobile web edit quality remained stable. With the exception of August 10th, the lowest-performing days post-deployment were still at or above historical norms.
# aggregrate by interface
constructive_edits_data_byinterface <- constructive_edits_data %>%
filter(date != '2026-07-28' & saved_edit == 1) %>% # Published edit
mutate(
editing_interface = case_when(
editing_interface == "visualeditor" ~ "VisualEditor",
editing_interface == "wikitext" ~ "Wikitext",
TRUE ~ editing_interface
),
period = factor(period, levels = c("Pre", "Post"))
) %>%
group_by(editing_interface, period) %>%
summarize(
total_published_edits = n(),
constructive_edits = sum(was_reverted == 0, na.rm = TRUE),
constructive_rate = constructive_edits / total_published_edits,
.groups = "drop"
) %>%
arrange(editing_interface, period) %>%
group_by(editing_interface) %>%
mutate(
abs_change_pp = (constructive_rate - lag(constructive_rate)) * 100,
rel_change_pct = ((constructive_rate - lag(constructive_rate)) / lag(constructive_rate)) * 100
) %>%
ungroup()
# Build gt table
table_constructive_interface <- constructive_edits_data_byinterface %>%
gt(groupname_col = "editing_interface") %>%
cols_label(
period = "Period",
total_published_edits = "Total Published Edits",
constructive_edits = "Constructive Edits",
constructive_rate = "Constructive Rate",
abs_change_pp = "Abs. Change (pp)",
rel_change_pct = "Rel. Change (%)"
) %>%
fmt_integer(columns = c(total_published_edits, constructive_edits)) %>%
fmt_percent(columns = constructive_rate, decimals = 2) %>%
fmt_number(columns = c(abs_change_pp, rel_change_pct), decimals = 2, force_sign = TRUE) %>%
sub_missing(columns = c(abs_change_pp, rel_change_pct), missing_text = "—") %>%
cols_align(align = "left", columns = period) %>%
cols_align(
align = "right",
columns = c(total_published_edits, constructive_edits, constructive_rate, abs_change_pp, rel_change_pct)
) %>%
tab_header(
title = md("**Constructive Mobile Web Registered Editors by Interface**"),
subtitle = "Pre vs. Post comparison split by where edit was started in Visual Editor or Wikitext"
) %>%
tab_style(style = cell_text(weight = "bold"), locations = cells_column_labels()) %>%
tab_style(style = cell_text(weight = "bold", transform = "capitalize"), locations = cells_row_groups()) %>%
opt_stylize(5)
display_html(as_raw_html(table_constructive_interface))| Constructive Mobile Web Registered Editors by Interface | |||||
|---|---|---|---|---|---|
| Pre vs. Post comparison split by where edit was started in Visual Editor or Wikitext | |||||
| Period | Total Published Edits | Constructive Edits | Constructive Rate | Abs. Change (pp) | Rel. Change (%) |
| VisualEditor | |||||
| Wikitext | |||||
Key Insights
Because Wikitext is no longer the default, it transitioned into a highly selective tool. Users who actively sought it out published at a much higher quality, driving a 6.16 percentage point increase in its constructive edit rate (up to 79.47%). This is a classic selection bias.
As VisualEditor took on the vast majority of general newcomer traffic, its constructive rate naturally dropped by 5.02 percentage points. This likely reflects the broader, less experienced cohort now relying on the tool.
Prior to the deployment, Wikitext was producing the vast majority of constructive edits (29,461 compared to VE’s 9,577). Post-deployment, VisualEditor successfully absorbed the newcomer traffic, doubling its volume to 19,527 constructive edits and significantly closing the gap with Wikitext (21,370).
Proportion of published main namespace edits that are reverted within 48 hours of being published.
Note: This is the inverse of Constructive Edit Rate. Since a constructive edit is defined as a published main namespace edit not reverted within 48 hours, Revert Rate and Constructive Edit Rate are complementary probabilities that sum to 100%.
# 1. Aggregate revert rate by period
revert_rate_overall <- constructive_edits_data %>%
filter(date != '2026-07-28' & saved_edit == 1) %>% # Filter for published main namespace edits only
group_by(period) %>%
summarize(
total_published_edits = n(),
reverted_edits = sum(was_reverted == 1, na.rm = TRUE),
revert_rate = reverted_edits / total_published_edits,
.groups = "drop"
) %>%
mutate(period = factor(period, levels = c("Pre", "Post"))) %>%
arrange(period) %>%
mutate(
abs_change_pp = (revert_rate - lag(revert_rate)) * 100,
rel_change_pct = ((revert_rate - lag(revert_rate)) / lag(revert_rate)) * 100
)revert_rate_overall_table <- revert_rate_overall %>%
gt() %>%
cols_label(
period = "Period",
total_published_edits = "Published Edits",
reverted_edits = "Reverted Edits",
revert_rate = "Revert Rate",
abs_change_pp = "Abs. Change (pp)",
rel_change_pct = "Rel. Change (%)"
) %>%
fmt_integer(columns = c(total_published_edits, reverted_edits)) %>%
fmt_percent(columns = revert_rate, decimals = 2) %>%
fmt_number(columns = c(abs_change_pp, rel_change_pct), decimals = 2, force_sign = TRUE) %>%
sub_missing(columns = c(abs_change_pp, rel_change_pct), missing_text = "—") %>%
cols_align(align = "left", columns = period) %>%
cols_align(align = "right", columns = c(total_published_edits, reverted_edits, revert_rate, abs_change_pp, rel_change_pct)) %>%
tab_header(
title = md("**Mobile Web Revert Rate Overall**"),
subtitle = "Pre vs. Post comparison of published main namespace edits reverted within 48 hours"
) %>%
tab_style(style = cell_text(weight = "bold"), locations = cells_column_labels()) %>%
opt_stylize(5)
display_html(as_raw_html(revert_rate_overall_table))| Mobile Web Revert Rate Overall | |||||
|---|---|---|---|---|---|
| Pre vs. Post comparison of published main namespace edits reverted within 48 hours | |||||
| Period | Published Edits | Reverted Edits | Revert Rate | Abs. Change (pp) | Rel. Change (%) |
# 2. Two-sample proportion z-test for revert rate
x1 <- revert_rate_overall %>% filter(period == "Post") %>% pull(reverted_edits)
n1 <- revert_rate_overall %>% filter(period == "Post") %>% pull(total_published_edits)
x2 <- revert_rate_overall %>% filter(period == "Pre") %>% pull(reverted_edits)
n2 <- revert_rate_overall %>% filter(period == "Pre") %>% pull(total_published_edits)
p1 <- x1 / n1
p2 <- x2 / n2
se_unpooled <- sqrt((p1 * (1 - p1) / n1) + (p2 * (1 - p2) / n2))
p_pooled <- (x1 + x2) / (n1 + n2)
se_pooled <- sqrt(p_pooled * (1 - p_pooled) * (1/n1 + 1/n2))
z_score <- (p1 - p2) / se_pooled
p_val <- 2 * (1 - pnorm(abs(z_score)))
revert_stat_df <- data.frame(
pre_prop = p2,
post_prop = p1,
abs_diff = p1 - p2,
relative_change = (p1 - p2) / p2,
ci_lower_95 = (p1 - p2) - (1.96 * se_unpooled),
ci_upper_95 = (p1 - p2) + (1.96 * se_unpooled),
p_value = p_val
)# 2. Stat Summary Table
table_revert_stats <- revert_stat_df %>%
mutate(
pre_prop_pct = sprintf("%.2f%%", pre_prop * 100),
post_prop_pct = sprintf("%.2f%%", post_prop * 100),
abs_diff_pct = sprintf("%+.2f percentage points", abs_diff * 100),
rel_change_pct = sprintf("%+.2f%%", relative_change * 100),
ci_95_str = sprintf("[%+.2f, %+.2f] pp", ci_lower_95 * 100, ci_upper_95 * 100),
p_val_str = if_else(p_value < 0.001, "< 0.001", sprintf("%.4f", p_value))
) %>%
select(pre_prop_pct, post_prop_pct, abs_diff_pct, rel_change_pct, ci_95_str, p_val_str) %>%
gt() %>%
cols_label(
pre_prop_pct = "Pre-Deployment",
post_prop_pct = "Post-Deployment",
abs_diff_pct = "Absolute Difference",
rel_change_pct = "Relative Change",
ci_95_str = "95% CI (Difference)",
p_val_str = "p-value"
) %>%
tab_header(
title = md("**Mobile Web Revert Rate: Pre and Post Deployment (Stat Summary)**"),
subtitle = "Two-sample proportion test comparing reverted edits in the main namespace"
) %>%
cols_align(align = "center", columns = everything()) %>%
tab_style(style = cell_text(weight = "bold"), locations = cells_column_labels()) %>%
tab_style(style = cell_fill(color = "#f8f9fa"), locations = cells_body()) %>%
tab_source_note(source_note = md("*Note: Revert rate defined as published main namespace edits reverted within 48 hours.*")) %>%
opt_stylize(5)
display_html(as_raw_html(table_revert_stats))| Mobile Web Revert Rate: Pre and Post Deployment (Stat Summary) | |||||
|---|---|---|---|---|---|
| Two-sample proportion test comparing reverted edits in the main namespace | |||||
| Pre-Deployment | Post-Deployment | Absolute Difference | Relative Change | 95% CI (Difference) | p-value |
| Note: Revert rate defined as published main namespace edits reverted within 48 hours. | |||||
Key Findings
revert_rate_daily <- constructive_edits_data %>%
filter(date != '2026-07-28' & saved_edit == 1) %>% # Filter for published main namespace edits only
mutate(
date = as.Date(date),
period = factor(period, levels = c("Pre", "Post"))
) %>%
group_by(date, period) %>%
summarize(
published_edits = n(),
reverted_edits = sum(was_reverted == 1, na.rm = TRUE),
revert_rate = reverted_edits / published_edits,
.groups = "drop"
)
# 2. Calculate pre and post mean revert rates for reference horizontal lines
period_means <- revert_rate_daily %>%
group_by(period) %>%
summarize(
mean_rate = mean(revert_rate),
start_date = min(date),
end_date = max(date),
.groups = "drop"
)
pre_avg <- period_means %>% filter(period == "Pre") %>% pull(mean_rate)
post_avg <- period_means %>% filter(period == "Post") %>% pull(mean_rate)
pre_start <- period_means %>% filter(period == "Pre") %>% pull(start_date)
pre_end <- period_means %>% filter(period == "Pre") %>% pull(end_date)
post_start <- period_means %>% filter(period == "Post") %>% pull(start_date)
post_end <- period_means %>% filter(period == "Post") %>% pull(end_date)
# 3. Build daily trend plot
revert_rate_daily_plot <- ggplot(revert_rate_daily , aes(x = date, y = revert_rate)) +
geom_line(color = "#9e9e9e", linewidth = 1) +
geom_point(aes(color = period), size = 2) +
geom_segment(
x = pre_start, xend = pre_end,
y = pre_avg, yend = pre_avg,
color = "#2b5c8f", linewidth = 1.1
) +
geom_segment(
x = post_start, xend = post_end,
y = post_avg, yend = post_avg,
color = "#d95f02", linewidth = 1.1
) +
# Vertical dashed line for deployment date (July 28th)
geom_vline(xintercept = as.Date("2026-07-28"), linetype = "dashed", color = "#333333", linewidth = 0.6) +
annotate(
"text", x = pre_start + 1, y = pre_avg + 0.005,
label = sprintf("Pre Avg: %.1f%%", pre_avg * 100),
color = "#2b5c8f", fontface = "bold", size = 3.5, hjust = 0
) +
annotate(
"text", x = post_end - 1, y = post_avg + 0.005,
label = sprintf("Post Avg: %.1f%%", post_avg * 100),
color = "#d95f02", fontface = "bold", size = 3.5, hjust = 1
) +
annotate(
"text",
x = as.Date("2026-07-27"),
y = max(revert_rate_daily$revert_rate) * 0.99,
label = "Mobile VE Default Deployment\n(July 28th)",
fontface = "bold", size = 3, hjust = 1
) +
annotate(
"segment",
x = as.Date("2026-07-25"),
xend = as.Date("2026-07-27.5"),
y = max(revert_rate_daily$revert_rate) * 0.98,
yend = max(revert_rate_daily$revert_rate) * 0.98,
arrow = arrow(length = unit(0.15, "cm"), type = "closed")
) +
scale_y_continuous(labels = percent_format(accuracy = 0.1)) +
scale_x_date(date_breaks = "3 days", date_labels = "%b %d") +
scale_color_manual(values = c("Pre" = "#2b5c8f", "Post" = "#d95f02")) +
labs(
title = "Daily Mobile Web Revert Rate",
subtitle = "Proportion of published main namespace edits by registered users (<=100 edits) reverted within 48 hours",
x = "Date",
y = "Revert Rate",
color = "Period"
) +
theme_minimal(base_family = "sans") +
theme(
plot.title = element_text(face = "bold", size = 16, hjust = 0),
plot.subtitle = element_text(size = 12, color = "#444444", margin = margin(b = 15)),
axis.title = element_text(size = 14, color = "#222222"),
axis.text.x = element_text(angle = 45, hjust = 1, vjust = 1, size = 14),
axis.text.y = element_text(size = 14),
panel.grid.major.y = element_line(color = "#f0f0f0"),
panel.grid.minor = element_blank(),
panel.grid.major.x = element_blank(),
legend.position = "bottom",
legend.title = element_text(size = 14, face = "bold"),
legend.text = element_text(size = 14)
)
revert_rate_daily_plot# 1. Aggregate revert rate by editing interface and period
revert_rate_byinterface <- constructive_edits_data %>%
filter(date != '2026-07-28' & saved_edit == 1) %>% # Published main namespace edits only
mutate(
editing_interface = case_when(
editing_interface == "visualeditor" ~ "VisualEditor",
editing_interface == "wikitext" ~ "Wikitext",
TRUE ~ editing_interface
),
period = factor(period, levels = c("Pre", "Post"))
) %>%
group_by(editing_interface, period) %>%
summarize(
total_published_edits = n(),
reverted_edits = sum(was_reverted == 1, na.rm = TRUE),
revert_rate = reverted_edits / total_published_edits,
.groups = "drop"
) %>%
arrange(editing_interface, period) %>%
group_by(editing_interface) %>%
mutate(
abs_change_pp = (revert_rate - lag(revert_rate)) * 100,
rel_change_pct = ((revert_rate - lag(revert_rate)) / lag(revert_rate)) * 100
) %>%
ungroup()
# 2. Build gt table grouped by interface
revert_rate_byinterface_table <- revert_rate_byinterface %>%
gt(groupname_col = "editing_interface") %>%
cols_label(
period = "Period",
total_published_edits = "Published Edits",
reverted_edits = "Reverted Edits",
revert_rate = "Revert Rate",
abs_change_pp = "Abs. Change (pp)",
rel_change_pct = "Rel. Change (%)"
) %>%
fmt_integer(columns = c(total_published_edits, reverted_edits)) %>%
fmt_percent(columns = revert_rate, decimals = 2) %>%
fmt_number(columns = c(abs_change_pp, rel_change_pct), decimals = 2, force_sign = TRUE) %>%
sub_missing(columns = c(abs_change_pp, rel_change_pct), missing_text = "—") %>%
cols_align(align = "left", columns = period) %>%
cols_align(
align = "right",
columns = c(total_published_edits, reverted_edits, revert_rate, abs_change_pp, rel_change_pct)
) %>%
tab_header(
title = md("**Mobile Web Revert Rate by Editor Interface**"),
subtitle = "Pre vs. Post deployment comparison of reverted main namespace edits"
) %>%
tab_style(
style = cell_text(weight = "bold"),
locations = cells_column_labels()
) %>%
tab_style(
style = cell_text(weight = "bold"),
locations = cells_group()
) %>%
tab_source_note(
source_note = md("*Note: Revert rate defined as published main namespace edits reverted within 48 hours.*")
) %>%
opt_stylize(5)
display_html(as_raw_html(revert_rate_byinterface_table))| Mobile Web Revert Rate by Editor Interface | |||||
|---|---|---|---|---|---|
| Pre vs. Post deployment comparison of reverted main namespace edits | |||||
| Period | Published Edits | Reverted Edits | Revert Rate | Abs. Change (pp) | Rel. Change (%) |
| VisualEditor | |||||
| Wikitext | |||||
| Note: Revert rate defined as published main namespace edits reverted within 48 hours. | |||||
Key Findings
Data aligns with the shift of more newcomers to VisualEditor.
Defined as percentage of contributors who return to publish at least one edit (any namespace) during their second week (day 7-14) after their initial constructive edit on a main namespace.
Methodology Note: To ensure all retention events had a full 14 days to mature following the July 28th default deployment, the analysis window was trimmed. This data compares a 7-day pre-deployment baseline (July 21–27) directly against a 7-day post-deployment window (July 28–August 3).
# load retention
retention_data <-
read.csv(
file = 'data/retention_data.tsv',
header = TRUE,
sep = "\t",
stringsAsFactors = TRUE
) # clean and add labels
retention_data <- retention_data %>%
mutate(
# Ensure date column is in Date format
cohort_day = as.Date(cohort_day),
period = case_when(
cohort_day >= as.Date("2026-07-14") & cohort_day <= as.Date("2026-07-28") ~ "Pre", ## Add prep and post labels
cohort_day >= as.Date("2026-07-29") & cohort_day <= as.Date("2026-08-12") ~ "Post",
TRUE ~ NA_character_
))
# Filter to an equivalent 7-day pre-period window (July 21 - July 27)
retention_data <- retention_data %>%
filter(cohort_day >= as.Date("2026-07-21"))# Aggregate overall retention rate by period
retention_overall_summary <- retention_data %>%
filter(cohort_day != '2026-07-28') %>% #filter out deployment day
group_by(period) %>%
summarize(
total_activations = sum(total_constructive_activations, na.rm = TRUE),
total_retained = sum(second_week_retained, na.rm = TRUE),
retention_rate = total_retained / total_activations,
.groups = "drop"
) %>%
mutate(period = factor(period, levels = c("Pre", "Post"))) %>%
arrange(period) %>%
mutate(
abs_change_pp = (retention_rate - lag(retention_rate)) * 100,
rel_change_pct = ((retention_rate - lag(retention_rate)) / lag(retention_rate)) * 100
)# Formatted Overview gt Table
retention_overview_table <- retention_overall_summary %>%
gt() %>%
cols_label(
period = "Period",
total_activations = "Distinct constructive editors",
total_retained = "Second Week Retained",
retention_rate = "Retention Rate",
abs_change_pp = "Abs. Change (pp)",
rel_change_pct = "Rel. Change (%)"
) %>%
fmt_integer(columns = c(total_activations, total_retained)) %>%
fmt_percent(columns = retention_rate, decimals = 2) %>%
fmt_number(columns = c(abs_change_pp, rel_change_pct), decimals = 2, force_sign = TRUE) %>%
sub_missing(columns = c(abs_change_pp, rel_change_pct), missing_text = "—") %>%
cols_align(align = "left", columns = period) %>%
cols_align(
align = "right",
columns = c(total_activations, total_retained, retention_rate, abs_change_pp, rel_change_pct)
) %>%
tab_header(
title = md("**Overall Second-Week Retention Rate**"),
subtitle = "Pre vs. Post comparison of junior editors returning to publish an edit 7-14 days later"
) %>%
tab_style(style = cell_text(weight = "bold"), locations = cells_column_labels()) %>%
opt_stylize(5)
display_html(as_raw_html(retention_overview_table))| Overall Second-Week Retention Rate | |||||
|---|---|---|---|---|---|
| Pre vs. Post comparison of junior editors returning to publish an edit 7-14 days later | |||||
| Period | Distinct constructive editors | Second Week Retained | Retention Rate | Abs. Change (pp) | Rel. Change (%) |
# confirm stat sig
# Two-sample proportion z-test for retention rate
x1 <- retention_overall_summary %>% filter(period == "Post") %>% pull(total_retained)
n1 <- retention_overall_summary %>% filter(period == "Post") %>% pull(total_activations)
x2 <- retention_overall_summary %>% filter(period == "Pre") %>% pull(total_retained)
n2 <- retention_overall_summary %>% filter(period == "Pre") %>% pull(total_activations)
p1 <- x1 / n1
p2 <- x2 / n2
se_unpooled <- sqrt((p1 * (1 - p1) / n1) + (p2 * (1 - p2) / n2))
p_pooled <- (x1 + x2) / (n1 + n2)
se_pooled <- sqrt(p_pooled * (1 - p_pooled) * (1/n1 + 1/n2))
z_score <- (p1 - p2) / se_pooled
p_val <- 2 * (1 - pnorm(abs(z_score)))
retention_stat_df <- data.frame(
pre_prop = p2,
post_prop = p1,
abs_diff = p1 - p2,
relative_change = (p1 - p2) / p2,
ci_lower_95 = (p1 - p2) - (1.96 * se_unpooled),
ci_upper_95 = (p1 - p2) + (1.96 * se_unpooled),
p_value = p_val
)# Formatted Stat Summary gt Table
retention_stats_table <- retention_stat_df %>%
mutate(
pre_prop_pct = sprintf("%.2f%%", pre_prop * 100),
post_prop_pct = sprintf("%.2f%%", post_prop * 100),
abs_diff_pct = sprintf("%+.2f percentage points", abs_diff * 100),
rel_change_pct = sprintf("%+.2f%%", relative_change * 100),
ci_95_str = sprintf("[%+.2f, %+.2f] pp", ci_lower_95 * 100, ci_upper_95 * 100),
p_val_str = if_else(p_value < 0.001, "< 0.001", sprintf("%.4f", p_value))
) %>%
select(pre_prop_pct, post_prop_pct, abs_diff_pct, rel_change_pct, ci_95_str, p_val_str) %>%
gt() %>%
cols_label(
pre_prop_pct = "Pre-Deployment",
post_prop_pct = "Post-Deployment",
abs_diff_pct = "Absolute Difference",
rel_change_pct = "Relative Change",
ci_95_str = "95% CI (Difference)",
p_val_str = "p-value"
) %>%
tab_header(
title = md("**Second-Week Retention Rate: Stat Summary**"),
subtitle = "Two-sample proportion test comparing pre and post deployment retention"
) %>%
cols_align(align = "center", columns = everything()) %>%
tab_style(style = cell_text(weight = "bold"), locations = cells_column_labels()) %>%
tab_style(style = cell_fill(color = "#f8f9fa"), locations = cells_body()) %>%
opt_stylize(5)
display_html(as_raw_html(retention_stats_table))| Second-Week Retention Rate: Stat Summary | |||||
|---|---|---|---|---|---|
| Two-sample proportion test comparing pre and post deployment retention | |||||
| Pre-Deployment | Post-Deployment | Absolute Difference | Relative Change | 95% CI (Difference) | p-value |
Key Findings
# Aggregate data by day to get overall daily rates across all interfaces
daily_summary <- retention_data %>%
group_by(cohort_day, period) %>%
summarize(
daily_activations = sum(total_constructive_activations, na.rm = TRUE),
daily_retained = sum(second_week_retained, na.rm = TRUE),
daily_retention_rate = daily_retained / daily_activations,
.groups = "drop"
)
# 2. Calculate the weighted mean for each period (using the newly aggregated data)
period_means <- daily_summary %>%
filter(cohort_day != '2026-07-28') %>% #filter out deployment day
group_by(period) %>%
summarize(
mean_rate = sum(daily_retained) / sum(daily_activations),
start_date = if_else(period == "Pre", min(cohort_day), as.Date("2026-07-28")),
end_date = if_else(period == "Pre", as.Date("2026-07-27"), max(cohort_day)),
.groups = "drop"
) %>%
mutate(
# Find the midpoint of the line to center the text label
mid_date = start_date + floor(as.numeric(end_date - start_date) / 2),
# Create the label string (e.g., "Pre Avg: 25.60%")
avg_label = sprintf("%s Avg: %.2f%%", period, mean_rate * 100)
)
# 3. Define the Y-coordinate for the deployment annotation text/arrow
# Adjusted to look at the new daily summary dataframe
annotation_y <- max(daily_summary$daily_retention_rate, na.rm = TRUE) * 0.99
# 4. Create the plot (mapping to daily_summary and daily_retention_rate)
ggplot(daily_summary, aes(x = cohort_day, y = daily_retention_rate)) +
# A. Mean Lines
geom_segment(
data = period_means,
aes(x = start_date, xend = end_date, y = mean_rate, yend = mean_rate, color = period),
linewidth = 1.2,
linetype = "solid"
) +
# B. Average Labels (Placed above the mean lines)
geom_text(
data = period_means,
aes(x = mid_date, y = mean_rate, label = avg_label, color = period),
vjust = -1, # Pushes the text slightly above the line
fontface = "bold",
size = 3.5,
show.legend = FALSE # Prevents "a" from appearing in the legend
) +
# C. Daily Trend Line and Points
geom_line(color = "gray65", linewidth = 1) +
geom_point(aes(color = period), size = 3) +
# D. Deployment Dashed Line
geom_vline(
xintercept = as.numeric(as.Date("2026-07-28")),
linetype = "dashed",
color = "gray40",
linewidth = 0.8
) +
# E. Deployment Text Label
annotate(
"text",
x = as.Date("2026-07-28") - 1.8, # Places text 1.8 days to the left of the line
y = annotation_y,
label = "Mobile VE Default Deployment\n(July 28th)",
hjust = 1, # Right-aligns the text box
vjust = 0.5,
color = "black",
size = 3.5,
fontface = "bold"
) +
# F. Deployment Arrow
annotate(
"segment",
x = as.Date("2026-07-28") - 1.6, # Starts the arrow 1.6 days to the left
xend = as.Date("2026-07-28") - 0.2, # Ends the arrow 0.2 days to the left
y = annotation_y,
yend = annotation_y,
arrow = arrow(length = unit(0.2, "cm"), type = "closed"),
color = "black",
linewidth = 0.6
) +
# G. Formatting matching the screenshot
scale_y_continuous(labels = scales::percent_format(accuracy = 0.1)) +
scale_x_date(date_labels = "%b %d", date_breaks = "2 days") +
# Add the 'breaks' argument to force the legend order
scale_color_manual(
values = c("Pre" = "#2C3E50", "Post" = "#D35400"),
breaks = c("Pre", "Post")
) +
# H. Theming
labs(
title = "Second-Week Retention Rate by Daily Cohort",
subtitle = "Percentage of registered users (<=100 edits) returning to edit 7-14 days after completing a constructive edit",
x = "Registration Date",
y = "Retention Rate",
color = "Period"
) +
theme_minimal(base_size = 14) +
theme(
plot.title = element_text(face = "bold", margin = margin(b = 5)),
plot.subtitle = element_text(color = "gray40", margin = margin(b = 15), size = 11),
legend.position = "bottom",
legend.title = element_text(face = "bold", size = 14),
legend.text = element_text(size = 14),
panel.grid.minor = element_blank(),
# Rotates X-axis labels to 45 degrees
axis.text.x = element_text(angle = 45, hjust = 1)
)Key Findings
There was a massive spike in the retention rate on the deployment date (July 28th), potentially due to an influx of community testing or traffic changes following the deployment announcement. Note: This date was excluded from the statistical analysis, meaning the +4.93% relative lift reflects the genuine improvement observed once retention rates stabilized.
Following the initial spike, the overall stability of the post-deployment period looks healthier. During the pre-deployment week, daily retention dipped into the low 24% range twice. Post-deployment, the lowest daily cohort (around August 2nd) stayed above 25.4%. The deployment of Mobile VE as default appears to protect against those deeper drops, stabilizing retention at a consistently higher baseline.
Definition: The proportion of main namespace edit attempts that are abandoned before saving. We track this across two distinct drop-off points:
Purpose: This metric allows us to identify exactly where users are leaving the workflow. It will help us answer: did making Mobile VE the default cause more users to drop off immediately at the top of the funnel, or further down the funnel?
# load abandonment data
abandonment_data <-
read.csv(
file = 'data/abandonment_data.tsv',
header = TRUE,
sep = "\t",
stringsAsFactors = TRUE
) # clean and add labels
abandonment_data <- abandonment_data %>%
mutate(
# Ensure date column is in Date format
date = as.Date(date),
period = case_when(
date >= as.Date("2026-07-14") & date <= as.Date("2026-07-28") ~ "Pre", ## Add prep and post labels
date >= as.Date("2026-07-29") & date <= as.Date("2026-08-12") ~ "Post",
TRUE ~ NA_character_
))In these cases, a user aborted their edit attempt prior to making any changes.
nochange_overall_summary <- abandonment_data %>%
filter(date != as.Date("2026-07-28")) %>%
group_by(period) %>%
summarize(
total_sessions = n(),
nochange_count = sum(is_nochange, na.rm = TRUE),
nochange_rate = nochange_count / total_sessions,
.groups = "drop"
) %>%
mutate(period = factor(period, levels = c("Pre", "Post"))) %>%
arrange(period) %>%
mutate(
abs_change_pp = (nochange_rate - lag(nochange_rate)) * 100,
rel_change_pct = ((nochange_rate - lag(nochange_rate)) / lag(nochange_rate)) * 100
)
table_nochange_overall <- nochange_overall_summary %>%
gt() %>%
cols_label(
period = "Period",
total_sessions = "Total Edit Attempts",
nochange_count = "Abandoned (No Changes)",
nochange_rate = "No-Change Rate",
abs_change_pp = "Abs. Change (pp)",
rel_change_pct = "Rel. Change (%)"
) %>%
fmt_integer(columns = c(total_sessions, nochange_count)) %>%
fmt_percent(columns = nochange_rate, decimals = 2) %>%
fmt_number(columns = c(abs_change_pp, rel_change_pct), decimals = 2, force_sign = TRUE) %>%
sub_missing(columns = c(abs_change_pp, rel_change_pct), missing_text = "—") %>%
cols_align(align = "left", columns = period) %>%
cols_align(
align = "right",
columns = c(total_sessions, nochange_count, nochange_rate, abs_change_pp, rel_change_pct)
) %>%
tab_header(
title = md("**Overall Mobile Web Edit Abandonment Rate (No Changes)**"),
subtitle = "Pre vs. Post comparison of edits attempts abandoned with no changes"
) %>%
tab_style(style = cell_text(weight = "bold"), locations = cells_column_labels()) %>%
opt_stylize(5)
display_html(as_raw_html(table_nochange_overall))| Overall Mobile Web Edit Abandonment Rate (No Changes) | |||||
|---|---|---|---|---|---|
| Pre vs. Post comparison of edits attempts abandoned with no changes | |||||
| Period | Total Edit Attempts | Abandoned (No Changes) | No-Change Rate | Abs. Change (pp) | Rel. Change (%) |
# confirm stat sig
# 1. Extract values for the two-sample proportion z-test
x1_nc <- nochange_overall_summary %>% filter(period == "Post") %>% pull(nochange_count)
n1_nc <- nochange_overall_summary %>% filter(period == "Post") %>% pull(total_sessions)
x2_nc <- nochange_overall_summary %>% filter(period == "Pre") %>% pull(nochange_count)
n2_nc <- nochange_overall_summary %>% filter(period == "Pre") %>% pull(total_sessions)
p1_nc <- x1_nc / n1_nc
p2_nc <- x2_nc / n2_nc
se_unpooled_nc <- sqrt((p1_nc * (1 - p1_nc) / n1_nc) + (p2_nc * (1 - p2_nc) / n2_nc))
p_pooled_nc <- (x1_nc + x2_nc) / (n1_nc + n2_nc)
se_pooled_nc <- sqrt(p_pooled_nc * (1 - p_pooled_nc) * (1/n1_nc + 1/n2_nc))
z_score_nc <- (p1_nc - p2_nc) / se_pooled_nc
p_val_nc <- 2 * (1 - pnorm(abs(z_score_nc)))
# Create the statistical summary dataframe
nochange_stat_df <- data.frame(
pre_prop = p2_nc,
post_prop = p1_nc,
abs_diff = p1_nc - p2_nc,
relative_change = (p1_nc - p2_nc) / p2_nc,
ci_lower_95 = (p1_nc - p2_nc) - (1.96 * se_unpooled_nc),
ci_upper_95 = (p1_nc - p2_nc) + (1.96 * se_unpooled_nc),
p_value = p_val_nc
)
# create gt table
table_nochange_stats <- nochange_stat_df %>%
mutate(
pre_prop_pct = sprintf("%.2f%%", pre_prop * 100),
post_prop_pct = sprintf("%.2f%%", post_prop * 100),
abs_diff_pct = sprintf("%+.2f percentage points", abs_diff * 100),
rel_change_pct = sprintf("%+.2f%%", relative_change * 100),
ci_95_str = sprintf("[%+.2f, %+.2f] pp", ci_lower_95 * 100, ci_upper_95 * 100),
p_val_str = if_else(p_value < 0.001, "< 0.001", sprintf("%.4f", p_value))
) %>%
select(pre_prop_pct, post_prop_pct, abs_diff_pct, rel_change_pct, ci_95_str, p_val_str) %>%
gt() %>%
cols_label(
pre_prop_pct = "Pre-Deployment",
post_prop_pct = "Post-Deployment",
abs_diff_pct = "Absolute Difference",
rel_change_pct = "Relative Change",
ci_95_str = "95% CI (Difference)",
p_val_str = "p-value"
) %>%
tab_header(
title = md("**Mobile Web Abandonment Rate (No Changes): Stat Summary**"),
subtitle = "Two-sample proportion test"
) %>%
cols_align(align = "center", columns = everything()) %>%
tab_style(style = cell_text(weight = "bold"), locations = cells_column_labels()) %>%
tab_style(style = cell_fill(color = "#f8f9fa"), locations = cells_body()) %>%
opt_stylize(5)
display_html(as_raw_html(table_nochange_stats))| Mobile Web Abandonment Rate (No Changes): Stat Summary | |||||
|---|---|---|---|---|---|
| Two-sample proportion test | |||||
| Pre-Deployment | Post-Deployment | Absolute Difference | Relative Change | 95% CI (Difference) | p-value |
Key Findings
# 1. Aggregate data by day to get the daily no-change abandonment rate
daily_nochange_summary <- abandonment_data %>%
group_by(date, period) %>%
summarize(
daily_sessions = n(),
daily_nochange = sum(is_nochange, na.rm = TRUE),
daily_nochange_rate = daily_nochange / daily_sessions,
.groups = "drop"
)
period_means_nochange <- daily_nochange_summary %>%
filter(date != as.Date("2026-07-28")) %>% #filter out deployment date
group_by(period) %>%
summarize(
mean_rate = sum(daily_nochange) / sum(daily_sessions),
start_date = if_else(period == "Pre", min(daily_nochange_summary$date, na.rm = TRUE), as.Date("2026-07-28")),
end_date = if_else(period == "Pre", as.Date("2026-07-27"), max(daily_nochange_summary$date, na.rm = TRUE)),
.groups = "drop"
) %>%
mutate(
mid_date = start_date + floor(as.numeric(end_date - start_date) / 2),
avg_label = sprintf("%s Avg: %.2f%%", period, mean_rate * 100)
)
annotation_y_nc <- max(daily_nochange_summary$daily_nochange_rate, na.rm = TRUE) * 0.99
ggplot(daily_nochange_summary, aes(x = date, y = daily_nochange_rate)) +
# mean lines
geom_segment(
data = period_means_nochange,
aes(x = start_date, xend = end_date, y = mean_rate, yend = mean_rate, color = period),
linewidth = 1.2,
linetype = "solid"
) +
# Average Labels
geom_text(
data = period_means_nochange,
aes(x = mid_date, y = mean_rate, label = avg_label, color = period),
vjust = -1,
fontface = "bold",
size = 3.5,
show.legend = FALSE
) +
geom_line(color = "gray65", linewidth = 1) +
geom_point(aes(color = period), size = 3) +
geom_vline(
xintercept = as.numeric(as.Date("2026-07-28")),
linetype = "dashed",
color = "gray40",
linewidth = 0.8
) +
annotate(
"text",
x = as.Date("2026-07-28") - 1.8,
y = annotation_y_nc,
label = "Mobile VE Default Deployment\n(July 28th)",
hjust = 1,
vjust = 0.5,
color = "black",
size = 3.5,
fontface = "bold"
) +
annotate(
"segment",
x = as.Date("2026-07-28") - 1.6,
xend = as.Date("2026-07-28") - 0.2,
y = annotation_y_nc,
yend = annotation_y_nc,
arrow = arrow(length = unit(0.2, "cm"), type = "closed"),
color = "black",
linewidth = 0.6
) +
scale_y_continuous(labels = scales::percent_format(accuracy = 0.1)) +
scale_x_date(date_labels = "%b %d", date_breaks = "2 days") +
scale_color_manual(
values = c("Pre" = "#2C3E50", "Post" = "#D35400"),
breaks = c("Pre", "Post")
) +
labs(
title = "Daily Mobile Web Edit Abandonment Rate (No Changes)",
subtitle = "Proportion of main namespace edit attempts by registered users (<=100 edits) abandoned before any changes were made",
x = "Date",
y = "No-Change Rate",
color = "Period"
) +
theme_minimal(base_size = 14) +
theme(
plot.title = element_text(face = "bold", margin = margin(b = 5)),
plot.subtitle = element_text(color = "gray40", margin = margin(b = 15), size = 11),
legend.position = "bottom",
legend.title = element_text(size =14, face = "bold"),
legend.text = element_text(size = 14),
panel.grid.minor = element_blank(),
axis.text.x = element_text(angle = 45, hjust = 1)
)Key Findings
nochange_interface_summary <- abandonment_data %>%
filter(date != as.Date("2026-07-28")) %>%
group_by(editing_interface, period) %>%
summarize(
total_sessions = n(),
nochange_count = sum(is_nochange, na.rm = TRUE),
nochange_rate = nochange_count / total_sessions,
.groups = "drop"
) %>%
mutate(period = factor(period, levels = c("Pre", "Post"))) %>%
arrange(editing_interface, period) %>%
group_by(editing_interface) %>%
mutate(
abs_change_pp = (nochange_rate - lag(nochange_rate)) * 100,
rel_change_pct = ((nochange_rate - lag(nochange_rate)) / lag(nochange_rate)) * 100
) %>%
ungroup()
table_nochange_interface <- nochange_interface_summary %>%
gt(groupname_col = "editing_interface") %>%
cols_label(
period = "Period",
total_sessions = "Total Edit Attempts",
nochange_count = "Abandoned (No Changes)",
nochange_rate = "No-Change Rate",
abs_change_pp = "Abs. Change (pp)",
rel_change_pct = "Rel. Change (%)"
) %>%
fmt_integer(columns = c(total_sessions, nochange_count)) %>%
fmt_percent(columns = nochange_rate, decimals = 2) %>%
fmt_number(columns = c(abs_change_pp, rel_change_pct), decimals = 2, force_sign = TRUE) %>%
sub_missing(columns = c(abs_change_pp, rel_change_pct), missing_text = "—") %>%
cols_align(align = "left", columns = period) %>%
cols_align(
align = "right",
columns = c(total_sessions, nochange_count, nochange_rate, abs_change_pp, rel_change_pct)
) %>%
tab_header(
title = md("**Mobile Web Edit Abandonment Rate (No Changes) by Interface**"),
subtitle = "Pre vs. Post comparison of edits attempts abandoned with no changes"
) %>%
tab_style(style = cell_text(weight = "bold"), locations = cells_column_labels()) %>%
tab_style(style = cell_text(weight = "bold", transform = "capitalize"), locations = cells_row_groups()) %>%
opt_stylize(5)
display_html(as_raw_html(table_nochange_interface))| Mobile Web Edit Abandonment Rate (No Changes) by Interface | |||||
|---|---|---|---|---|---|
| Pre vs. Post comparison of edits attempts abandoned with no changes | |||||
| Period | Total Edit Attempts | Abandoned (No Changes) | No-Change Rate | Abs. Change (pp) | Rel. Change (%) |
| visualeditor | |||||
| wikitext | |||||
Key Findings
In these cases, a user aborted their edit attempt after making changes (e.g. typing).
#1. Aggregate abandonment (with changes) rate by period
abandon_changes_summary <- abandonment_data %>%
# Filter out deployment date
filter(date != as.Date("2026-07-28")) %>%
# Group by period and aggregate
group_by(period) %>%
summarize(
total_sessions = n(),
abandon_count = sum(is_abandoned, na.rm = TRUE),
abandon_rate = abandon_count / total_sessions,
.groups = "drop"
) %>%
mutate(period = factor(period, levels = c("Pre", "Post"))) %>%
arrange(period) %>%
# Calculate period-over-period differences
mutate(
abs_change_pp = (abandon_rate - lag(abandon_rate)) * 100,
rel_change_pct = ((abandon_rate - lag(abandon_rate)) / lag(abandon_rate)) * 100
)abandon_changes_table <- abandon_changes_summary %>%
gt() %>%
cols_label(
period = "Period",
total_sessions = "Total Edit Attempts",
abandon_count = "Abandoned (With Changes)",
abandon_rate = "Abandon Rate",
abs_change_pp = "Abs. Change (pp)",
rel_change_pct = "Rel. Change (%)"
) %>%
fmt_integer(columns = c(total_sessions, abandon_count)) %>%
fmt_percent(columns = abandon_rate, decimals = 2) %>%
fmt_number(columns = c(abs_change_pp, rel_change_pct), decimals = 2, force_sign = TRUE) %>%
sub_missing(columns = c(abs_change_pp, rel_change_pct), missing_text = "—") %>%
cols_align(align = "left", columns = period) %>%
cols_align(
align = "right",
columns = c(total_sessions, abandon_count, abandon_rate, abs_change_pp, rel_change_pct)
) %>%
tab_header(
title = md("**Mobile Web Edit Abandonment Rate (With Changes)**"),
subtitle = "Pre vs. Post comparison of the proportion of main namespace edit attempts that are abandoned with changes"
) %>%
tab_style(style = cell_text(weight = "bold"), locations = cells_column_labels()) %>%
opt_stylize(5)
display_html(as_raw_html(abandon_changes_table ))| Mobile Web Edit Abandonment Rate (With Changes) | |||||
|---|---|---|---|---|---|
| Pre vs. Post comparison of the proportion of main namespace edit attempts that are abandoned with changes | |||||
| Period | Total Edit Attempts | Abandoned (With Changes) | Abandon Rate | Abs. Change (pp) | Rel. Change (%) |
# confirm stat sig
#Extract values for the two-sample proportion z-test
x1_a <- abandon_changes_summary %>% filter(period == "Post") %>% pull(abandon_count)
n1_a <- abandon_changes_summary %>% filter(period == "Post") %>% pull(total_sessions)
x2_a <- abandon_changes_summary %>% filter(period == "Pre") %>% pull(abandon_count)
n2_a <- abandon_changes_summary %>% filter(period == "Pre") %>% pull(total_sessions)
p1_a <- x1_a / n1_a
p2_a <- x2_a / n2_a
se_unpooled_a <- sqrt((p1_a * (1 - p1_a) / n1_a) + (p2_a * (1 - p2_a) / n2_a))
p_pooled_a <- (x1_a + x2_a) / (n1_a + n2_a)
se_pooled_a <- sqrt(p_pooled_a * (1 - p_pooled_a) * (1/n1_a + 1/n2_a))
z_score_a <- (p1_a - p2_a) / se_pooled_a
p_val_a <- 2 * (1 - pnorm(abs(z_score_a)))
abandon_stat_df <- data.frame(
pre_prop = p2_a,
post_prop = p1_a,
abs_diff = p1_a - p2_a,
relative_change = (p1_a - p2_a) / p2_a,
ci_lower_95 = (p1_a - p2_a) - (1.96 * se_unpooled_a),
ci_upper_95 = (p1_a - p2_a) + (1.96 * se_unpooled_a),
p_value = p_val_a
)# create gt table
abandon_stats_table <- abandon_stat_df %>%
mutate(
pre_prop_pct = sprintf("%.2f%%", pre_prop * 100),
post_prop_pct = sprintf("%.2f%%", post_prop * 100),
abs_diff_pct = sprintf("%+.2f percentage points", abs_diff * 100),
rel_change_pct = sprintf("%+.2f%%", relative_change * 100),
ci_95_str = sprintf("[%+.2f, %+.2f] pp", ci_lower_95 * 100, ci_upper_95 * 100),
p_val_str = if_else(p_value < 0.001, "< 0.001", sprintf("%.4f", p_value))
) %>%
select(pre_prop_pct, post_prop_pct, abs_diff_pct, rel_change_pct, ci_95_str, p_val_str) %>%
gt() %>%
cols_label(
pre_prop_pct = "Pre-Deployment",
post_prop_pct = "Post-Deployment",
abs_diff_pct = "Absolute Difference",
rel_change_pct = "Relative Change",
ci_95_str = "95% CI (Difference)",
p_val_str = "p-value"
) %>%
tab_header(
title = md("**Mobile Edit Abandonment Rate (With Changes): Stat Summary**"),
subtitle = "Two-sample proportion test"
) %>%
cols_align(align = "center", columns = everything()) %>%
tab_style(style = cell_text(weight = "bold"), locations = cells_column_labels()) %>%
tab_style(style = cell_fill(color = "#f8f9fa"), locations = cells_body()) %>%
opt_stylize(5)
display_html(as_raw_html(abandon_stats_table))| Mobile Edit Abandonment Rate (With Changes): Stat Summary | |||||
|---|---|---|---|---|---|
| Two-sample proportion test | |||||
| Pre-Deployment | Post-Deployment | Absolute Difference | Relative Change | 95% CI (Difference) | p-value |
Key Findings
#1. Aggregate data by day to get the daily abandonment rate
daily_abandon_summary <- abandonment_data %>%
group_by(date, period) %>%
reframe(
daily_sessions = n(),
daily_abandoned = sum(is_abandoned, na.rm = TRUE),
daily_abandon_rate = daily_abandoned / daily_sessions,
.groups = "drop"
)
# 2. Calculate the weighted mean for each period (excluding the July 28th anomaly)
period_means_abandon <- daily_abandon_summary %>%
filter(date != as.Date("2026-07-28")) %>%
group_by(period) %>%
reframe(
mean_rate = sum(daily_abandoned) / sum(daily_sessions),
start_date = if_else(period == "Pre", min(daily_abandon_summary$date, na.rm = TRUE), as.Date("2026-07-28")),
end_date = if_else(period == "Pre", as.Date("2026-07-27"), max(daily_abandon_summary$date, na.rm = TRUE)),
.groups = "drop"
) %>%
mutate(
# Find the midpoint of the line to center the text label
mid_date = start_date + floor(as.numeric(end_date - start_date) / 2),
# Create the label string
avg_label = sprintf("%s Avg: %.2f%%", period, mean_rate * 100)
)
# 3. Define the Y-coordinate for the deployment annotation text/arrow
annotation_y <- max(daily_abandon_summary$daily_abandon_rate, na.rm = TRUE) * 0.99
# 4. Create the plot
ggplot(daily_abandon_summary, aes(x = date, y = daily_abandon_rate)) +
# A. Mean Lines
geom_segment(
data = period_means_abandon,
aes(x = start_date, xend = end_date, y = mean_rate, yend = mean_rate, color = period),
linewidth = 1.2,
linetype = "solid"
) +
# B. Average Labels
geom_text(
data = period_means_abandon,
aes(x = mid_date, y = mean_rate, label = avg_label, color = period),
vjust = -1,
fontface = "bold",
size = 3.5,
show.legend = FALSE
) +
# C. Daily Trend Line and Points
geom_line(color = "gray65", linewidth = 1) +
geom_point(aes(color = period), size = 3) +
# D. Deployment Dashed Line
geom_vline(
xintercept = as.numeric(as.Date("2026-07-28")),
linetype = "dashed",
color = "gray40",
linewidth = 0.8
) +
# E. Deployment Text Label
annotate(
"text",
x = as.Date("2026-07-28") - 1.8,
y = annotation_y,
label = "Mobile VE Default Deployment\n(July 28th)",
hjust = 1,
vjust = 0.5,
color = "black",
size = 3.5,
fontface = "bold"
) +
# F. Deployment Arrow
annotate(
"segment",
x = as.Date("2026-07-28") - 1.6,
xend = as.Date("2026-07-28") - 0.2,
y = annotation_y,
yend = annotation_y,
arrow = arrow(length = unit(0.2, "cm"), type = "closed"),
color = "black",
linewidth = 0.6
) +
# G. Formatting
scale_y_continuous(labels = scales::percent_format(accuracy = 0.1)) +
scale_x_date(date_labels = "%b %d", date_breaks = "2 days") +
scale_color_manual(
values = c("Pre" = "#2C3E50", "Post" = "#D35400"),
breaks = c("Pre", "Post")
) +
# H. Theming
labs(
title = "Daily Edit Abandonment Rate (With Changes)",
subtitle = "Proportion of main namespace edit attempts by registered users (<=100 edits) abandoned after changes were made",
x = "Date",
y = "Abandonment Rate",
color = "Period"
) +
theme_minimal(base_size = 14) +
theme(
plot.title = element_text(face = "bold", margin = margin(b = 5)),
plot.subtitle = element_text(color = "gray40", margin = margin(b = 15), size = 11),
legend.position = "bottom",
legend.title = element_text(size = 14, face = "bold"),
panel.grid.minor = element_blank(),
axis.text.x = element_text(angle = 45, hjust = 1)
)# 1. Aggregate abandonment (with changes) rate by interface and period
abandon_interface_summary <- abandonment_data %>%
# Clean the data
filter(!is.na(period)) %>%
filter(date != as.Date("2026-07-28")) %>%
# Group by both interface and period
group_by(editing_interface, period) %>%
summarize(
total_sessions = n(),
abandon_count = sum(is_abandoned, na.rm = TRUE),
abandon_rate = abandon_count / total_sessions,
.groups = "drop"
) %>%
# Ensure Period is ordered correctly for the lag() function
mutate(period = factor(period, levels = c("Pre", "Post"))) %>%
arrange(editing_interface, period) %>%
# Calculate Pre/Post changes within each specific interface
group_by(editing_interface) %>%
mutate(
abs_change_pp = (abandon_rate - lag(abandon_rate)) * 100,
rel_change_pct = ((abandon_rate - lag(abandon_rate)) / lag(abandon_rate)) * 100
) %>%
ungroup()
# 2. Format as a clean gt() table
table_abandon_interface <- abandon_interface_summary %>%
gt(groupname_col = "editing_interface") %>% # Groups the table rows by interface
cols_label(
period = "Period",
total_sessions = "Total Edit Attempts",
abandon_count = "Abandoned (With Changes)",
abandon_rate = "Abandon Rate",
abs_change_pp = "Abs. Change (pp)",
rel_change_pct = "Rel. Change (%)"
) %>%
fmt_integer(columns = c(total_sessions, abandon_count)) %>%
fmt_percent(columns = abandon_rate, decimals = 2) %>%
fmt_number(columns = c(abs_change_pp, rel_change_pct), decimals = 2, force_sign = TRUE) %>%
sub_missing(columns = c(abs_change_pp, rel_change_pct), missing_text = "—") %>%
cols_align(align = "left", columns = period) %>%
cols_align(
align = "right",
columns = c(total_sessions, abandon_count, abandon_rate, abs_change_pp, rel_change_pct)
) %>%
tab_header(
title = md("**Mobile Web Edit Abandonment Rate (With Changes) by Interface**"),
subtitle = "Pre vs. Post comparison of the proportion of main namespace edit attempts that are abandoned with changes"
) %>%
tab_style(style = cell_text(weight = "bold"), locations = cells_column_labels()) %>%
tab_style(style = cell_text(weight = "bold", transform = "capitalize"), locations = cells_row_groups()) %>%
opt_stylize(5)
display_html(as_raw_html(table_abandon_interface))| Mobile Web Edit Abandonment Rate (With Changes) by Interface | |||||
|---|---|---|---|---|---|
| Pre vs. Post comparison of the proportion of main namespace edit attempts that are abandoned with changes | |||||
| Period | Total Edit Attempts | Abandoned (With Changes) | Abandon Rate | Abs. Change (pp) | Rel. Change (%) |
| visualeditor | |||||
| wikitext | |||||
Summary of Findings
Constructive activation rate has been deferred pending the release of the monthly mediawiki history snapshots to ensure data accuracy, as some anomalies were identified in the available event data to identify mobile registrations.↩︎