lhc/web/wiklou.git
18 years agoBump to 1.5alpha2 1.5.0alpha2
Brion Vibber [Fri, 3 Jun 2005 14:50:34 +0000 (14:50 +0000)]
Bump to 1.5alpha2

18 years ago* (bug 814) Integrate AuthPlugin changes to support Ryan Lane's external
Brion Vibber [Fri, 3 Jun 2005 11:56:02 +0000 (11:56 +0000)]
* (bug 814) Integrate AuthPlugin changes to support Ryan Lane's external
  LDAP authentication plugin

18 years ago* (bug 684) Accept an attribute parameter array on parser hook tags
Brion Vibber [Fri, 3 Jun 2005 08:12:48 +0000 (08:12 +0000)]
* (bug 684) Accept an attribute parameter array on parser hook tags
Some parts of http://bugzilla.wikimedia.org/attachment.cgi?id=96&action=view
with heavy modification; using tag matching in the style we accept regular
HTML elements, and decode attribute values to proper strings.

18 years ago* (bug 2130) Fixed interwiki links with fragments
Brion Vibber [Fri, 3 Jun 2005 05:46:24 +0000 (05:46 +0000)]
* (bug 2130) Fixed interwiki links with fragments

18 years agoAdd test for bug 2130
Brion Vibber [Thu, 2 Jun 2005 22:39:48 +0000 (22:39 +0000)]
Add test for bug 2130

18 years agonew load balancing algorithm
Alexander Sigachov [Thu, 2 Jun 2005 19:50:46 +0000 (19:50 +0000)]
new load balancing algorithm

18 years ago* Removed -f parameter from mail() usage, likely to cause failures and bounces.
Brion Vibber [Thu, 2 Jun 2005 03:12:54 +0000 (03:12 +0000)]
* Removed -f parameter from mail() usage, likely to cause failures and bounces.

18 years agoBug 1929: Incorrect comment in DefaultSettings.php
Brion Vibber [Thu, 2 Jun 2005 01:34:15 +0000 (01:34 +0000)]
Bug 1929: Incorrect comment in DefaultSettings.php

18 years ago* (bug 2173) Fatal error when removing an article with an empty title from
Brion Vibber [Thu, 2 Jun 2005 00:24:31 +0000 (00:24 +0000)]
* (bug 2173) Fatal error when removing an article with an empty title from
the watchlist

18 years agomoved external links to where they should be
Tim Starling [Wed, 1 Jun 2005 19:13:03 +0000 (19:13 +0000)]
moved external links to where they should be

18 years agoupdated
Tim Starling [Wed, 1 Jun 2005 19:06:46 +0000 (19:06 +0000)]
updated

18 years ago* (bug 2274) Respect stub threshold in category page list
Brion Vibber [Wed, 1 Jun 2005 10:29:34 +0000 (10:29 +0000)]
* (bug 2274) Respect stub threshold in category page list
Uses page_len field, so doesn't have to do extra lookups.

18 years ago* (bug 2053) Move comment whitespace trimming from edit page to save;
Brion Vibber [Wed, 1 Jun 2005 08:18:34 +0000 (08:18 +0000)]
* (bug 2053) Move comment whitespace trimming from edit page to save;
  leaves the whitespace from the section comment there on preview.

18 years agonew load balancing algorithm
Tim Starling [Wed, 1 Jun 2005 06:18:49 +0000 (06:18 +0000)]
new load balancing algorithm

18 years agoGet this more or less in line with code formatting standard.
Brion Vibber [Wed, 1 Jun 2005 05:59:43 +0000 (05:59 +0000)]
Get this more or less in line with code formatting standard.
Fix some HTML/JS injection bugs. Some aggressive escaping; some message bits should be wikified.
Some database bits fixed up for current db system; others need to be done still.

18 years ago* (bug 2275) Update search index more or less right on page move
Brion Vibber [Wed, 1 Jun 2005 02:31:45 +0000 (02:31 +0000)]
* (bug 2275) Update search index more or less right on page move

18 years ago* Fix function comment in debug dump of SQL statements
Brion Vibber [Wed, 1 Jun 2005 02:10:29 +0000 (02:10 +0000)]
* Fix function comment in debug dump of SQL statements
I could swear I've fixed this thing several times.

18 years agoTypo in 'uploadscripted'
Alexander Sigachov [Tue, 31 May 2005 21:58:21 +0000 (21:58 +0000)]
Typo in 'uploadscripted'

18 years agoUpdated to Language.php 1.558
Alexander Sigachov [Tue, 31 May 2005 21:55:56 +0000 (21:55 +0000)]
Updated to Language.php 1.558

18 years agoDon't bother extracting action if $wgActionUrls is not set up.
Brion Vibber [Tue, 31 May 2005 13:06:10 +0000 (13:06 +0000)]
Don't bother extracting action if $wgActionUrls is not set up.

18 years ago* Replace wfMungeToUtf8 and do_html_entity_decode with a single function
Brion Vibber [Tue, 31 May 2005 11:54:36 +0000 (11:54 +0000)]
* Replace wfMungeToUtf8 and do_html_entity_decode with a single function
  that does both numeric and named chars: Sanitizer::decodeCharReferences
* Removed some obsolete UTF-8 converter functions

18 years agoonly search article namespace by default
Erik Moeller [Tue, 31 May 2005 10:39:10 +0000 (10:39 +0000)]
only search article namespace by default

18 years ago* Only build the HTML attribute whitelist tree once.
Brion Vibber [Tue, 31 May 2005 10:21:14 +0000 (10:21 +0000)]
* Only build the HTML attribute whitelist tree once.

18 years agoFix typo from pagelinks update -> crashing bug on undelete
Brion Vibber [Tue, 31 May 2005 09:08:19 +0000 (09:08 +0000)]
Fix typo from pagelinks update -> crashing bug on undelete

18 years agotypo--wrong func name
Brion Vibber [Tue, 31 May 2005 08:59:12 +0000 (08:59 +0000)]
typo--wrong func name

18 years ago* (bug 2271) Use faster text-only link replacement in image alt text
Brion Vibber [Tue, 31 May 2005 08:49:03 +0000 (08:49 +0000)]
* (bug 2271) Use faster text-only link replacement in image alt text
  instead of rerunning expensive link lookup and HTML generation.

18 years agoUsing the same message for GPSSpeedRef and GPSDestDistanceRef
Alexander Sigachov [Tue, 31 May 2005 08:20:40 +0000 (08:20 +0000)]
Using the same message for GPSSpeedRef and GPSDestDistanceRef

18 years ago* Remove linkscc table code, no longer used.
Brion Vibber [Tue, 31 May 2005 07:21:31 +0000 (07:21 +0000)]
* Remove linkscc table code, no longer used.

18 years agoEXIF translation by [[:ru:User:Panther]]
Alexander Sigachov [Mon, 30 May 2005 23:38:19 +0000 (23:38 +0000)]
EXIF translation by [[:ru:User:Panther]]

18 years ago* Using the same message for GPSSpeedRef and GPSDestDistanceRef
Ævar Arnfjörð Bjarmason [Mon, 30 May 2005 19:56:37 +0000 (19:56 +0000)]
* Using the same message for GPSSpeedRef and GPSDestDistanceRef

18 years ago* Using the same message for GPSLatitudeRef and GPSDestLatitudeRef;
Ævar Arnfjörð Bjarmason [Mon, 30 May 2005 19:54:54 +0000 (19:54 +0000)]
* Using the same message for GPSLatitudeRef and GPSDestLatitudeRef;
  GPSLongitudeRef and GPSDestLongitudeRef; GPSSpeedRef and
  GPSDestDistanceRef; GPSTrackRef,GPSImgDirectionRef and GPSDestBearingRef

18 years agoDisable fulltext image name search in Special:Imagelist during MiserMode
Jens Frank [Mon, 30 May 2005 19:02:56 +0000 (19:02 +0000)]
Disable fulltext image name search in Special:Imagelist during MiserMode

18 years ago* Fix rebuildtextindex.inc for new schema
Brion Vibber [Mon, 30 May 2005 09:55:14 +0000 (09:55 +0000)]
* Fix rebuildtextindex.inc for new schema

18 years agoDon't create links & brokenlinks on new installations; skip links table
Brion Vibber [Mon, 30 May 2005 09:34:01 +0000 (09:34 +0000)]
Don't create links & brokenlinks on new installations; skip links table
update if pagelinks already exists.

18 years ago* (bug 2267) Don't generate thumbnail at the same size as the source image.
Brion Vibber [Mon, 30 May 2005 07:21:10 +0000 (07:21 +0000)]
* (bug 2267) Don't generate thumbnail at the same size as the source image.

18 years ago* (bug 2262) Hide math preferences when TeX is not enabled
Brion Vibber [Sun, 29 May 2005 20:43:30 +0000 (20:43 +0000)]
* (bug 2262) Hide math preferences when TeX is not enabled

18 years agoPut global def for $wgDisableHardRedirects where it's used
Brion Vibber [Sun, 29 May 2005 11:10:33 +0000 (11:10 +0000)]
Put global def for $wgDisableHardRedirects where it's used

18 years agofix syntax error introduced in last commit
Brion Vibber [Sun, 29 May 2005 10:45:37 +0000 (10:45 +0000)]
fix syntax error introduced in last commit

18 years agoFix for pagelinks
Brion Vibber [Sun, 29 May 2005 10:41:52 +0000 (10:41 +0000)]
Fix for pagelinks

18 years ago* (bug 2094) Multiple use of a template produced wrong results in some cases
Anders Wegge Jakobsen [Sun, 29 May 2005 10:28:39 +0000 (10:28 +0000)]
* (bug 2094) Multiple use of a template produced wrong results in some cases

18 years ago* (bug 2234) allow special chars in database passwords during install
Brion Vibber [Sun, 29 May 2005 10:20:21 +0000 (10:20 +0000)]
* (bug 2234) allow special chars in database passwords during install

18 years agoforward-ported the changes made in 1.40.2.1
Tim Starling [Sun, 29 May 2005 10:17:44 +0000 (10:17 +0000)]
forward-ported the changes made in 1.40.2.1

18 years agoDon't save group definitions; they use global variables which have been disappeared...
Brion Vibber [Sun, 29 May 2005 10:03:03 +0000 (10:03 +0000)]
Don't save group definitions; they use global variables which have been disappeared, and cause failure of installation.
On the other hand, the created sysop user doesn't seem to have any useful permissions now.

18 years agomissed a change
Tim Starling [Sun, 29 May 2005 06:25:48 +0000 (06:25 +0000)]
missed a change

18 years agoforward-ported $wgDisableHardRedirects
Tim Starling [Sun, 29 May 2005 06:22:43 +0000 (06:22 +0000)]
forward-ported $wgDisableHardRedirects

18 years agoforward-ported $wgSkipSkin from REL1_4, with enhancements
Tim Starling [Sun, 29 May 2005 06:18:10 +0000 (06:18 +0000)]
forward-ported $wgSkipSkin from REL1_4, with enhancements

18 years agoported $wgAntiLockFlags from REL1_4
Tim Starling [Sun, 29 May 2005 05:54:04 +0000 (05:54 +0000)]
ported $wgAntiLockFlags from REL1_4

18 years agofixed forward-port error
Tim Starling [Sun, 29 May 2005 05:31:47 +0000 (05:31 +0000)]
fixed forward-port error

18 years agoCompleted reversion of removal of non-incremental link updates. Reasons previously...
Tim Starling [Sun, 29 May 2005 05:31:29 +0000 (05:31 +0000)]
Completed reversion of removal of non-incremental link updates. Reasons previously explained.

18 years agoPorted proxy whitelist from REL1_4, also fixed broken $bFromSlave parameter (untested)
Tim Starling [Sun, 29 May 2005 04:44:13 +0000 (04:44 +0000)]
Ported proxy whitelist from REL1_4, also fixed broken $bFromSlave parameter (untested)

18 years agoRemoved "show updated marker" user preference option. It's now visually inoffensive...
Tim Starling [Sun, 29 May 2005 04:29:29 +0000 (04:29 +0000)]
Removed "show updated marker" user preference option. It's now visually inoffensive, and has no performance penalty for reads, so there's no reason users would want to have it off. System administrators may want to have it off though, since it impacts on page save performance. Also changed the watchlist header format.

18 years agoInclude timestamp and database in rate limiter log (applying live patch)
Brion Vibber [Sun, 29 May 2005 00:23:41 +0000 (00:23 +0000)]
Include timestamp and database in rate limiter log (applying live patch)

18 years agopatch-img_media_type.sql assumed that img_type field existed and dropped it.
Evan Prodromou [Sat, 28 May 2005 21:18:39 +0000 (21:18 +0000)]
patch-img_media_type.sql assumed that img_type field existed and dropped it.
This was incorrect and borked updates; now check for the field and
drop it only if it exists. NB this process should probably be
automated as the field-adding process has been.

18 years agoRemoved commented-out lines and commas that broke patch.
Evan Prodromou [Sat, 28 May 2005 20:57:20 +0000 (20:57 +0000)]
Removed commented-out lines and commas that broke patch.

18 years agoRemoved what seems to be unused strings from composeCommonMailtext(). More work needs...
Anders Wegge Jakobsen [Sat, 28 May 2005 19:30:45 +0000 (19:30 +0000)]
Removed what seems to be unused strings from composeCommonMailtext(). More work needs to be done.

18 years agomake Special:Newpages includable
Erik Moeller [Sat, 28 May 2005 17:17:27 +0000 (17:17 +0000)]
make Special:Newpages includable
{{Special:Newpages}} => default number of pages, with no navigation
{{Special:Newpages/shownav}} => show the header and navigation links
{{Special:Newpages/10}} => set number of pages to 10
{{Special:Newpages/limit=5,offset=10,shownav}} => all possible params

18 years agoone wl_notificationtimestamp update query for all users, instead of one for each
Tim Starling [Sat, 28 May 2005 15:33:22 +0000 (15:33 +0000)]
one wl_notificationtimestamp update query for all users, instead of one for each

18 years agohide all enotif options when enotif is disabled
Tim Starling [Sat, 28 May 2005 13:50:18 +0000 (13:50 +0000)]
hide all enotif options when enotif is disabled

18 years agoReduce the risk of dropping edits during conflict resolution
Anders Wegge Jakobsen [Sat, 28 May 2005 12:21:56 +0000 (12:21 +0000)]
Reduce the risk of dropping edits during conflict resolution

18 years agotest before commit, idiot
Tim Starling [Sat, 28 May 2005 11:51:27 +0000 (11:51 +0000)]
test before commit, idiot

18 years agoUnconditional inclusion for SpecialPage.php, needed for {{special:whatever}}. Fixed...
Tim Starling [Sat, 28 May 2005 11:49:40 +0000 (11:49 +0000)]
Unconditional inclusion for SpecialPage.php, needed for {{special:whatever}}. Fixed getRedirect() to work with this inclusion order.

18 years agobasic support for special page inclusions
Tim Starling [Sat, 28 May 2005 11:09:22 +0000 (11:09 +0000)]
basic support for special page inclusions

18 years agoless debug log spam
Tim Starling [Sat, 28 May 2005 11:07:55 +0000 (11:07 +0000)]
less debug log spam

18 years agofixed pagelinks bug
Tim Starling [Sat, 28 May 2005 10:08:08 +0000 (10:08 +0000)]
fixed pagelinks bug

18 years agofixed comment
Tim Starling [Sat, 28 May 2005 09:17:23 +0000 (09:17 +0000)]
fixed comment

18 years agofixed horrible sidebar breakage under windows due to \\r\\n line endings in Language.php
Tim Starling [Sat, 28 May 2005 08:35:50 +0000 (08:35 +0000)]
fixed horrible sidebar breakage under windows due to \\r\\n line endings in Language.php

18 years agowarnings, category links
Tim Starling [Sat, 28 May 2005 07:06:51 +0000 (07:06 +0000)]
warnings, category links

18 years agoMany changes. Work in progress, do not use.
Tim Starling [Sat, 28 May 2005 07:05:28 +0000 (07:05 +0000)]
Many changes. Work in progress, do not use.

18 years agoAdded wfMkdirParents(), used in HTML dump. Works like unix mkdir -p
Tim Starling [Sat, 28 May 2005 07:03:29 +0000 (07:03 +0000)]
Added wfMkdirParents(), used in HTML dump. Works like unix mkdir -p

18 years agoAssorted changes to HTML dump paths
Tim Starling [Sat, 28 May 2005 07:02:16 +0000 (07:02 +0000)]
Assorted changes to HTML dump paths

18 years agoAdded LIMIT 1 to revision query, for no particularly good reason. I was going to...
Tim Starling [Sat, 28 May 2005 07:01:14 +0000 (07:01 +0000)]
Added LIMIT 1 to revision query, for no particularly good reason. I was going to pass a condition which matched more than one row but changed my mind.

18 years agoformatting tweak
Tim Starling [Sat, 28 May 2005 07:00:28 +0000 (07:00 +0000)]
formatting tweak

18 years agoconvenient ParserOptions constructor
Tim Starling [Sat, 28 May 2005 06:59:49 +0000 (06:59 +0000)]
convenient ParserOptions constructor

18 years agoupdated class name in $fname
Tim Starling [Sat, 28 May 2005 06:59:08 +0000 (06:59 +0000)]
updated class name in $fname

18 years agofixed check for old cache values in commons, and some other stuff
Tim Starling [Sat, 28 May 2005 06:57:59 +0000 (06:57 +0000)]
fixed check for old cache values in commons, and some other stuff

18 years agointroduced $wgHideInterlanguageLinks, needed for dumpHTML
Tim Starling [Sat, 28 May 2005 06:56:30 +0000 (06:56 +0000)]
introduced $wgHideInterlanguageLinks, needed for dumpHTML

18 years agoprofiling
Tim Starling [Sat, 28 May 2005 06:53:22 +0000 (06:53 +0000)]
profiling

18 years agofixed silly switch() use, much better handled with if..elseif..else
Tim Starling [Sat, 28 May 2005 06:52:55 +0000 (06:52 +0000)]
fixed silly switch() use, much better handled with if..elseif..else

18 years ago* Simple rate limiter for edits and page moves; set $wgRateLimits
Brion Vibber [Fri, 27 May 2005 11:03:37 +0000 (11:03 +0000)]
* Simple rate limiter for edits and page moves; set $wgRateLimits
  (somewhat experimental; currently needs memcached)
* Pretty up HTTP error output a bit (HTML instead of text/plain)
* Genericise DNS blacklist support a bit, func for Blitzed OPM
  (not yet used)

18 years ago* Add validate table and val_ip column through the updater.
Brion Vibber [Fri, 27 May 2005 02:36:30 +0000 (02:36 +0000)]
* Add validate table and val_ip column through the updater.

18 years agoUpdater script for pagelinks table.
Brion Vibber [Thu, 26 May 2005 10:31:36 +0000 (10:31 +0000)]
Updater script for pagelinks table.

18 years ago* links and brokenlinks tables merged to pagelinks; this will reduce pain
Brion Vibber [Thu, 26 May 2005 10:23:36 +0000 (10:23 +0000)]
* links and brokenlinks tables merged to pagelinks; this will reduce pain
  dealing with moves and deletes of widely-linked pages.

The updaters should be fixed up to understand future versions without the
tables there without breaking upgrades.

18 years ago* (bug 2166) Fix partial categorylinks update so sortkeys are updated.
Brion Vibber [Thu, 26 May 2005 00:24:03 +0000 (00:24 +0000)]
* (bug 2166) Fix partial categorylinks update so sortkeys are updated.

18 years ago* Cleaned up
Ævar Arnfjörð Bjarmason [Wed, 25 May 2005 04:31:12 +0000 (04:31 +0000)]
* Cleaned up

18 years ago* Fixed up the trivial command line example so that it doesn't crash in a
Ævar Arnfjörð Bjarmason [Wed, 25 May 2005 04:14:19 +0000 (04:14 +0000)]
* Fixed up the trivial command line example so that it doesn't crash in a
  non-trivial way.

18 years ago* Using $wgLang->getLanguageNames() rather than getting the language names
Ævar Arnfjörð Bjarmason [Wed, 25 May 2005 04:09:33 +0000 (04:09 +0000)]
* Using $wgLang->getLanguageNames() rather than getting the language names
  directly by including languages/Names.php

18 years ago* - is not a metacharacter in regular expressions, and ^ can be used to invert
Ævar Arnfjörð Bjarmason [Wed, 25 May 2005 01:36:38 +0000 (01:36 +0000)]
* - is not a metacharacter in regular expressions, and ^ can be used to invert
  matches within []

18 years ago* Adding $4 to msg:userstatstext which will transclude the percentage of
Ævar Arnfjörð Bjarmason [Wed, 25 May 2005 01:31:14 +0000 (01:31 +0000)]
* Adding $4 to msg:userstatstext which will transclude the percentage of
  admnistrators out of normal users.

18 years ago* Putting $4 in msg:userstatstext will now give the percentage of
Ævar Arnfjörð Bjarmason [Wed, 25 May 2005 01:29:55 +0000 (01:29 +0000)]
* Putting $4 in msg:userstatstext will now give the percentage of
  admnistrators out of normal users.

18 years ago* Removing $sk, wasn't used at all
Ævar Arnfjörð Bjarmason [Wed, 25 May 2005 01:29:41 +0000 (01:29 +0000)]
* Removing $sk, wasn't used at all
* Putting $4 in msg:userstatstext will now give the percentage of
  admnistrators out of normal users.

18 years ago* Fixed typo in id=""
Ævar Arnfjörð Bjarmason [Tue, 24 May 2005 22:01:50 +0000 (22:01 +0000)]
* Fixed typo in id=""
* Formatting

18 years ago* Moved the note about bug 419 under the correct heading
Ævar Arnfjörð Bjarmason [Tue, 24 May 2005 20:29:09 +0000 (20:29 +0000)]
* Moved the note about bug 419 under the correct heading
* Made a note about #p-nav now being called #p-navigation

18 years ago* Fixed typo
Ævar Arnfjörð Bjarmason [Tue, 24 May 2005 20:24:57 +0000 (20:24 +0000)]
* Fixed typo

18 years ago* Renaming #p-nav to #p-navigation ( it's now autogenerated from the name of
Ævar Arnfjörð Bjarmason [Tue, 24 May 2005 20:15:01 +0000 (20:15 +0000)]
* Renaming #p-nav to #p-navigation ( it's now autogenerated from the name of
  the wfMsg() by the sidebar generator )

18 years ago* Fixed a typo
Ævar Arnfjörð Bjarmason [Tue, 24 May 2005 20:12:40 +0000 (20:12 +0000)]
* Fixed a typo

18 years ago* (bug 419, 1764) Using a custom syntax for the sidebar and supporting multiple
Ævar Arnfjörð Bjarmason [Tue, 24 May 2005 20:06:52 +0000 (20:06 +0000)]
* (bug 419, 1764) Using a custom syntax for the sidebar and supporting multiple
  sidebars through the MediaWiki namespace.

18 years ago* Changing msg:navbar to link to the mainage with [[{{msg:mainpage}}|{{int:mainpage}}]
Ævar Arnfjörð Bjarmason [Tue, 24 May 2005 15:06:56 +0000 (15:06 +0000)]
* Changing msg:navbar to link to the mainage with [[{{msg:mainpage}}|{{int:mainpage}}]
  rather than [[{{int:mainpage}}]] so that the mainage link links to the content
  language's main page rather than the current user selected language's mainpage.

18 years ago* Fixed a bug where moving a page would cause the following SQL error when
Ævar Arnfjörð Bjarmason [Tue, 24 May 2005 14:56:07 +0000 (14:56 +0000)]
* Fixed a bug where moving a page would cause the following SQL error when
  updating the searchindex:
    UPDATE `Array` SET si_title='page 1' WHERE si_page='2910'
  from within function "SearchMySQL4::updateTitle". MySQL returned error
  "1146: Table 'HEAD.Array' doesn't exist (localhost)".
  The new query causes the following to be executed:
    UPDATE `searchindex` SET si_title='page 1' WHERE si_page='2909'
  (somebody more familiar with the the whole searchindexing code please review
  the while move process)

18 years ago* Added profiling to getNavigationLinks()
Ævar Arnfjörð Bjarmason [Tue, 24 May 2005 13:24:35 +0000 (13:24 +0000)]
* Added profiling to getNavigationLinks()

18 years ago* Removed empty comments
Ævar Arnfjörð Bjarmason [Tue, 24 May 2005 13:21:38 +0000 (13:21 +0000)]
* Removed empty comments