Last modified: 2006-08-17 05:08:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 7038 - Trivial capitalisation in FindSpam makes the whole thing not work
Trivial capitalisation in FindSpam makes the whole thing not work
Product: MediaWiki extensions
Classification: Unclassified
General/Unknown (Other open bugs)
PC Windows XP
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2006-08-17 04:38 UTC by William Scales
Modified: 2006-08-17 05:08 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description William Scales 2006-08-17 04:38:36 UTC
A single miscapitalisation ("Findspam" instead of "FindSpam") caused it to not
be able to progress pass the IP entry stage.

How to reproduce:
Go to [[Special:FindSpam]], enter an IP address and submit.

Returns a "No such special page" error.

Expected results:
Spam should be found. :P

Firefox, mediawiki 1.8alpha
Should occur on any system though

I have prepared a simple patch that fixed it for me:

Index: FindSpam_body.php
--- FindSpam_body.php   (revision 16098)
+++ FindSpam_body.php   (working copy)
@@ -29,7 +29,7 @@
                $ip = $wgRequest->getText( 'ip' );

                # Show form
-               $self = Title::makeTitle( NS_SPECIAL, 'Findspam' );
+               $self = Title::makeTitle( NS_SPECIAL, 'FindSpam' );
                $form  = wfOpenElement( 'form', array( 'method' => 'post', 'actio
n' => $self->getLocalUrl() ) );
                $form .= '<table><tr><td align="right">' . wfMsgHtml( 'findspam-i
p' ) . '</td>';
                $form .= '<td>' . wfInput( 'ip', 50, $ip ) . '</td></tr>';
Comment 1 Brion Vibber 2006-08-17 05:08:23 UTC
Applied on r16100

Note You need to log in before you can comment on or make changes to this bug.