Commit graph

167 commits

Author SHA1 Message Date
Aryeh Gregor 188d244d80 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
Siebrand Mazeland 9a97b74be8 Replace <tt> by <code>, as <tt> is deprecated in HTML5 2010-05-15 23:11:13 +00:00
Siebrand Mazeland 8262b0c73c Localisation updates for extension messages from translatewiki.net
* rebuild all supported extension messages files
2010-04-25 21:02:19 +00:00
Raimond Spekking eff0ea9ac2 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
Raimond Spekking 4545df9f03 Localisation updates for core and extension messages from translatewiki.net (2010-04-04 18:30:00 UTC) 2010-04-04 18:48:04 +00:00
Brian Wolff ffd9e2a8e7 Bug 22363 - make <poem> handle template parameters (aka {{{1}}}) 2010-02-05 04:37:53 +00:00
Raimond Spekking 1f5b6cec7d Localisation updates for core and extension messages from translatewiki.net (2010-01-19 18:30 UTC) 2010-01-19 19:04:29 +00:00
Chad Horohoe 6f93884fa3 Drop ancient 1.6 and below compat. This is why we branch :) 2010-01-16 16:28:06 +00:00
Siebrand Mazeland 0396a3c243 Localisation updates for extension messages from translatewiki.net (2009-12-27 14:53 UTC) 2009-12-27 15:13:12 +00:00
Siebrand Mazeland 0e98e59e6f Localisation updates for extension messages from translatewiki.net (2009-12-24 17:23 UTC) 2009-12-24 17:43:45 +00:00
Max Semenik fe706136d7 Updated links for pages moved from Meta to mw.org, tweaked doc a bit in one case (extensions/ConfirmEdit/MathCaptcha) 2009-12-05 15:03:20 +00:00
Raimond Spekking 3b7799e587 Localisation updates for core and extension messages from translatewiki.net (2009-10-19 18:50 UTC) 2009-10-19 19:34:51 +00:00
Siebrand Mazeland 47332015f5 Localisation updates for extension messages from translatewiki.net (2009-09-19 20:29 UTC) 2009-09-19 20:53:18 +00:00
Chad Horohoe 8b3bdbd96f Nuking fallback code for MW < 1.12 in most extensions (there's like 5 or 6 left I haven't done). Couple of points:
* 1.11 and below aren't supported anymore, so we don't need to be maintaining back-compat code for it anymore. This is why we branch extensions
* The vast majority of these were using $wgParser. This defeats the purpose of ParserFirstCallInit...allowing you to use parsers other than $wgParser. All these extensions now work in any instance of the Parser, not just $wgParser
2009-09-04 22:22:12 +00:00
Raimond Spekking bd7d520693 Localisation updates for extension messages from translatewiki.net (2009-08-31 19:30 UTC) 2009-08-31 19:56:02 +00:00
Siebrand Mazeland 95969dc963 Rebuild of messages files supported by translatewiki.net
* adding recent translations
* adding translations that for whichever reason had not been committed
* remove obsolete translations
* update language names
* update authors (f.e. remove translatewiki.net staff members doing mass edits from their non-native languages)
2009-08-23 11:33:45 +00:00
Siebrand Mazeland 893659eb77 Localisation updates for extension messages from translatewiki.net (2009-08-12 16:21 UTC) 2009-08-12 16:52:09 +00:00
Siebrand Mazeland fa0697e030 Localisation updates for extension messages from translatewiki.net (2009-08-10 17:58 UTC) 2009-08-10 18:24:50 +00:00
Siebrand Mazeland eff971bf4a Localisation updates for extension messages from translatewiki.net (2009-08-09 20:10 UTC) 2009-08-09 20:35:35 +00:00
Raimond Spekking 73c0be0764 Localisation updates for extension messages from translatewiki.net (2009-07-27 19:05 UTC) 2009-07-27 19:30:32 +00:00
Siebrand Mazeland 0d218e3338 Localisation updates for extension messages from translatewiki.net
* full export and rebuild of all supported extension messages files
2009-06-28 20:55:14 +00:00
Siebrand Mazeland d74d41f254 Localisation updates for extension messages from translatewiki.net (2009-05-17 09:04 UTC) 2009-05-17 09:20:55 +00:00
Shinjiman ee5cf7d420 Follows up r49890, adding file location itself to obtaining the revision number shown in the Special:Version 2009-04-27 04:45:10 +00:00
Siebrand Mazeland d96ffde891 Rebuild all extension messages files supported by Translate
* removed obsolete, reordered, etc
* source: translatewiki.net (includes updates for translations that had not yet been exported)
2009-04-09 23:24:07 +00:00
Raimond Spekking c5bf650140 Localisation updates for extension messages from translatewiki.net (2009-04-01 17:57 UTC) 2009-04-01 18:52:14 +00:00
Chad Horohoe 37f9517816 Big commit. Removing svn-version and svn-date from extensions. Per the list, these versions do not give valuable information and are often wildly inaccurate. 2009-03-26 17:39:49 +00:00
Siebrand Mazeland 66aa52c9ce Localisation updates for extension messages from translatewiki.net (2009-02-15 18:43 UTC) 2009-02-15 19:02:29 +00:00
Siebrand Mazeland 6d0e3d0cc9 Localisation updates for extension messages from translatewiki.net (2009-02-14 11:51 UTC) 2009-02-14 12:03:26 +00:00
Siebrand Mazeland 2e7e4d550b Localisation updates for extension messages from translatewiki.net (2009-02-08 22:48 UTC) 2009-02-08 23:02:36 +00:00
Siebrand Mazeland 21e728cb48 Localisation updates for extensions messages from translatewiki.net (2009-02-07 21:24 UTC) 2009-02-07 22:04:21 +00:00
Siebrand Mazeland 1751cd82de Localisation updates for extension messages from Betawiki (2009-02-02 14:46 UTC) 2009-02-02 15:01:57 +00:00
Siebrand Mazeland 017e310057 Localisation updates for extension messages from Betawiki (2009-01-31 23:29 UTC) 2009-01-31 23:50:10 +00:00
Siebrand Mazeland 03b72b6b70 Localisation updates for extension messages from Betawiki (2009-01-29 21:14 UTC) 2009-01-29 21:36:03 +00:00
Siebrand Mazeland 566e01c1cf Localisation updates for extension messages from Betawiki (2009-01-23 17:19 UTC) 2009-01-23 18:23:46 +00:00
Siebrand Mazeland 3b61ea4e33 Localisation updates for extension messages from Betawiki (2009-01-21 21:16 UTC) 2009-01-21 21:33:03 +00:00
Siebrand Mazeland e11fa0e53b Localisation updates for extension messages from Betawiki (2009-01-17 23:02 UTC)
* rebuilt all messages files
2009-01-18 00:01:41 +00:00
Raimond Spekking ec421d3c2b Localisation updates for extension messages from Betawiki 2009-01-17 15:55:16 +00:00
Siebrand Mazeland 8562abb9bb Localisation updates for extension messages from Betawiki (2009-01-06 21:10 UTC) 2009-01-06 21:40:11 +00:00
Siebrand Mazeland b64352fad1 Localisation updates for extension messages from Betawiki (2009-01-05 08:33 UTC) 2009-01-05 09:02:00 +00:00
Siebrand Mazeland 01f4b90643 Localisation updates for extension messages from Betawiki (2008-12-23 16:47 CET) 2008-12-23 16:12:09 +00:00
Aaron Schulz a8ba79835d Search & replace war on old wf* xml functions 2008-12-20 09:32:47 +00:00
Siebrand Mazeland dd9072f3b7 Localisation updates for extension messages from Betawiki (2008-12-10 15:10 CET) 2008-12-10 14:27:36 +00:00
Siebrand Mazeland d2c75879f9 Localisation updates for extension messages from Betawiki (2008-12-01 09:20 CET) 2008-12-01 08:47:02 +00:00
Andrew Garrett a4c2dcedd5 Revert "Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions."
Uses $dir in extension files, and assumes that it remains unchanged in require_once( 'maintenance/commandLine.inc' ).
In fact, it is likely that '$dir' will be set when setting up command-line, as some extensions will use the same var.

Recommended fix: Use $CentralAuth_dir, $EmailPage_dir, etc.
2008-11-30 03:15:22 +00:00
Siebrand Mazeland d92035a151 Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions. 2008-11-26 23:17:15 +00:00
Siebrand Mazeland aadaf08817 Localisation updates for extensions messages from Betawiki (2008-09-28 00:01 CEST) 2008-09-27 22:35:17 +00:00
Siebrand Mazeland 26d7c6a3c0 Localisation updates for extension messages from Betawiki (2008-08-30 12:18 CEST) 2008-08-30 10:45:38 +00:00
Siebrand Mazeland 899ddd5204 Localisation updates for extension messages from Betawiki (2008-08-27 23:24 CEST) 2008-08-27 21:45:18 +00:00
Siebrand Mazeland c3718d801b Localisation updates for extensions messages from Betawiki (2008-08-21 17:36 CEST) 2008-08-21 15:58:59 +00:00
Siebrand Mazeland ee0bb5ed4c Localisation updates for extension messages from Betawiki (2008-08-12 22:18 CEST) 2008-08-12 21:31:52 +00:00