Brion Vibber
740da4c34d
Revert r37263 for now:
...
* (bug 12211) Show some gadgets only for admins
* (bug 13742) Allow for gadgets to be turned on by default
I'm a bit leery of the 'on by default' entirely at the moment. :)
A few comments:
* The readme examples don't seem to clearly show the option format
* Why are numeric constants being used as indexes to the option array? Strings are easier to work with and debug.
* There's a lot of stuff like this which feels very ugly:
if( isset( $gadget->options[Gadget::RIGHTS] ) && !empty( $gadget->options[Gadget::RIGHTS] ) ) {
Since it's all hard-coded anyway, why not just do something nice and clear like this?
if( !empty( $gadget->rights ) ) {
* And this:
if( wfGadgetAllowed( $gadget->options ) ) {
to:
if( $gadget->isAllowed() ) {
2008-07-07 18:50:47 +00:00
Raimond Spekking
90d18f24e2
Localisation updates German
2008-07-07 17:27:30 +00:00
Victor Vasiliev
a1e40d79c1
* (bug 12211) Show some gadgets only for admins
...
* (bug 13742) Allow for gadgets to be turned on by default
Modified patch by MaxSem
2008-07-07 16:54:20 +00:00
Siebrand Mazeland
705738e177
Localisation updates for extension messages from Betawiki
2008-07-07 12:30:49 +00:00
Siebrand Mazeland
830d9e6904
Localisation updates for extension messages from Betawiki (2008-07-02 16:09 CEST)
2008-07-02 15:34:15 +00:00
Chad Horohoe
998fb3f46f
Bug 13287 - if you say "edit this page," it makes sense to take them to action=edit.
2008-07-01 22:17:43 +00:00
Daniel Kinzler
5328152d53
added id for gadget sections on preferences page
2008-06-26 13:07:45 +00:00
Siebrand Mazeland
4c65c4da4e
Localisation updates (extensions) from Betawiki (2008-06-25 22:11 CEST)
2008-06-25 20:43:35 +00:00
Rotem Liss
5fad51f4e7
More Hebrew translations for extensions.
2008-06-13 19:00:56 +00:00
Siebrand Mazeland
cf50108756
Localisation updates for extension messages from Betawiki (2008-06-08 21:13 CEST)
2008-06-08 20:38:45 +00:00
Alexandre Emsenhuber
1649992bf5
* Use $wgOut->addWikiMsg() instead of $wgOut->addHtml( wfMsgWikiHtml() ) as brion pointed out
...
* Remove parsermag option to wfMsgExt(), parseinline override it
2008-06-06 15:45:29 +00:00
Alexandre Emsenhuber
06c8af8ede
Fix XHTML error: <p> are automatically added by wfMsgWikiHtml()
2008-06-06 10:07:53 +00:00
Siebrand Mazeland
e5f85a3982
Localisation updates for extension messages from Betawiki (2008-06-03 21:03 CEST)
2008-06-03 19:19:38 +00:00
Siebrand Mazeland
fc73cdd906
Localisation updates for extensions messages from Betawiki (2008-06-02 19:43 CEST)
2008-06-02 18:15:47 +00:00
Siebrand Mazeland
cee41c8b2f
Localisation updates for extension messages from Betawiki (2008-05-29 20:34 CEST)
2008-05-29 19:15:58 +00:00
Siebrand Mazeland
4b5fc42c5d
Localisation updates for extension messages from Betawiki (2008-05-28 23:22 CEST)
2008-05-28 21:54:39 +00:00
Siebrand Mazeland
b3d815deb8
Localisation updates for extension messages from Betawiki (2008-05-27 10:55 CEST)
2008-05-27 09:38:22 +00:00
Siebrand Mazeland
20f22534eb
Localisation updates for extension messages from Betawiki (2008-05-24 16:53 CEST)
2008-05-24 15:22:11 +00:00
Siebrand Mazeland
30d93bc190
Localisation updates for extension messages from Betawiki (2008-05-22 23:32 CEST)
2008-05-22 21:43:44 +00:00
Siebrand Mazeland
9563e3871a
Localisation updates. Update credits.
2008-05-21 22:56:07 +00:00
Niklas Laxström
7dc50825a3
* Fixed a bug that caused gadgets definition to be reparsed on every request
2008-05-09 17:09:08 +00:00
Siebrand Mazeland
529e4f50f7
Localisation updates for extension messages from Betawiki (2008-05-07 13:56 CEST)
2008-05-07 12:24:23 +00:00
Tim Starling
e0b6b1094e
Don't call preg_replace ~80 times per request. Leave the heavy lifting to Special:Version, using the new svn-revision member of $wgExtensionCredits.
2008-05-06 11:59:58 +00:00
Siebrand Mazeland
602158d1f3
Localisation updates for extension messages from Betawiki (2008-05-01 21:45 CEST)
2008-05-01 20:13:56 +00:00
Siebrand Mazeland
cc324e3c55
Localisation updates for extension messages from Betawiki (2008-04-27 13:55 CEST)
2008-04-27 12:21:27 +00:00
Siebrand Mazeland
c7d1f5715e
Localisation updates for extension messages from Betawiki (2008-04-24 22:48 CEST)
2008-04-24 21:11:43 +00:00
Siebrand Mazeland
1baf4e7a2a
Localisation updates for extensions messages from Betawiki (2008-04-21 23:06 CEST)
2008-04-21 21:28:06 +00:00
Siebrand Mazeland
0c267798f3
Localisation updates for extension messages from Betawiki (2008-04-21 08:31 CEST)
2008-04-21 06:43:59 +00:00
Siebrand Mazeland
281628a83c
Localisation updates for extension messages from Betawiki (2008-04-20 11:12 CEST)
2008-04-20 09:36:43 +00:00
Siebrand Mazeland
095b6166ca
Localisation updates for extension messages from Betawiki (2008-04-19 12:32 CEST)
2008-04-19 11:05:15 +00:00
Siebrand Mazeland
c0c1d54189
Localisation updates for extension messages from Betawiki (2008-04-16 20:02 CEST)
2008-04-16 18:12:50 +00:00
Siebrand Mazeland
ba5407b237
Localisation updates for extension messages from Betawiki (2008-04-15 20:27 CEST)
2008-04-15 18:44:00 +00:00
Siebrand Mazeland
567ce7643e
Localisation updates for extension messages from Betawiki (2008-04-14 16:46 CEST)
2008-04-14 16:48:30 +00:00
Siebrand Mazeland
aac730080e
Localisation updates for extension messages from Betawiki (2008-04-09 10:44 CEST)
2008-04-09 09:24:29 +00:00
Siebrand Mazeland
80d676391b
Localisation updates for extension messages from Betawiki (2008-04-08 08:39 CEST)
2008-04-08 07:36:06 +00:00
Siebrand Mazeland
c8887cdddc
Localisation updates for extension messages from Betawiki (2008-04-09 08:48 CEST)
2008-04-07 07:32:05 +00:00
Siebrand Mazeland
e936ed9344
Localisation updates for extension messages from Betawiki (2008-04-06 00:14 CEST)
2008-04-05 22:38:19 +00:00
Siebrand Mazeland
c678bbad61
2008-04-04 12:23:29 +00:00
Raimond Spekking
f04e72ac68
Localisation updates German
2008-04-04 10:51:12 +00:00
Siebrand Mazeland
11dce6216a
Localisation updates for extension messages from Betawiki
2008-04-03 13:29:00 +00:00
Siebrand Mazeland
0efb22d866
Localisation updates for extension messages from Betawiki (2008-04-03 12:03 CEST)
2008-04-03 10:35:17 +00:00
Siebrand Mazeland
3d3cda13c7
Rename 'tg' to 'tg-cyrl' in extensions
2008-03-31 19:02:21 +00:00
Siebrand Mazeland
0c7b98b7eb
Localisation updates for extension messages from Betawiki (2008-03-30 19:47 CET)
2008-03-30 18:14:34 +00:00
Siebrand Mazeland
9851aaaf9b
Localisation updates for extension messages from Betawiki (2008-03-29 21:56 CET)
2008-03-29 21:38:49 +00:00
Shinjiman
2e9cbcd6e4
* Update Chinese translations for extension messages
...
* Update Cantonese translations for extension messages
2008-03-29 01:57:04 +00:00
Raimond Spekking
65dfca0199
Localisation updates Chinese
...
* (Bug 13515) Patch by Alex S.H. Lin
2008-03-26 10:46:54 +00:00
Siebrand Mazeland
78d03955dc
Localisation updates for extension messages from Betawiki (2008-03-25 16:24 CET)
2008-03-25 15:36:42 +00:00
Siebrand Mazeland
5abc733439
Localisation updates for extension messages from Betawiki (2008-03-24 22:17 CET)
2008-03-24 21:33:55 +00:00
Niklas Laxström
61b48c5bf5
* Fix cache check
2008-03-22 20:52:41 +00:00
Siebrand Mazeland
fb6bdb9e6e
Formatting of messages and message files. No content changes.
2008-03-21 23:44:24 +00:00