lhc/web/wiklou.git
18 years agoRevert 15696, would cause every DB to fail other than mysql. Huh?
Brion Vibber [Sun, 16 Jul 2006 21:40:35 +0000 (21:40 +0000)]
Revert 15696, would cause every DB to fail other than mysql. Huh?

18 years ago(bug 6705) Update whitespace and comments for MessagesNl.php
Jimmy Collins [Sun, 16 Jul 2006 21:29:01 +0000 (21:29 +0000)]
(bug 6705) Update whitespace and comments for MessagesNl.php

18 years agonormalize case
Brion Vibber [Sun, 16 Jul 2006 20:58:40 +0000 (20:58 +0000)]
normalize case

18 years agoDeletion-related housekeeping.
Greg Sabino Mullane [Sun, 16 Jul 2006 17:54:06 +0000 (17:54 +0000)]
Deletion-related housekeeping.

18 years agoAdd mysql if blocks for deletion, remove unused getPrefixedDBkey() call.
Greg Sabino Mullane [Sun, 16 Jul 2006 17:53:25 +0000 (17:53 +0000)]
Add mysql if blocks for deletion, remove unused getPrefixedDBkey() call.

18 years agoRemoved some unused/obsolete messages:
Jimmy Collins [Sun, 16 Jul 2006 17:48:05 +0000 (17:48 +0000)]
Removed some unused/obsolete messages:
selflinks, selflinkstext, protectpage, watchlistsub

18 years agoRemoved some unused/obsolete messages:
Jimmy Collins [Sun, 16 Jul 2006 17:14:45 +0000 (17:14 +0000)]
Removed some unused/obsolete messages:
mispeelings, mispeelingstext, mispeelingspage, missinglanguagelinks,
missinglanguagelinksbutton, missinglanguagelinkstext

18 years agoRemoved some unused/obsolete messages:
Jimmy Collins [Sun, 16 Jul 2006 17:02:41 +0000 (17:02 +0000)]
Removed some unused/obsolete messages:
bureaucratlog, bureaucratlogentry, members, restorelink1, newmessages,
oldrevisionnavigation, revisionasofwithlink

18 years agoRemoved some unused/obsolete messages:
Jimmy Collins [Sun, 16 Jul 2006 16:45:55 +0000 (16:45 +0000)]
Removed some unused/obsolete messages:
metadata_page, showhideminor, allnonarticles, changegrouplogentry,
renamegrouplogentry , addgroup, addgrouplogentry, editgroup

18 years agoMaking User::isBot deprecated, using User::isAllowed('bot') instead, making it a...
Rotem Liss [Sun, 16 Jul 2006 16:42:15 +0000 (16:42 +0000)]
Making User::isBot deprecated, using User::isAllowed('bot') instead, making it a wrapper of User::isAllowed, and deleting several obsolete comments.

18 years agoReverting the revert, the problem was an error in the extension.
Rotem Liss [Sun, 16 Jul 2006 16:10:41 +0000 (16:10 +0000)]
Reverting the revert, the problem was an error in the extension.

18 years agoTypo.
Greg Sabino Mullane [Sun, 16 Jul 2006 15:45:47 +0000 (15:45 +0000)]
Typo.

18 years agoStrangely, extension special pages are not allowed (you don't have permission ''...
Rotem Liss [Sun, 16 Jul 2006 15:43:41 +0000 (15:43 +0000)]
Strangely, extension special pages are not allowed (you don't have permission ''), although User::userCan checks for empty string; partial revert.

18 years agoBump up size, height, and width data types for image table. Fixes bug #6634
Greg Sabino Mullane [Sun, 16 Jul 2006 15:40:25 +0000 (15:40 +0000)]
Bump up size, height, and width data types for image table. Fixes bug #6634

18 years agoAdd ipb_anon_only and ipb_create_account columns.
Greg Sabino Mullane [Sun, 16 Jul 2006 15:32:45 +0000 (15:32 +0000)]
Add ipb_anon_only and ipb_create_account columns.

18 years agoFixes for bug 6703, by Robert Treat.
Greg Sabino Mullane [Sun, 16 Jul 2006 15:21:34 +0000 (15:21 +0000)]
Fixes for bug 6703, by Robert Treat.

18 years agoPrevent full db open if class is being called only.
Greg Sabino Mullane [Sun, 16 Jul 2006 15:20:24 +0000 (15:20 +0000)]
Prevent full db open if class is being called only.
Add lots of superuser magic to the initial connection.

18 years agoAdd superuser section for Postgres connections.
Greg Sabino Mullane [Sun, 16 Jul 2006 15:18:51 +0000 (15:18 +0000)]
Add superuser section for Postgres connections.

18 years agoRemoving the division of the special pages by '', 'sysop' and 'developer', as it...
Rotem Liss [Sun, 16 Jul 2006 13:30:08 +0000 (13:30 +0000)]
Removing the division of the special pages by '', 'sysop' and 'developer', as it's obsolete, and the pages are divided by the actual rights ('', 'delete', 'block', 'userrights', etc.).

18 years agoRenamed maintainace script redundanttrans.php to unusedMessages.php like
Jimmy Collins [Sun, 16 Jul 2006 12:44:44 +0000 (12:44 +0000)]
Renamed maintainace script redundanttrans.php to unusedMessages.php like
discussed in #mediawiki (clearer usage)

18 years agoFixing a comment, and using SpecialPage::userCanExecute as a wrapper to to User:...
Rotem Liss [Sun, 16 Jul 2006 12:43:15 +0000 (12:43 +0000)]
Fixing a comment, and using SpecialPage::userCanExecute as a wrapper to to User::isAllowed.

18 years agoAbstract database setup into its own method, remove unused oracle table calls.
Greg Sabino Mullane [Sun, 16 Jul 2006 12:29:32 +0000 (12:29 +0000)]
Abstract database setup into its own method, remove unused oracle table calls.

18 years agoRemove update_interwiki(), add setup_database()
Greg Sabino Mullane [Sun, 16 Jul 2006 12:28:38 +0000 (12:28 +0000)]
Remove update_interwiki(), add setup_database()

18 years agoExpand new version table.
Greg Sabino Mullane [Sun, 16 Jul 2006 12:26:35 +0000 (12:26 +0000)]
Expand new version table.

18 years agoImprovements to Korean (ko) translation by Klutzy and PuzzletChung
Jimmy Collins [Sun, 16 Jul 2006 12:26:31 +0000 (12:26 +0000)]
Improvements to Korean (ko) translation by Klutzy and PuzzletChung

18 years agoRemoved some redundant messages:
Jimmy Collins [Sun, 16 Jul 2006 12:23:55 +0000 (12:23 +0000)]
Removed some redundant messages:
nogomatch, usenewcategorypage, uploadlink, tableform

18 years agoAdd mediawiki_version table.
Greg Sabino Mullane [Sun, 16 Jul 2006 12:09:15 +0000 (12:09 +0000)]
Add mediawiki_version table.

18 years agoRemoved some redundant messages:
Jimmy Collins [Sun, 16 Jul 2006 11:54:02 +0000 (11:54 +0000)]
Removed some redundant messages:
contribs-showhideminor, listform, nchanges, rcloaderr, rchide, rcliu

18 years agoadd profiling hooks at quite critical place (accounting parser usage by skin)
Domas Mituzas [Sun, 16 Jul 2006 08:16:58 +0000 (08:16 +0000)]
add profiling hooks at quite critical place (accounting parser usage by skin)

18 years agowrong language object
Tim Starling [Sun, 16 Jul 2006 04:07:01 +0000 (04:07 +0000)]
wrong language object

18 years agoRemoved some redundant messages: ipusuccess, emailflag, maintenance,
Jimmy Collins [Sat, 15 Jul 2006 23:45:18 +0000 (23:45 +0000)]
Removed some redundant messages: ipusuccess, emailflag, maintenance,
maintnancepagetext, maintenancebacklink

18 years agoRemoved some redundant messages: undeletedtext, undelete_short1,
Jimmy Collins [Sat, 15 Jul 2006 23:25:38 +0000 (23:25 +0000)]
Removed some redundant messages: undeletedtext, undelete_short1,
subcategorycount1, categoryarticlecount1, categories1

18 years agoRemoved some redundant messages: wlshow, wlhide, orphans, debug
Jimmy Collins [Sat, 15 Jul 2006 22:51:20 +0000 (22:51 +0000)]
Removed some redundant messages: wlshow, wlhide, orphans, debug

18 years agoRemoved some messages that are on ignore list:
Jimmy Collins [Sat, 15 Jul 2006 22:15:15 +0000 (22:15 +0000)]
Removed some messages that are on ignore list:
loginend, trackbackexcerpt, trackback

18 years agoRemoved some messages that are on ignore list:
Jimmy Collins [Sat, 15 Jul 2006 21:51:50 +0000 (21:51 +0000)]
Removed some messages that are on ignore list:
number_of_watching_users_RCview, markaspatrolledlink, talkpagetext,
shareddescriptionfollows

18 years agoRemoved some messages that are on ignore list:
Jimmy Collins [Sat, 15 Jul 2006 21:39:25 +0000 (21:39 +0000)]
Removed some messages that are on ignore list:
randompage-url, recentchanges-url

18 years agoRemoved some messages that are on ignore list:
Jimmy Collins [Sat, 15 Jul 2006 21:31:19 +0000 (21:31 +0000)]
Removed some messages that are on ignore list:
rfcurl, pubmedurl

18 years agoRemoved some messages that are on ignore list:
Jimmy Collins [Sat, 15 Jul 2006 21:19:11 +0000 (21:19 +0000)]
Removed some messages that are on ignore list:
exif-make-value, exif-software-value

18 years agoRemoved some messages that are on ignore list:
Jimmy Collins [Sat, 15 Jul 2006 20:39:38 +0000 (20:39 +0000)]
Removed some messages that are on ignore list:
addsection, history_copyright, catseparator

18 years agoRemoved some messages that are on ignore list:
Jimmy Collins [Sat, 15 Jul 2006 20:11:22 +0000 (20:11 +0000)]
Removed some messages that are on ignore list:
sitetitle, sitesubtitle, widthheight, sitenotice

18 years agoadd statistics hook for parser cache statistics...
Domas Mituzas [Sat, 15 Jul 2006 19:36:06 +0000 (19:36 +0000)]
add statistics hook for parser cache statistics...

18 years ago* (bug 6696) readme notes from taw
Brion Vibber [Sat, 15 Jul 2006 19:25:01 +0000 (19:25 +0000)]
* (bug 6696) readme notes from taw

18 years agouse object error retrieval functions, that work properly within connection context
Domas Mituzas [Sat, 15 Jul 2006 19:22:37 +0000 (19:22 +0000)]
use object error retrieval functions, that work properly within connection context

18 years agoAdd missing ")"
Jimmy Collins [Sat, 15 Jul 2006 17:15:58 +0000 (17:15 +0000)]
Add missing ")"

18 years agopublic static function isPublic
Antoine Musso [Sat, 15 Jul 2006 12:41:42 +0000 (12:41 +0000)]
public static function isPublic

18 years ago* (bug 6680) Added localisation for Dutch bookstore list (nl)
Jimmy Collins [Sat, 15 Jul 2006 08:51:34 +0000 (08:51 +0000)]
* (bug 6680) Added localisation for Dutch bookstore list (nl)

18 years agoUpdates to German bookstore list (de)
Jimmy Collins [Sat, 15 Jul 2006 08:39:21 +0000 (08:39 +0000)]
Updates to German bookstore list (de)

18 years ago(bug 6687) Update to Indonesian localisation (id)
Jimmy Collins [Sat, 15 Jul 2006 08:33:34 +0000 (08:33 +0000)]
(bug 6687) Update to Indonesian localisation (id)

18 years agoBetter feedback if user forgets to pick a database type.
Greg Sabino Mullane [Fri, 14 Jul 2006 20:58:34 +0000 (20:58 +0000)]
Better feedback if user forgets to pick a database type.

18 years agoEnsure correct path is used in case we are trying to view a page in a subdirectory
Greg Sabino Mullane [Fri, 14 Jul 2006 20:40:16 +0000 (20:40 +0000)]
Ensure correct path is used in case we are trying to view a page in a subdirectory

18 years agofunction_exists expects string with function name in it
Domas Mituzas [Fri, 14 Jul 2006 20:25:11 +0000 (20:25 +0000)]
function_exists expects string with function name in it

18 years agoChange GROUP BY to standard SQL form by specifying all fields.
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.

18 years agoChange from hardcoding to limitResult function.
Greg Sabino Mullane [Fri, 14 Jul 2006 19:45:08 +0000 (19:45 +0000)]
Change from hardcoding to limitResult function.

18 years agofix syntax error
Brion Vibber [Fri, 14 Jul 2006 19:42:16 +0000 (19:42 +0000)]
fix syntax error

18 years agoNeed to load a definition for wfProfileIn due to changes in rev 15605
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

18 years agoThat doesn't work... oh well, as long as no other module tries to use these constants...
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.

18 years agomissed one
Tim Starling [Fri, 14 Jul 2006 17:05:00 +0000 (17:05 +0000)]
missed one

18 years agoDeferred loading of DateFormatter.php and IP.php. Standardised IP.php function naming...
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.

18 years agoMagicWord initialisation deferred.
Tim Starling [Fri, 14 Jul 2006 16:36:35 +0000 (16:36 +0000)]
MagicWord initialisation deferred.

18 years agoFixed Parser::setFunctionHook(), broken by last commit. Passed parserTests.php either...
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.

18 years agoGot rid of the MagicWord indexing constants (MAG_xxx), replaced them by string indexi...
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.

18 years agoHTML to display when there is no LocalSettings.php (split off from index.php)
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)

18 years agoduh, typo
Brion Vibber [Fri, 14 Jul 2006 06:37:03 +0000 (06:37 +0000)]
duh, typo

18 years ago* (bug 6679) syntax error
Brion Vibber [Fri, 14 Jul 2006 06:17:00 +0000 (06:17 +0000)]
* (bug 6679) syntax error

18 years agoConsolidated web initialisation code into includes/WebStart.php. Moved profiling...
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.

18 years agoRemoved forced call-by-reference from LogPage::addEntry(), causes errors in some...
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

18 years agoduh
Brion Vibber [Thu, 13 Jul 2006 23:53:04 +0000 (23:53 +0000)]
duh

18 years agoRename the files as well
Brion Vibber [Thu, 13 Jul 2006 23:23:08 +0000 (23:23 +0000)]
Rename the files as well

18 years agoAdd script to clean up badly named image records. Doesn't touch files yet
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

18 years ago(bug 6004) Update for Polish language (pl)
Rotem Liss [Thu, 13 Jul 2006 19:28:23 +0000 (19:28 +0000)]
(bug 6004) Update for Polish language (pl)

18 years agoAdding direction mark in the most popular pages in Special:Statistics.
Rotem Liss [Thu, 13 Jul 2006 17:55:46 +0000 (17:55 +0000)]
Adding direction mark in the most popular pages in Special:Statistics.

18 years agoUpdate.
Rotem Liss [Thu, 13 Jul 2006 17:50:03 +0000 (17:50 +0000)]
Update.

18 years agoAbstract out some of the cleanupTitles code to reuse it
Brion Vibber [Thu, 13 Jul 2006 17:38:01 +0000 (17:38 +0000)]
Abstract out some of the cleanupTitles code to reuse it

18 years ago* Improve default value of "blockedtext"
Rob Church [Thu, 13 Jul 2006 11:27:02 +0000 (11:27 +0000)]
* Improve default value of "blockedtext"

18 years agoAs a further precaution, use wfOpenElement() and wfCloseElement()
Rob Church [Thu, 13 Jul 2006 10:06:24 +0000 (10:06 +0000)]
As a further precaution, use wfOpenElement() and wfCloseElement()

18 years ago* (bug 6660) Fix behaviour of EditPage::blockedPage() when the article does not exist...
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

18 years ago* cleanupTitles.php changed from --dry-run option to --fix, so default
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

18 years agoStrict Standards with PHP5
Antoine Musso [Wed, 12 Jul 2006 18:38:25 +0000 (18:38 +0000)]
Strict Standards with PHP5

18 years agoMigrate IP related tools from ProxyTools.php to IP.php
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

18 years agoUpdate to German (de) translation for r15564 and r15565
Jimmy Collins [Wed, 12 Jul 2006 17:37:03 +0000 (17:37 +0000)]
Update to German (de) translation for r15564 and r15565

18 years agoFix incorrect require_once logic
Tim Starling [Wed, 12 Jul 2006 13:01:50 +0000 (13:01 +0000)]
Fix incorrect require_once logic

18 years ago* Check the block against the master if we're going to wind up deleting stuff
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

18 years agoAdditional update.
Rotem Liss [Wed, 12 Jul 2006 11:34:44 +0000 (11:34 +0000)]
Additional update.

18 years agoUpdate.
Rotem Liss [Wed, 12 Jul 2006 11:33:01 +0000 (11:33 +0000)]
Update.

18 years ago* (bug 6642) Don't offer to unlock the database when it isn't locked
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

18 years ago* Preserve entered reason when reporting unconfirmed lock on Special:Lockdb
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

18 years agoRestore factory function to avoid gratuitously breaking extensions for no reason...
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

18 years ago* (bug 6639) Use a consistent default for upload directories
Rob Church [Wed, 12 Jul 2006 03:18:42 +0000 (03:18 +0000)]
* (bug 6639) Use a consistent default for upload directories

18 years ago* (bug 6635) Fix regression searching for range blocks on Ipblocklist
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

18 years ago* Fix regression in blocking of user accounts
Brion Vibber [Tue, 11 Jul 2006 20:31:06 +0000 (20:31 +0000)]
* Fix regression in blocking of user accounts

18 years agocleaner error message when file cant be wrote
Antoine Musso [Tue, 11 Jul 2006 20:06:55 +0000 (20:06 +0000)]
cleaner error message when file cant be wrote

18 years agoCode quality: makes imagePage::doDelete compatible with article::doDelete
Antoine Musso [Tue, 11 Jul 2006 19:58:08 +0000 (19:58 +0000)]
Code quality: makes imagePage::doDelete compatible with article::doDelete

18 years ago* Pre-strip characters ignored in IDNs from URLs so they can't be used to break the...
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...

18 years agoAdd parser test case for bad char ref in link
Brion Vibber [Tue, 11 Jul 2006 18:53:45 +0000 (18:53 +0000)]
Add parser test case for bad char ref in link

18 years agoDisabled test for #6301 , see #4515
Antoine Musso [Tue, 11 Jul 2006 18:50:59 +0000 (18:50 +0000)]
Disabled test for #6301 , see #4515

18 years agoBlock form fixlets:
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

18 years agoFix ugly hack. Assume PHP5 does a nice job with references.
Antoine Musso [Tue, 11 Jul 2006 17:46:30 +0000 (17:46 +0000)]
Fix ugly hack. Assume PHP5 does a nice job with references.

18 years agoSome evil whitespaces. Sorry.
Antoine Musso [Tue, 11 Jul 2006 17:40:11 +0000 (17:40 +0000)]
Some evil whitespaces. Sorry.

18 years ago* Form indentation
Antoine Musso [Tue, 11 Jul 2006 17:38:12 +0000 (17:38 +0000)]
* Form indentation
* Remove the 'namespace' label, looks useless

18 years agoEvil /\s+$/
Antoine Musso [Tue, 11 Jul 2006 17:32:31 +0000 (17:32 +0000)]
Evil /\s+$/