Examine individual changes

Abuse Filter navigation (Home | Recent filter changes | Examine past edits | Abuse log)
Jump to navigation Jump to search

This page allows you to examine the variables generated by the Abuse Filter for an individual change, and test it against filters.

Variables generated for this change

VariableValue
Edit count of the user (user_editcount)
0
Name of the user account (user_name)
Supyovalk
Age of the user account (user_age)
213
Page ID (page_id)
10240
Page namespace (page_namespace)
0
Page title (without namespace) (page_title)
Binary to unary conversion
Full page title (page_prefixedtitle)
Binary to unary conversion
Action (action)
edit
Edit summary/reason (summary)
/* Examples in programming languages */
Old content model (old_content_model)
wikitext
New content model (new_content_model)
wikitext
Old page wikitext, before the edit (no more in use) (old_wikitext)
A '''binary to unary conversion''' program is a program that can convert a given number in binary form to a unary form. It is mainly used to showcase [[Markov algorithm]] ([https://en.wikipedia.org/wiki/Markov_algorithm wikipedia]). Its steps are as follows: # Replace all instances of <code>1</code> with <code>0*</code> (<code>*</code> can be any character) # Replace all instances of <code>*0</code> with <code>0**</code> # Remove all instances of <code>0</code> For example, here is the conversion of <code>1001</code> to <code>*********</code>: # <code><font color=red>1</font>00<font color=red>1</font></code>: ## <code><font color=red>1</font>00<font color=red>1</font></code> -> <code><font color=red>0*</font>00<font color=red>0*</font></code> # <code>0*000*</code>: ## <code>0<font color=red>*0</font>00*</code> -> <code>0<font color=red>0**</font>00*</code> ## <code>00*<font color=red>*0</font>0*</code> -> <code>00*<font color=red>0**</font>0*</code> ## <code>00<font color=red>*0</font>*<font color=red>*0</font>*</code> -> <code>00<font color=red>0**</font>*<font color=red>0**</font>*</code> ## <code>000**<font color=red>*0</font>***</code> -> <code>000**<font color=red>0**</font>***</code> ## <code>000*<font color=red>*0</font>*****</code> -> <code>000*<font color=red>0**</font>*****</code> ## <code>000<font color=red>*0</font>*******</code> -> <code>000<font color=red>0**</font>*******</code> # <code><font color=red>0000</font>*********</code> -> <code>*********</code> __TOC__ == Examples in programming languages == === [[:///#Binary to unary conversion|///]] === /1/0*//*0/0**//0//100010 === [[Retina#Binary to unary conversion|Retina]] === 1 0* +`\*0 0** 0 (an extra line must be present) [http://retina.tryitonline.net/#code=MQowKgorYFwqMAowKioKMAo&input=MTAwMQ Try it online.] === [https://en.wikipedia.org/wiki/Sed Sed] === s/1/0*/g;:x;s/\*0/0**/g;tx;s/0//g [[Category:Program forms]]
New page wikitext, after the edit (new_wikitext)
A '''binary to unary conversion''' program is a program that can convert a given number in binary form to a unary form. It is mainly used to showcase [[Markov algorithm]] ([https://en.wikipedia.org/wiki/Markov_algorithm wikipedia]). Its steps are as follows: # Replace all instances of <code>1</code> with <code>0*</code> (<code>*</code> can be any character) # Replace all instances of <code>*0</code> with <code>0**</code> # Remove all instances of <code>0</code> For example, here is the conversion of <code>1001</code> to <code>*********</code>: # <code><font color=red>1</font>00<font color=red>1</font></code>: ## <code><font color=red>1</font>00<font color=red>1</font></code> -> <code><font color=red>0*</font>00<font color=red>0*</font></code> # <code>0*000*</code>: ## <code>0<font color=red>*0</font>00*</code> -> <code>0<font color=red>0**</font>00*</code> ## <code>00*<font color=red>*0</font>0*</code> -> <code>00*<font color=red>0**</font>0*</code> ## <code>00<font color=red>*0</font>*<font color=red>*0</font>*</code> -> <code>00<font color=red>0**</font>*<font color=red>0**</font>*</code> ## <code>000**<font color=red>*0</font>***</code> -> <code>000**<font color=red>0**</font>***</code> ## <code>000*<font color=red>*0</font>*****</code> -> <code>000*<font color=red>0**</font>*****</code> ## <code>000<font color=red>*0</font>*******</code> -> <code>000<font color=red>0**</font>*******</code> # <code><font color=red>0000</font>*********</code> -> <code>*********</code> __TOC__ == Examples in programming languages == === Phyton 3.0 === def binarytounary(bstring): bstring = bstring.replace("1","0*") print(bstring) while "*0" in bstring: bstring=bstring.replace("*0","0**") print(bstring) return bstring.replace("0","") === [[:///#Binary to unary conversion|///]] === /1/0*//*0/0**//0//100010 === [[Retina#Binary to unary conversion|Retina]] === 1 0* +`\*0 0** 0 (an extra line must be present) [http://retina.tryitonline.net/#code=MQowKgorYFwqMAowKioKMAo&input=MTAwMQ Try it online.] === [https://en.wikipedia.org/wiki/Sed Sed] === s/1/0*/g;:x;s/\*0/0**/g;tx;s/0//g [[Category:Program forms]]
Unified diff of changes made by edit (edit_diff)
@@ -21,4 +21,13 @@ == Examples in programming languages == +=== Phyton 3.0 === + + def binarytounary(bstring): + bstring = bstring.replace("1","0*") + print(bstring) + while "*0" in bstring: + bstring=bstring.replace("*0","0**") + print(bstring) + return bstring.replace("0","") === [[:///#Binary to unary conversion|///]] ===
New page size (new_size)
2169
Old page size (old_size)
1935
Lines added in edit (added_lines)
=== Phyton 3.0 === def binarytounary(bstring): bstring = bstring.replace("1","0*") print(bstring) while "*0" in bstring: bstring=bstring.replace("*0","0**") print(bstring) return bstring.replace("0","")
Unix timestamp of change (timestamp)
1599575985