Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// <nowiki>
!"autoconfirmed" in user_groups & // The filter only applies to users that are not autoconfirmed
page_namespace == 0 & // The filter only applies to the main namespace
(
	apklink := "(https?:\/\/|www?\d?\.)\S*apk"; // It looks for sequences with both "http(s)://" and "apk" in it (without spaces in between)
	
	added_lines irlike (apklink) &
	!(added_lines irlike "napkins?|shapkas?|chapkas?|czapkas?|hapkidos?") // These words with "apk" in them are not filtered.
	!(added_lines irlike "{{db-[a-z0-9]{2,15}(\||}})|{{db\||{{db}}|{{speedy deletion-") & // It does not filter edits that nominate an article for speedy deletion
	!(removed_lines irlike (apklink)) &
	!(summary rlike "WP:TW"); // It does not filter edits that are done using Twinkle (which in most cases rollback vandalism, etc.)
)
// </nowiki>