Last modified: 2011-09-14 20:43:03 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 T32900, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30900 - Special:Search is incorrectly erroring about invalid page names
Special:Search is incorrectly erroring about invalid page names
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.20.x
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 29068
  Show dependency treegraph
 
Reported: 2011-09-14 18:08 UTC by Krinkle
Modified: 2011-09-14 20:43 UTC (History)
1 user (show)

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


Attachments

Description Krinkle 2011-09-14 18:08:53 UTC
> "Javascript" is an invalid page name or cannot be created by you.

I'm getting this message on translatewiki.net when logged out. When logged in:

> Create the page "Javascript" on this wiki!

The error message is incorrect about the first part.

Not sure if this happends in 1.18 as well, adding as blocker for deployment for now.
Comment 1 Brion Vibber 2011-09-14 18:12:12 UTC
Looks correct enough to me: http://translatewiki.net/wiki/Javascript?action=edit

"Permission error

You do not have permission to edit this page, for the following reason:

translatewiki.net has restricted the ability to create new pages. You can go back and edit an existing page, or log in or create an account."
Comment 2 Bawolff (Brian Wolff) 2011-09-14 18:15:14 UTC
I think Krinkle means the link from http://translatewiki.net/wiki/Special:Search/Javascript (I can reproduce what he's saying). The error message should be you're not authorized to create the page (or whatever), not that the page title is illegal.
Comment 3 Bawolff (Brian Wolff) 2011-09-14 18:18:36 UTC
(In reply to comment #2)
> I think Krinkle means the link from
> http://translatewiki.net/wiki/Special:Search/Javascript (I can reproduce what
> he's saying). The error message should be you're not authorized to create the
> page (or whatever), not that the page title is illegal.

Or actually, I guess that is what the "cannot be created by you" part of  ""Javascript" is an invalid page name or cannot be created by you." means. But I think in the case of no permission it should just not have an error message, or at least have the message be only about that.
Comment 4 Brion Vibber 2011-09-14 19:31:54 UTC
Well, there's no reason for it to bother telling you that some arbitrary string you searched for isn't a creatable title in the first place, IMO. So I'll agree that the message is a bit pointless. :)
Comment 5 Brion Vibber 2011-09-14 19:38:14 UTC
r65902 which introduced this message claims that searchmenu-new-nocreate should be empty by default, so nothing will be shown unless local site admins add text to opt in to that feature.

Looks like somebody else went in and changed it later... Siebrand in r80746, in reference to bug 26747.
Comment 6 Brion Vibber 2011-09-14 20:43:03 UTC
Reverted functional bits of r80746 & the numerous translations of this bogus text from trunk in r97098.

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


Navigation
Links