r101347 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r101346
|
r101347
|
r101348
>
Date:
10:16, 31 October 2011
Author:
catrope
Status:
ok (
Comments
)
Tags:
Comment:
[RL2] Fix bug where shared gadget preferences weren't saved because 'default' was set to an empty array. This raises the question of whether we should honor the 'default' property on remote gadgets
Modified paths:
/branches/RL2/extensions/Gadgets/Gadgets.hooks.php
(modified) (
history
)
Diff
[
purge
]
Index: branches/RL2/extensions/Gadgets/Gadgets.hooks.php
—
—
@@ -310,7 +310,7 @@
311
311
'section' => 'gadgetsshared',
312
312
'label' => ' ',
313
313
'prefix' => 'gadget-',
314
- 'default' => array(),
314
+ //'default' => array(), // TODO: should we honor 'default':true remotely or not?
315
315
'cssclass' => 'mw-gadgetsshared-item-unloaded',
316
316
);
317
317
return true;
Follow-up revisions
Revision
Commit summary
Author
Date
r102781
[RL2] Address the todo in
r101347
: per an IRC discussion with Krinkle, we don...
catrope
14:04, 11 November 2011
Comments
#
Comment by
Krinkle
(
talk
|
contribs
)
00:11, 11 November 2011
Per IRC convo: 'enabledByDefault' should only apply to the local wiki.
Wiki A has a gadget that is shared and enabled by default
Wiki B has Wiki A as repository. On Wiki B the gadget is not loaded by default.
Status & tagging log
14:04, 11 November 2011
Catrope
(
talk
|
contribs
)
changed the
tags
for r101347
[
removed:
todo]
00:11, 11 November 2011
Krinkle
(
talk
|
contribs
)
changed the
tags
for r101347
[
added:
todo]
00:11, 11 November 2011
Krinkle
(
talk
|
contribs
)
changed the
status
of r101347
[
removed:
new
added:
ok]