I want to check if an uploaded file with a dimention defined by variable file_width and file_height contains a define wikitext. According to Note text in main page: "Variables related to the page edit, including summary, new_wikitext and several others, are now available for action='upload'" i suppose that i can use new_wikitext on this purpose, but it do not work. Can someone help me with this issue?
Topic on Extension talk:AbuseFilter/Rules format
Appearance
It looks like the new_wikitext variable isn't available when examining past uploads. Try creating your filter, it should work.
new_wikitext should indeed work. Edit-related variables are not available when using /test because that data is saved separately in the recentchanges table, and AbuseFilter doesn't query it at the moment.
Yes, i've already saw that. Thank you 2 for confirm. Grazie mille:)!