[Bug 62701] Add hook to make it possible to check other open proxy lists besides $wgProxyList
https://bugzilla.wikimedia.org/show_bug.cgi?id=62701 Nathan Larson nathanlarson3...@gmail.com changed: What|Removed |Added Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Nathan Larson nathanlarson3...@gmail.com --- Darn, wish I'd known about that extension yesterday. Anyway, it looks like you're right about the userCan hook; this adaptation of [[mw:Extension:RudeProxyBlock]] works: $wgHooks['userCan'][] = 'efBlockOpenProxies'; $wgRudeProxyBlockDelimiter = \n; function efBlockOpenProxies( $title, $user, $action, $result ) { if ( $action == 'edit' ) { global $wgRudeProxyBlockDelimiter, $wgProxyList; $ip = $wgUser-getRequest()-getIP(); $openProxies = explode( $wgRudeProxyBlockDelimiter, wfMsg( 'openproxylist' ) ); if ( in_array( $ip, $openProxies ) ) { $wgProxyList[] = $ip; } } return true; } -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 62701] Add hook to make it possible to check other open proxy lists besides $wgProxyList
https://bugzilla.wikimedia.org/show_bug.cgi?id=62701 --- Comment #4 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 118942 abandoned by leucosticte: Add LocallyBlockedProxy hook Reason: Unnecessary; the userCan hook will suffice https://gerrit.wikimedia.org/r/118942 -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 62701] Add hook to make it possible to check other open proxy lists besides $wgProxyList
https://bugzilla.wikimedia.org/show_bug.cgi?id=62701 Nathan Larson nathanlarson3...@gmail.com changed: What|Removed |Added Priority|Unprioritized |Low CC||wikib...@emsenhuber.ch -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 62701] Add hook to make it possible to check other open proxy lists besides $wgProxyList
https://bugzilla.wikimedia.org/show_bug.cgi?id=62701 Gerrit Notification Bot gerritad...@wikimedia.org changed: What|Removed |Added Status|NEW |PATCH_TO_REVIEW -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 62701] Add hook to make it possible to check other open proxy lists besides $wgProxyList
https://bugzilla.wikimedia.org/show_bug.cgi?id=62701 --- Comment #1 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 118942 had a related patch set uploaded by leucosticte: Add LocallyBlockedProxy hook https://gerrit.wikimedia.org/r/118942 -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 62701] Add hook to make it possible to check other open proxy lists besides $wgProxyList
https://bugzilla.wikimedia.org/show_bug.cgi?id=62701 Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com changed: What|Removed |Added CC||legoktm.wikipe...@gmail.com --- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com --- Eh, can't you just use the userCan hook? Also for SFS, you can use [[mw:Extension:StopForumSpam]] :) -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l