Greg Sabino Mullane [Fri, 14 Jul 2006 19:48:22 +0000 (19:48 +0000)]
Change GROUP BY to standard SQL form by specifying all fields.
Greg Sabino Mullane [Fri, 14 Jul 2006 19:45:08 +0000 (19:45 +0000)]
Change from hardcoding to limitResult function.
Brion Vibber [Fri, 14 Jul 2006 19:42:16 +0000 (19:42 +0000)]
fix syntax error
Jens Frank [Fri, 14 Jul 2006 19:09:00 +0000 (19:09 +0000)]
Need to load a definition for wfProfileIn due to changes in rev 15605
Tim Starling [Fri, 14 Jul 2006 17:38:47 +0000 (17:38 +0000)]
That doesn't work... oh well, as long as no other module tries to use these constants then the original scheme will be OK.
Tim Starling [Fri, 14 Jul 2006 17:05:00 +0000 (17:05 +0000)]
missed one
Tim Starling [Fri, 14 Jul 2006 17:02:49 +0000 (17:02 +0000)]
Deferred loading of DateFormatter.php and IP.php. Standardised IP.php function naming style.
Tim Starling [Fri, 14 Jul 2006 16:36:35 +0000 (16:36 +0000)]
MagicWord initialisation deferred.
Tim Starling [Fri, 14 Jul 2006 16:08:16 +0000 (16:08 +0000)]
Fixed Parser::setFunctionHook(), broken by last commit. Passed parserTests.php either way due to conincidence. Also fixed a couple of comments broken by perl script^W^W meticulous hand-editing.
Tim Starling [Fri, 14 Jul 2006 15:39:23 +0000 (15:39 +0000)]
Got rid of the MagicWord indexing constants (MAG_xxx), replaced them by string indexing, like messages. The associated change to the extensions, i.e. removing the MagicWordMagicWords hook and using string instead of integer indices, is in fact compatible with MW 1.6 and 1.7, which tells you something about the utility of the hook function.
Tim Starling [Fri, 14 Jul 2006 06:38:53 +0000 (06:38 +0000)]
HTML to display when there is no LocalSettings.php (split off from index.php)
Brion Vibber [Fri, 14 Jul 2006 06:37:03 +0000 (06:37 +0000)]
duh, typo
Brion Vibber [Fri, 14 Jul 2006 06:17:00 +0000 (06:17 +0000)]
* (bug 6679) syntax error
Tim Starling [Fri, 14 Jul 2006 05:35:31 +0000 (05:35 +0000)]
Consolidated web initialisation code into includes/WebStart.php. Moved profiling setup to a hook file "StartProfiler.php", following Brion's suggestion to merge Wikimedia's early profiling patch into subversion. Renamed Profiling.php and logProfilingData(), removed unnecessary wfProfileClose() calls.
Tim Starling [Fri, 14 Jul 2006 04:13:49 +0000 (04:13 +0000)]
Removed forced call-by-reference from LogPage::addEntry(), causes errors in some PHP versions
Brion Vibber [Thu, 13 Jul 2006 23:53:04 +0000 (23:53 +0000)]
duh
Brion Vibber [Thu, 13 Jul 2006 23:23:08 +0000 (23:23 +0000)]
Rename the files as well
Brion Vibber [Thu, 13 Jul 2006 21:54:13 +0000 (21:54 +0000)]
Add script to clean up badly named image records. Doesn't touch files yet
Rotem Liss [Thu, 13 Jul 2006 19:28:23 +0000 (19:28 +0000)]
(bug 6004) Update for Polish language (pl)
Rotem Liss [Thu, 13 Jul 2006 17:55:46 +0000 (17:55 +0000)]
Adding direction mark in the most popular pages in Special:Statistics.
Rotem Liss [Thu, 13 Jul 2006 17:50:03 +0000 (17:50 +0000)]
Update.
Brion Vibber [Thu, 13 Jul 2006 17:38:01 +0000 (17:38 +0000)]
Abstract out some of the cleanupTitles code to reuse it
Rob Church [Thu, 13 Jul 2006 11:27:02 +0000 (11:27 +0000)]
* Improve default value of "blockedtext"
Rob Church [Thu, 13 Jul 2006 10:06:24 +0000 (10:06 +0000)]
As a further precaution, use wfOpenElement() and wfCloseElement()
Rob Church [Thu, 13 Jul 2006 10:03:45 +0000 (10:03 +0000)]
* (bug 6660) Fix behaviour of EditPage::blockedPage() when the article does not exist; now doesn't show the source box if the user hasn't provided it (blocked mid-edit) and the page doesn't exist
Brion Vibber [Wed, 12 Jul 2006 19:18:46 +0000 (19:18 +0000)]
* cleanupTitles.php changed from --dry-run option to --fix, so default
behavior is now a non-invasive check as with namespaceDupes.php
Antoine Musso [Wed, 12 Jul 2006 18:38:25 +0000 (18:38 +0000)]
Strict Standards with PHP5
Antoine Musso [Wed, 12 Jul 2006 18:33:21 +0000 (18:33 +0000)]
Migrate IP related tools from ProxyTools.php to IP.php
and its own class of static functions
Jimmy Collins [Wed, 12 Jul 2006 17:37:03 +0000 (17:37 +0000)]
Update to German (de) translation for r15564 and r15565
Tim Starling [Wed, 12 Jul 2006 13:01:50 +0000 (13:01 +0000)]
Fix incorrect require_once logic
Rob Church [Wed, 12 Jul 2006 12:05:26 +0000 (12:05 +0000)]
* Check the block against the master if we're going to wind up deleting stuff
Rotem Liss [Wed, 12 Jul 2006 11:34:44 +0000 (11:34 +0000)]
Additional update.
Rotem Liss [Wed, 12 Jul 2006 11:33:01 +0000 (11:33 +0000)]
Update.
Rob Church [Wed, 12 Jul 2006 11:32:45 +0000 (11:32 +0000)]
* (bug 6642) Don't offer to unlock the database when it isn't locked
Rob Church [Wed, 12 Jul 2006 11:28:01 +0000 (11:28 +0000)]
* Preserve entered reason when reporting unconfirmed lock on Special:Lockdb
* Alter default "lockdbsuccesstext" message to link to Special:Unlockdb
Brion Vibber [Wed, 12 Jul 2006 06:39:55 +0000 (06:39 +0000)]
Restore factory function to avoid gratuitously breaking extensions for no reason whatsoever what the heck
Rob Church [Wed, 12 Jul 2006 03:18:42 +0000 (03:18 +0000)]
* (bug 6639) Use a consistent default for upload directories
Brion Vibber [Wed, 12 Jul 2006 01:29:16 +0000 (01:29 +0000)]
* (bug 6635) Fix regression searching for range blocks on Ipblocklist
* Fix regression searching Ipblocklist with ugly URLs
It would probably be even nicer if the search for a specific IP would bring up matching range blocks
Brion Vibber [Tue, 11 Jul 2006 20:31:06 +0000 (20:31 +0000)]
* Fix regression in blocking of user accounts
Antoine Musso [Tue, 11 Jul 2006 20:06:55 +0000 (20:06 +0000)]
cleaner error message when file cant be wrote
Antoine Musso [Tue, 11 Jul 2006 19:58:08 +0000 (19:58 +0000)]
Code quality: makes imagePage::doDelete compatible with article::doDelete
Brion Vibber [Tue, 11 Jul 2006 19:54:20 +0000 (19:54 +0000)]
* Pre-strip characters ignored in IDNs from URLs so they can't be used to break the blacklists for regular URLs
Moved shared behavior of URL fixing from two Parser functions into Sanitizer::cleanUrl
This would be a good place to add some validation...
Brion Vibber [Tue, 11 Jul 2006 18:53:45 +0000 (18:53 +0000)]
Add parser test case for bad char ref in link
Antoine Musso [Tue, 11 Jul 2006 18:50:59 +0000 (18:50 +0000)]
Disabled test for #6301 , see #4515
Brion Vibber [Tue, 11 Jul 2006 18:35:35 +0000 (18:35 +0000)]
Block form fixlets:
* Use wfCheckLabel() for proper checkbox formatting
* Gracefully handle invalid username
Antoine Musso [Tue, 11 Jul 2006 17:46:30 +0000 (17:46 +0000)]
Fix ugly hack. Assume PHP5 does a nice job with references.
Antoine Musso [Tue, 11 Jul 2006 17:40:11 +0000 (17:40 +0000)]
Some evil whitespaces. Sorry.
Antoine Musso [Tue, 11 Jul 2006 17:38:12 +0000 (17:38 +0000)]
* Form indentation
* Remove the 'namespace' label, looks useless
Antoine Musso [Tue, 11 Jul 2006 17:32:31 +0000 (17:32 +0000)]
Evil /\s+$/
Antoine Musso [Tue, 11 Jul 2006 17:30:48 +0000 (17:30 +0000)]
* Fix double escaping (thanks brion)
* wfHidden ftw!!!1!
Antoine Musso [Tue, 11 Jul 2006 16:39:51 +0000 (16:39 +0000)]
Defintly fix #6561 patch by Nick Jenkins
Rob Church [Tue, 11 Jul 2006 16:33:04 +0000 (16:33 +0000)]
Suppress when miser mode is on; it's expensive
Jimmy Collins [Tue, 11 Jul 2006 16:04:20 +0000 (16:04 +0000)]
German (de) translation for r15535
Jimmy Collins [Tue, 11 Jul 2006 15:57:09 +0000 (15:57 +0000)]
Only show pages in SpecialStatistics with page_counter > 0
Rotem Liss [Tue, 11 Jul 2006 15:18:09 +0000 (15:18 +0000)]
Update, various fixes, and strict writing for LanguageHe::convertPlural.
Rob Church [Tue, 11 Jul 2006 15:09:51 +0000 (15:09 +0000)]
* Free the result
Rob Church [Tue, 11 Jul 2006 15:06:57 +0000 (15:06 +0000)]
* (bug 6592) Add most viewed pages summary to Special:Statistics
Antoine Musso [Tue, 11 Jul 2006 14:30:03 +0000 (14:30 +0000)]
Note about $wgUploadSizeWarning using byte
Antoine Musso [Tue, 11 Jul 2006 14:11:23 +0000 (14:11 +0000)]
Remove forced dereferencements (new() returns a reference in PHP5)
Antoine Musso [Tue, 11 Jul 2006 14:03:17 +0000 (14:03 +0000)]
Some new strictness with PHP5
Antoine Musso [Tue, 11 Jul 2006 13:42:34 +0000 (13:42 +0000)]
Fix #6526: Undefined offset notice in MagicWord.php on bad input
Filter first, check after.
Antoine Musso [Tue, 11 Jul 2006 12:37:43 +0000 (12:37 +0000)]
Use Xml functions
Antoine Musso [Tue, 11 Jul 2006 12:21:39 +0000 (12:21 +0000)]
Indent the namespace selector
Antoine Musso [Tue, 11 Jul 2006 11:02:30 +0000 (11:02 +0000)]
Fix #6630: Update to french localisation, patch by Solensean
Tim Starling [Tue, 11 Jul 2006 09:01:11 +0000 (09:01 +0000)]
block the canonical username
Tim Starling [Tue, 11 Jul 2006 08:37:16 +0000 (08:37 +0000)]
Added missing update query
Tim Starling [Tue, 11 Jul 2006 06:56:27 +0000 (06:56 +0000)]
Use bool not boolean for 4.0.x compatibility
Tim Starling [Tue, 11 Jul 2006 05:30:35 +0000 (05:30 +0000)]
Give manual blocks precedence over autoblocks
Tim Starling [Tue, 11 Jul 2006 05:29:31 +0000 (05:29 +0000)]
Fixed autoblock bug
Brion Vibber [Tue, 11 Jul 2006 04:02:56 +0000 (04:02 +0000)]
* (bug 6627) Fix regression in Special:Ipblocklist with table prefix
Antoine Musso [Mon, 10 Jul 2006 20:22:49 +0000 (20:22 +0000)]
make methods compatible with parent class 'Language'
Antoine Musso [Mon, 10 Jul 2006 19:58:27 +0000 (19:58 +0000)]
Make APCBagOStuff::delete() compatible with BagOStuff::delete()
Antoine Musso [Mon, 10 Jul 2006 19:49:22 +0000 (19:49 +0000)]
Fix #6622: image::newFromTitle deprecated but still used
Antoine Musso [Mon, 10 Jul 2006 19:34:07 +0000 (19:34 +0000)]
static function
Antoine Musso [Mon, 10 Jul 2006 18:53:15 +0000 (18:53 +0000)]
Adding some more static statements
Brion Vibber [Mon, 10 Jul 2006 18:25:56 +0000 (18:25 +0000)]
* (bug 6299) Maintain parser's revision ID across recursive calls to fix
{{REVISIONID}} when Cite extension is used
Brion Vibber [Mon, 10 Jul 2006 18:06:34 +0000 (18:06 +0000)]
* Quick hack for extension testing: parser test doesn't create new message
cache object.
Jimmy Collins [Mon, 10 Jul 2006 17:48:22 +0000 (17:48 +0000)]
Added German translation for new messages (de)
Antoine Musso [Mon, 10 Jul 2006 15:41:30 +0000 (15:41 +0000)]
A lot more of static issues when using E_STRICT from the commandline.
Antoine Musso [Mon, 10 Jul 2006 15:08:51 +0000 (15:08 +0000)]
static E_STRICT warnings
Rotem Liss [Mon, 10 Jul 2006 10:17:49 +0000 (10:17 +0000)]
Update, and making 'ipboptions' compatible to English.
Rotem Liss [Mon, 10 Jul 2006 09:51:36 +0000 (09:51 +0000)]
(bug 6619) Update to Indonesian localisation (id) #27
Antoine Musso [Mon, 10 Jul 2006 09:13:50 +0000 (09:13 +0000)]
Fix #6561: "frame" and "border" and "rules" listed twice as table attributes
Tim Starling [Mon, 10 Jul 2006 09:02:32 +0000 (09:02 +0000)]
Turn off ipb_create_account for user blocks.
Rob Church [Mon, 10 Jul 2006 09:01:29 +0000 (09:01 +0000)]
(bug 6616) Updates to Brazilian Portuguese localisation files
Rob Church [Mon, 10 Jul 2006 08:53:42 +0000 (08:53 +0000)]
* (bug 6618) Improve permissions/error detection in Special:Lockdb
* Add another explicit check
* Suppress errors on the fopen()
* If the fopen() fails, assume a permissions problem
Rob Church [Mon, 10 Jul 2006 08:38:48 +0000 (08:38 +0000)]
* (bug 6448) Allow filtering of Special:Newpages according to username
Comes with a free index upgrade.
Tim Starling [Mon, 10 Jul 2006 08:38:22 +0000 (08:38 +0000)]
Ignore ipb_anon_only and ipb_create_account for username blocks.
Rob Church [Mon, 10 Jul 2006 08:36:16 +0000 (08:36 +0000)]
Remove use of deprecated OutputPage::developerRequired()
Tim Starling [Mon, 10 Jul 2006 06:30:03 +0000 (06:30 +0000)]
* Allow blocks on anonymous users only.
* Allow or disallow account creation from blocked IP addressess on a per-block basis.
* Prevent duplicate blocks.
* Fixed the problem of expiry and unblocking erroneously affecting multiple blocks.
* Fixed confusing lack of error message when a blocked user attempts to create an account.
* Fixed inefficiency of Special:Ipblocklist in the presence of large numbers of blocks; added indexes and implemented an indexed pager.
Jimmy Collins [Sun, 9 Jul 2006 21:24:05 +0000 (21:24 +0000)]
Minor update to German translation (de)
Jimmy Collins [Sun, 9 Jul 2006 21:16:45 +0000 (21:16 +0000)]
(bug 6610) uppercase for Kazakh (kk)
Jimmy Collins [Sun, 9 Jul 2006 21:06:31 +0000 (21:06 +0000)]
(bug 6609) Update to Catalan language (ca)
Jimmy Collins [Sun, 9 Jul 2006 15:46:58 +0000 (15:46 +0000)]
(bug 6606) Update for Russian language (ru)
Tim Starling [Sun, 9 Jul 2006 04:30:16 +0000 (04:30 +0000)]
XSS
Brion Vibber [Sun, 9 Jul 2006 02:11:16 +0000 (02:11 +0000)]
Fix the other incidence of ENGINE= that was forgotten about
Niklas Laxström [Sat, 8 Jul 2006 15:36:12 +0000 (15:36 +0000)]
* And more escaping
Niklas Laxström [Sat, 8 Jul 2006 13:53:50 +0000 (13:53 +0000)]
* More escaping
Niklas Laxström [Sat, 8 Jul 2006 13:39:35 +0000 (13:39 +0000)]
* Do some escaping to page titles put into wikitext
Niklas Laxström [Sat, 8 Jul 2006 13:38:18 +0000 (13:38 +0000)]
* Added RFC to list of strings to escape