Last modified: 2014-05-03 18:40:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T25084, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23084 - [Lockdown] Breaks MediaWiki Search including Numbers
[Lockdown] Breaks MediaWiki Search including Numbers
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Lockdown (Other open bugs)
unspecified
All All
: Low major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-07 20:21 UTC by ZRHwiki
Modified: 2014-05-03 18:40 UTC (History)
2 users (show)

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


Attachments
Working version of Lockdown extension (3.97 KB, text/x-wiki)
2010-04-07 20:21 UTC, ZRHwiki
Details
Latest SVN version of Lockdown extension (6.80 KB, text/x-wiki)
2010-04-07 20:24 UTC, ZRHwiki
Details

Description ZRHwiki 2010-04-07 20:21:14 UTC
Created attachment 7276 [details]
Working version of Lockdown extension

The latest SVN version of the Lockdown extension used with the latest SVN version of MediaWiki blocks some MediaWiki searches.

Step by step:

1. Install latest SVN version of MediaWiki and the Lockdown extension (trunk)
2. Enter a search term including a number, e.g. 'a380'

Expected result:

Search results

Actual result:

White page

Workaround:

Older versions of Lockdown do not cause the problem.
Comment 1 ZRHwiki 2010-04-07 20:24:46 UTC
Created attachment 7277 [details]
Latest SVN version of Lockdown extension
Comment 2 Max Semenik 2010-04-08 15:19:32 UTC
Just removing the crashing function is not an option. By the way, next time please submit patches as unified diffs, otherwise it'll be almost impossible to review.
Comment 3 Max Semenik 2010-04-08 15:29:11 UTC
I tried to reproduce the error, but discovered nothing. Please follow http://www.mediawiki.org/wiki/Manual:Errors_and_Symptoms#You_see_a_Blank_Page to find out the details of the error and post them here, also please attach part of your LocalSettings.php related to Lockdown.
Comment 4 ZRHwiki 2010-04-08 19:28:46 UTC
(In reply to comment #3)
> I tried to reproduce the error, but discovered nothing. Please follow
> http://www.mediawiki.org/wiki/Manual:Errors_and_Symptoms#You_see_a_Blank_Page
> to find out the details of the error and post them here,

I receive the following error message:

Fatal error: Cannot break/continue 1 level in /home/…/w/extensions/Lockdown/Lockdown.php on line 164

> also please attach
> part of your LocalSettings.php related to Lockdown.

require_once("$IP/extensions/Lockdown/Lockdown.php" );
$wgSpecialPageLockdown['Export'] = array('sysop');
$wgSpecialPageLockdown['Statistics'] = array('sysop');
Comment 5 ZRHwiki 2010-04-08 19:29:26 UTC
(In reply to comment #2)
> Just removing the crashing function is not an option. By the way, next time
> please submit patches as unified diffs, otherwise it'll be almost impossible to
> review.

Wilco! :)

(Thank you for your help, I appreciate it!)
Comment 6 Andre Klapper 2012-10-23 21:24:50 UTC
ZRHwiki: Is that still an issue in recent versions?

C'ing the maintainer.

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


Navigation
Links