lhc/web/wiklou.git
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+$/

18 years ago* Fix double escaping (thanks brion)
Antoine Musso [Tue, 11 Jul 2006 17:30:48 +0000 (17:30 +0000)]
* Fix double escaping (thanks brion)
* wfHidden ftw!!!1!

18 years agoDefintly fix #6561 patch by Nick Jenkins
Antoine Musso [Tue, 11 Jul 2006 16:39:51 +0000 (16:39 +0000)]
Defintly fix #6561 patch by Nick Jenkins

18 years agoSuppress when miser mode is on; it's expensive
Rob Church [Tue, 11 Jul 2006 16:33:04 +0000 (16:33 +0000)]
Suppress when miser mode is on; it's expensive

18 years agoGerman (de) translation for r15535
Jimmy Collins [Tue, 11 Jul 2006 16:04:20 +0000 (16:04 +0000)]
German (de) translation for r15535

18 years agoOnly show pages in SpecialStatistics with page_counter > 0
Jimmy Collins [Tue, 11 Jul 2006 15:57:09 +0000 (15:57 +0000)]
Only show pages in SpecialStatistics with page_counter > 0

18 years agoUpdate, various fixes, and strict writing for LanguageHe::convertPlural.
Rotem Liss [Tue, 11 Jul 2006 15:18:09 +0000 (15:18 +0000)]
Update, various fixes, and strict writing for LanguageHe::convertPlural.

18 years ago* Free the result
Rob Church [Tue, 11 Jul 2006 15:09:51 +0000 (15:09 +0000)]
* Free the result

18 years ago* (bug 6592) Add most viewed pages summary to Special:Statistics
Rob Church [Tue, 11 Jul 2006 15:06:57 +0000 (15:06 +0000)]
* (bug 6592) Add most viewed pages summary to Special:Statistics

18 years agoNote about $wgUploadSizeWarning using byte
Antoine Musso [Tue, 11 Jul 2006 14:30:03 +0000 (14:30 +0000)]
Note about $wgUploadSizeWarning using byte

18 years agoRemove forced dereferencements (new() returns a reference in PHP5)
Antoine Musso [Tue, 11 Jul 2006 14:11:23 +0000 (14:11 +0000)]
Remove forced dereferencements (new() returns a reference in PHP5)

18 years agoSome new strictness with PHP5
Antoine Musso [Tue, 11 Jul 2006 14:03:17 +0000 (14:03 +0000)]
Some new strictness with PHP5

18 years agoFix #6526: Undefined offset notice in MagicWord.php on bad input
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.

18 years agoUse Xml functions
Antoine Musso [Tue, 11 Jul 2006 12:37:43 +0000 (12:37 +0000)]
Use Xml functions

18 years agoIndent the namespace selector
Antoine Musso [Tue, 11 Jul 2006 12:21:39 +0000 (12:21 +0000)]
Indent the namespace selector

18 years agoFix #6630: Update to french localisation, patch by Solensean
Antoine Musso [Tue, 11 Jul 2006 11:02:30 +0000 (11:02 +0000)]
Fix #6630: Update to french localisation, patch by Solensean

18 years agoblock the canonical username
Tim Starling [Tue, 11 Jul 2006 09:01:11 +0000 (09:01 +0000)]
block the canonical username

18 years agoAdded missing update query
Tim Starling [Tue, 11 Jul 2006 08:37:16 +0000 (08:37 +0000)]
Added missing update query

18 years agoUse bool not boolean for 4.0.x compatibility
Tim Starling [Tue, 11 Jul 2006 06:56:27 +0000 (06:56 +0000)]
Use bool not boolean for 4.0.x compatibility

18 years agoGive manual blocks precedence over autoblocks
Tim Starling [Tue, 11 Jul 2006 05:30:35 +0000 (05:30 +0000)]
Give manual blocks precedence over autoblocks

18 years agoFixed autoblock bug
Tim Starling [Tue, 11 Jul 2006 05:29:31 +0000 (05:29 +0000)]
Fixed autoblock bug

18 years ago* (bug 6627) Fix regression in Special:Ipblocklist with table prefix
Brion Vibber [Tue, 11 Jul 2006 04:02:56 +0000 (04:02 +0000)]
* (bug 6627) Fix regression in Special:Ipblocklist with table prefix

18 years agomake methods compatible with parent class 'Language'
Antoine Musso [Mon, 10 Jul 2006 20:22:49 +0000 (20:22 +0000)]
make methods compatible with parent class 'Language'

18 years agoMake APCBagOStuff::delete() compatible with BagOStuff::delete()
Antoine Musso [Mon, 10 Jul 2006 19:58:27 +0000 (19:58 +0000)]
Make APCBagOStuff::delete() compatible with BagOStuff::delete()

18 years agoFix #6622: image::newFromTitle deprecated but still used
Antoine Musso [Mon, 10 Jul 2006 19:49:22 +0000 (19:49 +0000)]
Fix #6622: image::newFromTitle deprecated but still used

18 years agostatic function
Antoine Musso [Mon, 10 Jul 2006 19:34:07 +0000 (19:34 +0000)]
static function

18 years agoAdding some more static statements
Antoine Musso [Mon, 10 Jul 2006 18:53:15 +0000 (18:53 +0000)]
Adding some more static statements

18 years ago* (bug 6299) Maintain parser's revision ID across recursive calls to fix
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

18 years ago* Quick hack for extension testing: parser test doesn't create new message
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.

18 years agoAdded German translation for new messages (de)
Jimmy Collins [Mon, 10 Jul 2006 17:48:22 +0000 (17:48 +0000)]
Added German translation for new messages (de)

18 years agoA lot more of static issues when using E_STRICT from the commandline.
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.

18 years agostatic E_STRICT warnings
Antoine Musso [Mon, 10 Jul 2006 15:08:51 +0000 (15:08 +0000)]
static E_STRICT warnings

18 years agoUpdate, and making 'ipboptions' compatible to English.
Rotem Liss [Mon, 10 Jul 2006 10:17:49 +0000 (10:17 +0000)]
Update, and making 'ipboptions' compatible to English.

18 years ago(bug 6619) Update to Indonesian localisation (id) #27
Rotem Liss [Mon, 10 Jul 2006 09:51:36 +0000 (09:51 +0000)]
(bug 6619) Update to Indonesian localisation (id) #27

18 years agoFix #6561: "frame" and "border" and "rules" listed twice as table attributes
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

18 years agoTurn off ipb_create_account for user blocks.
Tim Starling [Mon, 10 Jul 2006 09:02:32 +0000 (09:02 +0000)]
Turn off ipb_create_account for user blocks.

18 years ago(bug 6616) Updates to Brazilian Portuguese localisation files
Rob Church [Mon, 10 Jul 2006 09:01:29 +0000 (09:01 +0000)]
(bug 6616) Updates to Brazilian Portuguese localisation files

18 years ago* (bug 6618) Improve permissions/error detection in Special:Lockdb
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

18 years ago* (bug 6448) Allow filtering of Special:Newpages according to username
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.

18 years agoIgnore ipb_anon_only and ipb_create_account for username blocks.
Tim Starling [Mon, 10 Jul 2006 08:38:22 +0000 (08:38 +0000)]
Ignore ipb_anon_only and ipb_create_account for username blocks.

18 years agoRemove use of deprecated OutputPage::developerRequired()
Rob Church [Mon, 10 Jul 2006 08:36:16 +0000 (08:36 +0000)]
Remove use of deprecated OutputPage::developerRequired()

18 years ago* Allow blocks on anonymous users only.
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.

18 years agoMinor update to German translation (de)
Jimmy Collins [Sun, 9 Jul 2006 21:24:05 +0000 (21:24 +0000)]
Minor update to German translation (de)

18 years ago(bug 6610) uppercase for Kazakh (kk)
Jimmy Collins [Sun, 9 Jul 2006 21:16:45 +0000 (21:16 +0000)]
(bug 6610) uppercase for Kazakh (kk)

18 years ago(bug 6609) Update to Catalan language (ca)
Jimmy Collins [Sun, 9 Jul 2006 21:06:31 +0000 (21:06 +0000)]
(bug 6609) Update to Catalan language (ca)

18 years ago(bug 6606) Update for Russian language (ru)
Jimmy Collins [Sun, 9 Jul 2006 15:46:58 +0000 (15:46 +0000)]
(bug 6606) Update for Russian language (ru)

18 years agoXSS
Tim Starling [Sun, 9 Jul 2006 04:30:16 +0000 (04:30 +0000)]
XSS

18 years agoFix the other incidence of ENGINE= that was forgotten about
Brion Vibber [Sun, 9 Jul 2006 02:11:16 +0000 (02:11 +0000)]
Fix the other incidence of ENGINE= that was forgotten about

18 years ago* And more escaping
Niklas Laxström [Sat, 8 Jul 2006 15:36:12 +0000 (15:36 +0000)]
* And more escaping

18 years ago* More escaping
Niklas Laxström [Sat, 8 Jul 2006 13:53:50 +0000 (13:53 +0000)]
* More escaping

18 years ago* Do some escaping to page titles put into wikitext
Niklas Laxström [Sat, 8 Jul 2006 13:39:35 +0000 (13:39 +0000)]
* Do some escaping to page titles put into wikitext

18 years ago* Added RFC to list of strings to escape
Niklas Laxström [Sat, 8 Jul 2006 13:38:18 +0000 (13:38 +0000)]
* Added RFC to list of strings to escape

18 years ago* (bug 6587) Remove redundant "allnonarticles" message
Rob Church [Sat, 8 Jul 2006 13:10:21 +0000 (13:10 +0000)]
* (bug 6587) Remove redundant "allnonarticles" message
* Refactor release notes with suggestion; list all updated languages in the release once, to avoid duplicate lines per update and general confusion, etc.

18 years agoUpdate.
Rotem Liss [Sat, 8 Jul 2006 13:02:54 +0000 (13:02 +0000)]
Update.

18 years agoAdded plural support for 'import-revision-count'
Jimmy Collins [Sat, 8 Jul 2006 12:30:42 +0000 (12:30 +0000)]
Added plural support for 'import-revision-count'