lhc/web/wiklou.git
14 years agoFollow-up r56032/r56038: This is a message in a JS popup. Parsing of wikisyntax is...
Raimond Spekking [Tue, 8 Sep 2009 15:47:08 +0000 (15:47 +0000)]
Follow-up r56032/r56038: This is a message in a JS popup. Parsing of wikisyntax is not possible :-/

14 years agoFix silly error
Andrew Garrett [Tue, 8 Sep 2009 15:41:28 +0000 (15:41 +0000)]
Fix silly error

14 years ago* Update messages in JavaScript
Siebrand Mazeland [Tue, 8 Sep 2009 15:29:24 +0000 (15:29 +0000)]
* Update messages in JavaScript
* tweak 'mwe-error_load_lib'
* add a missing message to mwEmbed.i18n.php

14 years agoFollow-up r56032: Tweak messages for more consistency and better i18n.
Raimond Spekking [Tue, 8 Sep 2009 15:28:33 +0000 (15:28 +0000)]
Follow-up r56032: Tweak messages for more consistency and better i18n.
Add new message keys to messages.inc

14 years agoFix use of parser-cache-saved-timestamp, apparently the code was all there, hidden...
Domas Mituzas [Tue, 8 Sep 2009 15:21:12 +0000 (15:21 +0000)]
Fix use of parser-cache-saved-timestamp, apparently the code was all there, hidden behind a catch-all branch :-)

14 years agoRemove ghost of patch applications past
Andrew Garrett [Tue, 8 Sep 2009 15:19:52 +0000 (15:19 +0000)]
Remove ghost of patch applications past

14 years agoRemove some stray executable bits
Andrew Garrett [Tue, 8 Sep 2009 15:06:57 +0000 (15:06 +0000)]
Remove some stray executable bits

14 years ago* updated mwe-error_load_lib error msg
Michael Dale [Tue, 8 Sep 2009 15:06:50 +0000 (15:06 +0000)]
* updated mwe-error_load_lib error msg

14 years agoAdd AJAX category management system. Includes suggestion system, dialogs for setting...
Andrew Garrett [Tue, 8 Sep 2009 15:02:41 +0000 (15:02 +0000)]
Add AJAX category management system. Includes suggestion system, dialogs for setting edit summaries and confirming, and methods for adding and removing all categories, but only directly in the page text (as categories in templates cannot be removed).

14 years agor56010#c3896 (extra comma)
Michael Dale [Tue, 8 Sep 2009 13:54:17 +0000 (13:54 +0000)]
r56010#c3896 (extra comma)

14 years agoPull wgDBuser and wgDBpassword if adminuser and adminpassword are undefined, fixes...
Andrew Garrett [Tue, 8 Sep 2009 13:18:06 +0000 (13:18 +0000)]
Pull wgDBuser and wgDBpassword if adminuser and adminpassword are undefined, fixes dumpBackup.php

14 years agoAdd "Discussions" option to search when LiquidThreads is active. Includes some fixes...
Andrew Garrett [Tue, 8 Sep 2009 11:50:31 +0000 (11:50 +0000)]
Add "Discussions" option to search when LiquidThreads is active. Includes some fixes to SpecialSearch.php, to allow this sort of change

14 years agoFollow-up to r55884 - update call in SpecialResetpass
Happy-melon [Tue, 8 Sep 2009 10:08:18 +0000 (10:08 +0000)]
Follow-up to r55884 - update call in SpecialResetpass

14 years agoLocalisation updates for core messages from translatewiki.net
Siebrand Mazeland [Tue, 8 Sep 2009 08:15:56 +0000 (08:15 +0000)]
Localisation updates for core messages from translatewiki.net

14 years ago* some documentation updates
Michael Dale [Tue, 8 Sep 2009 03:12:28 +0000 (03:12 +0000)]
* some documentation updates
* parseURI raw code ( will be minified by script-loader)

14 years ago* Fixed whitespace, indenting, line length. Ran stylize.php on the PHP files, did...
Tim Starling [Tue, 8 Sep 2009 02:04:31 +0000 (02:04 +0000)]
* Fixed whitespace, indenting, line length. Ran stylize.php on the PHP files, did the JS ones by hand.
* Fixed spelling, grammar, etc. in comments. Removed some unnecessary comments.
* Other code style tweaks, e.g. removed some redundant brackets.
* Renamed functions which were misspellings: runQuededFunctions -> runQueuedFunctions, setSwapableToLoading -> setSwappableToLoading, rewrite_for_oggHanlder -> rewrite_for_OggHandler, doProccessJsFile -> doProcessJsFile

14 years agoAdd AJAX loader class
Andrew Garrett [Mon, 7 Sep 2009 21:59:47 +0000 (21:59 +0000)]
Add AJAX loader class

14 years agoFollow-up to r55990, per comments:
Happy-melon [Mon, 7 Sep 2009 19:52:14 +0000 (19:52 +0000)]
Follow-up to r55990, per comments:
* replace $wgOut->addHTML( wfMsgWikiHTML( )) with $wgOut->addWikiMsg
* Use Html::hidden instead of Xml::hidden
* use wfMsgExt instead of wfMsg, to avoid double parsing
* Use 'help-message' rather than 'help' => wfMsg()
Plus lots of whitespace fixes etc

14 years agoUpdate hooks.txt for r55682
Roan Kattouw [Mon, 7 Sep 2009 19:29:55 +0000 (19:29 +0000)]
Update hooks.txt for r55682

14 years agoFollowup to r55990 - rename method to avoid PHP Strict warnings
Happy-melon [Mon, 7 Sep 2009 19:20:20 +0000 (19:20 +0000)]
Followup to r55990 - rename method to avoid PHP Strict warnings

14 years agoLocalisation updates for core messages from translatewiki.net (2009-09-07 18:34 UTC)
Siebrand Mazeland [Mon, 7 Sep 2009 19:10:18 +0000 (19:10 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-07 18:34 UTC)

14 years agoLocalization update for he, and whitespace fixes in en.
Rotem Liss [Mon, 7 Sep 2009 19:08:49 +0000 (19:08 +0000)]
Localization update for he, and whitespace fixes in en.

14 years agoFollowup to r55990 - Remove debugging hack :(
Happy-melon [Mon, 7 Sep 2009 19:07:31 +0000 (19:07 +0000)]
Followup to r55990 - Remove debugging hack :(

14 years ago* Totally refactor includes/specials/SpecialUserlogin.php:
Happy-melon [Mon, 7 Sep 2009 19:00:49 +0000 (19:00 +0000)]
* Totally refactor includes/specials/SpecialUserlogin.php:
** Split backend stuff out into includes/Login.php
** Split account creation and login stuff up, into includes/specials/CreateAccount.php and includes/specials/Userlogin.php.
* Reimplement the special pages as subclasses of SpecialPage
* Use HTMLForm to generate the input forms
** Deprecate and delete includes/templates/Userlogin.php, which is horrible and old :D

This changes the syntax of the UserLoginForm and UserCreateForm hooks, and AuthPlugin::modifyUITemplate; they now receive the SpecialPage subclass rather than the template to work with. Update everything I could find in SVN to accommodate this.

14 years agoUniversalEditButton microoptimization :)
Domas Mituzas [Mon, 7 Sep 2009 18:54:58 +0000 (18:54 +0000)]
UniversalEditButton microoptimization :)

14 years agoFollow-up r50177: Fix a PHP notice due to typo in arrayname, message key missed too.
Raimond Spekking [Mon, 7 Sep 2009 18:53:59 +0000 (18:53 +0000)]
Follow-up r50177: Fix a PHP notice due to typo in arrayname, message key missed too.
Notice: Undefined property: ContribsPager::$message in F:\xampp\htdocs\wiki2\includes\specials\SpecialContributions.php on line 646

14 years agomicro-optimization for front page views :-)
Domas Mituzas [Mon, 7 Sep 2009 18:49:51 +0000 (18:49 +0000)]
micro-optimization for front page views :-)

14 years agoforgot the .unbind()
Michael Dale [Mon, 7 Sep 2009 18:46:53 +0000 (18:46 +0000)]
forgot the .unbind()

14 years agofeatures time - a feature that allows to disable a feature!
Domas Mituzas [Mon, 7 Sep 2009 18:38:40 +0000 (18:38 +0000)]
features time - a feature that allows to disable a feature!
(rationale: allows turning off relatively expensive code that generates invisible stuff :)

14 years agodon't lookup any classes for 'known' links - fixes excessive queries caused by links...
Domas Mituzas [Mon, 7 Sep 2009 18:20:32 +0000 (18:20 +0000)]
don't lookup any classes for 'known' links - fixes excessive queries caused by links in footer

14 years agoMinor fixes to r55918 - documentation and variable names
Tobias [Mon, 7 Sep 2009 17:49:36 +0000 (17:49 +0000)]
Minor fixes to r55918 - documentation and variable names

14 years agoquick hack for addMediaWiz compatibility with usability toolbar
Michael Dale [Mon, 7 Sep 2009 17:05:48 +0000 (17:05 +0000)]
quick hack for addMediaWiz compatibility with usability toolbar

14 years agoLocalise special page name in URLs in 'noarticletext' and 'noarticletext-nopermission'
Siebrand Mazeland [Mon, 7 Sep 2009 16:55:48 +0000 (16:55 +0000)]
Localise special page name in URLs in 'noarticletext' and 'noarticletext-nopermission'

14 years agoNew message noarticletext-nopermission that does not include misleading link 'edit...
Tobias [Mon, 7 Sep 2009 16:21:10 +0000 (16:21 +0000)]
New message noarticletext-nopermission that does not include misleading link 'edit this page' if user is not allowed to create the page.

14 years agoFix silly <table class=''>
Aryeh Gregor [Mon, 7 Sep 2009 15:25:22 +0000 (15:25 +0000)]
Fix silly <table class=''>

14 years agofixing r55909. Adding new message to messages.inc
Tobias [Mon, 7 Sep 2009 13:28:14 +0000 (13:28 +0000)]
fixing r55909. Adding new message to messages.inc

14 years ago* svn:eol-style native
Alexandre Emsenhuber [Mon, 7 Sep 2009 13:18:54 +0000 (13:18 +0000)]
* svn:eol-style native
* svn:mime-type image/svg+xml on extensions/LiquidThreads/icons/quote.svg

14 years agofixing r55909: checking if the user is _currently_ blocked before displaying block...
Tobias [Mon, 7 Sep 2009 12:04:07 +0000 (12:04 +0000)]
fixing r55909: checking if the user is _currently_ blocked before displaying block log (on Special:Contributions)

14 years agoDon't output for= that doesn't point anywhere
Aryeh Gregor [Mon, 7 Sep 2009 01:48:06 +0000 (01:48 +0000)]
Don't output for= that doesn't point anywhere

This fixes an HTML validity issue with HTMLForm.

14 years agoConvert HTMLForm to use more Html::*
Aryeh Gregor [Mon, 7 Sep 2009 01:47:45 +0000 (01:47 +0000)]
Convert HTMLForm to use more Html::*

14 years agoDisplay note on Special:Contributions if user is blocked, and provide an excerpt...
Tobias [Mon, 7 Sep 2009 01:29:50 +0000 (01:29 +0000)]
Display note on Special:Contributions if user is blocked, and provide an excerpt from the block log

14 years agoDon't embed ?> in string literals
Aryeh Gregor [Mon, 7 Sep 2009 00:23:04 +0000 (00:23 +0000)]
Don't embed ?> in string literals

It messes up some syntax highlighters for some unknown reason.

14 years agoRefactor redundant attrib dropping into new method
Aryeh Gregor [Mon, 7 Sep 2009 00:21:55 +0000 (00:21 +0000)]
Refactor redundant attrib dropping into new method

This saves code in a few places on the caller's side, and will reduce
the size of output HTML more consistently.

14 years agofixing error in r55903 - User object from userid is now used instead of wgUser (curre...
Tobias [Sun, 6 Sep 2009 23:34:58 +0000 (23:34 +0000)]
fixing error in r55903 - User object from userid is now used instead of wgUser (current user). Also: minor change

14 years agoShow change block / unblock link on Special:Contributions if user is blocked
Tobias [Sun, 6 Sep 2009 22:53:04 +0000 (22:53 +0000)]
Show change block / unblock link on Special:Contributions if user is blocked

14 years agoLocalisation updates for core messages from translatewiki.net (2009-09-06 21:01 UTC)
Siebrand Mazeland [Sun, 6 Sep 2009 21:25:25 +0000 (21:25 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-06 21:01 UTC)

14 years agoRemove unneeded class left by r55879
Aryeh Gregor [Sun, 6 Sep 2009 15:41:24 +0000 (15:41 +0000)]
Remove unneeded class left by r55879

14 years agoFix YET ANOTHER PHP WEAK TYPING BUG
Aryeh Gregor [Sun, 6 Sep 2009 15:08:10 +0000 (15:08 +0000)]
Fix YET ANOTHER PHP WEAK TYPING BUG

Literal "0" was getting quoted.  Because, of course, 0 is equal to the
empty string.

14 years agoMove more <input> logic from input() to element()
Aryeh Gregor [Sun, 6 Sep 2009 15:07:52 +0000 (15:07 +0000)]
Move more <input> logic from input() to element()

14 years agoReimplement r55876 properly
Aryeh Gregor [Sun, 6 Sep 2009 15:07:29 +0000 (15:07 +0000)]
Reimplement r55876 properly

14 years ago(bug 20497) Update autonym for 'kw' to Kernowek
Siebrand Mazeland [Sun, 6 Sep 2009 14:43:36 +0000 (14:43 +0000)]
(bug 20497) Update autonym for 'kw' to Kernowek

14 years agoAllow password fields to be served by HTMLForm.
Happy-melon [Sun, 6 Sep 2009 14:32:03 +0000 (14:32 +0000)]
Allow password fields to be served by HTMLForm.

14 years agobug 20519 Redirects in the stable version showed up wrong
Aaron Schulz [Sun, 6 Sep 2009 10:09:45 +0000 (10:09 +0000)]
bug 20519 Redirects in the stable version showed up wrong

14 years agoFixed regression likely from r55700, where $wgOut rev ID was not set for oldid=latest...
Aaron Schulz [Sun, 6 Sep 2009 08:22:09 +0000 (08:22 +0000)]
Fixed regression likely from r55700, where $wgOut rev ID was not set for oldid=latest. (this took way too long to track down since the commit summary didn't mention the massive refactoring)

14 years ago(bug 20136) Synchronize the protection form expiry boxes onchange in addition to...
Alex Z [Sun, 6 Sep 2009 04:10:26 +0000 (04:10 +0000)]
(bug 20136) Synchronize the protection form expiry boxes onchange in addition to onkeyup.
Technically the onkeyup handler is redundant, but at least on Firefox, onchange doesn't run
until after the input loses focus, so its somewhat less intuitive, but necessary if the user
clicks an option from a browser's autosuggestion

14 years agoMove checkboxes back a bit
Aaron Schulz [Sat, 5 Sep 2009 23:20:36 +0000 (23:20 +0000)]
Move checkboxes back a bit

14 years agoLocalisation updates for core namespace names from translatewiki.net
Siebrand Mazeland [Sat, 5 Sep 2009 21:23:18 +0000 (21:23 +0000)]
Localisation updates for core namespace names from translatewiki.net

14 years agoLocalisation updates for core magic words from translatewiki.net
Siebrand Mazeland [Sat, 5 Sep 2009 21:12:12 +0000 (21:12 +0000)]
Localisation updates for core magic words from translatewiki.net

14 years ago* Localisation updates for core special page aliases from translatewiki.net
Siebrand Mazeland [Sat, 5 Sep 2009 21:06:23 +0000 (21:06 +0000)]
* Localisation updates for core special page aliases from translatewiki.net
* add mwEmbed.i18n.php forgotten in r55856

14 years agoLocalisation updates for core messages from translatewiki.net (2009-09-05 20:17 UTC)
Siebrand Mazeland [Sat, 5 Sep 2009 20:38:09 +0000 (20:38 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-05 20:17 UTC)

14 years agoFixed E_NOTICE when passing an option that isn't listed in available options
Alexandre Emsenhuber [Sat, 5 Sep 2009 20:02:38 +0000 (20:02 +0000)]
Fixed E_NOTICE when passing an option that isn't listed in available options

14 years agoFix for r55810: oly set $optionsWithArgs if it's not defined, as in the old version...
Alexandre Emsenhuber [Sat, 5 Sep 2009 19:40:52 +0000 (19:40 +0000)]
Fix for r55810: oly set $optionsWithArgs if it's not defined, as in the old version; when defined by scripts, it's always set before including commandLine.inc, and thus setting it always to an empty array will break these scripts

14 years agoshow move/deletion log on action=history if there is no history
Tobias [Sat, 5 Sep 2009 12:10:16 +0000 (12:10 +0000)]
show move/deletion log on action=history if there is no history

14 years agoLocalization update.
Rotem Liss [Sat, 5 Sep 2009 10:28:59 +0000 (10:28 +0000)]
Localization update.

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sat, 5 Sep 2009 08:50:35 +0000 (08:50 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years agoLocalization update.
Rotem Liss [Sat, 5 Sep 2009 07:37:48 +0000 (07:37 +0000)]
Localization update.

14 years agouse UtfNormal::cleanUp() (r55768)
ThomasV [Sat, 5 Sep 2009 06:45:38 +0000 (06:45 +0000)]
use UtfNormal::cleanUp()  (r55768)

14 years agoCan now pass in element attributes other than just id to buildTable functions
Nimish Gautam [Fri, 4 Sep 2009 23:18:16 +0000 (23:18 +0000)]
Can now pass in element attributes other than just id to buildTable functions

14 years agoLocalisation updates for core messages from translatewiki.net (2009-09-04 22:56 UTC)
Siebrand Mazeland [Fri, 4 Sep 2009 23:09:59 +0000 (23:09 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-04 22:56 UTC)

14 years agoLocalisation updates for core messages from translatewiki.net (2009-09-04 22:56 UTC)
Siebrand Mazeland [Fri, 4 Sep 2009 23:09:18 +0000 (23:09 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-04 22:56 UTC)

14 years agoAdded documentation for img_auth upgrade and $wgIllegalFileChars
Jack D. Pond [Fri, 4 Sep 2009 20:43:45 +0000 (20:43 +0000)]
Added documentation for img_auth upgrade and $wgIllegalFileChars

14 years agouse wfScript() so that it uses $wgScriptExtension to get the path to api.php(5)
Alexandre Emsenhuber [Fri, 4 Sep 2009 20:12:48 +0000 (20:12 +0000)]
use wfScript() so that it uses $wgScriptExtension to get the path to api.php(5)

14 years agofix zh-hant string syntax
Alex Shih-Han Lin [Fri, 4 Sep 2009 18:32:22 +0000 (18:32 +0000)]
fix zh-hant string syntax

14 years agoAnother tiny change in response to recent changes in how we handle text size. This...
Trevor Parscal [Fri, 4 Sep 2009 17:49:57 +0000 (17:49 +0000)]
Another tiny change in response to recent changes in how we handle text size. This one adjusts the position of the simple search box.

14 years agonewline on that output so your terminal don't look funny :)
Brion Vibber [Fri, 4 Sep 2009 17:40:50 +0000 (17:40 +0000)]
newline on that output so your terminal don't look funny :)

14 years ago* added mwLoad shortcut to mvJsLoader.doLoad
Michael Dale [Fri, 4 Sep 2009 17:28:34 +0000 (17:28 +0000)]
* added mwLoad shortcut to mvJsLoader.doLoad

14 years ago* follow-up to r55821 (duplication of 'filedelete-edit-reasonlist' to 'revdelete...
Siebrand Mazeland [Fri, 4 Sep 2009 17:23:32 +0000 (17:23 +0000)]
* follow-up to r55821 (duplication of 'filedelete-edit-reasonlist' to 'revdelete-edit-reasonlist'): duplicate message in other languages
* follow-up to r55808 (removal of 'img-auth-desc'): remove from other languages where present

14 years agominor ksh localization update
Purodha B Blissenbach [Fri, 4 Sep 2009 16:46:06 +0000 (16:46 +0000)]
minor ksh localization update

14 years agoAdd a new AJAX spinner that doesn't suck. Generated at http://www.ajaxload.info/...
Andrew Garrett [Fri, 4 Sep 2009 16:43:18 +0000 (16:43 +0000)]
Add a new AJAX spinner that doesn't suck. Generated at ajaxload.info/, which allows its generated loaders to be used freely for any purpose.

14 years ago* escaped a few more values
Michael Dale [Fri, 4 Sep 2009 15:30:49 +0000 (15:30 +0000)]
* escaped a few more values

14 years ago"QuickTime" spelling corrected according to request of EugeneZelenko at
Purodha B Blissenbach [Fri, 4 Sep 2009 15:09:57 +0000 (15:09 +0000)]
"QuickTime" spelling corrected according to request of EugeneZelenko at
http://translatewiki.net/w/i.php?title=Support&oldid=1472179#Mwe-ogg-player-quicktime-mozilla

14 years ago* added some file checks
Michael Dale [Fri, 4 Sep 2009 14:50:06 +0000 (14:50 +0000)]
* added some file checks
* removed depreciated cortado_iframe.php
* added init values for wgJSAutoloadClasses and wgJSAutoloadLocalClasses

14 years agoMake revdel input form more consistent with other forms:
Raimond Spekking [Fri, 4 Sep 2009 14:32:07 +0000 (14:32 +0000)]
Make revdel input form more consistent with other forms:
* Use CSS classes for input and label elements for default form design
** Makes it RTL friendly too
* Add a "Edit delete reasons" link

14 years agoActually return something useful on success
Chad Horohoe [Fri, 4 Sep 2009 13:13:56 +0000 (13:13 +0000)]
Actually return something useful on success

14 years agofollow-up to r55768
ThomasV [Fri, 4 Sep 2009 13:08:44 +0000 (13:08 +0000)]
follow-up to r55768

14 years agodoMaintenance.php -> DO_MAINTENANCE
Chad Horohoe [Fri, 4 Sep 2009 12:55:36 +0000 (12:55 +0000)]
doMaintenance.php -> DO_MAINTENANCE

14 years agoErrors in message text corrected according to suggestions by Purodha at
Purodha B Blissenbach [Fri, 4 Sep 2009 12:21:00 +0000 (12:21 +0000)]
Errors in message text corrected according to suggestions by Purodha at
http://translatewiki.net/w/i.php?title=Support&oldid=1472122#Mwe-read_before_embed
http://translatewiki.net/w/i.php?title=Support&oldid=1472122#mwe-no_import_by_url

14 years ago* Rewrote commandLine.inc to be a simple wrapper around Maintenance.php
Tim Starling [Fri, 4 Sep 2009 08:02:00 +0000 (08:02 +0000)]
* Rewrote commandLine.inc to be a simple wrapper around Maintenance.php
* Don't show help if the first argument is "help", only show it if there is a "--help" option. That makes more sense for the scripts that accept filenames as parameters and is the backwards-compatible behaviour.
* Renamed spawnChild() to runChild(), spawn implies creating a new process to run simultaneously with the old one
* Removed error_reporting override, that's a matter for local policy
* s/private/protected

14 years agoTweak 'img-auth-nologinnWL' (r55800)
Siebrand Mazeland [Fri, 4 Sep 2009 06:59:44 +0000 (06:59 +0000)]
Tweak 'img-auth-nologinnWL' (r55800)

14 years agoRemove unused message 'img-auth-desc' (r55800)
Siebrand Mazeland [Fri, 4 Sep 2009 06:55:19 +0000 (06:55 +0000)]
Remove unused message 'img-auth-desc' (r55800)

14 years agoFix potential arbitrary script execution vulnerability. Doesn't seem to be exploitabl...
Tim Starling [Fri, 4 Sep 2009 06:51:38 +0000 (06:51 +0000)]
Fix potential arbitrary script execution vulnerability. Doesn't seem to be exploitable with a default install of PHP, but it might be possible with third-party extensions enabled.

14 years agoUse consistent quotes in new messages (r55800)
Siebrand Mazeland [Fri, 4 Sep 2009 06:44:06 +0000 (06:44 +0000)]
Use consistent quotes in new messages (r55800)

14 years agoRemove title case in 'img-auth-accessdenied'
Siebrand Mazeland [Fri, 4 Sep 2009 06:42:17 +0000 (06:42 +0000)]
Remove title case in 'img-auth-accessdenied'

14 years agoFollow-up to r55800
Siebrand Mazeland [Fri, 4 Sep 2009 06:19:02 +0000 (06:19 +0000)]
Follow-up to r55800
* update messages.inc to correctly create subgroup img_auth
* rebuild messages files

14 years agoBug 20489 Configure illegal file characters https://bugzilla.wikimedia.org/show_bug...
Jack D. Pond [Fri, 4 Sep 2009 03:44:14 +0000 (03:44 +0000)]
Bug 20489 Configure illegal file characters https://bugzilla.wikimedia.org/show_bug.cgi?id=20489
$wgIllegalFileChars configurable to add chars for filename automatically converted to "-".

14 years agoFix disabling of APC cache when loading message files: apc.enabled has been PHP_INI_S...
Tim Starling [Fri, 4 Sep 2009 03:41:25 +0000 (03:41 +0000)]
Fix disabling of APC cache when loading message files: apc.enabled has been PHP_INI_SYSTEM since 3.0.13 but apc.cache_by_default works. This reduces the required APC cache space by about half on my test wiki, from 20MB to 10MB.

14 years agobug 19646 Localization of img_auth.php - with enhancements
Jack D. Pond [Fri, 4 Sep 2009 02:44:05 +0000 (02:44 +0000)]
bug 19646 Localization of img_auth.php - with enhancements
https://bugzilla.wikimedia.org/show_bug.cgi?id=19646

1. Localize img_auth.php using core messages
2. Reorder checks to make sense (and eliminate redundancy)n
3. Add hook 'ImgAuthBeforeStream' to allow custom checking
4. Add globals wgImgAuthDetails,
5. Move all "wfDebugLog" into the rejection functions

14 years agoFixed a bug whereby if a recache is triggered via getSubitem(), the subitem requested...
Tim Starling [Fri, 4 Sep 2009 02:40:53 +0000 (02:40 +0000)]
Fixed a bug whereby if a recache is triggered via getSubitem(), the subitem requested will be saved into the process cache as missing.

14 years ago(bug 20471) In update.php, disable the LocalisationCache storage backend before Setup...
Tim Starling [Fri, 4 Sep 2009 02:03:23 +0000 (02:03 +0000)]
(bug 20471) In update.php, disable the LocalisationCache storage backend before Setup.php is run, to avoid having extensions die when they try to access the l10n_cache table from $wgExtensionSetupFunctions.

14 years agoAdded $wgShowDBErrorBacktrace, to allow users to easily gather backtraces for databas...
Tim Starling [Fri, 4 Sep 2009 01:49:34 +0000 (01:49 +0000)]
Added $wgShowDBErrorBacktrace, to allow users to easily gather backtraces for database connection and query errors. We've had a few LocalisationCache bugs that required backtraces to track down.