https://bugzilla.wikimedia.org/show_bug.cgi?id=23872
Summary: Setting 'autocomplete' in forminput causes problems
when 'namespace=X' is also set.
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: Normal
Component: SemanticForms
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l