lhc/web/wiklou.git
13 years agoFollow-up r77864: Add new measage key to maintenance script directly helps to not...
Raimond Spekking [Mon, 6 Dec 2010 09:38:33 +0000 (09:38 +0000)]
Follow-up r77864: Add new measage key to maintenance script directly helps to not being pinged :-)

13 years agoWhen opening the subprocess fetchText.php, pass the complete wiki ID through the...
Alexandre Emsenhuber [Mon, 6 Dec 2010 09:20:07 +0000 (09:20 +0000)]
When opening the subprocess fetchText.php, pass the complete wiki ID through the --wiki parameter so that it works for all setups and not only for wikimedia

13 years agoAdd a Skins category to Special:Version.
Daniel Friesen [Mon, 6 Dec 2010 08:37:34 +0000 (08:37 +0000)]
Add a Skins category to Special:Version.

13 years ago* Update NoLocalSettings.php for the new installer. Stop advising users to move Local...
Tim Starling [Mon, 6 Dec 2010 08:11:31 +0000 (08:11 +0000)]
* Update NoLocalSettings.php for the new installer. Stop advising users to move LocalSettings.php from config/, the new installer doesn't create it. I imagine I'm not the only one with copies of LocalSettings.php lying around everywhere.
* Fix the installer session name to be something that makes sense, instead of my_wiki_session.

13 years agoReverted r75832 per my comments on CR, unanswered for 19 days. Moving all help inform...
Tim Starling [Mon, 6 Dec 2010 07:08:31 +0000 (07:08 +0000)]
Reverted r75832 per my comments on CR, unanswered for 19 days. Moving all help information into tooltips is a step backwards for usability. Reverted followups r75836, r75866, r76314 and r76315.

13 years agoFix bug causing rebuildFileCache.php to create inappropriate cache files for redirect...
Ilmari Karonen [Mon, 6 Dec 2010 01:08:17 +0000 (01:08 +0000)]
Fix bug causing rebuildFileCache.php to create inappropriate cache files for redirects. (Actually, it would be better to create _correct_ cache files for them instead, but this doesn't seem to be something the file cache was designed to do, so I'll leave it for later.)

13 years agofollowup to r77843: fix off by one error
Ilmari Karonen [Mon, 6 Dec 2010 00:36:54 +0000 (00:36 +0000)]
followup to r77843: fix off by one error

13 years agoAdd new config variable $wgFileCacheDepth to set the depth of the subdirectory hierar...
Ilmari Karonen [Sun, 5 Dec 2010 23:07:48 +0000 (23:07 +0000)]
Add new config variable $wgFileCacheDepth to set the depth of the subdirectory hierarchy used for the file cache. Default value is 2, which matches former behavior. Setting this to 0 makes the paths simpler, and can be used with clever Apache rewrite rules to serve cached files directly without calling MediaWiki or PHP at all.

13 years agoFollow up to r77411. Patch by DieBuche
Derk-Jan Hartman [Sun, 5 Dec 2010 22:41:06 +0000 (22:41 +0000)]
Follow up to r77411. Patch by DieBuche

1. Adds a line css to actually fix Bug 3770 (Sorry, I had forgotten to paste it
there as well)
2. Fixes a problem, where the box size would be slighty higher if the image
thumb has a height of less than 8px
3. Normalize the calculation of the vertical padding to be exactly the same one
as the horizontal padding. (This is only relevant for unusually large
galleries, eg. previously it returned a not-exactly-square box if you specified
500px as both width and height)

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sun, 5 Dec 2010 20:13:35 +0000 (20:13 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-05 19:53:00 UTC)

13 years agoThis can be private too
Chad Horohoe [Sun, 5 Dec 2010 19:35:46 +0000 (19:35 +0000)]
This can be private too

13 years agoFix copy+paste error from r77778
Chad Horohoe [Sun, 5 Dec 2010 19:34:40 +0000 (19:34 +0000)]
Fix copy+paste error from r77778

13 years ago-rakkaus/#mediawiki-i18n- [05-Dec-2010 18:22:39] PHP Fatal error: Call to private...
Sam Reed [Sun, 5 Dec 2010 18:27:14 +0000 (18:27 +0000)]
-rakkaus/#mediawiki-i18n- [05-Dec-2010 18:22:39] PHP Fatal error:  Call to private method CategoryViewer::getHTML() from context 'CategoryPage' in /www/w/includes/CategoryPage.php on line 74

Partial revert of r77809, remove making of methods private, but don't reinstate the comments. They're seemingly wrong, and useless.

13 years agoSwap @private for setting function definition to private
Sam Reed [Sun, 5 Dec 2010 16:15:28 +0000 (16:15 +0000)]
Swap @private for setting function definition to private

13 years agoChange some member calls to static, from r75709
Sam Reed [Sun, 5 Dec 2010 16:08:12 +0000 (16:08 +0000)]
Change some member calls to static, from r75709

13 years agoFollow up r75705 typo.
Platonides [Sun, 5 Dec 2010 15:35:57 +0000 (15:35 +0000)]
Follow up r75705 typo.

13 years agoConverted ImportStreamSource functions to return a Status object rather than ImportSt...
Alexandre Emsenhuber [Sun, 5 Dec 2010 14:22:49 +0000 (14:22 +0000)]
Converted ImportStreamSource functions to return a Status object rather than ImportStreamSource-or-WikiError

This is a breaking change since the ImportStreamSource object is in the value member of the Status object; I will fix the extensions in my next commit

13 years agoConverted WikiError to MWException so at least users can see the problem (nothing...
Alexandre Emsenhuber [Sun, 5 Dec 2010 13:57:07 +0000 (13:57 +0000)]
Converted WikiError to MWException so at least users can see the problem (nothing was checking the return value of WikiExporter::dumpFrom() and realted methods)

13 years ago(bug 26228) On certain PHP 5.2 installs, finfo functions can be available while FILEI...
Roan Kattouw [Sun, 5 Dec 2010 13:38:25 +0000 (13:38 +0000)]
(bug 26228) On certain PHP 5.2 installs, finfo functions can be available while FILEINFO_MIME_TYPE is not. Check for the latter explicitly

13 years agoFix typo in r77714
Roan Kattouw [Sun, 5 Dec 2010 12:58:23 +0000 (12:58 +0000)]
Fix typo in r77714

13 years agoFollowup r77793, documentation for icon as a string was missing.
Daniel Friesen [Sun, 5 Dec 2010 11:16:47 +0000 (11:16 +0000)]
Followup r77793, documentation for icon as a string was missing.

13 years agoMake footerLink a public method, this method is useful for hooks now that r77732...
Daniel Friesen [Sun, 5 Dec 2010 11:01:34 +0000 (11:01 +0000)]
Make footerLink a public method, this method is useful for hooks now that r77732 allows a hook to add new footer links in this style.

13 years agoFolowup r77763, add documentation for $wgFooterIcons.
Daniel Friesen [Sun, 5 Dec 2010 10:58:13 +0000 (10:58 +0000)]
Folowup r77763, add documentation for $wgFooterIcons.

13 years agoFollow-up r77763, get rid of boolean param and whitespace fixes
Niklas Laxström [Sun, 5 Dec 2010 10:41:58 +0000 (10:41 +0000)]
Follow-up r77763, get rid of boolean param and whitespace fixes

13 years agoRevert r77760, broken, and do what it intended correctly with strtok().
Roan Kattouw [Sun, 5 Dec 2010 10:30:04 +0000 (10:30 +0000)]
Revert r77760, broken, and do what it intended correctly with strtok().

13 years agoFollow up for r77732 and r77741, add the missing RELEASE-NOTES which I forgot.
Daniel Friesen [Sun, 5 Dec 2010 06:59:39 +0000 (06:59 +0000)]
Follow up for r77732 and r77741, add the missing RELEASE-NOTES which I forgot.

13 years agoFollowup r77779, release note was put in the wrong section.
Daniel Friesen [Sun, 5 Dec 2010 06:46:45 +0000 (06:46 +0000)]
Followup r77779, release note was put in the wrong section.

13 years agoAdd MW_CONFIG_FILE support to load a separate config file instead of LocalSettings...
Daniel Friesen [Sun, 5 Dec 2010 06:43:15 +0000 (06:43 +0000)]
Add MW_CONFIG_FILE support to load a separate config file instead of LocalSettings.php, similar functionality to MW_CONFIG_CALLBACK but works in some cases that it doesn't.

13 years agoOne less $wgTitle, and use dbw->update() instead of raw sql
Chad Horohoe [Sun, 5 Dec 2010 05:59:02 +0000 (05:59 +0000)]
One less $wgTitle, and use dbw->update() instead of raw sql

13 years agoNo need for globals, works fine without. Also add missing (and required) title arg
Chad Horohoe [Sun, 5 Dec 2010 05:19:31 +0000 (05:19 +0000)]
No need for globals, works fine without. Also add missing (and required) title arg

13 years agoMore useful debug output
Chad Horohoe [Sun, 5 Dec 2010 05:14:41 +0000 (05:14 +0000)]
More useful debug output

13 years agoTake the footer icon html building common to all 3 skins using r77741 $wgFooterIcons...
Daniel Friesen [Sun, 5 Dec 2010 04:44:28 +0000 (04:44 +0000)]
Take the footer icon html building common to all 3 skins using r77741 $wgFooterIcons and turn it into a common makeFooterIcon method they can share.
Also fix the location of the noprint class meant to be on footer-icons in vector.

13 years agoAdd method documentation for getCommonStylePath and getSkinStylePath.
Daniel Friesen [Sun, 5 Dec 2010 04:22:29 +0000 (04:22 +0000)]
Add method documentation for getCommonStylePath and getSkinStylePath.

13 years agophp4 access declarations are silly
Chad Horohoe [Sun, 5 Dec 2010 04:14:39 +0000 (04:14 +0000)]
php4 access declarations are silly

13 years agoStyle cleanup to r64922
Chad Horohoe [Sun, 5 Dec 2010 04:13:54 +0000 (04:13 +0000)]
Style cleanup to r64922

13 years agoFollowup r77748, throw NEW MWException
Sam Reed [Sun, 5 Dec 2010 00:37:44 +0000 (00:37 +0000)]
Followup r77748, throw NEW MWException

13 years agoExplicitally do function documentation, rather than "see somewhere else"
Sam Reed [Sat, 4 Dec 2010 23:42:25 +0000 (23:42 +0000)]
Explicitally do function documentation, rather than "see somewhere else"

13 years agoRevert r70202. Replace with an exception.
Platonides [Sat, 4 Dec 2010 23:36:54 +0000 (23:36 +0000)]
Revert r70202. Replace with an exception.

13 years agoFollowup r77654, remove trailing ?> at end of file.
Platonides [Sat, 4 Dec 2010 22:28:41 +0000 (22:28 +0000)]
Followup r77654, remove trailing ?> at end of file.

13 years agoImplement $wgFooterIcons to replace copyrightico and poweredbyico with a flexible...
Daniel Friesen [Sat, 4 Dec 2010 20:55:23 +0000 (20:55 +0000)]
Implement $wgFooterIcons to replace copyrightico and poweredbyico with a flexible list of icons that can be customized by extensions, hosting, farms, wikimedia, etc...
Implementations for MonoBook, Vector, and Modern. Modern implementation uses text instead of icons as desired.

13 years agoFollow-up r67324: removed check for empty text since the length is checked explicitly
Alexandre Emsenhuber [Sat, 4 Dec 2010 19:30:26 +0000 (19:30 +0000)]
Follow-up r67324: removed check for empty text since the length is checked explicitly

13 years agoTake the footerlinks from vector and monobook and make them skin generic.
Daniel Friesen [Sat, 4 Dec 2010 18:37:05 +0000 (18:37 +0000)]
Take the footerlinks from vector and monobook and make them skin generic.

13 years agoFixme fixme... typo typo... fix r77726's broken fix.
Daniel Friesen [Sat, 4 Dec 2010 17:10:48 +0000 (17:10 +0000)]
Fixme fixme... typo typo... fix r77726's broken fix.

13 years agoFollow up r77718, fix broken inconsistent use of $fname/$name in getCommonStylePath...
Daniel Friesen [Sat, 4 Dec 2010 17:00:34 +0000 (17:00 +0000)]
Follow up r77718, fix broken inconsistent use of $fname/$name in getCommonStylePath and getSkinStylePath.

13 years agoPartial workaround for bug 6220: at least make files on shared repositories show...
Ilmari Karonen [Sat, 4 Dec 2010 16:10:51 +0000 (16:10 +0000)]
Partial workaround for bug 6220: at least make files on shared repositories show up as (struck-out) bluelinks instead of redlinks on Special:WantedFiles.  Also change the query slightly to join on the image table instead of page, since that would seem to make more sense.

13 years agoMySQL is the only database which quotes identifiers primarily using backticks. Move...
Daniel Friesen [Sat, 4 Dec 2010 15:35:36 +0000 (15:35 +0000)]
MySQL is the only database which quotes identifiers primarily using backticks. Move the backtick based addIdentifierQuotes implementation from the generic into DatabaseMysql and take the duplicated implementation used by oracle, sqlite, ibm_db2, postgresql, and mssql and remove it from all of them migrating it to the generic Database class as the default.

13 years agoFollowup to r77713, rename quote_ident to addIdentifierQuotes to follow naming conven...
Daniel Friesen [Sat, 4 Dec 2010 15:14:08 +0000 (15:14 +0000)]
Followup to r77713, rename quote_ident to addIdentifierQuotes to follow naming conventions better. While I'm at it adding a missing addIdentifierQuotes implementation for Ibm_db2.

13 years agoImplement getSkinStylePath and getCommonStylePath for image paths used directly in...
Daniel Friesen [Sat, 4 Dec 2010 14:45:14 +0000 (14:45 +0000)]
Implement getSkinStylePath and getCommonStylePath for image paths used directly in a skin, use it for vector's search icon.

13 years agoXMLReader extension is distributed with PHP and enabled by default since PHP 5.1
Alexandre Emsenhuber [Sat, 4 Dec 2010 14:23:00 +0000 (14:23 +0000)]
XMLReader extension is distributed with PHP and enabled by default since PHP 5.1

13 years agoStylise UserMailer.php ; added some "public" to public functions
Alexandre Emsenhuber [Sat, 4 Dec 2010 13:39:18 +0000 (13:39 +0000)]
Stylise UserMailer.php ; added some "public" to public functions

13 years ago* Converted UserMailer stuff to return a Status object instead of true-or-WikiError
Alexandre Emsenhuber [Sat, 4 Dec 2010 13:27:05 +0000 (13:27 +0000)]
* Converted UserMailer stuff to return a Status object instead of true-or-WikiError
* Made WikiError::isError() compatible with Status objects
* Added Status::getMessage() for backward compatibility

Extensions using WikiError::isError() to detect a failure of UserMailer::send() and realted methods should still work like before

13 years agoFix a bug in the installer caused by r77487 creating installer sql statements like...
Daniel Friesen [Sat, 4 Dec 2010 09:27:02 +0000 (09:27 +0000)]
Fix a bug in the installer caused by r77487 creating installer sql statements like "GRANT ALL PRIVILEGES ON `'dbname'`.* TO ''tablename''@'%" while improving the database independence of replaceVars.

* Drop unused and likely broken /*$var*/` -> `$var syntax
* Replace {$var} with '{$var}' and `{$var}` handling that uses relevant database independent quoting ({$var} without surrouding quotes are never used)
* Give the generic/mysql class a proper quote_ident implementation
* Fix the unused Oracle and Sqlite quote_ident implementations which are potential sql injections if used
* Split common variable replacemnt code off to a replaceGlobalVars and make the generic and oracle code use it instead of duplicating the same code as each other

13 years agoMax command length using one line of code
Antoine Musso [Sat, 4 Dec 2010 08:58:32 +0000 (08:58 +0000)]
Max command length using one line of code

Follow-up r76621 code review

13 years agoWhitespace fixup under tha maint directory.
Mark A. Hershberger [Sat, 4 Dec 2010 03:20:14 +0000 (03:20 +0000)]
Whitespace fixup under tha maint directory.

13 years agoAdded new localize plugin which allows simple placeholder based localization of a...
Trevor Parscal [Sat, 4 Dec 2010 02:16:37 +0000 (02:16 +0000)]
Added new localize plugin which allows simple placeholder based localization of a dom selection with special <msg /> elements or elements with title-msg or alt-msg attributes.

13 years agoFixes r77696 where a few mistakes were made. Also improves on r77693 by using actual...
Trevor Parscal [Sat, 4 Dec 2010 00:48:37 +0000 (00:48 +0000)]
Fixes r77696 where a few mistakes were made. Also improves on r77693 by using actual group names rather than trying to divine the group from the module name...

13 years agoFollowup r77666, bug 26219
Sam Reed [Sat, 4 Dec 2010 00:36:33 +0000 (00:36 +0000)]
Followup r77666, bug 26219

Only add the message about multi value, if the type is not an array, or if it is an array, if it has over 50 (LIMIT_SML1) items

13 years agoMade use of Xml::encodeJsCall - improves on r77693.
Trevor Parscal [Sat, 4 Dec 2010 00:35:10 +0000 (00:35 +0000)]
Made use of Xml::encodeJsCall - improves on r77693.

13 years agoFollowup r77679, 1 more for bug 23332
Sam Reed [Sat, 4 Dec 2010 00:13:56 +0000 (00:13 +0000)]
Followup r77679, 1 more for bug 23332

13 years agoResolves bug #26131 by always placing user scripts and styles at the very end of...
Trevor Parscal [Fri, 3 Dec 2010 23:59:50 +0000 (23:59 +0000)]
Resolves bug #26131 by always placing user scripts and styles at the very end of the page

13 years agoFollowup r77666, remove changed in database comment (no idea where that came from)
Sam Reed [Fri, 3 Dec 2010 23:50:00 +0000 (23:50 +0000)]
Followup r77666, remove changed in database comment (no idea where that came from)

13 years agoFix typo in comment
Roan Kattouw [Fri, 3 Dec 2010 23:34:12 +0000 (23:34 +0000)]
Fix typo in comment

13 years agoFix grammar in r77563
Roan Kattouw [Fri, 3 Dec 2010 23:29:09 +0000 (23:29 +0000)]
Fix grammar in r77563

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 3 Dec 2010 23:09:07 +0000 (23:09 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-12-03 23:39:00 UTC)

13 years agoFollow-up r77670: Add new special page (alias) to messages/MessagesEn.php
Raimond Spekking [Fri, 3 Dec 2010 22:34:58 +0000 (22:34 +0000)]
Follow-up r77670: Add new special page (alias) to messages/MessagesEn.php

13 years agoLocalization update for he.
Rotem Liss [Fri, 3 Dec 2010 22:13:35 +0000 (22:13 +0000)]
Localization update for he.

13 years agoFixup 1 more autoloader from r77677
Sam Reed [Fri, 3 Dec 2010 20:30:21 +0000 (20:30 +0000)]
Fixup 1 more autoloader from r77677

Add Abstract classes explicitally to the autoloader

Move abstract classes from RevisionDelete.php to RevisionDeleteAbstracts.php (svn copy and remove of redundant classes)

13 years agoFollowup r77677, fix rest of autoloader entries
Sam Reed [Fri, 3 Dec 2010 20:25:19 +0000 (20:25 +0000)]
Followup r77677, fix rest of autoloader entries

13 years agoMove includes/RevisionDelete.php to includes/revisiondelete/RevisionDelete.php
Sam Reed [Fri, 3 Dec 2010 19:56:59 +0000 (19:56 +0000)]
Move includes/RevisionDelete.php to includes/revisiondelete/RevisionDelete.php

13 years agotypo (fu r77320)
Antoine Musso [Fri, 3 Dec 2010 19:56:08 +0000 (19:56 +0000)]
typo (fu r77320)

13 years agoFix indentation of => added in r77366 to be in step with the rest
Roan Kattouw [Fri, 3 Dec 2010 19:47:22 +0000 (19:47 +0000)]
Fix indentation of => added in r77366 to be in step with the rest

13 years agoand -> && in r77366
Roan Kattouw [Fri, 3 Dec 2010 19:32:25 +0000 (19:32 +0000)]
and -> && in r77366

13 years agowhite space fix v2 (follow-up r77671)
Bryan Tong Minh [Fri, 3 Dec 2010 19:23:12 +0000 (19:23 +0000)]
white space fix v2 (follow-up r77671)

13 years agoWhite space fix
Bryan Tong Minh [Fri, 3 Dec 2010 19:21:15 +0000 (19:21 +0000)]
White space fix

13 years agoAdded Special:Myuploads special page that redirects to Special:Listfiles
Bryan Tong Minh [Fri, 3 Dec 2010 19:18:39 +0000 (19:18 +0000)]
Added Special:Myuploads special page that redirects to Special:Listfiles

13 years agoAdded uploads link to page subtitle in Special:Contributions
Bryan Tong Minh [Fri, 3 Dec 2010 18:48:11 +0000 (18:48 +0000)]
Added uploads link to page subtitle in Special:Contributions
Changed query parameter for the username in Special:Listfiles from username to user, which seems to be more consistent with the rest of MediaWiki. Searching by username was introduced in 1.17, so there should be no existing links that can be broken.

13 years ago* (bug 26219) Show API limits for multi values in description
Sam Reed [Fri, 3 Dec 2010 16:24:05 +0000 (16:24 +0000)]
* (bug 26219) Show API limits for multi values in description

Also move bug 9675/r77612 RELEASE-NOTES to the correct section

13 years agoRevert part of r77644: unwanted changes (oops!)
Alexandre Emsenhuber [Fri, 3 Dec 2010 15:20:07 +0000 (15:20 +0000)]
Revert part of r77644: unwanted changes (oops!)

13 years agoFollowup r77072: declare llurl as a boolean parameter.
Roan Kattouw [Fri, 3 Dec 2010 14:44:07 +0000 (14:44 +0000)]
Followup r77072: declare llurl as a boolean parameter.

13 years agoFix license/licence inconsistencies in r77069
Roan Kattouw [Fri, 3 Dec 2010 14:38:16 +0000 (14:38 +0000)]
Fix license/licence inconsistencies in r77069

13 years agodelete dependency on MediaWikiCommonFunc.php
nadeesha [Fri, 3 Dec 2010 14:27:50 +0000 (14:27 +0000)]
delete dependency on MediaWikiCommonFunc.php

13 years agoFollowup r77654, SVN PROPS!!!
Sam Reed [Fri, 3 Dec 2010 14:16:57 +0000 (14:16 +0000)]
Followup r77654, SVN PROPS!!!

13 years agoAdd following common functions for selenium scripts. getExistingPage(), getNewPage...
nadeesha [Fri, 3 Dec 2010 14:12:52 +0000 (14:12 +0000)]
Add following common functions for selenium scripts. getExistingPage(), getNewPage($pageName), loadWikiEditor(), clearWikiEditor(), clickShowPreviewBtn(), clickSavePageBtn(), clickEditLink(), deletePage($pageName)

13 years agoAdd getUser() and getPass() functions.
nadeesha [Fri, 3 Dec 2010 14:11:00 +0000 (14:11 +0000)]
Add getUser() and getPass() functions.

13 years agoAdded test scripts for wiki editor additional features and updated scripts on wiki...
nadeesha [Fri, 3 Dec 2010 14:10:09 +0000 (14:10 +0000)]
Added test scripts for wiki editor additional features and updated scripts on wiki basic editor.  MediaWikiCommonFunction.php is deleted, since it is no longer used by the scripts.

13 years agoFix for r76480: !$css was never true, since it always contained \n. This way also...
Chad Horohoe [Fri, 3 Dec 2010 13:46:21 +0000 (13:46 +0000)]
Fix for r76480: !$css was never true, since it always contained \n. This way also lets us at least show one file if the other is inaccessible for less breakage.

13 years agoSpaces to tabs in r77011
Roan Kattouw [Fri, 3 Dec 2010 13:04:01 +0000 (13:04 +0000)]
Spaces to tabs in r77011

13 years agoFollow-up r77618 and r77635: also remove the message from messageTypes.inc
Alexandre Emsenhuber [Fri, 3 Dec 2010 12:47:04 +0000 (12:47 +0000)]
Follow-up r77618 and r77635: also remove the message from messageTypes.inc

13 years agoFollowup r76973: keep $target variable local
Roan Kattouw [Fri, 3 Dec 2010 12:46:29 +0000 (12:46 +0000)]
Followup r76973: keep $target variable local

13 years agoAllow the submit callback function to return a Status object (will use this later...
Alexandre Emsenhuber [Fri, 3 Dec 2010 11:29:55 +0000 (11:29 +0000)]
Allow the submit callback function to return a Status object (will use this later for other forms)

13 years agoUse __METHOD__ instead of incorrect 'BackupDumper::dump'
Alexandre Emsenhuber [Fri, 3 Dec 2010 10:08:47 +0000 (10:08 +0000)]
Use __METHOD__ instead of incorrect 'BackupDumper::dump'

13 years agoModifier dumpTextPass.php to use XMLReader and XMLWriter rather than xml_* functions
Alexandre Emsenhuber [Fri, 3 Dec 2010 10:05:01 +0000 (10:05 +0000)]
Modifier dumpTextPass.php to use XMLReader and XMLWriter rather than xml_* functions

13 years agoDocumentation improvement to r77597
Sam Reed [Fri, 3 Dec 2010 09:57:53 +0000 (09:57 +0000)]
Documentation improvement to r77597

13 years agoPer MaxSem CR on r77597, make $alias paramater optional, as per the documentation
Sam Reed [Fri, 3 Dec 2010 09:40:11 +0000 (09:40 +0000)]
Per MaxSem CR on r77597, make $alias paramater optional, as per the documentation

13 years agoFollowup r77618 per Nikerabbit, remove now unused message 'cantcreateaccount-nonblock...
Sam Reed [Fri, 3 Dec 2010 09:36:02 +0000 (09:36 +0000)]
Followup r77618 per Nikerabbit, remove now unused message 'cantcreateaccount-nonblock-text'

13 years agoReturn type documentation
Sam Reed [Fri, 3 Dec 2010 01:43:23 +0000 (01:43 +0000)]
Return type documentation

13 years agoSpecified max width in em instead of px to support font scaling
Trevor Parscal [Fri, 3 Dec 2010 01:12:11 +0000 (01:12 +0000)]
Specified max width in em instead of px to support font scaling

13 years agoUsing 100ms fade by deafult
Trevor Parscal [Fri, 3 Dec 2010 01:10:10 +0000 (01:10 +0000)]
Using 100ms fade by deafult

13 years agoUsing 100% opacity as default
Trevor Parscal [Fri, 3 Dec 2010 01:06:35 +0000 (01:06 +0000)]
Using 100% opacity as default

13 years agoMake $wgForceUIMsgAsContentMsg work a bit different for the messages we place in...
Platonides [Fri, 3 Dec 2010 00:21:50 +0000 (00:21 +0000)]
Make $wgForceUIMsgAsContentMsg work a bit different for the messages we place in the upload form.
This is specially intended for commons, such that it no longer needs a bot changing the headers after each upload.

See http://commons.wikimedia.org/w/index.php?title=Commons%3AVillage_pump&action=historysubmit&diff=46619490&oldid=46619456#Uploading_a_new_file.2C_and_proceeding_updates