Brion Vibber [Fri, 5 Nov 2004 00:26:09 +0000 (00:26 +0000)]
cleanUp() optimization: split the string into pure ASCII chunks and chunks which need to be checked byte by byte. Over 5x speedup for German text sample.
Brion Vibber [Thu, 4 Nov 2004 23:53:44 +0000 (23:53 +0000)]
Optimization on cleanUp(): roughly 1/3 speed boost on ascii-dominant but not ascii-pure text (eg German)
Brion Vibber [Thu, 4 Nov 2004 11:44:45 +0000 (11:44 +0000)]
Optimize inner loop in cleanUp(): boosts performance on non-ASCII text by about 20%.
Also, trim the XML-illegal control characters from pure ASCII as well as non-ASCII strings.
Magnus Manske [Wed, 3 Nov 2004 14:00:08 +0000 (14:00 +0000)]
XML parser XHTML output
Jason Richey [Wed, 3 Nov 2004 00:09:12 +0000 (00:09 +0000)]
Changed single-quotes to double quotes in string containing $group
Brion Vibber [Tue, 2 Nov 2004 20:45:24 +0000 (20:45 +0000)]
Remove insecure mode (causes infinite loops due to protection against Internet Explorer hole)
Brion Vibber [Tue, 2 Nov 2004 19:22:00 +0000 (19:22 +0000)]
Month names
Brion Vibber [Mon, 1 Nov 2004 10:33:21 +0000 (10:33 +0000)]
Stub file for Kannada; contains only numeral transliterations
Zheng Zhu [Mon, 1 Nov 2004 02:46:31 +0000 (02:46 +0000)]
small fixes of the manual conversion tables.
Zheng Zhu [Mon, 1 Nov 2004 02:45:21 +0000 (02:45 +0000)]
- set locale for each individual command, so that the scipt can be run in any locale.
- added targets toCN.dict, toTW.dict, toHK.dict and toSG.dict
Brion Vibber [Sat, 30 Oct 2004 22:59:14 +0000 (22:59 +0000)]
Don't hardcode project meta namespace at MediaWiki: namespace initialization time, as it may change: use 'Project:' universal alias instead.
Brion Vibber [Sat, 30 Oct 2004 22:41:21 +0000 (22:41 +0000)]
Fix broken chars
Tim Starling [Sat, 30 Oct 2004 14:39:40 +0000 (14:39 +0000)]
Backporting concatenated gzip history compression from SCHEMA_WORK. Also made a few tweaks to the compression script, mainly to make it faster for the purposes of a testing sequence I'm currently running on it. Will report to wikitech-l once testing is done.
Brion Vibber [Sat, 30 Oct 2004 12:35:37 +0000 (12:35 +0000)]
The pass-by-reference on the string on fastCompose() really slows things down sometimes in PHP4. Taking it out speeds up processing of Japanese text significantly.
Erik Moeller [Sat, 30 Oct 2004 12:20:34 +0000 (12:20 +0000)]
bugfix
Brion Vibber [Sat, 30 Oct 2004 12:06:31 +0000 (12:06 +0000)]
More inlining; fastCompose() is now twice as fast on hangul chars, which cuts down the NFC() time on Korean text a fair chunk.
Antoine Musso [Sat, 30 Oct 2004 11:28:15 +0000 (11:28 +0000)]
Port from 1_3A
Brion Vibber [Sat, 30 Oct 2004 10:20:19 +0000 (10:20 +0000)]
Work through the NFC substeps with the actual data to make the substep times more meaningful
Erik Moeller [Sat, 30 Oct 2004 09:34:39 +0000 (09:34 +0000)]
-double encoding
Erik Moeller [Sat, 30 Oct 2004 09:12:15 +0000 (09:12 +0000)]
use $wgLang->ucfirst, fix captallinks behavior
Erik Moeller [Sat, 30 Oct 2004 08:40:08 +0000 (08:40 +0000)]
if the shared repository is utf-8, and the local wiki is latin1, encode
filenames
Erik Moeller [Sat, 30 Oct 2004 07:29:33 +0000 (07:29 +0000)]
capitalize filename so that wikis with $wgCapitalLinks=false can access
shared repositories in a case insensitive way
Brion Vibber [Sat, 30 Oct 2004 06:47:36 +0000 (06:47 +0000)]
Benchmark was pulling the wrong Tokyo article (shorter than the others)
Brion Vibber [Sat, 30 Oct 2004 06:42:39 +0000 (06:42 +0000)]
Add some sub-functions back to the benchmark
Brion Vibber [Sat, 30 Oct 2004 06:02:30 +0000 (06:02 +0000)]
Optimize inner loops a bit.
Brion Vibber [Sat, 30 Oct 2004 05:24:24 +0000 (05:24 +0000)]
Subject UtfNormal::cleanUp() to the same tests as UtfNormal::toNFC()
Brion Vibber [Thu, 28 Oct 2004 08:12:48 +0000 (08:12 +0000)]
Start on refactoring the installer to better support new features (table prefixes, PostgreSQL) and optional text-mode/scripted install. Not yet functional.
Brion Vibber [Thu, 28 Oct 2004 06:05:22 +0000 (06:05 +0000)]
More doc comment fiddling
Brion Vibber [Thu, 28 Oct 2004 02:56:13 +0000 (02:56 +0000)]
Munge doc comments. Mark as its own package for docs.
Brion Vibber [Thu, 28 Oct 2004 02:01:57 +0000 (02:01 +0000)]
Sort results before comparison, as search is not guaranteed to return results in a particular result.
Brion Vibber [Thu, 28 Oct 2004 02:01:03 +0000 (02:01 +0000)]
Fix constructor
Brion Vibber [Thu, 28 Oct 2004 01:27:16 +0000 (01:27 +0000)]
Don't include the special markers like "right" as alt text; leave it blank if there's no final alt block.
* Running test Right-aligned image... PASSED
Brion Vibber [Thu, 28 Oct 2004 01:22:49 +0000 (01:22 +0000)]
Remove old commented-out section which has some literals that break my editor's syntax highlighting
Brion Vibber [Thu, 28 Oct 2004 01:10:25 +0000 (01:10 +0000)]
Full URLs are not necessary on longdesc; use short URLs like everywhere else.
Antoine Musso [Wed, 27 Oct 2004 23:37:05 +0000 (23:37 +0000)]
XHTML fix
Erik Moeller [Wed, 27 Oct 2004 14:22:15 +0000 (14:22 +0000)]
using addWikiText for shared upload notice
Erik Moeller [Wed, 27 Oct 2004 10:51:57 +0000 (10:51 +0000)]
taking out $wgSharedUploadBaseUrl , which is not needed
Brion Vibber [Wed, 27 Oct 2004 10:25:21 +0000 (10:25 +0000)]
Fix content language message cache (table of contents test depends on this)
Guillaume Blanchard [Wed, 27 Oct 2004 09:31:51 +0000 (09:31 +0000)]
Object : reestablish margin (only borders were wrong)
Changes : Reestablish margin in div.floatright, table.floatright, div.floatleft and table.floatleft
Brion Vibber [Wed, 27 Oct 2004 09:21:25 +0000 (09:21 +0000)]
* Add --help and --quiet options to parser test runner
* Standardize the image: tests on Foobar.jpg
* Create a dummy Foobar.jpg during testing
Guillaume Blanchard [Wed, 27 Oct 2004 09:14:31 +0000 (09:14 +0000)]
Object : Correct Bug 691: white border around floating image
Changes : Removed border and margin in div.floatright, table.floatright, div.floatleft and table.floatleft
Brion Vibber [Wed, 27 Oct 2004 07:37:35 +0000 (07:37 +0000)]
Some legibility cleanup; remove some debug code; make the Special:Userlogin special case work in non-English non-French wikis
Brion Vibber [Wed, 27 Oct 2004 07:33:54 +0000 (07:33 +0000)]
Add sysop group fix to updaters
Brion Vibber [Wed, 27 Oct 2004 07:20:47 +0000 (07:20 +0000)]
Give sysops & bureaucrats the 'sysop' permission so they can edit protected pages!
Brion Vibber [Tue, 26 Oct 2004 05:44:54 +0000 (05:44 +0000)]
Bug 774: section=new does not jump to the added section after save
Brion Vibber [Tue, 26 Oct 2004 03:51:59 +0000 (03:51 +0000)]
Move page tweaks:
* Allow [[0]] to be renamed
* Fix the $wgRawHtml check so it actually works
* (bug 776) Old title as default for new title when moving pages [modified patch from guanaco]
Erik Moeller [Mon, 25 Oct 2004 05:24:23 +0000 (05:24 +0000)]
restore old order of replaceInternal/replaceExternal, mask absolute URLs
left behind by [[Media:]] links to prevent them from being parsed twice.
Brion Vibber [Mon, 25 Oct 2004 05:19:06 +0000 (05:19 +0000)]
Fix to group table layout (forgot to commit with the rest)
Brion Vibber [Mon, 25 Oct 2004 02:33:33 +0000 (02:33 +0000)]
Fix broken escaped include path which breaks some but not all Windows installs.
Antoine Musso [Sun, 24 Oct 2004 22:32:14 +0000 (22:32 +0000)]
experimental code: userlevels
Brion Vibber [Sun, 24 Oct 2004 22:28:21 +0000 (22:28 +0000)]
Upgrade fixes
Brion Vibber [Sun, 24 Oct 2004 22:20:52 +0000 (22:20 +0000)]
Install fixes for group table
Brion Vibber [Sun, 24 Oct 2004 22:02:02 +0000 (22:02 +0000)]
Let Database do the quoting of the 'group' table, so that prefixed tables will work.
Brion Vibber [Sun, 24 Oct 2004 21:58:19 +0000 (21:58 +0000)]
Use correct names of fields
Jens Frank [Sun, 24 Oct 2004 21:19:54 +0000 (21:19 +0000)]
forgotten rename
Antoine Musso [Sun, 24 Oct 2004 21:16:05 +0000 (21:16 +0000)]
An important file for user management
Antoine Musso [Sun, 24 Oct 2004 20:01:23 +0000 (20:01 +0000)]
XHTML fixes
Antoine Musso [Sun, 24 Oct 2004 19:14:48 +0000 (19:14 +0000)]
Implementing user levels management. This is only a very basic interface and several things need to be done! A tracking bug is at bugzilla.wikipedia.org/show_bug.cgi?id=767
Antoine Musso [Sun, 24 Oct 2004 16:58:01 +0000 (16:58 +0000)]
Global array for user levels
Tim Starling [Sun, 24 Oct 2004 15:13:28 +0000 (15:13 +0000)]
experimental IE-compatible RC patrol, still doesn't work for enhanced RC
Tim Starling [Sun, 24 Oct 2004 12:24:31 +0000 (12:24 +0000)]
1.3 -> 1.4 changes
Tim Starling [Sun, 24 Oct 2004 12:23:12 +0000 (12:23 +0000)]
fixed index name
Tim Starling [Sun, 24 Oct 2004 12:03:29 +0000 (12:03 +0000)]
Moved some defines to Defines.php, removed unnecessary line from Language::getUserToggle()
Brion Vibber [Sun, 24 Oct 2004 10:23:36 +0000 (10:23 +0000)]
Don't try to output bogus Last-Modified timestamp if there are no recentchanges table entries
Jens Frank [Sun, 24 Oct 2004 09:51:13 +0000 (09:51 +0000)]
Renaming columns:
ug_gid => ug_group
ug_uid => ug_user
ur_uid => ur_user
as proposed by Mr Vibber.
Jens Frank [Sun, 24 Oct 2004 09:21:53 +0000 (09:21 +0000)]
Rename fields of user_rights and user_groups table to tablename_columnname schema
Jens Frank [Sun, 24 Oct 2004 08:31:22 +0000 (08:31 +0000)]
fixed typo
Jens Frank [Sun, 24 Oct 2004 08:29:34 +0000 (08:29 +0000)]
Add $IP to list of globals, since it is undefined otherwise
Tim Starling [Sun, 24 Oct 2004 08:04:18 +0000 (08:04 +0000)]
Fixing behaviour with a table prefix
Tim Starling [Sun, 24 Oct 2004 07:30:03 +0000 (07:30 +0000)]
Replacing obsolete Database member functions.
Tim Starling [Sun, 24 Oct 2004 07:10:33 +0000 (07:10 +0000)]
Correcting bugs due to double-prefixing table names. Removing obsolete Database member functions. Adding comments to Database.php
Brion Vibber [Sun, 24 Oct 2004 06:40:07 +0000 (06:40 +0000)]
Namespace cleanup: use constants, use $wgMetaNamespace instead of hardcoding 'Wikipedia', add Category
Brion Vibber [Sun, 24 Oct 2004 06:17:12 +0000 (06:17 +0000)]
Stub file for Gujarati, includes numeral conversion table
Brion Vibber [Sun, 24 Oct 2004 05:49:54 +0000 (05:49 +0000)]
Language-specific number formatting in category page headers (for Hindi etc)
Brion Vibber [Sun, 24 Oct 2004 05:48:54 +0000 (05:48 +0000)]
spelling
Tim Starling [Sun, 24 Oct 2004 02:13:00 +0000 (02:13 +0000)]
Fixing multiple-inclusion problems
Tim Starling [Sun, 24 Oct 2004 01:56:23 +0000 (01:56 +0000)]
Changed inclusion style, require_once('includes/SpecialPage.php') was allowing duplicate inclusion in command-line utilities
Erik Moeller [Sat, 23 Oct 2004 23:32:08 +0000 (23:32 +0000)]
note on safe_mode
Antoine Musso [Sat, 23 Oct 2004 18:09:29 +0000 (18:09 +0000)]
Patch by Grin
Jens Frank [Sat, 23 Oct 2004 18:02:40 +0000 (18:02 +0000)]
Applied changes from BUG#748, attachment bugzilla.wikipedia.org/attachment.cgi?id=108
Antoine Musso [Sat, 23 Oct 2004 17:45:37 +0000 (17:45 +0000)]
update namespaces
Antoine Musso [Sat, 23 Oct 2004 17:34:25 +0000 (17:34 +0000)]
update namespaces
Zheng Zhu [Sat, 23 Oct 2004 13:00:33 +0000 (13:00 +0000)]
forgot to move the comment
Tim Starling [Sat, 23 Oct 2004 10:37:18 +0000 (10:37 +0000)]
turck only works as an apache module
Tim Starling [Sat, 23 Oct 2004 10:24:13 +0000 (10:24 +0000)]
Using wfSuppressWarnings() instead of the error suppression operator, to avoid the blank page syndrome
Tim Starling [Sat, 23 Oct 2004 10:23:05 +0000 (10:23 +0000)]
Fixed bug due to non-global scope when included from Setup.php
Tim Starling [Sat, 23 Oct 2004 10:22:38 +0000 (10:22 +0000)]
Debug info
Tim Starling [Sat, 23 Oct 2004 10:21:23 +0000 (10:21 +0000)]
Fixed bug with Turck MMCache wrapper, and made it the default where Turck is installed (except if memcached is specified)
Tim Starling [Sat, 23 Oct 2004 10:20:38 +0000 (10:20 +0000)]
fixed profiling error
Brion Vibber [Sat, 23 Oct 2004 09:19:00 +0000 (09:19 +0000)]
Add initial tests for Article::getRevisionText and Article::compressRevision
Tim Starling [Sat, 23 Oct 2004 08:26:48 +0000 (08:26 +0000)]
Moved user_newtalk fetch to later in execution, i.e. on demand. This should reduce total query count, and also allows connection errors to work again.
Tim Starling [Sat, 23 Oct 2004 08:24:24 +0000 (08:24 +0000)]
rm obsolete global
Tim Starling [Sat, 23 Oct 2004 08:23:13 +0000 (08:23 +0000)]
correcting for what was probably an odd one-off error
Tim Starling [Sat, 23 Oct 2004 08:21:39 +0000 (08:21 +0000)]
moving wfProfileIn() to the start of the function, adding warning suppression like I did in MessageCache.php
Brion Vibber [Sat, 23 Oct 2004 07:37:48 +0000 (07:37 +0000)]
Kludge for the present state of PHPTAL 1.0.0's i18n:attributes, which isn't backwards-compatible with PHPTAL 0.7.0's version
Brion Vibber [Sat, 23 Oct 2004 07:10:37 +0000 (07:10 +0000)]
Remove $wgCurParser kludge
Tim Starling [Sat, 23 Oct 2004 01:07:38 +0000 (01:07 +0000)]
alsatian, inheriting from de
Tim Starling [Sat, 23 Oct 2004 00:43:39 +0000 (00:43 +0000)]
renaming
Tim Starling [Sat, 23 Oct 2004 00:00:57 +0000 (00:00 +0000)]
stub inheriting from de
Erik Moeller [Thu, 21 Oct 2004 05:04:14 +0000 (05:04 +0000)]
Preliminary support for shared upload directory. This is primarily intended
for the Wikimedia Commons. If $wgUseSharedUploads is set, MediaWiki will try
to locate an image file in the shared upload directory if it is not found
locally. Thumbnails for shared images will also be generated in the
shared directory.
Note: I changed
$text = $this->replaceInternalLinks ( $text );
$text = $this->replaceExternalLinks( $text );
to
$text = $this->replaceExternalLinks( $text );
$text = $this->replaceInternalLinks ( $text );
in Parser.php. Otherwise [[Media:Bla.jpg]] to an absolute URL would be
incorrectly parsed as external links. The header of
replaceExternalLinks says:
Note: we have to do external links before the internal ones
So the old order was not consistent with the documentation. I did some
tests and nothing seems to be broken, but I have some problems executing
parserTests.php so I couldn't test it systematically.