Last modified: 2014-08-10 21:10:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 69087 - Special:Block: Use Config instead of globals
Special:Block: Use Config instead of globals
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: config-obj
  Show dependency treegraph
Reported: 2014-08-04 00:43 UTC by Kunal Mehta (Legoktm)
Modified: 2014-08-10 21:10 UTC (History)
1 user (show)

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


Description Kunal Mehta (Legoktm) 2014-08-04 00:43:39 UTC
There are a lot of static funcitons in SpecialBlock so that the API can also re-use the same code which makes this difficult. Might need some more refactoring...?
Comment 1 Umherirrender 2014-08-04 09:57:23 UTC
Static function SpecialBlock::processForm has a context source as param, which can provide a config object, but all the other functions needs another way to do.
Comment 2 Gerrit Notification Bot 2014-08-09 23:09:16 UTC
Change 153266 had a related patch set uploaded by Florianschmidtwelzow:
WIP: Special:Block: Use config object instead of globals
Comment 3 Gerrit Notification Bot 2014-08-10 19:06:07 UTC
Change 153266 abandoned by Florianschmidtwelzow:
WIP: Special:Block: Use config object instead of globals

maybe first think about and then do something :/

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