Brion Vibber [Thu, 9 Jun 2005 09:49:10 +0000 (09:49 +0000)]
Rework the user_groups system, again, into something that seems to actually
more or less work for now.
* user_groups ur_group is now a short string key ('sysop' etc)
* groups table is gone
* user_rights table is gone
* Permissions for groups are for now set in $wgGroupPermissions.
An in-database management system could be re-added in the future
if it's really needed, but for now it's mostly just been screwing
things up.
* Group.php and Special:Groups are deprecated; will probably die.
* User group memberships are set explicitly through addGroup and
removeGroup methods instead of being re-saved on every change to
the user record.
Group keys are migrated from user_rights at upgrade time for older wikis.
The fields in prior 1.5alpha tables were too screwed up and will need to
manually have sysops re-assigned.
The Makesysop extension will need some minor tweaks.
Brion Vibber [Wed, 8 Jun 2005 16:36:08 +0000 (16:36 +0000)]
Minor fixes to output. Add a --suffix= option to add a suffix to page titles on second-order conflict.
Brion Vibber [Wed, 8 Jun 2005 13:08:34 +0000 (13:08 +0000)]
Quickie namespace title conflict checker/resolver script.
Should work on 1.4 as well as 1.5.
Brion Vibber [Wed, 8 Jun 2005 11:40:14 +0000 (11:40 +0000)]
Another test i forgot about
Alexander Sigachov [Mon, 6 Jun 2005 08:55:48 +0000 (08:55 +0000)]
, , class LanguageOs extends LanguageRu, getMessage
Brion Vibber [Mon, 6 Jun 2005 03:06:53 +0000 (03:06 +0000)]
Fix for bug 2319, accidentally reverted in last checkin
Brion Vibber [Mon, 6 Jun 2005 03:04:12 +0000 (03:04 +0000)]
* Disallow close tags and enforce empty tags for <hr> and <br>
Brion Vibber [Mon, 6 Jun 2005 01:46:03 +0000 (01:46 +0000)]
* (bug 2309) Allow templates and template parameters in HTML attribute zone,
with proper validation checks. (regression from fix for 2304)
Brion Vibber [Mon, 6 Jun 2005 01:10:05 +0000 (01:10 +0000)]
* (bug 2334) Accept null for attribs in wfElement without PHP warning
Brion Vibber [Mon, 6 Jun 2005 00:38:31 +0000 (00:38 +0000)]
* (bug 1976) fix shared user database with a table prefix set
Brion Vibber [Sun, 5 Jun 2005 12:28:47 +0000 (12:28 +0000)]
Handle automatic reassignment of edits from duplicate accounts to the main
one.
Brion Vibber [Sun, 5 Jun 2005 11:19:52 +0000 (11:19 +0000)]
* (bug 2223) Add unique index on user_name field to prevent duplicate accounts
Anders Wegge Jakobsen [Sun, 5 Jun 2005 11:12:54 +0000 (11:12 +0000)]
Update of LanguageSk.php
Brion Vibber [Sun, 5 Jun 2005 10:38:19 +0000 (10:38 +0000)]
fix version check
Brion Vibber [Sun, 5 Jun 2005 10:23:45 +0000 (10:23 +0000)]
Script to check for and remove duplicate user table entries,
in preparation for adding a unique index on user_name.
Brion Vibber [Sun, 5 Jun 2005 07:55:54 +0000 (07:55 +0000)]
* (bug 2329) Fix title formatting in several special pages
Brion Vibber [Sat, 4 Jun 2005 22:49:08 +0000 (22:49 +0000)]
* (bug 2319) Fix parse hook tag matching
Brion Vibber [Fri, 3 Jun 2005 14:50:34 +0000 (14:50 +0000)]
Bump to 1.5alpha2
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
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.
Brion Vibber [Fri, 3 Jun 2005 05:46:24 +0000 (05:46 +0000)]
* (bug 2130) Fixed interwiki links with fragments
Brion Vibber [Thu, 2 Jun 2005 22:39:48 +0000 (22:39 +0000)]
Add test for bug 2130
Alexander Sigachov [Thu, 2 Jun 2005 19:50:46 +0000 (19:50 +0000)]
new load balancing algorithm
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.
Brion Vibber [Thu, 2 Jun 2005 01:34:15 +0000 (01:34 +0000)]
Bug 1929: Incorrect comment in DefaultSettings.php
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
Tim Starling [Wed, 1 Jun 2005 19:13:03 +0000 (19:13 +0000)]
moved external links to where they should be
Tim Starling [Wed, 1 Jun 2005 19:06:46 +0000 (19:06 +0000)]
updated
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.
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.
Tim Starling [Wed, 1 Jun 2005 06:18:49 +0000 (06:18 +0000)]
new load balancing algorithm
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.
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
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.
Alexander Sigachov [Tue, 31 May 2005 21:58:21 +0000 (21:58 +0000)]
Typo in 'uploadscripted'
Alexander Sigachov [Tue, 31 May 2005 21:55:56 +0000 (21:55 +0000)]
Updated to Language.php 1.558
Brion Vibber [Tue, 31 May 2005 13:06:10 +0000 (13:06 +0000)]
Don't bother extracting action if $wgActionUrls is not set up.
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
Erik Moeller [Tue, 31 May 2005 10:39:10 +0000 (10:39 +0000)]
only search article namespace by default
Brion Vibber [Tue, 31 May 2005 10:21:14 +0000 (10:21 +0000)]
* Only build the HTML attribute whitelist tree once.
Brion Vibber [Tue, 31 May 2005 09:08:19 +0000 (09:08 +0000)]
Fix typo from pagelinks update -> crashing bug on undelete
Brion Vibber [Tue, 31 May 2005 08:59:12 +0000 (08:59 +0000)]
typo--wrong func name
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.
Alexander Sigachov [Tue, 31 May 2005 08:20:40 +0000 (08:20 +0000)]
Using the same message for GPSSpeedRef and GPSDestDistanceRef
Brion Vibber [Tue, 31 May 2005 07:21:31 +0000 (07:21 +0000)]
* Remove linkscc table code, no longer used.
Alexander Sigachov [Mon, 30 May 2005 23:38:19 +0000 (23:38 +0000)]
EXIF translation by [[:ru:User:Panther]]
Ævar Arnfjörð Bjarmason [Mon, 30 May 2005 19:56:37 +0000 (19:56 +0000)]
* Using the same message for GPSSpeedRef and GPSDestDistanceRef
Æ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
Jens Frank [Mon, 30 May 2005 19:02:56 +0000 (19:02 +0000)]
Disable fulltext image name search in Special:Imagelist during MiserMode
Brion Vibber [Mon, 30 May 2005 09:55:14 +0000 (09:55 +0000)]
* Fix rebuildtextindex.inc for new schema
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.
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.
Brion Vibber [Sun, 29 May 2005 20:43:30 +0000 (20:43 +0000)]
* (bug 2262) Hide math preferences when TeX is not enabled
Brion Vibber [Sun, 29 May 2005 11:10:33 +0000 (11:10 +0000)]
Put global def for $wgDisableHardRedirects where it's used
Brion Vibber [Sun, 29 May 2005 10:45:37 +0000 (10:45 +0000)]
fix syntax error introduced in last commit
Brion Vibber [Sun, 29 May 2005 10:41:52 +0000 (10:41 +0000)]
Fix for pagelinks
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
Brion Vibber [Sun, 29 May 2005 10:20:21 +0000 (10:20 +0000)]
* (bug 2234) allow special chars in database passwords during install
Tim Starling [Sun, 29 May 2005 10:17:44 +0000 (10:17 +0000)]
forward-ported the changes made in 1.40.2.1
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.
Tim Starling [Sun, 29 May 2005 06:25:48 +0000 (06:25 +0000)]
missed a change
Tim Starling [Sun, 29 May 2005 06:22:43 +0000 (06:22 +0000)]
forward-ported $wgDisableHardRedirects
Tim Starling [Sun, 29 May 2005 06:18:10 +0000 (06:18 +0000)]
forward-ported $wgSkipSkin from REL1_4, with enhancements
Tim Starling [Sun, 29 May 2005 05:54:04 +0000 (05:54 +0000)]
ported $wgAntiLockFlags from REL1_4
Tim Starling [Sun, 29 May 2005 05:31:47 +0000 (05:31 +0000)]
fixed forward-port error
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.
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)
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.
Brion Vibber [Sun, 29 May 2005 00:23:41 +0000 (00:23 +0000)]
Include timestamp and database in rate limiter log (applying live patch)
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.
Evan Prodromou [Sat, 28 May 2005 20:57:20 +0000 (20:57 +0000)]
Removed commented-out lines and commas that broke patch.
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.
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
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
Tim Starling [Sat, 28 May 2005 13:50:18 +0000 (13:50 +0000)]
hide all enotif options when enotif is disabled
Anders Wegge Jakobsen [Sat, 28 May 2005 12:21:56 +0000 (12:21 +0000)]
Reduce the risk of dropping edits during conflict resolution
Tim Starling [Sat, 28 May 2005 11:51:27 +0000 (11:51 +0000)]
test before commit, idiot
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.
Tim Starling [Sat, 28 May 2005 11:09:22 +0000 (11:09 +0000)]
basic support for special page inclusions
Tim Starling [Sat, 28 May 2005 11:07:55 +0000 (11:07 +0000)]
less debug log spam
Tim Starling [Sat, 28 May 2005 10:08:08 +0000 (10:08 +0000)]
fixed pagelinks bug
Tim Starling [Sat, 28 May 2005 09:17:23 +0000 (09:17 +0000)]
fixed comment
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
Tim Starling [Sat, 28 May 2005 07:06:51 +0000 (07:06 +0000)]
warnings, category links
Tim Starling [Sat, 28 May 2005 07:05:28 +0000 (07:05 +0000)]
Many changes. Work in progress, do not use.
Tim Starling [Sat, 28 May 2005 07:03:29 +0000 (07:03 +0000)]
Added wfMkdirParents(), used in HTML dump. Works like unix mkdir -p
Tim Starling [Sat, 28 May 2005 07:02:16 +0000 (07:02 +0000)]
Assorted changes to HTML dump paths
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.
Tim Starling [Sat, 28 May 2005 07:00:28 +0000 (07:00 +0000)]
formatting tweak
Tim Starling [Sat, 28 May 2005 06:59:49 +0000 (06:59 +0000)]
convenient ParserOptions constructor
Tim Starling [Sat, 28 May 2005 06:59:08 +0000 (06:59 +0000)]
updated class name in $fname
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
Tim Starling [Sat, 28 May 2005 06:56:30 +0000 (06:56 +0000)]
introduced $wgHideInterlanguageLinks, needed for dumpHTML
Tim Starling [Sat, 28 May 2005 06:53:22 +0000 (06:53 +0000)]
profiling
Tim Starling [Sat, 28 May 2005 06:52:55 +0000 (06:52 +0000)]
fixed silly switch() use, much better handled with if..elseif..else
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)
Brion Vibber [Fri, 27 May 2005 02:36:30 +0000 (02:36 +0000)]
* Add validate table and val_ip column through the updater.
Brion Vibber [Thu, 26 May 2005 10:31:36 +0000 (10:31 +0000)]
Updater script for pagelinks table.
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.
Brion Vibber [Thu, 26 May 2005 00:24:03 +0000 (00:24 +0000)]
* (bug 2166) Fix partial categorylinks update so sortkeys are updated.