Last modified: 2010-06-10 13:54:00 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 T25872, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23872 - Setting 'autocomplete' in forminput causes problems when 'namespace=X' is also set.
Setting 'autocomplete' in forminput causes problems when 'namespace=X' is als...
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-10 08:44 UTC by Dan Bolser
Modified: 2010-06-10 13:54 UTC (History)
1 user (show)

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


Attachments

Description Dan Bolser 2010-06-10 08:44:07 UTC
If I create a page called 'MyPage' with a forminput parser function like this:

{{#forminput: someform | query string=namespace=X }}


I get a page called 'X:MyPage' (lets assume it is in the category MyCat). So far so good.


Now if I try to be clever and help users to find pages that already exist when they go to 'Create or edit' pages using the forminput, I might try something like this:


{{#forminput: someform
 | query string=namespace=X
 | autocomplete on category=MyCat
}}


When I start typing 'MyPage' the value for 'X:MyPage' appears, and I can select it. However, when I click 'Create or edit', I'm taken to the page 'X:X:MyPage', which doesn't exist.

Oh... I see this is now... fixed...

http://scratchpad.referata.com/wiki/Form:Some_form


Well... at least you have a bug to tick off! You know... I think I only ever imagined that this was broken because the class in question has a very small form and a big text area ... oh well
Comment 1 Yaron Koren 2010-06-10 13:05:08 UTC
Hi, do I understand this right? You realized halfway through creating the bug report that it's not actually a bug, but then submitted it anyway?
Comment 2 Dan Bolser 2010-06-10 13:31:04 UTC
Sorry!
Comment 3 Yaron Koren 2010-06-10 13:54:00 UTC
Alright, then; setting to "invalid".

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


Navigation
Links