Commit graph

27 commits

Author SHA1 Message Date
Sam Reed
0cb57fea08 Replace some instances of $wgUser passed to ParserOutput::get()/getKey() for $wgOut->parserOptions() 2010-08-10 19:57:53 +00:00
Alexandre Emsenhuber
fb36e6ac3e * standardised file headers
* added a basic description
* added @file
2010-08-08 11:55:47 +00:00
Alexandre Emsenhuber
0a3d8dc0d3 Per comments, follow-up to r70278: make patrol tokens compatibles between api and normal interface 2010-08-07 18:56:52 +00:00
Alexandre Emsenhuber
3f6432ff1e * (bug 24418) action=markpatrolled now requires a token 2010-08-01 15:50:30 +00:00
Chad Horohoe
6965ca86f9 Cleanup to r69191: use addParserOutput() instead of addHtml(), specify current rev on Article, use doViewParse() so we can cache the ParserOutput 2010-07-09 12:43:27 +00:00
Chad Horohoe
5be8547151 (bug 24124) Diffs are taking 10 to 20 seconds to load. Use parser cache for page preview when diffing to current version (which is the most often). Cuts execution time down on my sample page from 1141.44ms down to 13.78ms on a pcache hit 2010-07-08 17:01:28 +00:00
Chad Horohoe
94a69f24fc Cleanup most of the DIY extension detection/dl() code into nice clean wfDl() 2010-06-14 18:09:19 +00:00
Aryeh Gregor
74a21f3bd1 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
Platonides
b608000544 Bug 23699: Add trailing \n at the end of <div>s in wrapWikiMsg()
Patch by Umherirrender
2010-05-28 21:22:45 +00:00
Aaron Schulz
fb29f7b1af * Removed leftover token check of unhide=1 that was removed elsewhere
* Diff doc tweak
2010-05-24 18:15:52 +00:00
Raimond Spekking
71d280803c Bug 23608: "&nbsp" not followed by a semicolon in diffs 2010-05-20 13:38:41 +00:00
Alexandre Emsenhuber
5f1b38182b fixed some doxygen warnings 2010-05-12 21:26:34 +00:00
Tobias
a8393a4164 fixing bug 23113 (introduced in r60945) which breaks show/hide links in diffs 2010-04-09 14:38:35 +00:00
Aaron Schulz
35294bb23e Refactored duplication into revisionDeleteLink() 2010-01-11 21:35:31 +00:00
Aaron Schulz
d82a071a05 bug 21411 'Add a new message rev-suppressed-no-diff for diff without entry in public log' 2010-01-09 20:18:41 +00:00
Siebrand Mazeland
e8a65f9e25 Update break notation to self enclosed and properly spaced 2009-11-14 20:59:15 +00:00
Aaron Schulz
e07adc0e3c A few cleanups for r58351 2009-10-30 02:23:58 +00:00
Aaron Schulz
90dcb3c1f2 * bug 21267 change "show/hide" to "show", if user cannot submit Special:Revisiondelete
* Added revDeleteLinkDisabled() function
2009-10-30 02:14:22 +00:00
Chad Horohoe
dcac5f193e (bug 19859) Remove HTMLDiff. Could possibly be salvaged as an extension one day, but not today. DifferenceEngine and friends will need some refactoring to allow spinning this off. In the meantime, removing the mostly-broken experimental feature. Its always in the logs if anyone wants to reuse the code somewhere else one day 2009-10-28 18:18:05 +00:00
Aaron Schulz
cdace26ad3 bug 21282 &unhide=1 on next/prev diff links if already viewing the diff 2009-10-28 06:37:51 +00:00
Aaron Schulz
4a851b7dd4 Tweak r58117: removed diff-multi class 2009-10-25 15:30:31 +00:00
Aaron Schulz
8c74d4b938 Added deleted diff notice for unhide=1 urls to be clear and consistent 2009-10-25 15:27:49 +00:00
Alexandre Emsenhuber
e14987e85d * (bug 21053) Fixed diff header layout for multi diffs with no changes 2009-10-22 15:11:52 +00:00
Brion Vibber
2a113f6a3a fix eol style 2009-10-01 19:32:28 +00:00
Aaron Schulz
4f9f6cbf73 added 'rev-suppressed-unhide-diff' 2009-09-30 23:12:05 +00:00
Aaron Schulz
c2f7ea4d7b * Renamed deletedcontent to deletedtext
* Removed deletedrevision and used deletedhistory/deletedtext instead
2009-09-30 19:50:35 +00:00
Aaron Schulz
ea63b48375 Follow-up r57109: missing file 2009-09-30 15:45:38 +00:00