Commit graph

582 commits

Author SHA1 Message Date
Siebrand Mazeland 607c9db6f1 Localisation updates for core and extension messages from translatewiki.net (2010-08-22 22:34 UTC) 2010-08-22 23:04:33 +00:00
Siebrand Mazeland e49877d58c Localisation updates for core and extension messages from translatewiki.net (2010-08-21 22:44 UTC) 2010-08-21 23:20:48 +00:00
Sam Reed cbe0ee71a5 Remove unused variables (mainly globals)
Add some braces

Change $dbw to $db in one case
2010-08-19 11:53:41 +00:00
Siebrand Mazeland b8d42ab8f1 Localisation updates for core and extension messages from translatewiki.net (2010-08-18 21:52 UTC) 2010-08-18 22:11:00 +00:00
Siebrand Mazeland fdfc10166e Localisation updates for core and extension messages from translatewiki.net (2010-08-16 22:21 UTC) 2010-08-16 22:43:58 +00:00
Siebrand Mazeland 83e57bd26e Localisation updates for core and extension messages from translatewiki.net (2010-08-13 21:35 UTC) 2010-08-13 23:21:38 +00:00
Raimond Spekking 300a68c21c Localisation updates for core and extension messages from translatewiki.net (2010-08-11 18:08:00 UTC) 2010-08-11 18:27:59 +00:00
Max Semenik a40744c3b4 Gadgets: prevent section <gadget-section-> from appearing in preferences when there are no sections defined, or there are gadgets defined before the first section. 2010-08-10 19:48:39 +00:00
Raimond Spekking 6c96d5c973 Localisation updates for core and extension messages from translatewiki.net (2010-08-10 19:19:00 UTC) 2010-08-10 19:34:11 +00:00
Raimond Spekking 57a6d14a7b Localisation updates for core and extension messages from translatewiki.net (2010-08-09 19:38:00 UTC) 2010-08-09 19:50:21 +00:00
Raimond Spekking 6ff556f9b1 Localisation updates for core and extension messages from translatewiki.net (2010-08-08 19:31:00 UTC) 2010-08-08 19:49:46 +00:00
Max Semenik 9c360c1e94 Follow-up r70719 and r70721: on the second thought, this permission reflects my previous design, where gadget export page was much more computation-heave. It's not needed. 2010-08-08 19:01:28 +00:00
Raimond Spekking a1385554b9 Follow-up r70719: Add message for the new user right 2010-08-08 18:50:27 +00:00
Max Semenik b0004f78c9 Gadgets: added export feature for easier reuse 2010-08-08 18:22:22 +00:00
Siebrand Mazeland 59cf3ddd01 ckb-arab -> ckb 2010-08-01 09:05:51 +00:00
Sam Reed 17b8d3ccdb More wrong static method calls fixed 2010-07-26 13:30:31 +00:00
Raimond Spekking c6d3f3f7cc Localisation updates for core and extension messages from translatewiki.net (2010-07-16 19:01:00 UTC) 2010-07-16 19:09:07 +00:00
Raimond Spekking 68186109ca Localisation updates for core and extension messages from translatewiki.net (2010-07-14 19:53:00 UTC) 2010-07-14 20:12:19 +00:00
Raimond Spekking fef288feff Localisation updates for core and extension messages from translatewiki.net (2010-07-13 18:48:00 UTC) 2010-07-13 19:10:15 +00:00
Niklas Laxström c04518be2b Refactor part of gadgets code
Renamed some confusingly named variables. Made wfApplyGadgetCode
to do less stuff and simpler. Use LinkBatch since every page
results in db query due to getting the latest revision.
2010-07-08 08:15:04 +00:00
Niklas Laxström 2bff01ac5c i18n fix 2010-07-08 08:13:03 +00:00
Raimond Spekking 5ba1318af7 Localisation updates for core and extension messages from translatewiki.net (2010-06-23 19:10:00 UTC) 2010-06-23 19:23:47 +00:00
Raimond Spekking 1a3301a71b Localisation updates for core and extension messages from translatewiki.net (2010-06-20 18:40:00 UTC) 2010-06-20 18:58:27 +00:00
Raimond Spekking 6867e31ec0 Localisation updates for core and extension messages from translatewiki.net (2010-06-16 19:30:00 UTC) 2010-06-16 19:38:46 +00:00
Raimond Spekking 4e5374b18b Localisation updates for core and extension messages from translatewiki.net (2010-06-15 19:05:00 UTC) 2010-06-15 19:27:42 +00:00
Raimond Spekking 7ed78abc23 Localisation updates for core and extension messages from translatewiki.net (2010-06-09 18:50:00 UTC) 2010-06-09 19:22:07 +00:00
Liangent ab8947fca2 Add revision ids of js/css pages to URLs to have them auto-reloaded by users' browsers when they are changed on the wiki 2010-06-09 10:15:57 +00:00
Alexandre Emsenhuber d0cbc88d98 Big changes to extensions' documentation:
* changed all @addtogroup to @ingroup
* added some @file where needed
* changed some @package/@subpackage to @ingroup
2010-06-06 15:12:22 +00:00
Siebrand Mazeland 3bd3619416 Localisation updates for extension messages from translatewiki.net (2010-06-05 21:01 UTC) 2010-06-05 21:10:36 +00:00
Daniel Kinzler 4c1ade6fdd PHP compatibility: 5.3.1 is picky about pass-by-reference. Restrict use of &$foo to actual output parameters. This should probably be done for the entire code base. 2010-06-02 09:10:09 +00:00
Raimond Spekking 4e6de6d15f Localisation updates for core and extension messages from translatewiki.net (2010-05-31 18:55:00 UTC) 2010-05-31 19:13:41 +00:00
Raimond Spekking bf07560a17 Localisation updates for core and extension messages from translatewiki.net (2010-05-30 18:55:00 UTC) 2010-05-30 19:41:13 +00:00
Aryeh Gregor d0d3d059b5 Remove most named character references from output
Recommit of r66254 to trunk.  This was just

find extensions phase3 -iname '*.php' \! -iname '*.i18n.php' \! -iname 'Messages*.php' \! -iname '*_Messages.php' -exec sed -i 's/&nbsp;/\&#160;/g;s/&mdash;/―/g;s/&bull;/•/g;s/&aacute;/á/g;s/&acute;/´/g;s/&agrave;/à/g;s/&alpha;/α/g;s/&auml;/ä/g;s/&ccedil;/ç/g;s/&copy;/©/g;s/&darr;/↓/g;s/&deg;/°/g;s/&eacute;/é/g;s/&ecirc;/ê/g;s/&euml;/ë/g;s/&egrave;/è/g;s/&euro;/€/g;s/&harr;//g;s/&hellip;/…/g;s/&iacute;/í/g;s/&igrave;/ì/g;s/&larr;/←/g;s/&ldquo;/“/g;s/&middot;/·/g;s/&minus;/−/g;s/&ndash;/–/g;s/&oacute;/ó/g;s/&ocirc;/ô/g;s/&oelig;/œ/g;s/&ograve;/ò/g;s/&otilde;/õ/g;s/&ouml;/ö/g;s/&pound;/£/g;s/&prime;/′/g;s/&Prime;/″/g;s/&raquo;/»/g;s/&rarr;/→/g;s/&rdquo;/”/g;s/&Sigma;/Σ/g;s/&times;/×/g;s/&uacute;/ú/g;s/&uarr;/↑/g;s/&uuml;/ü/g;s/&yen;/¥/g' {} +

followed by reading over every single line of the resulting diff and
fixing a whole bunch of false positives.  The reason for this change is
given in <http://lists.wikimedia.org/pipermail/wikitech-l/2010-April/047617.html>.
I cleared it with Tim and Brion on IRC before committing.  It might
cause a few problems, but I tried to be careful; please report any
issues.

I skipped all messages files.  I plan to make a follow-up commit that
alters wfMsgExt() with 'escapenoentities' to sanitize all the entities.
That way, the only messages that will be problems will be ones that
output raw HTML, and we want to get rid of those anyway.

This should get rid of all named entities everywhere except messages.  I
skipped a few things like &nbsp that I noticed in manual inspection,
because they weren't well-formed XML anyway.

Also, to everyone who uses non-breaking spaces when they could use a
normal space, or nothing at all, or CSS padding: I still hate you.  Die.
2010-05-30 17:33:59 +00:00
Raimond Spekking be516ae611 Localisation updates for core and extension messages from translatewiki.net (2010-05-29 18:50:00 UTC) 2010-05-29 19:17:19 +00:00
Chad Horohoe 7464a94254 Revert r66934 (Removing wfLoadExtensionMessages() from everything). I disagree on principle...we branch extensions for this very reason. But people want trunk extensions compatible for several versions back, meh. 2010-05-27 15:56:53 +00:00
Chad Horohoe 16fa29f47e Large commit. Removed 800+ references to no-op wfLoadExtensionMessages() 2010-05-26 22:25:32 +00:00
Raimond Spekking 66026f2c33 Localisation updates for core and extension messages from translatewiki.net (2010-05-24 18:20:00 UTC) 2010-05-24 18:36:06 +00:00
Raimond Spekking c3c53da84a Localisation updates for core and extension messages from translatewiki.net (2010-05-23 20:40:00 UTC) 2010-05-23 21:12:35 +00:00
Raimond Spekking dac309d419 Localisation updates for core and extension messages from translatewiki.net (2010-05-20 17:45:00 UTC) 2010-05-20 18:24:53 +00:00
Raimond Spekking f902da4b81 Localisation updates for core and extension messages from translatewiki.net (2010-05-19 19:15:00 UTC) 2010-05-19 19:25:55 +00:00
Raimond Spekking f7f20b0cdb Localisation updates for core and extension messages from translatewiki.net (2010-05-18 19:45:00 UTC) 2010-05-18 20:00:55 +00:00
Siebrand Mazeland e1f99ca8a6 Localisation updates for extension special page aliases and magic words from translatewiki.net
* some non-essential language header eye candy was removed because these exports were made with the (slow!) magic-export.php, and not with the broken alias-export.php
2010-05-17 18:29:36 +00:00
Raimond Spekking 247ae33ba8 Localisation updates for core and extension messages from translatewiki.net (2010-05-15 19:15:00 UTC) 2010-05-15 20:00:29 +00:00
Raimond Spekking c8298c63d2 Localisation updates for core and extension messages from translatewiki.net (2010-05-04 19:10:00 UTC) 2010-05-04 19:39:23 +00:00
Siebrand Mazeland 96b640d185 Localisation updates for extension messages from translatewiki.net
* rebuild all supported extension messages files
2010-04-25 21:02:19 +00:00
Raimond Spekking b978c6cb1f Localisation updates for core and extension messages from translatewiki.net (2010-04-17 20:20:00 UTC) 2010-04-17 20:47:45 +00:00
Siebrand Mazeland 55266bee58 Tweak 'gadgets-prefstext'. Spotted by Lejonel. 2010-04-14 12:39:48 +00:00
Raimond Spekking ca38000ab2 Localisation updates for core and extension messages from translatewiki.net (2010-04-07 18:10:00 UTC) 2010-04-07 18:54:28 +00:00
Daniel Kinzler 1ff985a53e fix for bug 22929: disable gadgets on Special:Userlogin 2010-04-06 21:00:39 +00:00
Alexandre Emsenhuber dc06d8be5d * Use Html::linkedStyle() to load styles
* Simplify a bit the code to detect Special:Preferences
2010-04-06 20:05:16 +00:00