lhc/web/wiklou.git
15 years agoRevert self - local issue
Aaron Schulz [Tue, 30 Sep 2008 13:35:15 +0000 (13:35 +0000)]
Revert self - local issue

15 years agoDon't assume edits are bot edits just because there is no 'bot=' url param...
Aaron Schulz [Tue, 30 Sep 2008 13:31:48 +0000 (13:31 +0000)]
Don't assume edits are bot edits just because there is no 'bot=' url param...

15 years agoLocalization update.
Rotem Liss [Tue, 30 Sep 2008 09:12:43 +0000 (09:12 +0000)]
Localization update.

15 years agoHostnames are allowed to have dots in them
Tim Starling [Tue, 30 Sep 2008 08:45:52 +0000 (08:45 +0000)]
Hostnames are allowed to have dots in them

15 years agoRemove unused message 'loginproblem'
Siebrand Mazeland [Tue, 30 Sep 2008 08:32:08 +0000 (08:32 +0000)]
Remove unused message 'loginproblem'

15 years ago"external authentication database" -> "authentication database" in 'externaldberror'
Siebrand Mazeland [Tue, 30 Sep 2008 08:27:18 +0000 (08:27 +0000)]
"external authentication database" -> "authentication database" in 'externaldberror'

15 years agoLocalisation updates. Remove messages that were removed again in recent reverts.
Siebrand Mazeland [Tue, 30 Sep 2008 08:06:05 +0000 (08:06 +0000)]
Localisation updates. Remove messages that were removed again in recent reverts.

15 years agoRemoving message groups too.
Rotem Liss [Tue, 30 Sep 2008 07:57:33 +0000 (07:57 +0000)]
Removing message groups too.

15 years agoLocalization update.
Rotem Liss [Tue, 30 Sep 2008 07:56:29 +0000 (07:56 +0000)]
Localization update.

15 years agoLocalization: Removing reverted messages from he file and from messages.inc.
Rotem Liss [Tue, 30 Sep 2008 07:55:52 +0000 (07:55 +0000)]
Localization: Removing reverted messages from he file and from messages.inc.

15 years ago* Add Linker::link flag for using article path
Matt Johnston [Tue, 30 Sep 2008 01:56:54 +0000 (01:56 +0000)]
* Add Linker::link flag for using article path
* Fix mistake in Interwiki-detecting code in Title
* Clean up Interwiki.php per Tim's recommendations

15 years agoRevert revert r41406 of r41333, and removed one space between attributes.
Tim Starling [Tue, 30 Sep 2008 01:00:40 +0000 (01:00 +0000)]
Revert revert r41406 of r41333, and removed one space between attributes.

15 years agoRevert r41364 -- broke 22 parser test cases with change of alt behavior.
Brion Vibber [Tue, 30 Sep 2008 00:21:59 +0000 (00:21 +0000)]
Revert r41364 -- broke 22 parser test cases with change of alt behavior.

The caption was originally defined *as* the alt text (defaulting to the image file name if there is no alt text). Note that a separate caption text is only displayed in some display modes ('frame' and 'thumb', iirc), and not by default.

Please run the parser tests and check the effect you have on them. If it's really an appropriate change, then update the test cases. If you're not sure, consider backing out pending further discussion. :)

It might be appropriate to not set the 'alt' attribute for frame/thumb cases, but definitely not for inline images where we already have a way of setting the alt text which you're removing!

15 years agoBack out r41333 -- causes lots of parser test regressions due to funny spacing. Proba...
Brion Vibber [Tue, 30 Sep 2008 00:14:25 +0000 (00:14 +0000)]
Back out r41333 -- causes lots of parser test regressions due to funny spacing. Probably an easy fix but it wasn't tested apparently. :)

15 years agoRevert r41352-41355, r41362-41363: unauthorized schema change breaks parser tests
Brion Vibber [Tue, 30 Sep 2008 00:07:04 +0000 (00:07 +0000)]
Revert r41352-41355, r41362-41363: unauthorized schema change breaks parser tests

15 years agoFix r41248 (bug 8440) - Default should be 1 to allow for previous behaviour to continue.
Matt Johnston [Mon, 29 Sep 2008 23:16:34 +0000 (23:16 +0000)]
Fix r41248 (bug 8440) - Default should be 1 to allow for previous behaviour to continue.

15 years agoReverted r41301, r41332 -- weird overly-specific URL tweak setting for bug 15739.
Brion Vibber [Mon, 29 Sep 2008 23:02:52 +0000 (23:02 +0000)]
Reverted r41301, r41332 -- weird overly-specific URL tweak setting for bug 15739.

15 years agoFix silly typo.
Victor Vasiliev [Mon, 29 Sep 2008 20:03:25 +0000 (20:03 +0000)]
Fix silly typo.

15 years agoFix variable name so image moving doesn't fail on images with histories.
Victor Vasiliev [Mon, 29 Sep 2008 19:23:31 +0000 (19:23 +0000)]
Fix variable name so image moving doesn't fail on images with histories.

15 years agosvn:eol-style native
Alexandre Emsenhuber [Mon, 29 Sep 2008 18:20:43 +0000 (18:20 +0000)]
svn:eol-style native

15 years agoLocalisation updates for core messages from Betawiki (2008-09-29 17:40 CEST)
Siebrand Mazeland [Mon, 29 Sep 2008 16:03:34 +0000 (16:03 +0000)]
Localisation updates for core messages from Betawiki (2008-09-29 17:40 CEST)

15 years agoQuickly add namespace aliases for tl.
Siebrand Mazeland [Mon, 29 Sep 2008 15:37:46 +0000 (15:37 +0000)]
Quickly add namespace aliases for tl.

15 years agoLocalisation updates for core from Betawiki
Siebrand Mazeland [Mon, 29 Sep 2008 15:36:11 +0000 (15:36 +0000)]
Localisation updates for core from Betawiki

15 years agoLocalization update.
Rotem Liss [Mon, 29 Sep 2008 14:31:40 +0000 (14:31 +0000)]
Localization update.

15 years agoCopy '1movedto2' to 'prot_1movedto2' where present
Siebrand Mazeland [Mon, 29 Sep 2008 14:03:51 +0000 (14:03 +0000)]
Copy '1movedto2' to 'prot_1movedto2' where present

15 years agoRegister 'movedarticleprotection'
Siebrand Mazeland [Mon, 29 Sep 2008 14:01:44 +0000 (14:01 +0000)]
Register 'movedarticleprotection'

15 years agoRegister 'prot_1movedto2'
Siebrand Mazeland [Mon, 29 Sep 2008 13:43:15 +0000 (13:43 +0000)]
Register 'prot_1movedto2'

15 years agoSome protection move log cleanup (bug 15754)
Aaron Schulz [Mon, 29 Sep 2008 13:25:35 +0000 (13:25 +0000)]
Some protection move log cleanup (bug 15754)

15 years agoAdded support for LC_CTYPE on SunOS and HP-UX, thanks to River for testing these...
Tim Starling [Mon, 29 Sep 2008 10:53:10 +0000 (10:53 +0000)]
Added support for LC_CTYPE on SunOS and HP-UX, thanks to River for testing these. Neither of them like having a hyphen in UTF-8, so let's just use the exact string that locale -a returns.

15 years agoProposed fix for bug 14944, specifically the reports that some servers do not have...
Tim Starling [Mon, 29 Sep 2008 10:19:11 +0000 (10:19 +0000)]
Proposed fix for bug 14944, specifically the reports that some servers do not have en_US.UTF-8. Make the locale configurable via $wgShellLocale. Detect available locales and set $wgShellLocale to an appropriate value on install. Also fixes safe_mode putenv() warnings. RELEASE-NOTES entry will go to 1.13.

15 years agoFix r41377 - Incompatible old keys caused Fatal Error
Matt Johnston [Mon, 29 Sep 2008 10:14:45 +0000 (10:14 +0000)]
Fix r41377 - Incompatible old keys caused Fatal Error

15 years agoNew format for accessing Interwiki data. Replaced all old ways within core I could...
Matt Johnston [Mon, 29 Sep 2008 10:08:46 +0000 (10:08 +0000)]
New format for accessing Interwiki data. Replaced all old ways within core I could find, but should be backwards compatible wherever needed.

Also fix the notes in RELEASE-NOTES to state PHP 5.2 recommended as certain classes require it (e.g. ForeignAPIRepo, which uses json_decode)

15 years agoWhoops. Need to pass parameters.
Chad Horohoe [Mon, 29 Sep 2008 08:44:40 +0000 (08:44 +0000)]
Whoops. Need to pass parameters.

15 years agoMove some of this caching logic out of the file and into the repo where it belongs.
Chad Horohoe [Mon, 29 Sep 2008 08:23:16 +0000 (08:23 +0000)]
Move some of this caching logic out of the file and into the repo where it belongs.

15 years agowgMessageComments for 'protect-expiry-options'
Siebrand Mazeland [Mon, 29 Sep 2008 08:13:47 +0000 (08:13 +0000)]
wgMessageComments for 'protect-expiry-options'

15 years agoCopy 'ipboptions' to 'protect-expiry-options' where present
Siebrand Mazeland [Mon, 29 Sep 2008 08:05:28 +0000 (08:05 +0000)]
Copy 'ipboptions' to 'protect-expiry-options' where present

15 years agoLocalisation updates for core messages from Betawiki (2008-09-29 09:31 CEST)
Siebrand Mazeland [Mon, 29 Sep 2008 07:44:26 +0000 (07:44 +0000)]
Localisation updates for core messages from Betawiki (2008-09-29 09:31 CEST)

15 years agoLocalization update and fixes.
Rotem Liss [Mon, 29 Sep 2008 07:29:36 +0000 (07:29 +0000)]
Localization update and fixes.

15 years agoLocalization: Splitting the date and time in the 'userrestricted-indef' messages...
Rotem Liss [Mon, 29 Sep 2008 07:16:24 +0000 (07:16 +0000)]
Localization: Splitting the date and time in the 'userrestricted-indef' messages, too (it seems that the code already supports it).

15 years ago* Remove unneeded ini_set() from a very long time ago. Can't run this on allow_url_fo...
Chad Horohoe [Mon, 29 Sep 2008 06:24:32 +0000 (06:24 +0000)]
* Remove unneeded ini_set() from a very long time ago. Can't run this on allow_url_fopen nowadays.
* Remove extra global declaration.

15 years agoCleanup some docs :)
Chad Horohoe [Mon, 29 Sep 2008 06:12:47 +0000 (06:12 +0000)]
Cleanup some docs :)

15 years agoUse a new message for protection form expiry options instead of recycling the blockip...
Alex Z [Mon, 29 Sep 2008 01:35:04 +0000 (01:35 +0000)]
Use a new message for protection form expiry options instead of recycling the blockip one.

15 years ago(bug 368) Allow alt= attribute for images
Aryeh Gregor [Sun, 28 Sep 2008 21:07:34 +0000 (21:07 +0000)]
(bug 368) Allow alt= attribute for images

If the attribute is not specified, default to empty string, not repeating the caption.

15 years agoSplit time and date in messages.
Victor Vasiliev [Sun, 28 Sep 2008 20:35:58 +0000 (20:35 +0000)]
Split time and date in messages.

15 years ago* Fix caching
Victor Vasiliev [Sun, 28 Sep 2008 19:34:14 +0000 (19:34 +0000)]
* Fix caching
* Fix messages

15 years agoFix link description in 'listuserrestrictions-intro'
Siebrand Mazeland [Sun, 28 Sep 2008 19:22:02 +0000 (19:22 +0000)]
Fix link description in 'listuserrestrictions-intro'

15 years agoAdd newline
Siebrand Mazeland [Sun, 28 Sep 2008 19:16:00 +0000 (19:16 +0000)]
Add newline

15 years agoLocalization update.
Rotem Liss [Sun, 28 Sep 2008 19:00:45 +0000 (19:00 +0000)]
Localization update.

15 years agoRemoving a dupliate entry.
Rotem Liss [Sun, 28 Sep 2008 18:53:23 +0000 (18:53 +0000)]
Removing a dupliate entry.

15 years agoLocalization:
Rotem Liss [Sun, 28 Sep 2008 18:52:34 +0000 (18:52 +0000)]
Localization:
* Updating messages.inc.
* Rebuilding English localization.
* Making restrictlogpage an ignored message, as there seems to be no reason to localize it.

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Sun, 28 Sep 2008 18:31:04 +0000 (18:31 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years ago* Some cleanup
Niklas Laxström [Sun, 28 Sep 2008 17:14:32 +0000 (17:14 +0000)]
* Some cleanup

15 years ago* Do not show anything if user has not done any edits
Niklas Laxström [Sun, 28 Sep 2008 16:43:07 +0000 (16:43 +0000)]
* Do not show anything if user has not done any edits

15 years agoSome code cleanup per Nikerabbit
Victor Vasiliev [Sun, 28 Sep 2008 16:28:35 +0000 (16:28 +0000)]
Some code cleanup per Nikerabbit

15 years ago* (bug 674) Allow users to be blocked from editing a specific article
Victor Vasiliev [Sun, 28 Sep 2008 16:08:18 +0000 (16:08 +0000)]
* (bug 674) Allow users to be blocked from editing a specific article
** Also supports blocking user from editing whole namespace
* Replace ugly ipboptions parsing code in Title.php with a simple message

Requires schema change (I showed it to Tim Starling).

15 years ago* Use formatNum
Niklas Laxström [Sun, 28 Sep 2008 16:01:03 +0000 (16:01 +0000)]
* Use formatNum

15 years agoMake listusers show users' edit counts (bug 15503)
Aaron Schulz [Sun, 28 Sep 2008 15:52:30 +0000 (15:52 +0000)]
Make listusers show users' edit counts (bug 15503)

15 years ago* user{css,js}preview was not shown since r40066
Niklas Laxström [Sun, 28 Sep 2008 14:56:07 +0000 (14:56 +0000)]
* user{css,js}preview was not shown since r40066
* readd !preview condition to usercssjsyoucanpreview

15 years ago* Do not pass objects to functions that don't take them
Niklas Laxström [Sun, 28 Sep 2008 11:51:39 +0000 (11:51 +0000)]
* Do not pass objects to functions that don't take them

15 years agoUse $wgContLang here, this should not vary with the user language.
Alexandre Emsenhuber [Sun, 28 Sep 2008 10:51:58 +0000 (10:51 +0000)]
Use $wgContLang here, this should not vary with the user language.

15 years ago* (bug 15388) Title of Special:PrefixIndex
Niklas Laxström [Sun, 28 Sep 2008 09:31:24 +0000 (09:31 +0000)]
* (bug 15388) Title of Special:PrefixIndex

15 years ago* (bug 15196) Free external links should be numbered in a localised manner
Niklas Laxström [Sun, 28 Sep 2008 08:45:03 +0000 (08:45 +0000)]
* (bug 15196) Free external links should be numbered in a localised manner

15 years ago+* (bug 15158) Userinvalidcssjstitle not shown on preview
Niklas Laxström [Sun, 28 Sep 2008 08:22:55 +0000 (08:22 +0000)]
+* (bug 15158) Userinvalidcssjstitle not shown on preview

15 years agoIn wasDeletedSinceLastEdit(): fix odd string comparison method, there's an operator...
Tim Starling [Sun, 28 Sep 2008 04:20:49 +0000 (04:20 +0000)]
In wasDeletedSinceLastEdit(): fix odd string comparison method, there's an operator for that

15 years agoOpps, use wfTimestamp(), need some sleep :)
Aaron Schulz [Sun, 28 Sep 2008 04:08:13 +0000 (04:08 +0000)]
Opps, use wfTimestamp(), need some sleep :)

15 years agoFix time check for deletedSinceEdit for PG (bug 15751)
Aaron Schulz [Sun, 28 Sep 2008 04:05:01 +0000 (04:05 +0000)]
Fix time check for deletedSinceEdit for PG (bug 15751)

15 years agoSimpler method for mixing and clipping when computing a second-try hash value
Tim Starling [Sun, 28 Sep 2008 04:04:10 +0000 (04:04 +0000)]
Simpler method for mixing and clipping when computing a second-try hash value

15 years ago* Added the ability to set the target attribute on external links with $wgExternalLin...
Tim Starling [Sun, 28 Sep 2008 02:35:37 +0000 (02:35 +0000)]
* Added the ability to set the target attribute on external links with $wgExternalLinkTarget
* Removed the namespace parameter from Linker::makeExternalLink(), added a generic associative array of attributes instead. Let the Parser decide whether to use rel=nofollow.

15 years agoDon't duplicate code, use wfAppendQuery
Aryeh Gregor [Sun, 28 Sep 2008 01:48:10 +0000 (01:48 +0000)]
Don't duplicate code, use wfAppendQuery

15 years ago* Revert revert r41234 of ES-related changes. The site_stats complaint should be...
Tim Starling [Sun, 28 Sep 2008 01:42:55 +0000 (01:42 +0000)]
* Revert revert r41234 of ES-related changes. The site_stats complaint should be fixed by the transaction added in r41287.
* Fix broken recursion guard in LoadBalancer::reportConnectionError(), which was causing getConnection() to return false on the second and subsequent errors, instead of throwing an exception. Revert incorrect fix r41229/r41230.

15 years agoRemove validation step that removes prefix if validation is off (for bug 12654)
Aaron Schulz [Sun, 28 Sep 2008 01:41:59 +0000 (01:41 +0000)]
Remove validation step that removes prefix if validation is off (for bug 12654)

15 years agoSuppress errors on count increment (bug 13758)
Aaron Schulz [Sat, 27 Sep 2008 23:48:21 +0000 (23:48 +0000)]
Suppress errors on count increment (bug 13758)

15 years agoAvoid strange negative bucket key values in certain situations (bug 12342)
Aaron Schulz [Sat, 27 Sep 2008 23:36:21 +0000 (23:36 +0000)]
Avoid strange negative bucket key values in certain situations (bug 12342)

15 years agoobjectcache cleanup (bug 7474)
Aaron Schulz [Sat, 27 Sep 2008 22:51:59 +0000 (22:51 +0000)]
objectcache cleanup (bug 7474)

15 years agoLocalisation updates for core messages from Betawiki (2008-09-28 00:01 CEST)
Siebrand Mazeland [Sat, 27 Sep 2008 22:25:05 +0000 (22:25 +0000)]
Localisation updates for core messages from Betawiki (2008-09-28 00:01 CEST)

15 years agoRemove unused message 'perfdisabled'
Siebrand Mazeland [Sat, 27 Sep 2008 21:56:00 +0000 (21:56 +0000)]
Remove unused message 'perfdisabled'

15 years agoFix for r41108 (as per comment on bug 15642): Also disallow blocking anonymous users
Alexandre Emsenhuber [Sat, 27 Sep 2008 20:04:27 +0000 (20:04 +0000)]
Fix for r41108 (as per comment on bug 15642): Also disallow blocking anonymous users

15 years agosvn:eol-style native
Alexandre Emsenhuber [Sat, 27 Sep 2008 19:07:51 +0000 (19:07 +0000)]
svn:eol-style native

15 years agoDon't treat edit blocks as read blocks here
Aaron Schulz [Sat, 27 Sep 2008 18:56:17 +0000 (18:56 +0000)]
Don't treat edit blocks as read blocks here

15 years ago(bug 15653) Add prop=duplicatefiles to the API
Roan Kattouw [Sat, 27 Sep 2008 11:42:28 +0000 (11:42 +0000)]
(bug 15653) Add prop=duplicatefiles to the API

15 years agoKill undefined variable warnings.
Roan Kattouw [Sat, 27 Sep 2008 11:26:34 +0000 (11:26 +0000)]
Kill undefined variable warnings.

15 years agoAPI: Add the name attribute back to list=allimages; it disappeared in r35085
Roan Kattouw [Sat, 27 Sep 2008 11:04:23 +0000 (11:04 +0000)]
API: Add the name attribute back to list=allimages; it disappeared in r35085

15 years agoNew "ArticleEditUpdates" hook (bug 15490)
Aaron Schulz [Sat, 27 Sep 2008 10:52:49 +0000 (10:52 +0000)]
New "ArticleEditUpdates" hook  (bug 15490)

15 years ago(bug 15739) Add $wgArticlePathForCurid to make links with only curid=# as the query...
Matt Johnston [Sat, 27 Sep 2008 09:49:23 +0000 (09:49 +0000)]
(bug 15739) Add $wgArticlePathForCurid to make links with only curid=# as the query string use the article path, rather than the script path. Intended for Wikinews and the DPL extension with showcurid=true, although may be useful in other scenarios, so put in core.

15 years agoFix totally broken last commit, misread the existing code
Aryeh Gregor [Fri, 26 Sep 2008 21:35:03 +0000 (21:35 +0000)]
Fix totally broken last commit, misread the existing code

15 years agoRemove unnecessary conditional
Aryeh Gregor [Fri, 26 Sep 2008 21:31:17 +0000 (21:31 +0000)]
Remove unnecessary conditional

15 years agoFix for 41288, don't raise errors for language parameter
Aryeh Gregor [Fri, 26 Sep 2008 21:31:10 +0000 (21:31 +0000)]
Fix for 41288, don't raise errors for language parameter

The documentation didn't make it clear that the wfMsgExt() array can take a single associative parameter.  I've clarified this, and fixed error-checking for that.  Also adjusted indentation in the comment for clarity (one space isn't enough).

15 years agoSome more comments.
Bryan Tong Minh [Fri, 26 Sep 2008 20:23:28 +0000 (20:23 +0000)]
Some more comments.

15 years agoAdd a real fetchFile() method.
Bryan Tong Minh [Fri, 26 Sep 2008 20:06:23 +0000 (20:06 +0000)]
Add a real fetchFile() method.

15 years agokeyname should be the PRIMARY
Aaron Schulz [Fri, 26 Sep 2008 19:16:58 +0000 (19:16 +0000)]
keyname should be the PRIMARY

15 years agoRaise E_USER_WARNING if bad option passed to wfMsgExt()
Aryeh Gregor [Fri, 26 Sep 2008 17:25:17 +0000 (17:25 +0000)]
Raise E_USER_WARNING if bad option passed to wfMsgExt()

15 years ago* Use a separate transaction for the site_stats update
Tim Starling [Fri, 26 Sep 2008 15:35:11 +0000 (15:35 +0000)]
* Use a separate transaction for the site_stats update
* Remove obsolete runtime schema check

15 years agoDon't use filecache if $parserOutput->containsOldMagic() either
Aaron Schulz [Fri, 26 Sep 2008 13:55:42 +0000 (13:55 +0000)]
Don't use filecache if $parserOutput->containsOldMagic() either

15 years agoUse PHP-5 private members.
David McCabe [Fri, 26 Sep 2008 06:01:57 +0000 (06:01 +0000)]
Use PHP-5 private members.

15 years ago* Make Revision::newFromTitle() get the page_latest value from the master instead...
Tim Starling [Fri, 26 Sep 2008 02:42:30 +0000 (02:42 +0000)]
* Make Revision::newFromTitle() get the page_latest value from the master instead of the slave
* Use inefficient replication-aware fetches only if replication is in use
* Update docs/database.txt on how to check for replication

15 years agoFix r41248 per Chad's suggestions on Wikitech. $wgBlockAllowsUTEdit now enables the...
Matt Johnston [Fri, 26 Sep 2008 00:28:46 +0000 (00:28 +0000)]
Fix r41248 per Chad's suggestions on Wikitech. $wgBlockAllowsUTEdit now enables the check box, if it is false no option is given to sysops at all

15 years agoFileCache cleanup:
Aaron Schulz [Thu, 25 Sep 2008 23:02:35 +0000 (23:02 +0000)]
FileCache cleanup:
* Make isFileCacheable() more reliable and explicit
* Do not cache uncacheable content
* Specify tryFileCache() return values

15 years agoForgot to commit a file in my TODO/FIXME crusade.
Roan Kattouw [Thu, 25 Sep 2008 22:41:03 +0000 (22:41 +0000)]
Forgot to commit a file in my TODO/FIXME crusade.

15 years agoWe can at least *pretend* to be consistent here
Roan Kattouw [Thu, 25 Sep 2008 21:41:13 +0000 (21:41 +0000)]
We can at least *pretend* to be consistent here

15 years agoAPI:
Roan Kattouw [Thu, 25 Sep 2008 21:39:36 +0000 (21:39 +0000)]
API:
* Title::moveTo() has been returning a getUserPermissionsErrors()-like array for ages now, let's use it correctly in ApiMove and skip the double-checks
* Remove some outdated TODO/FIXME comments