https://bugzilla.wikimedia.org/show_bug.cgi?id=34848
--- Comment #5 from [email protected] 2012-03-05 19:01:37 UTC --- (In reply to comment #4) > How can you tell that's what the user wants ? > > I know some wikis have pages like "Category:Wikipedia:Foobar" or > "Wikipedia:Category:Foo". > > When on "Wikipedia:Foo" and wanting to move it to "Wikipedia:Category:Foo" and > you'd paste "Category:Foo" in the title field, then it shouldn't change the > namespace selector. Ok. So, maybe it would be better to ask the user? In your example, after the text "Category:Foo" is pasted in the title field, the script would aks something like this: ---- Do you want to move the page to which of these names? [x] Category:Foo [ ] Wikipedia:Category:Foo ---- > Also to parse titles, use mw.Title. I didn't read its code yet, but I'll do for next time =) PS: this needs to be documented on https://www.mediawiki.org/wiki/ResourceLoader/Default_modules -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
