Commit graph

563 commits

Author SHA1 Message Date
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/ /\ /g;s/—/―/g;s/•/•/g;s/á/á/g;s/´/´/g;s/à/à/g;s/α/α/g;s/ä/ä/g;s/ç/ç/g;s/©/©/g;s/↓/↓/g;s/°/°/g;s/é/é/g;s/ê/ê/g;s/ë/ë/g;s/è/è/g;s/€/€/g;s/↔//g;s/…/…/g;s/í/í/g;s/ì/ì/g;s/←/←/g;s/“/“/g;s/·/·/g;s/−/−/g;s/–/–/g;s/ó/ó/g;s/ô/ô/g;s/œ/œ/g;s/ò/ò/g;s/õ/õ/g;s/ö/ö/g;s/£/£/g;s/′/′/g;s/″/″/g;s/»/»/g;s/→/→/g;s/”/”/g;s/Σ/Σ/g;s/×/×/g;s/ú/ú/g;s/↑/↑/g;s/ü/ü/g;s/¥/¥/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
Raimond Spekking ae96fedb4a Localisation updates for core and extension messages from translatewiki.net (2010-04-06 19:10:00 UTC) 2010-04-06 19:36:58 +00:00
Raimond Spekking 2edf6d0190 Localisation updates for core and extension messages from translatewiki.net (2010-04-07 17:40:00 UTC) 2010-04-05 19:00:17 +00:00
Raimond Spekking f0a95f68a7 Localisation updates for core and extension messages from translatewiki.net (2010-04-03 18:35:00 UTC) 2010-04-03 18:58:55 +00:00
Raimond Spekking 1102a31481 Localisation updates for core and extension messages from translatewiki.net (2010-03-28 19:15:00 UTC) 2010-03-28 19:37:36 +00:00
Raimond Spekking 0f54ca6bbe Localisation updates for core and extension messages from translatewiki.net (2010-03-26 19:35:00 UTC) 2010-03-26 19:52:55 +00:00
Raimond Spekking f51c63361c Localisation updates for core and extension messages from translatewiki.net (2010-03-16 19:45:00 UTC) 2010-03-16 20:10:23 +00:00
Siebrand Mazeland f7c6687361 * Remove $wgExtensionCredits['description'] where $wgExtensionCredits['descriptionmsg'] present. This feature was introduced in MediaWiki 1.12, and 'description' is not used if 'descriptionmsg' is present.
* Random indentation updates and trailing whitespace removed
2010-02-22 23:41:51 +00:00
Raimond Spekking e25d49f47d Localisation updates for core and extension messages from translatewiki.net (2010-02-21 20:00 UTC) 2010-02-21 20:10:36 +00:00
Raimond Spekking 59e192e1e4 Localisation updates for core and extension messages from translatewiki.net (2010-02-18 20:00 UTC) 2010-02-18 20:13:15 +00:00
Siebrand Mazeland e994fcd13e Localisation updates for special page aliases for extensions from translatewiki.net 2010-02-17 20:52:27 +00:00
Raimond Spekking 37b3fc211f Localisation updates for core and extension messages from translatewiki.net (2010-02-14 19:00 UTC) 2010-02-14 19:33:39 +00:00
Raimond Spekking 0fe32c0c5a Localisation updates for core and extension messages from translatewiki.net (2010-01-17 19:30 UTC) 2010-01-17 19:43:17 +00:00
Raimond Spekking 87333c0daa * Show [edit] links for users with editinterface right only
* While I am at it: Use Xml::/Html:: functions, commaList() and link() instead of deprecated functions
2010-01-12 19:45:49 +00:00
Siebrand Mazeland 969835975a Localisation updates for extension messages from translatewiki.net (2009-12-31 20:58 UTC) 2009-12-31 21:56:37 +00:00
Raimond Spekking 86859d3daf Localisation updates for core and extension messages from translatewiki.net (2009-12-30 19:00 UTC) 2009-12-30 19:59:42 +00:00
Siebrand Mazeland 1bbd2aa528 Localisation updates for extension messages from translatewiki.net (2009-12-27 14:53 UTC) 2009-12-27 15:13:12 +00:00
Siebrand Mazeland fe41e5e106 Localisation updates for extension messages from translatewiki.net (2009-12-26 09:25 UTC) 2009-12-26 09:54:31 +00:00
Siebrand Mazeland 5caaaca42d Localisation updates for extension messages from translatewiki.net (2009-12-23 20:19 UTC) 2009-12-23 20:47:57 +00:00
Raimond Spekking 79d0569a51 Localisation updates for core and extension messages from translatewiki.net (2009-11-29 22:30 UTC) 2009-11-29 22:53:53 +00:00