Tim Starling [Wed, 1 Feb 2006 04:34:47 +0000 (04:34 +0000)]
documentation, code cleanup
Tim Starling [Tue, 31 Jan 2006 04:10:01 +0000 (04:10 +0000)]
Feature karma: removing a useless feature that I recently committed.
Tim Starling [Tue, 31 Jan 2006 03:44:08 +0000 (03:44 +0000)]
Fixes and improvements to interwiki transclusion:
* allow interwiki {{subst:...}} using action=raw fetches
* Allowed non-MSIE browsers to access action=raw via the article alias. This is necessary to allow action=raw transclusion, since the only known URL is the article path, not the script path.
* Specify a user agent in wfGetHttp() fetches, when using curl.
* Added transcache table to tables.sql, it was in the updater but not there for some reason.
* Fixed transcache expiry, added option
* Allow interwiki transclusion outside the template namespace using leading colon syntax. Syntax is counterintuitive at times, e.g. to subst the wikipedia main page you would use {{subst::Wikipedia:Main_Page}} not {{subst:Wikipedia::Main_Page}}.
Brion Vibber [Tue, 31 Jan 2006 01:13:04 +0000 (01:13 +0000)]
* (bug 4795) correction to texvc color patches
Antoine Musso [Mon, 30 Jan 2006 22:52:34 +0000 (22:52 +0000)]
Update documentation URL
Brion Vibber [Mon, 30 Jan 2006 21:43:23 +0000 (21:43 +0000)]
remove more tabs
Domas Mituzas [Mon, 30 Jan 2006 15:40:46 +0000 (15:40 +0000)]
remove memcached polution ... ah, and namespace notices on the way
Brion Vibber [Mon, 30 Jan 2006 03:34:23 +0000 (03:34 +0000)]
* (bug 1284) Inline styles for diffs in Recent Changes RSS/Atom feeds
In a perfect world, HTML would have a version of the <style> element
which applies only to its own contents and is allowed in the body.
Or, secondarily, XSLT could be much much easier to use.
Brion Vibber [Mon, 30 Jan 2006 01:04:10 +0000 (01:04 +0000)]
fix whitespace consistency
Rob Church [Sun, 29 Jan 2006 23:24:01 +0000 (23:24 +0000)]
Clean up code in, and add contributions link to block log items
Rob Church [Sun, 29 Jan 2006 17:37:23 +0000 (17:37 +0000)]
Fix overlooked hard-coded table name (reported in bug 4748)
Alexander Sigachov [Sun, 29 Jan 2006 14:43:42 +0000 (14:43 +0000)]
Update for Russian language
Brion Vibber [Sun, 29 Jan 2006 07:35:28 +0000 (07:35 +0000)]
* Adjust user login/creation form hooks to work with a captcha plugin
Brion Vibber [Sat, 28 Jan 2006 21:51:01 +0000 (21:51 +0000)]
Parser test case for bug 4783
Magnus Manske [Sat, 28 Jan 2006 21:44:57 +0000 (21:44 +0000)]
Fix for bug 4783 : {{ns:0}} does not render
Brion Vibber [Sat, 28 Jan 2006 21:42:42 +0000 (21:42 +0000)]
fix for externallinks
Magnus Manske [Sat, 28 Jan 2006 17:36:08 +0000 (17:36 +0000)]
Namespace notice (fix for bug 4469) is back:
Namespace-specific notice to be displayed below site-notice. Edit messages like "MediaWiki:Namespacenotice-" plus namespace name, which is blank for main namespace, or like e.g. "User_talk".
Brion Vibber [Sat, 28 Jan 2006 11:42:35 +0000 (11:42 +0000)]
* Include timestamp in wfDebugLog breakouts
Tim Starling [Sat, 28 Jan 2006 08:22:24 +0000 (08:22 +0000)]
Was never committed to HEAD for some reason
Tim Starling [Sat, 28 Jan 2006 00:35:34 +0000 (00:35 +0000)]
Forgot to add the new link tables to Article::doDeleteArticle()
Tim Starling [Fri, 27 Jan 2006 23:37:19 +0000 (23:37 +0000)]
Maintenance script to find and remove links to a given domain (cleanupSpam.php)
Brion Vibber [Fri, 27 Jan 2006 21:31:06 +0000 (21:31 +0000)]
Revert last commit -- hardcoded 'Wikipedia' strings
Brion Vibber [Fri, 27 Jan 2006 21:29:49 +0000 (21:29 +0000)]
Revert last commit -- hardcoded 'Wikipedia' strings.
Rowan Collins [Fri, 27 Jan 2006 13:56:27 +0000 (13:56 +0000)]
updated Czech translation from bug 1120. NB:I've uncommented the Magic Words, so if there was a reason they were commented, please revert!
Rowan Collins [Fri, 27 Jan 2006 13:06:26 +0000 (13:06 +0000)]
Updated 'ms' (Bahasai Melayu) language files, from bug 4770 with some manual fixes.
Rob Church [Thu, 26 Jan 2006 21:41:40 +0000 (21:41 +0000)]
Maintenance script to reassign edits from one user to another
Alexander Sigachov [Thu, 26 Jan 2006 21:27:31 +0000 (21:27 +0000)]
formatNum in langRu
Rob Church [Thu, 26 Jan 2006 18:07:34 +0000 (18:07 +0000)]
Include deleted edits in the CountEdits support function; will affect removeUnusedAccounts script
Tim Starling [Thu, 26 Jan 2006 13:29:14 +0000 (13:29 +0000)]
* Added externallinks table, to track links to arbitrary URLs
* Convert unnecessary URL escape codes in external links to their equivalent
character before doing anything with them. This prevents certain kinds of
spam filter evasion. (Parser.php only)
Tim Starling [Thu, 26 Jan 2006 11:25:26 +0000 (11:25 +0000)]
Don't use tidy. Command line option to specify the end ID. Clear the link cache after each article to keep memory usage down.
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