lhc/web/wiklou.git
19 years agoignore ./thumb* ./archive* ./math*
Antoine Musso [Fri, 12 Nov 2004 21:00:12 +0000 (21:00 +0000)]
ignore  ./thumb* ./archive* ./math*

19 years agoPartially implement http://bugzilla.wikipedia.org/show_bug.cgi?id=770
Antoine Musso [Fri, 12 Nov 2004 20:41:24 +0000 (20:41 +0000)]
Partially implement bugzilla.wikipedia.org/show_bug.cgi?id=770
* Group is shown instead of rights.
* Filter per group.
* Search by exact username match

19 years agoignore eclipse folder ( .metadata )
Antoine Musso [Fri, 12 Nov 2004 20:36:41 +0000 (20:36 +0000)]
ignore eclipse folder ( .metadata )

19 years agoRemoved uncalled method Title::getURL whose only purpose was to tell
Evan Prodromou [Fri, 12 Nov 2004 16:18:25 +0000 (16:18 +0000)]
Removed uncalled method Title::getURL whose only purpose was to tell
you it was obsolete.

19 years ago(bug 26) Defer sending cache headers until the skin runs, so that the skin can declar...
Brion Vibber [Fri, 12 Nov 2004 09:34:11 +0000 (09:34 +0000)]
(bug 26) Defer sending cache headers until the skin runs, so that the skin can declare the page as uncacheable

19 years agoPG hack for temporary tables breaks MySQL 4.1. :P special-case it
Brion Vibber [Fri, 12 Nov 2004 08:13:58 +0000 (08:13 +0000)]
PG hack for temporary tables breaks MySQL 4.1. :P special-case it

19 years agoWhitespace fixup.
Evan Prodromou [Thu, 11 Nov 2004 22:27:49 +0000 (22:27 +0000)]
Whitespace fixup.

19 years agoWhitespace fixup
Evan Prodromou [Thu, 11 Nov 2004 22:16:54 +0000 (22:16 +0000)]
Whitespace fixup

19 years agoAdded my name to the list of authors.
Evan Prodromou [Thu, 11 Nov 2004 18:49:12 +0000 (18:49 +0000)]
Added my name to the list of authors.

19 years agoAdd a Russian test file to the benchmark (2-byte characters, using ASCII spacing...
Brion Vibber [Thu, 11 Nov 2004 07:05:21 +0000 (07:05 +0000)]
Add a Russian test file to the benchmark (2-byte characters, using ASCII spacing and punctuation)

19 years agoUI switching and Chinese conversion
Zheng Zhu [Tue, 9 Nov 2004 21:52:02 +0000 (21:52 +0000)]
UI switching and Chinese conversion

19 years agouse the ZhClient interface to do the Chinese text processing
Zheng Zhu [Tue, 9 Nov 2004 21:41:30 +0000 (21:41 +0000)]
use the ZhClient interface to do the Chinese text processing

19 years agoZhClient queries zhdaemon to provide Chinese text processing service.
Zheng Zhu [Tue, 9 Nov 2004 21:22:07 +0000 (21:22 +0000)]
ZhClient queries zhdaemon to provide Chinese text processing service.

19 years agoRemember to set variables before they are used, unless you *enjoy* SQL injection...
Brion Vibber [Tue, 9 Nov 2004 21:03:41 +0000 (21:03 +0000)]
Remember to set variables before they are used, unless you *enjoy* SQL injection via register_globals vulnerability.

19 years agoXHTML output (update)
Magnus Manske [Tue, 9 Nov 2004 16:01:39 +0000 (16:01 +0000)]
XHTML output (update)

19 years agoPatch by "Neil Barsema" <neil@barsema.org> :
Antoine Musso [Tue, 9 Nov 2004 15:25:40 +0000 (15:25 +0000)]
Patch by "Neil Barsema" <neil@barsema.org> :
http://bugzilla.wikipedia.org/show_bug.cgi?id=809

Attempt to load mysql php extension if it is not loaded.

19 years agoXHTML output (link dummy)
Magnus Manske [Mon, 8 Nov 2004 16:14:29 +0000 (16:14 +0000)]
XHTML output (link dummy)

19 years agoTweak benchmark a bit; display times in milliseconds instead of seconds for legibility.
Brion Vibber [Sun, 7 Nov 2004 22:01:57 +0000 (22:01 +0000)]
Tweak benchmark a bit; display times in milliseconds instead of seconds for legibility.

19 years agocleanUp() optimization: speed up Japanese, Korean tests by another 15% by rearranging...
Brion Vibber [Sun, 7 Nov 2004 11:28:00 +0000 (11:28 +0000)]
cleanUp() optimization: speed up Japanese, Korean tests by another 15% by rearranging the loop and avoiding rebuilding the string if there are no illegal characters.
Removed restrictions on U+FDD0 and friends; these do seem to be allowed by XML, though they 'recommend' you avoid them.

19 years ago[[Wikinews:Bla]] should not be matched as a news:// URL type.
Erik Moeller [Sun, 7 Nov 2004 10:14:36 +0000 (10:14 +0000)]
[[Wikinews:Bla]] should not be matched as a news:// URL type.
Change regex to require that URL_PROTOCOLS is at the beginning of a link
(e.g. [[news:bla]]) for it to match.

Note: This will break if someone decides to reverse the order of
replaceExternal and replaceInternal again.

19 years agofix broken string
Erik Moeller [Sun, 7 Nov 2004 10:01:42 +0000 (10:01 +0000)]
fix broken string

19 years agoremoved sectionedit and commentedit messages. Replaced by editingsection and editingc...
Jens Frank [Sat, 6 Nov 2004 09:21:28 +0000 (09:21 +0000)]
removed sectionedit and commentedit messages. Replaced by editingsection and editingcomment messages.
Should be easier to translate for languages that want to have the (section) somewhere else than at the end

19 years agoDon't run the control characters through the invariant test, as they are stripped...
Brion Vibber [Sat, 6 Nov 2004 03:00:29 +0000 (03:00 +0000)]
Don't run the control characters through the invariant test, as they are stripped by cleanUp() for XML safety.

19 years agoDon't forgot to actually _make_ the replacements for illegal chars. :P
Brion Vibber [Sat, 6 Nov 2004 02:52:25 +0000 (02:52 +0000)]
Don't forgot to actually _make_ the replacements for illegal chars. :P

19 years agoAdding some extra tests for the cleanUp() function
Brion Vibber [Sat, 6 Nov 2004 02:51:43 +0000 (02:51 +0000)]
Adding some extra tests for the cleanUp() function

19 years agosingle quotes
Antoine Musso [Fri, 5 Nov 2004 20:51:15 +0000 (20:51 +0000)]
single quotes

19 years agotableName: change backticks into double quotes for parent-transformed table names
Domas Mituzas [Fri, 5 Nov 2004 10:22:03 +0000 (10:22 +0000)]
tableName: change backticks into double quotes for parent-transformed table names

19 years agoShave off a few more milliseconds from cleanUp() inner loop.
Brion Vibber [Fri, 5 Nov 2004 09:13:02 +0000 (09:13 +0000)]
Shave off a few more milliseconds from cleanUp() inner loop.

19 years agoShave a few more percentage points from times on cleanUp() on unicode text by buildin...
Brion Vibber [Fri, 5 Nov 2004 08:22:56 +0000 (08:22 +0000)]
Shave a few more percentage points from times on cleanUp() on unicode text by building a combined NFC-check hash.

19 years agoMore incremental optimization on cleanUp():
Brion Vibber [Fri, 5 Nov 2004 04:07:04 +0000 (04:07 +0000)]
More incremental optimization on cleanUp():
* when splitting ascii vs non-ascii chunks, don't split punctuation and control chars as aggressively; this benefits the Korean test data
* use output buffer and echo; it's _slightly_ faster than string concatenation.
* Separate the surrogate check from the others; many Korean letters fall in the adjacent area with the same head byte, so this gives a small speed boost on Korean text

19 years agocleanUp() optimization: about 1/8 speed boost on unicode-dominant text (Japanese...
Brion Vibber [Fri, 5 Nov 2004 00:47:03 +0000 (00:47 +0000)]
cleanUp() optimization: about 1/8 speed boost on unicode-dominant text (Japanese, Korean test data)

19 years agocleanUp() optimization: split the string into pure ASCII chunks and chunks which...
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.

19 years agoOptimization on cleanUp(): roughly 1/3 speed boost on ascii-dominant but not ascii...
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)

19 years agoOptimize inner loop in cleanUp(): boosts performance on non-ASCII text by about 20%.
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.

19 years agoXML parser XHTML output
Magnus Manske [Wed, 3 Nov 2004 14:00:08 +0000 (14:00 +0000)]
XML parser XHTML output

19 years agoChanged single-quotes to double quotes in string containing $group
Jason Richey [Wed, 3 Nov 2004 00:09:12 +0000 (00:09 +0000)]
Changed single-quotes to double quotes in string containing $group

19 years agoRemove insecure mode (causes infinite loops due to protection against Internet Explor...
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)

19 years agoMonth names
Brion Vibber [Tue, 2 Nov 2004 19:22:00 +0000 (19:22 +0000)]
Month names

19 years agoStub file for Kannada; contains only numeral transliterations
Brion Vibber [Mon, 1 Nov 2004 10:33:21 +0000 (10:33 +0000)]
Stub file for Kannada; contains only numeral transliterations

19 years agosmall fixes of the manual conversion tables.
Zheng Zhu [Mon, 1 Nov 2004 02:46:31 +0000 (02:46 +0000)]
small fixes of the manual conversion tables.

19 years ago- set locale for each individual command, so that the scipt can be run in any locale.
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

19 years agoDon't hardcode project meta namespace at MediaWiki: namespace initialization time...
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.

19 years agoFix broken chars
Brion Vibber [Sat, 30 Oct 2004 22:41:21 +0000 (22:41 +0000)]
Fix broken chars

19 years agoBackporting concatenated gzip history compression from SCHEMA_WORK. Also made a few...
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.

19 years agoThe pass-by-reference on the string on fastCompose() really slows things down sometim...
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.

19 years agobugfix
Erik Moeller [Sat, 30 Oct 2004 12:20:34 +0000 (12:20 +0000)]
bugfix

19 years agoMore inlining; fastCompose() is now twice as fast on hangul chars, which cuts down...
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.

19 years agoPort from 1_3A
Antoine Musso [Sat, 30 Oct 2004 11:28:15 +0000 (11:28 +0000)]
Port from 1_3A

19 years agoWork through the NFC substeps with the actual data to make the substep times more...
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

19 years ago-double encoding
Erik Moeller [Sat, 30 Oct 2004 09:34:39 +0000 (09:34 +0000)]
-double encoding

19 years agouse $wgLang->ucfirst, fix captallinks behavior
Erik Moeller [Sat, 30 Oct 2004 09:12:15 +0000 (09:12 +0000)]
use $wgLang->ucfirst, fix captallinks behavior

19 years agoif the shared repository is utf-8, and the local wiki is latin1, encode
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

19 years agocapitalize filename so that wikis with $wgCapitalLinks=false can access
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

19 years agoBenchmark was pulling the wrong Tokyo article (shorter than the others)
Brion Vibber [Sat, 30 Oct 2004 06:47:36 +0000 (06:47 +0000)]
Benchmark was pulling the wrong Tokyo article (shorter than the others)

19 years agoAdd some sub-functions back to the benchmark
Brion Vibber [Sat, 30 Oct 2004 06:42:39 +0000 (06:42 +0000)]
Add some sub-functions back to the benchmark

19 years agoOptimize inner loops a bit.
Brion Vibber [Sat, 30 Oct 2004 06:02:30 +0000 (06:02 +0000)]
Optimize inner loops a bit.

19 years agoSubject UtfNormal::cleanUp() to the same tests as UtfNormal::toNFC()
Brion Vibber [Sat, 30 Oct 2004 05:24:24 +0000 (05:24 +0000)]
Subject UtfNormal::cleanUp() to the same tests as UtfNormal::toNFC()

19 years agoStart on refactoring the installer to better support new features (table prefixes...
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.

19 years agoMore doc comment fiddling
Brion Vibber [Thu, 28 Oct 2004 06:05:22 +0000 (06:05 +0000)]
More doc comment fiddling

19 years agoMunge doc comments. Mark as its own package for docs.
Brion Vibber [Thu, 28 Oct 2004 02:56:13 +0000 (02:56 +0000)]
Munge doc comments. Mark as its own package for docs.

19 years agoSort results before comparison, as search is not guaranteed to return results in...
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.

19 years agoFix constructor
Brion Vibber [Thu, 28 Oct 2004 02:01:03 +0000 (02:01 +0000)]
Fix constructor

19 years agoDon't include the special markers like "right" as alt text; leave it blank if there...
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

19 years agoRemove old commented-out section which has some literals that break my editor's synta...
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

19 years agoFull URLs are not necessary on longdesc; use short URLs like everywhere else.
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.

19 years agoXHTML fix
Antoine Musso [Wed, 27 Oct 2004 23:37:05 +0000 (23:37 +0000)]
XHTML fix

19 years agousing addWikiText for shared upload notice
Erik Moeller [Wed, 27 Oct 2004 14:22:15 +0000 (14:22 +0000)]
using addWikiText for shared upload notice

19 years agotaking out $wgSharedUploadBaseUrl , which is not needed
Erik Moeller [Wed, 27 Oct 2004 10:51:57 +0000 (10:51 +0000)]
taking out $wgSharedUploadBaseUrl , which is not needed

19 years agoFix content language message cache (table of contents test depends on this)
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)

19 years agoObject : reestablish margin (only borders were wrong)
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

19 years ago* Add --help and --quiet options to parser test runner
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

19 years agoObject : Correct Bug 691: white border around floating image
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

19 years agoSome legibility cleanup; remove some debug code; make the Special:Userlogin special...
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

19 years agoAdd sysop group fix to updaters
Brion Vibber [Wed, 27 Oct 2004 07:33:54 +0000 (07:33 +0000)]
Add sysop group fix to updaters

19 years agoGive sysops & bureaucrats the 'sysop' permission so they can edit protected pages!
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!

19 years agoBug 774: section=new does not jump to the added section after save
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

19 years agoMove page tweaks:
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]

19 years agorestore old order of replaceInternal/replaceExternal, mask absolute URLs
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.

19 years agoFix to group table layout (forgot to commit with the rest)
Brion Vibber [Mon, 25 Oct 2004 05:19:06 +0000 (05:19 +0000)]
Fix to group table layout (forgot to commit with the rest)

19 years agoFix broken escaped include path which breaks some but not all Windows installs.
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.

19 years agoexperimental code: userlevels
Antoine Musso [Sun, 24 Oct 2004 22:32:14 +0000 (22:32 +0000)]
experimental code: userlevels

19 years agoUpgrade fixes
Brion Vibber [Sun, 24 Oct 2004 22:28:21 +0000 (22:28 +0000)]
Upgrade fixes

19 years agoInstall fixes for group table
Brion Vibber [Sun, 24 Oct 2004 22:20:52 +0000 (22:20 +0000)]
Install fixes for group table

19 years agoLet Database do the quoting of the 'group' table, so that prefixed tables will work.
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.

19 years agoUse correct names of fields
Brion Vibber [Sun, 24 Oct 2004 21:58:19 +0000 (21:58 +0000)]
Use correct names of fields

19 years agoforgotten rename
Jens Frank [Sun, 24 Oct 2004 21:19:54 +0000 (21:19 +0000)]
forgotten rename

19 years agoAn important file for user management
Antoine Musso [Sun, 24 Oct 2004 21:16:05 +0000 (21:16 +0000)]
An important file for user management

19 years agoXHTML fixes
Antoine Musso [Sun, 24 Oct 2004 20:01:23 +0000 (20:01 +0000)]
XHTML fixes

19 years agoImplementing user levels management. This is only a very basic interface and several...
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

19 years agoGlobal array for user levels
Antoine Musso [Sun, 24 Oct 2004 16:58:01 +0000 (16:58 +0000)]
Global array for user levels

19 years agoexperimental IE-compatible RC patrol, still doesn't work for enhanced RC
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

19 years ago1.3 -> 1.4 changes
Tim Starling [Sun, 24 Oct 2004 12:24:31 +0000 (12:24 +0000)]
1.3 -> 1.4 changes

19 years agofixed index name
Tim Starling [Sun, 24 Oct 2004 12:23:12 +0000 (12:23 +0000)]
fixed index name

19 years agoMoved some defines to Defines.php, removed unnecessary line from Language::getUserTog...
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()

19 years agoDon't try to output bogus Last-Modified timestamp if there are no recentchanges table...
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

19 years agoRenaming columns:
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.

19 years agoRename fields of user_rights and user_groups table to tablename_columnname schema
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

19 years agofixed typo
Jens Frank [Sun, 24 Oct 2004 08:31:22 +0000 (08:31 +0000)]
fixed typo

19 years agoAdd $IP to list of globals, since it is undefined otherwise
Jens Frank [Sun, 24 Oct 2004 08:29:34 +0000 (08:29 +0000)]
Add $IP to list of globals, since it is undefined otherwise

19 years agoFixing behaviour with a table prefix
Tim Starling [Sun, 24 Oct 2004 08:04:18 +0000 (08:04 +0000)]
Fixing behaviour with a table prefix