Brion Vibber [Thu, 26 Jan 2006 08:06:05 +0000 (08:06 +0000)]
* Use revision rate for ETA in dump generation; it tends to be more stable
than the per-page count for full-history dumps.
Tim Starling [Thu, 26 Jan 2006 07:02:53 +0000 (07:02 +0000)]
Fixed Special:Unlockdb, had been broken since 1.5beta1
Rob Church [Wed, 25 Jan 2006 21:08:29 +0000 (21:08 +0000)]
* Maintenance script to delete unused text records
* Maintenance script to delete non-current revisions
* Maintenance script to wipe a page and all revisions from the database
Domas Mituzas [Wed, 25 Jan 2006 21:06:30 +0000 (21:06 +0000)]
Note:
Allow lagged external storage
Do not tidy user interface messages
Fix revision fetching query (propagate equality manually :)
Domas Mituzas [Wed, 25 Jan 2006 20:50:39 +0000 (20:50 +0000)]
do not trust equality propagation, help optimizer a bit ;-)
Rob Church [Wed, 25 Jan 2006 15:09:52 +0000 (15:09 +0000)]
Add Special:Listredirects to list of query pages; wasn't being cached
Tim Starling [Wed, 25 Jan 2006 12:01:26 +0000 (12:01 +0000)]
Added $wgInvisibleGroups, to hide groups from Special:Listusers
Domas Mituzas [Wed, 25 Jan 2006 11:25:56 +0000 (11:25 +0000)]
remove some more profiling hooks from commonly used calls
Domas Mituzas [Wed, 25 Jan 2006 10:51:12 +0000 (10:51 +0000)]
remove profiling hooks from hooks ;-)
Zheng Zhu [Tue, 24 Jan 2006 19:33:36 +0000 (19:33 +0000)]
Fix dependence on hardcoded UNIQ_PREFIX.
Zheng Zhu [Tue, 24 Jan 2006 18:36:45 +0000 (18:36 +0000)]
Fix dependence on hardcoded UNIQ_PREFIX.
Niklas Laxström [Mon, 23 Jan 2006 23:12:11 +0000 (23:12 +0000)]
Another pecial error
Domas Mituzas [Mon, 23 Jan 2006 22:32:44 +0000 (22:32 +0000)]
ergh, yet more direct parser bits, ask for tidy when post-edit saving to parser cache
Niklas Laxström [Mon, 23 Jan 2006 22:01:46 +0000 (22:01 +0000)]
a Bug which I mentally fixed long ago
Domas Mituzas [Mon, 23 Jan 2006 20:57:57 +0000 (20:57 +0000)]
allow to enable full tidy
Domas Mituzas [Mon, 23 Jan 2006 20:44:56 +0000 (20:44 +0000)]
fix previews
Brion Vibber [Mon, 23 Jan 2006 19:41:03 +0000 (19:41 +0000)]
* (bug 4686) Fix regression where ?diff=0&oldid=0 caused fatal error on
pages with only one revision. Fixes message diff link on first edit.
Domas Mituzas [Mon, 23 Jan 2006 19:05:09 +0000 (19:05 +0000)]
whitespace, use member variable instead of function
Domas Mituzas [Mon, 23 Jan 2006 18:37:46 +0000 (18:37 +0000)]
Tidy up only article views, previews, image pages and diffs.
Domas Mituzas [Mon, 23 Jan 2006 15:28:17 +0000 (15:28 +0000)]
*g*, bypass lag checks for external store (as it already fallbacks to master)
Domas Mituzas [Mon, 23 Jan 2006 15:27:44 +0000 (15:27 +0000)]
allow bypassing lag checks
Alexander Sigachov [Mon, 23 Jan 2006 15:15:08 +0000 (15:15 +0000)]
convertPlural fix in LanguageRu.php
Rob Church [Mon, 23 Jan 2006 01:00:04 +0000 (01:00 +0000)]
Revert changes to skin since that's now the fourth user complaint
Rob Church [Sun, 22 Jan 2006 23:10:56 +0000 (23:10 +0000)]
* (bug 4633) Add (previous 200) (next 200) also above catlinks
Ævar Arnfjörð Bjarmason [Sun, 22 Jan 2006 12:38:13 +0000 (12:38 +0000)]
* wfGetSiteNotice() gets called on DB errors (wtf?) so depending on $wgUser
which depends on the database for this executing successfully is not a very
good idea...
Brion Vibber [Sun, 22 Jan 2006 11:44:50 +0000 (11:44 +0000)]
fix $wgDebugDumpSql for backup bits; quick hack, flag wasn't passed. need a cleaner func for opening a second connection
Niklas Laxström [Sun, 22 Jan 2006 11:30:50 +0000 (11:30 +0000)]
Small corrections
Niklas Laxström [Sun, 22 Jan 2006 11:15:29 +0000 (11:15 +0000)]
* (bug 4615) Update for Portuguese language (pt)
Brion Vibber [Sun, 22 Jan 2006 07:03:03 +0000 (07:03 +0000)]
* Suppress useless percentage indicator on output from 7za during dumps
Brion Vibber [Sun, 22 Jan 2006 04:05:30 +0000 (04:05 +0000)]
* Fix backup dump text prefetch for XMLReader constant changes in PHP 5.1
Ævar Arnfjörð Bjarmason [Sun, 22 Jan 2006 02:03:35 +0000 (02:03 +0000)]
* #p-cactions : left: 10.5em => 11.5em; A little spacing is nice;)
Rob Church [Sun, 22 Jan 2006 01:12:19 +0000 (01:12 +0000)]
Whoops, URL encoding (ta Brion)
Domas Mituzas [Sun, 22 Jan 2006 00:49:58 +0000 (00:49 +0000)]
Same for core messages and language...
Domas Mituzas [Sun, 22 Jan 2006 00:40:23 +0000 (00:40 +0000)]
Move AllMessages arrays to separate files:
- will allow efficient compiling of Language* classes
- will allow compiling message arrays into constant databases
Rob Church [Sun, 22 Jan 2006 00:30:01 +0000 (00:30 +0000)]
* Don't show a block link if the user doesn't exist/isn't a valid IP (e.g. MediaWiki default)
* Link to block log
Rob Church [Sat, 21 Jan 2006 23:08:34 +0000 (23:08 +0000)]
Add block link to Special:Contributions
Domas Mituzas [Sat, 21 Jan 2006 22:24:23 +0000 (22:24 +0000)]
sneak preview of split language file
Rob Church [Sat, 21 Jan 2006 21:57:02 +0000 (21:57 +0000)]
Comment $wgDebugDumpSql
Rob Church [Sat, 21 Jan 2006 20:32:19 +0000 (20:32 +0000)]
Document previous change
Rob Church [Sat, 21 Jan 2006 20:29:17 +0000 (20:29 +0000)]
Check for "block" permission, not "protect" permission, when determining whether or not to show a block link in the toolbox
Domas Mituzas [Sat, 21 Jan 2006 17:08:41 +0000 (17:08 +0000)]
typo
Domas Mituzas [Sat, 21 Jan 2006 16:50:22 +0000 (16:50 +0000)]
don't look at this diff, it is too lame ;)
Domas Mituzas [Sat, 21 Jan 2006 16:44:46 +0000 (16:44 +0000)]
oops, $this and some globals
Domas Mituzas [Sat, 21 Jan 2006 16:23:45 +0000 (16:23 +0000)]
local cdb-based interwiki cache
Rowan Collins [Sat, 21 Jan 2006 13:25:41 +0000 (13:25 +0000)]
When reading from meta's interwiki map, *.wikimedia.org should be set as local (e.g. commons).
Domas Mituzas [Sat, 21 Jan 2006 13:05:43 +0000 (13:05 +0000)]
somewhatdirtyhack: build constant slightly compact database of interwiki prefixes
Rowan Collins [Sat, 21 Jan 2006 13:04:57 +0000 (13:04 +0000)]
When reading from meta's interwiki map, *.wikimedia.org should be set as local (e.g. commons).
Ævar Arnfjörð Bjarmason [Fri, 20 Jan 2006 22:52:21 +0000 (22:52 +0000)]
* ctype tests
Ævar Arnfjörð Bjarmason [Fri, 20 Jan 2006 22:51:10 +0000 (22:51 +0000)]
* This requires ../includes/Hooks.php
Ævar Arnfjörð Bjarmason [Fri, 20 Jan 2006 22:50:47 +0000 (22:50 +0000)]
* set_include_path() in case of a custom PHPTest install
* Run ctype tests
Ævar Arnfjörð Bjarmason [Fri, 20 Jan 2006 22:49:07 +0000 (22:49 +0000)]
* Added options to install phpunit for the lazy
Rob Church [Fri, 20 Jan 2006 21:52:52 +0000 (21:52 +0000)]
Default main page content improved per bug 4690
Rob Church [Fri, 20 Jan 2006 19:01:54 +0000 (19:01 +0000)]
* (bug 3603) headscripts variable not hooked up to MonoBook skin
Brion Vibber [Fri, 20 Jan 2006 09:03:16 +0000 (09:03 +0000)]
* (bug 4679) Work around buggy basename() function in PHP5, which breaks
uploads of files starting with multibyte characters on Linux.
wfBaseName() doesn't suffer this bug, and understands backslash on
both Unix and Windows.
Rob Church [Thu, 19 Jan 2006 23:24:20 +0000 (23:24 +0000)]
* Small changes to tabs in Monobook skin c/o Chris Ware
Alexander Sigachov [Thu, 19 Jan 2006 19:17:15 +0000 (19:17 +0000)]
dateformat in Chuvash langfile
Tim Starling [Thu, 19 Jan 2006 17:12:37 +0000 (17:12 +0000)]
Make Revision::getPrevious() and Revision::getNext() return null if there are no more revisions to fetch in that direction. They previously just started from the current revision again.
Tim Starling [Thu, 19 Jan 2006 17:10:57 +0000 (17:10 +0000)]
give the correct error message when an article doesn't exist
Tim Starling [Thu, 19 Jan 2006 09:06:51 +0000 (09:06 +0000)]
some changes
Brion Vibber [Thu, 19 Jan 2006 06:29:41 +0000 (06:29 +0000)]
use wfRegexReplacement() which was added a little while ago to cover this silly regex case
Tim Starling [Thu, 19 Jan 2006 04:52:18 +0000 (04:52 +0000)]
check if Revision::getText() returned without an error
Tim Starling [Thu, 19 Jan 2006 03:59:20 +0000 (03:59 +0000)]
Don't try to inflate or unserialize an error flag
Tim Starling [Thu, 19 Jan 2006 03:55:03 +0000 (03:55 +0000)]
Try the master if a blob is not found in the slave
Ævar Arnfjörð Bjarmason [Wed, 18 Jan 2006 17:01:13 +0000 (17:01 +0000)]
* Adding link to the relevant mailing list post in the comment for deps.php stuff
Rob Church [Wed, 18 Jan 2006 16:17:15 +0000 (16:17 +0000)]
Remove gratuitous extract( ) from getSQL -> might as well use the direct function
Rob Church [Wed, 18 Jan 2006 03:24:21 +0000 (03:24 +0000)]
Bug 4429: "Protect" tab in page header
Rob Church [Wed, 18 Jan 2006 02:19:44 +0000 (02:19 +0000)]
Fix redlinks where targets don't exist
Brion Vibber [Wed, 18 Jan 2006 01:57:15 +0000 (01:57 +0000)]
was missing Zh_cn dep
Rob Church [Wed, 18 Jan 2006 01:29:07 +0000 (01:29 +0000)]
* Comment userFunctions.inc
* Replace uses of raw queries with appropriate database wrapper functions
* Correct some interface inconsistencies in removeUnusedAccounts.php (was referring to deleting users even when no editless users were found)
Rob Church [Wed, 18 Jan 2006 00:04:30 +0000 (00:04 +0000)]
Revert to un-borked version, sorry Brion
Brion Vibber [Tue, 17 Jan 2006 23:43:15 +0000 (23:43 +0000)]
* Add ".deps.php" include-file preloaders for some dynamically-loaded
language and skin classes. Should help with the broken base-class
problem under PHP 5 with APC as opcode cache. See details:
http://mail.wikipedia.org/pipermail/wikitech-l/2006-January/033660.html
Rob Church [Tue, 17 Jan 2006 21:57:14 +0000 (21:57 +0000)]
Respect database prefix in dumpHTML.inc
Rob Church [Tue, 17 Jan 2006 21:53:37 +0000 (21:53 +0000)]
Fix false blue links on Special:Ipblocklist
Antoine Musso [Tue, 17 Jan 2006 20:21:31 +0000 (20:21 +0000)]
Fix some s/'/"/g related issues
Antoine Musso [Tue, 17 Jan 2006 20:14:20 +0000 (20:14 +0000)]
Fix crash when using 'tasks' extension
Antoine Musso [Tue, 17 Jan 2006 19:54:04 +0000 (19:54 +0000)]
'see sections below for details' - spundun was confused
Tim Starling [Tue, 17 Jan 2006 16:16:43 +0000 (16:16 +0000)]
removed misfeature (ignore writes while in read only mode): more trouble than it's worth
Tim Starling [Tue, 17 Jan 2006 13:24:00 +0000 (13:24 +0000)]
Removing leecruft. No, you sure as hell couldn't defer it.
Tim Starling [Tue, 17 Jan 2006 12:14:27 +0000 (12:14 +0000)]
oops, bug in untested error branch
Tim Starling [Tue, 17 Jan 2006 11:48:18 +0000 (11:48 +0000)]
Moved the bulk of dbsource() to Database.php. Added support for updating wikis with $wgSharedDB set (installing is still not supported)
Tim Starling [Tue, 17 Jan 2006 09:01:26 +0000 (09:01 +0000)]
--conf option for specifying a different LocalSettings.php. This allows multiple wikis to run off a single script directory, without the benefit of wikimedia-only magic.
Tim Starling [Tue, 17 Jan 2006 08:40:16 +0000 (08:40 +0000)]
Fixed incorrect query() parameters, left over from the brief period of time when wfQuery took a DB index as a parameter
Erik Moeller [Tue, 17 Jan 2006 00:51:09 +0000 (00:51 +0000)]
$value never initialized, I presume $val is meant
Antoine Musso [Mon, 16 Jan 2006 22:38:30 +0000 (22:38 +0000)]
* use braces in if else if if if stuff (safer read).
* removing useless call ($sk never used in function)
Antoine Musso [Mon, 16 Jan 2006 21:47:17 +0000 (21:47 +0000)]
update from bug i fixed in 1.5 & HEAD but never notified in HEAD release notes
Brion Vibber [Mon, 16 Jan 2006 20:48:43 +0000 (20:48 +0000)]
why was this line removed? it was added during 1.6 cycle
Rob Church [Mon, 16 Jan 2006 19:18:29 +0000 (19:18 +0000)]
Couple more useful functions for later scripts
Rob Church [Mon, 16 Jan 2006 18:55:45 +0000 (18:55 +0000)]
* Some code cleanup
* Deprecate OutputPage::developerRequired()
Antoine Musso [Mon, 16 Jan 2006 18:38:00 +0000 (18:38 +0000)]
-bug 1122: ported to 1.5
Antoine Musso [Mon, 16 Jan 2006 18:34:11 +0000 (18:34 +0000)]
Fix #1122: "older revision" link displayed when viewing first revision of an article
Rob Church [Mon, 16 Jan 2006 13:57:29 +0000 (13:57 +0000)]
Make user functions more generalised so other maintenance scripts can use them
Rob Church [Mon, 16 Jan 2006 13:51:26 +0000 (13:51 +0000)]
Fix stupid and irritating missing space I keep seeing but forget to correct
Rob Church [Mon, 16 Jan 2006 13:11:32 +0000 (13:11 +0000)]
Document previous fix
Rob Church [Mon, 16 Jan 2006 13:03:26 +0000 (13:03 +0000)]
Fix problem reported on mailing list where re-initialising stats didn't work (can't insert duplicate rows with the same id field)
Brion Vibber [Mon, 16 Jan 2006 10:16:06 +0000 (10:16 +0000)]
* Spit the generated LocalSettings code out during the installer as an aid
to debugging issues. (Keep this?)
* Use __FILE__ to form path in new LocalSettings.php, so it stays accurate
when the directory is relocated for typical usage.
* Auto-update $wgCacheEpoch when LocalSettings.php changes on new installs.
For typical usage this will be a light burden and should reduce confusion
when the configuration is edited.
* Fix $wgCacheEpoch's effect on client-side caching.
Ævar Arnfjörð Bjarmason [Mon, 16 Jan 2006 06:53:48 +0000 (06:53 +0000)]
* Typo: the => then
Ævar Arnfjörð Bjarmason [Mon, 16 Jan 2006 06:11:06 +0000 (06:11 +0000)]
* Don't show a stray "* Hooks" if none are defined
Rob Church [Mon, 16 Jan 2006 03:35:28 +0000 (03:35 +0000)]
* Minor cosmetic fixes to installer
* Make Block::delete() return something, to be used in later alterations to the un/blocking interfaces
Rob Church [Mon, 16 Jan 2006 03:16:25 +0000 (03:16 +0000)]
Fix disappearing autoblocker numbers
WHY IN GOD'S NAME IS Block::mID NOT TREATED LIKE Block::mId?
Rob Church [Mon, 16 Jan 2006 02:19:08 +0000 (02:19 +0000)]
Fix yet another stupid mistake
/me hands everyone a cluestick and prepares for the bruises