Last modified: 2012-02-16 20:03:38 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 T36287, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34287 - [RT] fatal error when "pages with the prefix" field contains a namespace followed by a colon
[RT] fatal error when "pages with the prefix" field contains a namespace foll...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ReplaceText (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-09 03:57 UTC by badon
Modified: 2012-02-16 20:03 UTC (History)
2 users (show)

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


Attachments

Description badon 2012-02-09 03:57:25 UTC
The error:

Fatal error: Call to a member function getDbKey() on a non-object in /path/to/extensions/ReplaceText/SpecialReplaceText.php on line 575

occurs when the field "Replace only in pages with the prefix" contains an existing namespace, followed by a colon. For example, this will not trigger the bug:

Template

But this will:

Template:
Comment 1 Yaron Koren 2012-02-14 05:13:51 UTC
I just got rid of this error in SVN, though prefixes still don't actually work for namespaces.
Comment 2 badon 2012-02-16 20:03:38 UTC
Are prefixes supposed to work for namespaces? The checkboxes can handle the namespaces exclusively, but it could be faster for keyboard users - which is how I encountered this error originally.

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


Navigation
Links