lhc/web/wiklou.git
19 years agoRevert unauthorized changes made without discussion of outstanding objections.
Brion Vibber [Fri, 10 Dec 2004 05:02:23 +0000 (05:02 +0000)]
Revert unauthorized changes made without discussion of outstanding objections.
Please rework this as an extension.

19 years agoNew feature: You can edit summaries and change the Minor Edit flag.
Nicholas Pisarro, Jr [Fri, 10 Dec 2004 04:49:27 +0000 (04:49 +0000)]
New feature: You can edit summaries and change the Minor Edit flag.

* Documented at http://meta.wikimedia.org/wiki/Feature_to_edit_summaries

19 years agoClean up some bogus defaults
Brion Vibber [Fri, 10 Dec 2004 03:56:04 +0000 (03:56 +0000)]
Clean up some bogus defaults

19 years agoFix for table prefix
Brion Vibber [Fri, 10 Dec 2004 03:20:23 +0000 (03:20 +0000)]
Fix for table prefix

19 years agoFix inclusion error during installation
Zheng Zhu [Fri, 10 Dec 2004 01:43:16 +0000 (01:43 +0000)]
Fix inclusion error during installation

19 years ago* Defer message cache initialization, shaving a few ms off file cache hits
Brion Vibber [Thu, 9 Dec 2004 05:51:20 +0000 (05:51 +0000)]
* Defer message cache initialization, shaving a few ms off file cache hits

19 years agoAdded optional setting to allow UI messages act as content.
Zheng Zhu [Thu, 9 Dec 2004 03:00:49 +0000 (03:00 +0000)]
Added optional setting to allow UI messages act as content.

19 years agoMerge image gallery fixlets from 1.4
Brion Vibber [Thu, 9 Dec 2004 02:13:00 +0000 (02:13 +0000)]
Merge image gallery fixlets from 1.4

19 years ago* Fix string escaping with PostgreSQL
Brion Vibber [Wed, 8 Dec 2004 19:51:30 +0000 (19:51 +0000)]
* Fix string escaping with PostgreSQL

19 years ago(bug 1039) mCache may not be an array if cache failures are happening, so check befor...
Brion Vibber [Wed, 8 Dec 2004 17:43:09 +0000 (17:43 +0000)]
(bug 1039) mCache may not be an array if cache failures are happening, so check before searching it

19 years agohtmlspecialchars [MF REL1_4]
River Tarnell [Wed, 8 Dec 2004 11:02:08 +0000 (11:02 +0000)]
htmlspecialchars [MF REL1_4]

19 years agoprevent javascript insertion
Jens Frank [Wed, 8 Dec 2004 10:50:08 +0000 (10:50 +0000)]
prevent javascript insertion

19 years ago(bug 1016) Fix handling of lines omitting Image: in a <gallery> tag
Jens Frank [Tue, 7 Dec 2004 23:44:04 +0000 (23:44 +0000)]
(bug 1016) Fix handling of lines omitting Image: in a <gallery> tag

19 years agoadded user option to disable Chinese language conversion
Zheng Zhu [Tue, 7 Dec 2004 22:23:21 +0000 (22:23 +0000)]
added user option to disable Chinese language conversion

19 years agobug 1004 Capitalized Norsk
Jens Frank [Tue, 7 Dec 2004 22:17:49 +0000 (22:17 +0000)]
bug 1004 Capitalized Norsk

19 years agoWarning about enabling proxy scanner
Jens Frank [Tue, 7 Dec 2004 21:23:13 +0000 (21:23 +0000)]
Warning about enabling proxy scanner

19 years ago(bug 1024) Fix link to high-res image version on Image: pages
Jens Frank [Tue, 7 Dec 2004 21:19:02 +0000 (21:19 +0000)]
(bug 1024) Fix link to high-res image version on Image: pages

19 years agomore fixes for languages with no language files; allow UI customization for all langu...
Zheng Zhu [Tue, 7 Dec 2004 20:22:22 +0000 (20:22 +0000)]
more fixes for languages with no language files; allow UI customization for all languages.

19 years ago* (bug 1018) Some pages fail with stub threshold enabled
Brion Vibber [Tue, 7 Dec 2004 18:43:25 +0000 (18:43 +0000)]
* (bug 1018) Some pages fail with stub threshold enabled

19 years agoChanged <br> and <br/> tags to <br />, for XHTML compliance, as per
Shane King [Tue, 7 Dec 2004 13:19:31 +0000 (13:19 +0000)]
Changed <br> and <br/> tags to <br />, for XHTML compliance, as per
bug #1023.

19 years agoFixed a problem when displaying the New Image Gallery.
Nicholas Pisarro, Jr [Tue, 7 Dec 2004 13:10:56 +0000 (13:10 +0000)]
Fixed a problem when displaying the New Image Gallery.

Check to make sure a valid name object is returned by "Title".
This may occur if a record is not valid in the DB.

19 years agoFixed prev/next links for Special:BrokenRedirects and
Shane King [Tue, 7 Dec 2004 12:41:13 +0000 (12:41 +0000)]
Fixed prev/next links for Special:BrokenRedirects and
Special:DoubleRedirects. See bug #1025.

19 years ago(bug 1027) Fix page moves with table prefix
Brion Vibber [Tue, 7 Dec 2004 07:58:36 +0000 (07:58 +0000)]
(bug 1027) Fix page moves with table prefix

19 years agoFix fatal error on search update
Brion Vibber [Tue, 7 Dec 2004 07:55:26 +0000 (07:55 +0000)]
Fix fatal error on search update

19 years agoFix for buf #1026, where next/prev page links point to the wrong place.
Shane King [Tue, 7 Dec 2004 05:35:14 +0000 (05:35 +0000)]
Fix for buf #1026, where next/prev page links point to the wrong place.

19 years agoAdded support for .. style backlinks within subpages. See bug #981
Shane King [Tue, 7 Dec 2004 01:23:32 +0000 (01:23 +0000)]
Added support for .. style backlinks within subpages. See bug #981
for full details.

19 years ago1014 fix from REL1_4
Brion Vibber [Mon, 6 Dec 2004 14:51:18 +0000 (14:51 +0000)]
1014 fix from REL1_4

19 years agofix install/update problem for languages without language files
Zheng Zhu [Mon, 6 Dec 2004 04:36:12 +0000 (04:36 +0000)]
fix install/update problem for languages without language files

19 years ago* Fix for load balancing mode, notify if using old settings format
Brion Vibber [Mon, 6 Dec 2004 01:14:53 +0000 (01:14 +0000)]
* Fix for load balancing mode, notify if using old settings format

19 years ago* Login works again when using an old-style default skin
Brion Vibber [Mon, 6 Dec 2004 00:37:08 +0000 (00:37 +0000)]
* Login works again when using an old-style default skin

19 years agoBug 985 Fix auto-summary for section edits
Jens Frank [Sun, 5 Dec 2004 23:16:35 +0000 (23:16 +0000)]
Bug 985 Fix auto-summary for section edits

19 years agoBug 995 Close <a> tag
Jens Frank [Sun, 5 Dec 2004 22:28:15 +0000 (22:28 +0000)]
Bug 995 Close <a> tag

19 years agoBug#1004 renamed norsk language links
Jens Frank [Sun, 5 Dec 2004 21:50:02 +0000 (21:50 +0000)]
Bug#1004 renamed norsk language links

19 years agomake sure all language variants are initialized.
Zheng Zhu [Sun, 5 Dec 2004 21:33:51 +0000 (21:33 +0000)]
make sure all language variants are initialized.

19 years agoGet image gallery playing nice with missing image files
Brion Vibber [Sun, 5 Dec 2004 19:14:31 +0000 (19:14 +0000)]
Get image gallery playing nice with missing image files

19 years ago* (bug 1010) fix broken Commons image link on Classic & Cologne Blue
Brion Vibber [Sun, 5 Dec 2004 18:54:49 +0000 (18:54 +0000)]
* (bug 1010) fix broken Commons image link on Classic & Cologne Blue

19 years agoTreat each Chinese character as a single word when diffing, and glue them back togeth...
Zheng Zhu [Sun, 5 Dec 2004 02:17:21 +0000 (02:17 +0000)]
Treat each Chinese character as a single word when diffing, and glue them back together afterward. This gives much more readable diff for zh.

19 years ago(bug 992) Return a reference from RecentChange::getTitle() to fix error messages...
Brion Vibber [Sat, 4 Dec 2004 18:48:57 +0000 (18:48 +0000)]
(bug 992) Return a reference from RecentChange::getTitle() to fix error messages in enhanced RC on PHP5

19 years agoupdate comments
Zheng Zhu [Sat, 4 Dec 2004 16:01:56 +0000 (16:01 +0000)]
update comments

19 years agoFix wrong function call in changeslist for block link
Brion Vibber [Sat, 4 Dec 2004 05:55:02 +0000 (05:55 +0000)]
Fix wrong function call in changeslist for block link

19 years ago(bug 987) revert broken attempt to fix bug 502, which broke MonoBook tabs in diff...
Brion Vibber [Sat, 4 Dec 2004 05:03:19 +0000 (05:03 +0000)]
(bug 987) revert broken attempt to fix bug 502, which broke MonoBook tabs in diff views and hides the sidebar for error pages in Classic

19 years agoFirst segment then convert when preparing for indexing.
Zheng Zhu [Sat, 4 Dec 2004 04:44:19 +0000 (04:44 +0000)]
First segment then convert when preparing for indexing.

19 years agoBump version to 1.5alpha
Brion Vibber [Fri, 3 Dec 2004 12:06:47 +0000 (12:06 +0000)]
Bump version to 1.5alpha

19 years agofix really outdated comments
Domas Mituzas [Fri, 3 Dec 2004 11:44:27 +0000 (11:44 +0000)]
fix really outdated comments

19 years agoUpdate INSTALL info a bit, remove old experimental texvc.phtml
Brion Vibber [Fri, 3 Dec 2004 11:18:16 +0000 (11:18 +0000)]
Update INSTALL info a bit, remove old experimental texvc.phtml

19 years agoCLI-protect the usemod importer, remove the old version
Brion Vibber [Fri, 3 Dec 2004 11:09:33 +0000 (11:09 +0000)]
CLI-protect the usemod importer, remove the old version

19 years agoAdd some conditional die()s to suppress fatal error messages if certain files are...
Brion Vibber [Fri, 3 Dec 2004 10:57:19 +0000 (10:57 +0000)]
Add some conditional die()s to suppress fatal error messages if certain files are run directly from the web. On a server concerned about path disclosure, display_errors should be off, but we can play nice anyway.

19 years agonotes
Brion Vibber [Fri, 3 Dec 2004 10:41:57 +0000 (10:41 +0000)]
notes

19 years agoRequire running from command line
Brion Vibber [Fri, 3 Dec 2004 10:30:50 +0000 (10:30 +0000)]
Require running from command line

19 years agoHide tests from web. Probably harmless, but safer to keep it out.
Brion Vibber [Fri, 3 Dec 2004 08:42:27 +0000 (08:42 +0000)]
Hide tests from web. Probably harmless, but safer to keep it out.

19 years ago(bug 144) Dan Keshet's category backlinks special-casing patch, with sql escaping...
Brion Vibber [Fri, 3 Dec 2004 08:12:50 +0000 (08:12 +0000)]
(bug 144) Dan Keshet's category backlinks special-casing patch, with sql escaping fix.

19 years ago(sp)
Erik Moeller [Thu, 2 Dec 2004 21:00:40 +0000 (21:00 +0000)]
(sp)

19 years agoFurther explanation as to why to avoid CVS keywords.
Evan Prodromou [Thu, 2 Dec 2004 19:57:34 +0000 (19:57 +0000)]
Further explanation as to why to avoid CVS keywords.

19 years ago- Refactor Image class for better maintainability
Erik Moeller [Thu, 2 Dec 2004 19:56:00 +0000 (19:56 +0000)]
- Refactor Image class for better maintainability
- Add $wgRepositoryBaseUrl for backlinks to repository wiki from local
image pages

19 years agounbreak full text search support / index updates on PostgreSQL
Domas Mituzas [Thu, 2 Dec 2004 19:25:36 +0000 (19:25 +0000)]
unbreak full text search support / index updates on PostgreSQL

19 years ago* move SpecialSearch::getSearchEngines() to SearchEngine::create()
Domas Mituzas [Thu, 2 Dec 2004 19:09:40 +0000 (19:09 +0000)]
* move SpecialSearch::getSearchEngines() to SearchEngine::create()
* add SearchEngine*::update() and updateTitle()
* move sql queries from SearchUpdate to SearchEngine* (update and updateTitle()

19 years agochiTumbuka
Tim Starling [Thu, 2 Dec 2004 05:00:11 +0000 (05:00 +0000)]
chiTumbuka

19 years ago(bug 973) quickie brake for images with many many uses
Brion Vibber [Thu, 2 Dec 2004 03:04:56 +0000 (03:04 +0000)]
(bug 973) quickie brake for images with many many uses

19 years agoXHTML fixes
Brion Vibber [Wed, 1 Dec 2004 16:45:26 +0000 (16:45 +0000)]
XHTML fixes

19 years agoSend form submits back to this page, not imagelist!
Brion Vibber [Wed, 1 Dec 2004 16:28:56 +0000 (16:28 +0000)]
Send form submits back to this page, not imagelist!

19 years agoSigh...
Brion Vibber [Wed, 1 Dec 2004 16:11:03 +0000 (16:11 +0000)]
Sigh...

19 years agoPrefixes now working in installer
Brion Vibber [Wed, 1 Dec 2004 14:16:34 +0000 (14:16 +0000)]
Prefixes now working in installer

19 years agoRemove odd version check in one of the updates which looks like it would break certai...
Brion Vibber [Wed, 1 Dec 2004 13:56:05 +0000 (13:56 +0000)]
Remove odd version check in one of the updates which looks like it would break certain upgrades.
Add notice to the password updater that it's probably not going to work as-is. (It's not called.)

19 years agoFix second install pass (upgrade) running on a wiki with table prefix
Brion Vibber [Wed, 1 Dec 2004 13:53:53 +0000 (13:53 +0000)]
Fix second install pass (upgrade) running on a wiki with table prefix

19 years agoAdd basic support for table prefixes to the installer. (Probably will fail on upgrade...
Brion Vibber [Wed, 1 Dec 2004 13:15:13 +0000 (13:15 +0000)]
Add basic support for table prefixes to the installer. (Probably will fail on upgrades yet.) .sql files should still be usable 'raw' on a wiki with no prefix.

19 years agoRemove unused initialdata.sql, possibly unsafe if somebody uses it by mistake
Brion Vibber [Wed, 1 Dec 2004 12:39:30 +0000 (12:39 +0000)]
Remove unused initialdata.sql, possibly unsafe if somebody uses it by mistake

19 years agoAdded a special page for "uncategorized categories", as requested in bug #687.
Shane King [Wed, 1 Dec 2004 12:23:14 +0000 (12:23 +0000)]
Added a special page for "uncategorized categories", as requested in bug #687.

19 years agoMoved Evan's sample hook-using extension from phase3 to extensions module.
Brion Vibber [Wed, 1 Dec 2004 08:51:06 +0000 (08:51 +0000)]
Moved Evan's sample hook-using extension from phase3 to extensions module.
The extensions directory in the phase3 distribution is meant to be empty.

19 years agoRevert accidental checkin of unused experimental code.
Brion Vibber [Wed, 1 Dec 2004 08:48:31 +0000 (08:48 +0000)]
Revert accidental checkin of unused experimental code.

19 years agoProfiling points. Bump version to 1.4.0beta0; update HISTORY notes to current 1.3...
Brion Vibber [Wed, 1 Dec 2004 08:46:48 +0000 (08:46 +0000)]
Profiling points. Bump version to 1.4.0beta0; update HISTORY notes to current 1.3; prepare for REL1_4 branch.

19 years ago(bug 961) Treat languages without names more cleanly
Brion Vibber [Wed, 1 Dec 2004 01:22:36 +0000 (01:22 +0000)]
(bug 961) Treat languages without names more cleanly

19 years agoAllowed HTML list has been frozen for some time, and we're trying not to add new...
Brion Vibber [Tue, 30 Nov 2004 08:00:17 +0000 (08:00 +0000)]
Allowed HTML list has been frozen for some time, and we're trying not to add new tags.

19 years agoAdded hooks for watching and unwatching articles. Documented in
Evan Prodromou [Tue, 30 Nov 2004 05:45:56 +0000 (05:45 +0000)]
Added hooks for watching and unwatching articles. Documented in
hooks.doc, and an example in Syslog extension.

19 years agoFix bug http://bugzilla.wikimedia.org/show_bug.cgi?id=671
Antoine Musso [Tue, 30 Nov 2004 05:22:39 +0000 (05:22 +0000)]
Fix bug bugzilla.wikimedia.org/show_bug.cgi?id=671
* allow <abbr> and <acronym>

19 years agoRemoved CVS keywords from files, to make merging between branches
Evan Prodromou [Mon, 29 Nov 2004 18:25:30 +0000 (18:25 +0000)]
Removed CVS keywords from files, to make merging between branches
easier. Interpolated keywords cause lots of conflicts and headaches at
merge time for older (<1.12.x) CVS versions.

19 years agoMake User::newFromName set the user object's ID attribute, so it can
Evan Prodromou [Mon, 29 Nov 2004 17:58:28 +0000 (17:58 +0000)]
Make User::newFromName set the user object's ID attribute, so it can
be used for other methods and lazy loading. Previously, you had to use
the class method idForName and assign its value using setId(). Since
all the code that was using newFromName was doing this, it seems like
client programs want a "real" User returned from newFromName. Replaced
client code that was doing newFromName, idForName, setId with just
newFromName. This doesn't seem to break newFromName's semantics; it
seems intuitive (to me) that the user object returned from newFromName
should be usable as returned.

19 years agoAnother step in removing deferred updates. Removed the UserTalkUpdate
Evan Prodromou [Mon, 29 Nov 2004 17:36:13 +0000 (17:36 +0000)]
Another step in removing deferred updates. Removed the UserTalkUpdate
module and moved user talk modification code to User (it's read in
User, should probably be written in User, too). Changed calling code
in Article to update the user directly, rather than using the
UserTalkUpdate class. Tested with logged-in and not-logged-in users.

19 years agoslightly more informative error message
Zheng Zhu [Mon, 29 Nov 2004 15:32:42 +0000 (15:32 +0000)]
slightly more informative error message

19 years agofix typo
Zheng Zhu [Mon, 29 Nov 2004 15:24:02 +0000 (15:24 +0000)]
fix typo

19 years agomade connection errors work again
Tim Starling [Mon, 29 Nov 2004 12:36:43 +0000 (12:36 +0000)]
made connection errors work again

19 years agoparse() function, simplifying calling of the parser by supplying options from OutputPage
Tim Starling [Mon, 29 Nov 2004 11:26:24 +0000 (11:26 +0000)]
parse() function, simplifying calling of the parser by supplying options from OutputPage

19 years agoSince updates are no longer truly deferred, replaced code for adding
Evan Prodromou [Mon, 29 Nov 2004 05:52:26 +0000 (05:52 +0000)]
Since updates are no longer truly deferred, replaced code for adding
UserUpdate's to the deferred list with in-place code for updating the
user. Removed UserUpdate.php from CVS and from UpdateClasses.php.

19 years agoAdded hook events for "E-mail this user" feature. Documented in
Evan Prodromou [Mon, 29 Nov 2004 04:23:12 +0000 (04:23 +0000)]
Added hook events for "E-mail this user" feature. Documented in
hooks.doc, and added a sample hook to Syslog extension.

19 years agoRC patrol fixlet: include rcid in 'diff' link in enhanced mode, for individually...
Brion Vibber [Mon, 29 Nov 2004 04:00:05 +0000 (04:00 +0000)]
RC patrol fixlet: include rcid in 'diff' link in enhanced mode, for individually-shown edits

19 years agotypo
Zheng Zhu [Mon, 29 Nov 2004 03:34:20 +0000 (03:34 +0000)]
typo

19 years agotry all variants when displaying search results.
Zheng Zhu [Mon, 29 Nov 2004 02:42:58 +0000 (02:42 +0000)]
try all variants when displaying search results.

19 years agoexplode with limit
Zheng Zhu [Mon, 29 Nov 2004 02:36:27 +0000 (02:36 +0000)]
explode with limit

19 years agocorrect parsing of info line for CONV ALL query
Zheng Zhu [Mon, 29 Nov 2004 02:14:54 +0000 (02:14 +0000)]
correct parsing of info line for CONV ALL query

19 years agobetter support for multiple language variants when displaying the search result.
Zheng Zhu [Mon, 29 Nov 2004 01:46:23 +0000 (01:46 +0000)]
better support for multiple language variants when displaying the search result.

19 years agoadded convertForSearchResult() so that search results are correctly shown for languag...
Zheng Zhu [Mon, 29 Nov 2004 01:22:44 +0000 (01:22 +0000)]
added convertForSearchResult() so that search results are correctly shown for languages that support multiple variants

19 years agoAdded "unknown action" event, so that extensions can define new
Evan Prodromou [Sun, 28 Nov 2004 07:06:25 +0000 (07:06 +0000)]
Added "unknown action" event, so that extensions can define new
actions and handle them. Documented in hooks.doc, but not really
appropriate for the Syslog extension, so ignored.

19 years agoAdd event hooks for article save. Documented in hooks.doc, and example
Evan Prodromou [Sun, 28 Nov 2004 06:45:24 +0000 (06:45 +0000)]
Add event hooks for article save. Documented in hooks.doc, and example
in Syslog extension.

19 years agoAdd event hooking for article deletion. Add a hook for article
Evan Prodromou [Sun, 28 Nov 2004 06:15:22 +0000 (06:15 +0000)]
Add event hooking for article deletion. Add a hook for article
deletion in the Syslog extension to test/demonstrate/whatever.
Document the events in hooks.doc.

19 years agoFor now, at least, language links are written in HTML due to Latin-1 silliness. Don...
Brion Vibber [Sun, 28 Nov 2004 04:16:24 +0000 (04:16 +0000)]
For now, at least, language links are written in HTML due to Latin-1 silliness. Don't escape them again...

19 years agoProfiling points
Brion Vibber [Sun, 28 Nov 2004 04:05:05 +0000 (04:05 +0000)]
Profiling points

19 years agoLoop invariant optimization: skip further checks for subpages on namespaces where...
Brion Vibber [Sun, 28 Nov 2004 03:29:50 +0000 (03:29 +0000)]
Loop invariant optimization: skip further checks for subpages on namespaces where subpages aren't allowed. Saves ~20ms on [[List of Royal Navy ship names]] on my test rig.

19 years agoAvoid undefined string index notice on {{}}
Brion Vibber [Sun, 28 Nov 2004 02:46:52 +0000 (02:46 +0000)]
Avoid undefined string index notice on {{}}

19 years agoPer brion's suggestion, changed <? to <?php in Syslog, and change
Evan Prodromou [Sun, 28 Nov 2004 00:51:43 +0000 (00:51 +0000)]
Per brion's suggestion, changed <? to <?php in Syslog, and change
functions to strings in Syslog and hooks.doc examples.

19 years agoAdded hook events for article protection. Added sample code to Syslog
Evan Prodromou [Sun, 28 Nov 2004 00:20:37 +0000 (00:20 +0000)]
Added hook events for article protection. Added sample code to Syslog
extensions, and documented in hooks.doc.

19 years agoAdded event-hooking code for blocking users and IPs. Added a handler
Evan Prodromou [Sat, 27 Nov 2004 23:57:55 +0000 (23:57 +0000)]
Added event-hooking code for blocking users and IPs. Added a handler
to the Syslog extension for blocked users to test this event. Added
documentation for the event to hooks.doc.