https://bugzilla.wikimedia.org/show_bug.cgi?id=47985

--- Comment #6 from [email protected] ---
I don't know how to add an attachment, but something like this should work.

Change (line 53 - 55 in the current source)

if ( $content instanceof TextContent ) {
 $textContent = $content->getNativeData();
} else {

Into:

if ( $content instanceof TextContent ) {
 $textContent = $content->getNativeData();
 if ( strpos ( $textContent, "|deny=Translation Notification Bot" ) || strpos (
$textContent, "{{nobots}}" ) ) {
  return true;
} else {

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to