OT: How did you compute this p-value directly? I have never seen this approach and would be really grateful if you could point me towards a source for this approach.
Various statistical tests exist for taking this into account. With Fisher's exact test [0], we find a $p$-value close to yours:
In [6]: from scipy.stats import fisher_exact, binom
In [7]: binom(12, 12/262).sf(1)
Out[7]: 0.10211478280975775
In [8]: fisher_exact([[2, 10], [10, 240]])[1]
Out[8]: 0.098322319292822702
However, had we not had such a large male sample size, the values might differ greatly; say, for instance, that we had had 3 deletion attempts out of 33 articles on males instead. Then we find In [12]: binom(12, 5/45).sf(1)
Out[12]: 0.39171131326925679
In [13]: fisher_exact([[2, 10], [3, 30]])[1]
Out[13]: 0.59808767522891315
[0]: https://en.wikipedia.org/wiki/Fisher's_exact_testI suppose I could have made a more conservative estimate by not using the female samples in the calculation of 'p'.
I also don't quite like the way Fisher's test fixes the total number of deleted articles, but I guess a more sophisticated test assuming only the total number of female and male articles to be fixed could get a bit complicated.