Wil Mahan [Mon, 11 Oct 2004 16:16:27 +0000 (16:16 +0000)]
Prevent double-escaping of '<' and '>' in external links;
allow them in free external links again, at least until there
is a consistent way of handling them. Convert some spaces to
tabs from zhengzhu's last commit.
Emmanuel Engelhart [Mon, 11 Oct 2004 16:13:53 +0000 (16:13 +0000)]
+ comment about the browser blacklist array
Emmanuel Engelhart [Mon, 11 Oct 2004 16:10:47 +0000 (16:10 +0000)]
+ explicit example for the browser black list.
River Tarnell [Mon, 11 Oct 2004 11:09:18 +0000 (11:09 +0000)]
don't show redirects in categories
Brion Vibber [Mon, 11 Oct 2004 07:44:37 +0000 (07:44 +0000)]
If wiki has the old non-unique indexes on cur, check for duplicate cur entries and remove the extras.
Brion Vibber [Mon, 11 Oct 2004 07:43:44 +0000 (07:43 +0000)]
Obsolete and probably dangerous old script. Removed from 1.3 branch long ago, forgot to get it here.
Brion Vibber [Mon, 11 Oct 2004 06:38:42 +0000 (06:38 +0000)]
add missing autoConvert wrapper
Domas Mituzas [Mon, 11 Oct 2004 04:13:43 +0000 (04:13 +0000)]
fix from live site, set->add for "loading".
Erik Moeller [Mon, 11 Oct 2004 04:10:41 +0000 (04:10 +0000)]
bugfix: check for existence of PRIMARY key in addition to UNIQUE key, as
MySQL returns "PRIMARY" as key_name. This caused uploads to fail with a
"patch required" message in HEAD even if the schema was up to date.
Erik Moeller [Mon, 11 Oct 2004 03:28:18 +0000 (03:28 +0000)]
this seems to have sneaked into HEAD somehow, belongs in SCHEMA_WORK only
Zheng Zhu [Mon, 11 Oct 2004 03:05:48 +0000 (03:05 +0000)]
update doc
Zheng Zhu [Mon, 11 Oct 2004 02:46:31 +0000 (02:46 +0000)]
Adding the interface language to the page rendering hash; also fixed some formatting errors from my previous commits.
Zheng Zhu [Mon, 11 Oct 2004 02:15:55 +0000 (02:15 +0000)]
For content language, removed language code suffix from the message keys in the mediawiki: namespace. This way languages that do not support multiple variants will see no change in the way the namespace works.
Evan Prodromou [Sun, 10 Oct 2004 23:28:45 +0000 (23:28 +0000)]
Updated the checktrans.php script to be a little more modern and to
WFM. Removed the two variations on the theme, since they don't work.
Might as well have just one broken script instead of three.
Brion Vibber [Sun, 10 Oct 2004 22:56:23 +0000 (22:56 +0000)]
When deleting images / old image revisions, don't fail out if the file
doesn't exist or the oi_archive_name field is empty. Treat it gracefully
and continue deleting the database records.
Bug 484: image deletion causes an internal error
Brion Vibber [Sun, 10 Oct 2004 22:40:58 +0000 (22:40 +0000)]
Fix brainfart that broke options on insertArray()
Emmanuel Engelhart [Sun, 10 Oct 2004 21:30:17 +0000 (21:30 +0000)]
+ checkUnicodeCompliantBrowser() and code to show if necessary a warning message
Emmanuel Engelhart [Sun, 10 Oct 2004 21:27:15 +0000 (21:27 +0000)]
+ nonunicodebrowser message
Emmanuel Engelhart [Sun, 10 Oct 2004 21:25:42 +0000 (21:25 +0000)]
+ $wgBrowserBlackList
Brion Vibber [Sun, 10 Oct 2004 13:41:09 +0000 (13:41 +0000)]
fix bug 439: protected pages should not display a "move" link.
Brion Vibber [Sun, 10 Oct 2004 13:17:56 +0000 (13:17 +0000)]
fix for bug 433: Title attribute on undelete button wrong
Brion Vibber [Sun, 10 Oct 2004 13:05:04 +0000 (13:05 +0000)]
Test case for bug 289
Brion Vibber [Sun, 10 Oct 2004 09:44:00 +0000 (09:44 +0000)]
fix for bug 149: Special:Recentchanges: Link that adds &from= to URL discards &limit= and vice-versa
Brion Vibber [Sun, 10 Oct 2004 08:36:59 +0000 (08:36 +0000)]
Disable message cache transforms on install (bug 296)
Brion Vibber [Sun, 10 Oct 2004 04:30:01 +0000 (04:30 +0000)]
'fromwikipedia' has been renamed to 'tagline'
Brion Vibber [Sat, 9 Oct 2004 21:55:28 +0000 (21:55 +0000)]
Fix for last checkin on Squid and for the generated data
Brion Vibber [Sat, 9 Oct 2004 21:24:52 +0000 (21:24 +0000)]
More paranoia checks for Internet Explorer
Brion Vibber [Sat, 9 Oct 2004 08:41:55 +0000 (08:41 +0000)]
Adjust spacing, and fix the disclaimer link again so it's separated from the printable link
Brion Vibber [Sat, 9 Oct 2004 08:34:52 +0000 (08:34 +0000)]
Re-tabification
Brion Vibber [Sat, 9 Oct 2004 08:08:26 +0000 (08:08 +0000)]
Load form C data on demand; if we are dealing in all-ASCII text we can save some memory and time by not loading it.
Brion Vibber [Sat, 9 Oct 2004 06:49:28 +0000 (06:49 +0000)]
Merge adjacent edits to same page by same user in the RSS feed
Brion Vibber [Sat, 9 Oct 2004 02:55:32 +0000 (02:55 +0000)]
Put diffs into the RecentChanges RSS/Atom feed to make it more useful for offline reading (and more convenient in general). For new pages, includes the full wikitext.
Probably will want to do caching of diffs before pushing this one out the door, but it's not as bad as all that; nothing has to be parsed, just diffed.
Brion Vibber [Sat, 9 Oct 2004 02:53:11 +0000 (02:53 +0000)]
Reduce dependence on $wgOut global in the difference formatter; just buffer up the output and give it to $wgOut in a lump.
Also added DifferenceEngine::getDiff() so you can get a diff without sending it to $wgOut.
Evan Prodromou [Fri, 8 Oct 2004 22:31:45 +0000 (22:31 +0000)]
Fixed some tab bogosity and took out a couple of debug printf
statements.
Evan Prodromou [Fri, 8 Oct 2004 22:00:51 +0000 (22:00 +0000)]
Fixed problems with hiding certain links (portal, currentevents,
disclaimers). Corrected help text in Language.php -- it said to set
the values to '', but the code used '-'. Fixed Skin.php so it checks
for '-' for disclaimers. Also, fixed SkinPHPTal.php so it checks for
'-' anywhere it can show up -- in buildNavigationUrls and buildNavUrls.
Zheng Zhu [Fri, 8 Oct 2004 14:38:40 +0000 (14:38 +0000)]
need to include sg and hk...
Zheng Zhu [Fri, 8 Oct 2004 13:57:01 +0000 (13:57 +0000)]
Added fallback in case the preferred language variant is not provided in the manual conversion markup.
Andre Engels [Fri, 8 Oct 2004 12:05:12 +0000 (12:05 +0000)]
Changed namespace names (request of Aliter).
Brion Vibber [Fri, 8 Oct 2004 08:46:25 +0000 (08:46 +0000)]
old_text conversion on load, for future UTF-8 conversion of en.wikipedia.org and remaining holdouts.
* When not $wgUseLatin1, saved revisions are now marked with 'utf-8' in old_flags
* When $wgLegacyEncoding is set, an old row without 'utf-8' in old_flags is converted from $wgLegacyCharset to $wgInputEncoding at load time (after gzip decompression if applicable). Thus the old_text fields will not need to be modified when the wiki is converted; this will mainly be useful after the SCHEMA_WORK changes are made so that the other fields in the old table are discarded (they will need to be separately converted anyway)
Zheng Zhu [Fri, 8 Oct 2004 05:24:36 +0000 (05:24 +0000)]
these two files are now refered to as zh2TW.manual and zh2CN.manual
Zheng Zhu [Fri, 8 Oct 2004 05:21:16 +0000 (05:21 +0000)]
Ooops...
Zheng Zhu [Fri, 8 Oct 2004 05:20:09 +0000 (05:20 +0000)]
support for zh-hk and zh-sg
Zheng Zhu [Fri, 8 Oct 2004 05:19:23 +0000 (05:19 +0000)]
initial support for zh-hk and zh-sg
Zheng Zhu [Fri, 8 Oct 2004 05:01:33 +0000 (05:01 +0000)]
Adding support for zh-sg (Singapore) and zh-hk (Hong Kong)
Zheng Zhu [Fri, 8 Oct 2004 04:27:07 +0000 (04:27 +0000)]
performance tweak related to title conversion
Brion Vibber [Thu, 7 Oct 2004 05:59:10 +0000 (05:59 +0000)]
Add support for using ICU to perform normalization, which is much much faster than the PHP code!
Still need to add support for cleanup/verification.
Brion Vibber [Thu, 7 Oct 2004 03:40:06 +0000 (03:40 +0000)]
Fetch test data for the benchmark
Zheng Zhu [Thu, 7 Oct 2004 02:09:03 +0000 (02:09 +0000)]
Added another phrase library from libtabe (libtabe.sourceforge.net/); Extract phrases that nees manual translation.
River Tarnell [Thu, 7 Oct 2004 01:16:37 +0000 (01:16 +0000)]
Replace searchdisabled with a more informative message
Jens Frank [Wed, 6 Oct 2004 20:55:08 +0000 (20:55 +0000)]
BUG#58. Patch by Tom Gilder. Prevent edit box scrollbar from disappearing under MSIE 5.5
Jens Frank [Wed, 6 Oct 2004 20:19:06 +0000 (20:19 +0000)]
BUG#634, Patch#2.1: Patch by Tom Gilder. Avoids flickering logo in MSIE 5.5 and newer
Jens Frank [Wed, 6 Oct 2004 20:12:14 +0000 (20:12 +0000)]
BUG#634, Patch#2: Patch by Tom Gilder. Avoids flickering logo in MSIE 5.5 and newer
Wil Mahan [Wed, 6 Oct 2004 19:30:00 +0000 (19:30 +0000)]
Three more test cases involving images, and give
bug number for bug 648.
Wil Mahan [Wed, 6 Oct 2004 19:22:42 +0000 (19:22 +0000)]
Trivial fix from Rowan Collins to better handle
malformed images with captions containing links.
Brion Vibber [Wed, 6 Oct 2004 10:33:22 +0000 (10:33 +0000)]
Add support for some alternate SVG rasterizers:
* ImageMagick - scaling is done after rasterization, and curves don't look good
* Batik - looks good; requires Java
* Sodipodi & Inkscape - haven't got them actually working yet; they crash on my mac when called from the web server though they work on the command line
Brion Vibber [Wed, 6 Oct 2004 09:43:00 +0000 (09:43 +0000)]
Get native size from SVG files
Zheng Zhu [Tue, 5 Oct 2004 16:13:40 +0000 (16:13 +0000)]
Show error message when 6730wgwgUseDatabaseMessages is off in Special:Allmessages. This fixes bug 440.
Domas Mituzas [Tue, 5 Oct 2004 11:18:43 +0000 (11:18 +0000)]
* cache standalone messages fetched from DB on memcached
* from DB/memcached on MC:mCache
Brion Vibber [Tue, 5 Oct 2004 07:35:19 +0000 (07:35 +0000)]
Rasterize plain image views of SVG files at default size (currently 512px wide, maybe not the best).
Prefer ImageMagick over GD when setting up LocalSettings.php
Wil Mahan [Tue, 5 Oct 2004 04:22:36 +0000 (04:22 +0000)]
Small mistake in the title length check: I meant $r, not
$t (silly one-character variable names)
Wil Mahan [Tue, 5 Oct 2004 04:13:14 +0000 (04:13 +0000)]
Instead of calling htmlspecialchars() on image alt text,
escape special chars while being careful not to double-
escape '&' in character entities. Fixes bug 499.
Wil Mahan [Tue, 5 Oct 2004 03:55:41 +0000 (03:55 +0000)]
Don't call Parser::replaceInternalLinks twice, but instead
recursively replace links inside of image captions. Patch
by Rowan Collins (IMSoP), loosely based on a patch by me.
Fixes bug 637.
Brion Vibber [Tue, 5 Oct 2004 01:15:11 +0000 (01:15 +0000)]
Remove stylesheets & templates subdirectories, whose contents have been migrated to 'skins'.
Wil Mahan [Tue, 5 Oct 2004 00:21:52 +0000 (00:21 +0000)]
Oops, I committed the wrong file - sorry. :)
Wil Mahan [Tue, 5 Oct 2004 00:17:25 +0000 (00:17 +0000)]
Move length check to secureAndSplit(), so it is always used.
Also, don't query the DB for the max length, but use a
hardcoded 255.
Wil Mahan [Mon, 4 Oct 2004 22:26:16 +0000 (22:26 +0000)]
Test for bug 499
Wil Mahan [Mon, 4 Oct 2004 20:42:51 +0000 (20:42 +0000)]
Use Skin::makeExternalLink() rather than hardcoding HTML
in Parser; be more careful not to slow down the common
case of only one language variant.
Domas Mituzas [Mon, 4 Oct 2004 20:36:11 +0000 (20:36 +0000)]
initial support for partial message cache, the way to have separated message
cache objects by scope and/or severity, though by leaving rarely used messages
standalone on db and/or cached daemons...
Domas Mituzas [Mon, 4 Oct 2004 19:43:49 +0000 (19:43 +0000)]
Database::makeList() now checks in LIST_AND mode if supplied list item
value is an array, and uses IN (x,y,...). This extends select() syntax
as well, as arrays can be specified for conditions.
Brion Vibber [Mon, 4 Oct 2004 10:55:43 +0000 (10:55 +0000)]
Quickie experimental SVG rasterization hack: if using $wgImageMagick, will attempt to create thumbnails of SVG images as PNG.
Incomplete so far:
* If you just ask for the image (or eg look at the image page) without a size, it tries a straight <img> with no rasterization still
* ImageMagick may not be the best renderer.
* It doesn't know the 'real' size of aspect ratio of the image.
Zheng Zhu [Mon, 4 Oct 2004 04:14:05 +0000 (04:14 +0000)]
formatting fix (space->tab)
Zheng Zhu [Mon, 4 Oct 2004 03:47:39 +0000 (03:47 +0000)]
Convert the title of an article to the preferred language variant.
Jens Frank [Sun, 3 Oct 2004 11:26:08 +0000 (11:26 +0000)]
Moved quickBar from Skin.php to Standard.php, only used by this skin.
Make Classic skin use $wgNavigationLinks for navigation sidebar (BUG#419)
Brion Vibber [Sun, 3 Oct 2004 10:50:34 +0000 (10:50 +0000)]
Fix timestamp display
Brion Vibber [Sun, 3 Oct 2004 10:42:02 +0000 (10:42 +0000)]
ShortPages and LongPages are almsot identical; remove some duplication.
Jens Frank [Sun, 3 Oct 2004 10:24:42 +0000 (10:24 +0000)]
Moved doAfterContent from Skin.php to skins/Standard.php, as it's only used by Standard skin
Jens Frank [Sun, 3 Oct 2004 09:53:39 +0000 (09:53 +0000)]
Fixes needed to make redirect.php work with MEDIAWIKI checks,
i18n and without explicitely set include_path
Jens Frank [Sun, 3 Oct 2004 08:43:18 +0000 (08:43 +0000)]
BUG#419 Use $wgNavigationLinks for quickbar links, like in MonoBook
Brion Vibber [Sun, 3 Oct 2004 08:11:36 +0000 (08:11 +0000)]
ViewCountUpdate is no longer used; trim it out.
Jens Frank [Sun, 3 Oct 2004 07:24:51 +0000 (07:24 +0000)]
Stupid typo
Jens Frank [Sun, 3 Oct 2004 07:06:18 +0000 (07:06 +0000)]
Some paranoia checks
Brion Vibber [Sun, 3 Oct 2004 05:59:45 +0000 (05:59 +0000)]
Extend select() wrapper to allow specifying multiple tables as an array
Zheng Zhu [Sun, 3 Oct 2004 02:18:01 +0000 (02:18 +0000)]
Newly generated with proper comments
Zheng Zhu [Sun, 3 Oct 2004 02:13:25 +0000 (02:13 +0000)]
Added comments in the generated file
Zheng Zhu [Sun, 3 Oct 2004 02:02:55 +0000 (02:02 +0000)]
a few changes to some .manual files
Zheng Zhu [Sun, 3 Oct 2004 02:01:50 +0000 (02:01 +0000)]
some bug fix
Brion Vibber [Sun, 3 Oct 2004 01:45:45 +0000 (01:45 +0000)]
XHTML fix: escape links put into HTML
Brion Vibber [Sun, 3 Oct 2004 01:44:26 +0000 (01:44 +0000)]
Quotes, dammit! Remove potential SQL injection vector.
Brion Vibber [Sun, 3 Oct 2004 01:31:12 +0000 (01:31 +0000)]
* Fix XHTML validity error for pages with apostrophe (bug introduced in head, 1.3 looks quoted properly)
Zheng Zhu [Sun, 3 Oct 2004 01:29:52 +0000 (01:29 +0000)]
describing the various .manual files
Zheng Zhu [Sun, 3 Oct 2004 01:09:31 +0000 (01:09 +0000)]
added some phrases obtained from the TongWen package (tongwen.mozdev.org/)
Brion Vibber [Sat, 2 Oct 2004 22:26:00 +0000 (22:26 +0000)]
Add the experimental user_groups, group tables so that installation works
Jens Frank [Sat, 2 Oct 2004 21:36:36 +0000 (21:36 +0000)]
Add previous/next links to old revision pages
Wil Mahan [Sat, 2 Oct 2004 21:33:06 +0000 (21:33 +0000)]
Disallow '<' and '>' in free external URIs; this is consistent
with RFC 2396 and fixes a parser test case. Remove the
INVERSE_EXT_LINK_URL_CLASS constant, which has never been used.
Brion Vibber [Sat, 2 Oct 2004 20:48:01 +0000 (20:48 +0000)]
XHTML fix
Brion Vibber [Sat, 2 Oct 2004 20:30:04 +0000 (20:30 +0000)]
* Fix for XHTML valid output
* Escape text to avoid HTML injection
Brion Vibber [Sat, 2 Oct 2004 20:20:52 +0000 (20:20 +0000)]
Fix for running without include_path set
Brion Vibber [Sat, 2 Oct 2004 20:15:26 +0000 (20:15 +0000)]
Fix for running with no include_path set
Brion Vibber [Sat, 2 Oct 2004 20:00:36 +0000 (20:00 +0000)]
Fix for running without include_path set
Jens Frank [Sat, 2 Oct 2004 19:49:54 +0000 (19:49 +0000)]
Moved 'get previous/next revision' code from DifferenceEngine to Title'