Last modified: 2009-04-27 04:44:26 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 T16609, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14609 - User's namespaces to be searched default not updated after adding new namespace
User's namespaces to be searched default not updated after adding new namespace
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Andrew Garrett
:
Depends on: 5363
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-22 14:37 UTC by Danny B.
Modified: 2009-04-27 04:44 UTC (History)
3 users (show)

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


Attachments

Description Danny B. 2008-06-22 14:37:02 UTC
When the new namespace is added and such namespace is added to $wgNamespacesToBeSearchedDefault then it should also add this namespace to all user's preferences. I guess some maintenance script will be necessary for that.
Comment 1 Alexandre Emsenhuber [IAlex] 2008-06-25 17:35:40 UTC
Note: there's already maintenance/userOptions.php.
Comment 2 Robert Stojnic 2008-10-22 23:11:37 UTC
Fixed in 42352
Comment 3 Robert Stojnic 2009-04-24 10:23:00 UTC
Did a quick testing, found couple of issues with new preferences. Scenario:

1) Take a user created before the merge
2) add some namespace to $wgNamespacesToBeSearchedDefault
3) since old/new namespaces seem to get intersected, the modification of 2) doesn't really influence the user
4) try changing some of namespaces this user searches via preferences by e.g. adding some namespace, error is returned: "There are problems with some of your input", changes are not saved 


Comment 4 Andrew Garrett 2009-04-27 03:00:08 UTC
(In reply to comment #3)
> Did a quick testing, found couple of issues with new preferences. Scenario:
> 
> 1) Take a user created before the merge
> 2) add some namespace to $wgNamespacesToBeSearchedDefault
> 3) since old/new namespaces seem to get intersected, the modification of 2)
> doesn't really influence the user
> 4) try changing some of namespaces this user searches via preferences by e.g.
> adding some namespace, error is returned: "There are problems with some of your
> input", changes are not saved 

Seems to be because updating default options doesn't seem to purge the user cache.
Comment 5 Andrew Garrett 2009-04-27 04:44:26 UTC
Should be fixed as of r49925.

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


Navigation
Links