Commit graph

547 commits

Author SHA1 Message Date
Siebrand Mazeland 199f9ec6cc Revert r73306. Causes many notices. 2010-09-19 09:01:11 +00:00
Siebrand Mazeland 1acd973d52 Follow-up r73304: add "$specialPageAliases = array();" at top of the file. 2010-09-19 08:48:52 +00:00
Siebrand Mazeland ec8fd33c2f Localisation updates for special page aliases for extensions from translatewiki.net 2010-09-19 07:41:39 +00:00
Max Semenik 13ef1f3ba4 Follow-up r70719: prettified gadget export link 2010-09-16 17:28:21 +00:00
Raimond Spekking 0bd5a9b1d9 Localisation updates for core and extension messages from translatewiki.net (2010-09-15 19:08:00 UTC) 2010-09-15 19:17:03 +00:00
Raimond Spekking d0b2fc834c Localisation updates for core and extension messages from translatewiki.net (2010-09-09 19:30:00 UTC) 2010-09-09 19:53:33 +00:00
Raimond Spekking eb74231611 Localisation updates for core and extension messages from translatewiki.net (2010-09-08 19:30:00 UTC) 2010-09-08 19:49:40 +00:00
Raimond Spekking 7e28659c6c Localisation updates for core and extension messages from translatewiki.net (2010-09-07 20:20:00 UTC) 2010-09-07 20:50:14 +00:00
Raimond Spekking e6052232f1 Localisation updates for core and extension messages from translatewiki.net (2010-09-05 18:56:00 UTC) 2010-09-05 19:25:47 +00:00
Raimond Spekking 2cb2cd6b7c Localisation updates for core and extension messages from translatewiki.net (2010-09-02 19:00:00 UTC) 2010-09-02 19:30:22 +00:00
Raimond Spekking d077279a35 Localisation updates for core and extension messages from translatewiki.net (2010-08-31 18:22:00 UTC) 2010-08-31 18:37:00 +00:00
Raimond Spekking c96ed8ed27 Localisation updates for core and extension messages from translatewiki.net (2010-08-30 18:48:00 UTC) 2010-08-30 19:13:28 +00:00
Chad Horohoe 25e94b039a More php4 constructors. Missed these somehow 2010-08-30 17:18:13 +00:00
Siebrand Mazeland 179f0c876a Localisation updates for extensions from translatewiki.net
* update special page aliases.
2010-08-24 14:06:50 +00:00
Siebrand Mazeland d191e7b0ad Localisation updates for core and extension messages from translatewiki.net (2010-08-24 06:24 UTC) 2010-08-24 06:37:29 +00:00
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