lhc/web/wiklou.git
12 years ago[Unit testing] Re-order attribs to a-z to make testing more reliable
Krinkle [Wed, 25 Jan 2012 00:52:29 +0000 (00:52 +0000)]
[Unit testing] Re-order attribs to a-z to make testing more reliable
* This is in preparation for deprecating this in favor of an Html:: method soon, making sure here that tests still match afterwards
* Follows-up r109698

12 years agoImprove documentation for content type choice
Tim Starling [Tue, 24 Jan 2012 22:22:19 +0000 (22:22 +0000)]
Improve documentation for content type choice

12 years agoAdd HTMLFormFields for namespaces and restriction levels. This is not a 1.19 feature...
John Du Hart [Tue, 24 Jan 2012 21:34:26 +0000 (21:34 +0000)]
Add HTMLFormFields for namespaces and restriction levels. This is not a 1.19 feature and should be reverted post-branch.

12 years agoUpdating PHPDoc on $wgFilterCallback so PHPStorm stops complaining
John Du Hart [Tue, 24 Jan 2012 20:52:46 +0000 (20:52 +0000)]
Updating PHPDoc on $wgFilterCallback so PHPStorm stops complaining

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Tue, 24 Jan 2012 20:12:55 +0000 (20:12 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agor109904: worked around PHP < 5.3 suckage to keep this compatible
Aaron Schulz [Tue, 24 Jan 2012 18:49:53 +0000 (18:49 +0000)]
r109904: worked around PHP < 5.3 suckage to keep this compatible

12 years agodiff: align cell content to the top
Antoine Musso [Tue, 24 Jan 2012 16:25:41 +0000 (16:25 +0000)]
diff: align cell content to the top

This is needed when both sides are unbalanced. For example when a very
long paragraph is replaced by a single sentence, the text in the right
cell will be floating in the middle.

Example using ?action=render-ascii:

PRE PATCH:
+----------------+  +----------------+
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  | lot of e       |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
+----------------+  +----------------+

POST PATCH:
+----------------+  +----------------+
|eeeeeeeeeeeeeeee|  | lot of e       |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
|eeeeeeeeeeeeeeee|  |                |
+----------------+  +----------------+

Part of: bug 33335 - new color scheme and text display for diffs
follow r107127

12 years ago* Oracle schema update to latest (tested with phpunit)
Jure Kajzer [Tue, 24 Jan 2012 09:48:26 +0000 (09:48 +0000)]
* Oracle schema update to latest (tested with phpunit)
* Fixed a message typo in DatabaseUpdater

12 years agoMade FileOp classes enforce required params. Also reverts r109823.
Aaron Schulz [Tue, 24 Jan 2012 05:54:47 +0000 (05:54 +0000)]
Made FileOp classes enforce required params. Also reverts r109823.

12 years agodo not try to html-escape anything but strings; fixes failing unit tests
Neil Kandalgaonkar [Tue, 24 Jan 2012 04:23:02 +0000 (04:23 +0000)]
do not try to html-escape anything but strings; fixes failing unit tests

12 years ago* Moved FSFile classes from file/ to backend/
Aaron Schulz [Tue, 24 Jan 2012 02:46:21 +0000 (02:46 +0000)]
* Moved FSFile classes from file/ to backend/
* Improved $this->lockCount check in LockServerDaemon

12 years agoremove trailing comma
Neil Kandalgaonkar [Tue, 24 Jan 2012 02:30:24 +0000 (02:30 +0000)]
remove trailing comma

12 years agoadd neilk, ibaker to credits
Neil Kandalgaonkar [Tue, 24 Jan 2012 01:48:47 +0000 (01:48 +0000)]
add neilk, ibaker to credits

12 years agoescape incoming strings (cannot contain HTML any more)
Neil Kandalgaonkar [Tue, 24 Jan 2012 01:44:19 +0000 (01:44 +0000)]
escape incoming strings (cannot contain HTML any more)

12 years agoAdded the following three items:
Diederik van Liere [Tue, 24 Jan 2012 01:14:39 +0000 (01:14 +0000)]
Added the following three items:
* (bug 27775) Namespace has it's own XML tag in the XML dump file.
* (bug 30513) Redirect tag is now resolved in XML dump file.
* sha1 xml tag added to XML dump file.

12 years agospacing fix
Jeroen De Dauw [Tue, 24 Jan 2012 00:25:00 +0000 (00:25 +0000)]
spacing fix

12 years agoreverts r109814 r109815
Antoine Musso [Mon, 23 Jan 2012 21:56:00 +0000 (21:56 +0000)]
reverts r109814 r109815

* Ternary operator avoided a call to wfWikiID()
* We really want to explicitly choose the manager
  use LockManagerGroup->get( 'nullLockManager' )
* defaultConfig no more needed if it handles just one parameter that
  we want to set explicitly

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Mon, 23 Jan 2012 20:08:42 +0000 (20:08 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoAdd the new SHA1 revision field to the XML export, add SHA1 field to export-0.6.xsd...
Diederik van Liere [Mon, 23 Jan 2012 19:48:20 +0000 (19:48 +0000)]
Add the new SHA1 revision field to the XML export, add SHA1 field to export-0.6.xsd and fix namespace element from string to integer.

12 years agoFix for r109720: replace the last two regexes with plain string functions. The regula...
Tim Starling [Mon, 23 Jan 2012 19:35:05 +0000 (19:35 +0000)]
Fix for r109720: replace the last two regexes with plain string functions. The regular expression used for stripping the last path component from the output was inefficient, because PCRE does not optimise "$" anchors correctly. It scans the entire string forwards, instead of scanning backwards starting from the anchor. Passes tests.

12 years agoMake arguments to phpunit.php work. It's hard to believe this could have been broken...
Tim Starling [Mon, 23 Jan 2012 19:06:09 +0000 (19:06 +0000)]
Make arguments to phpunit.php work. It's hard to believe this could have been broken since r79164, so maybe it was a change in the command line parser that PHPUnit uses that made it treat any options after the first non-option argument as being plain arguments rather than actual options.

12 years agoCorrect mw.Uri.decode to properly decode encoded + signs. Fixes bug 33902
Derk-Jan Hartman [Mon, 23 Jan 2012 18:11:28 +0000 (18:11 +0000)]
Correct mw.Uri.decode to properly decode encoded + signs. Fixes bug 33902
Patch by Fomafix

12 years agoRedoing r108960 with history
Sam Reed [Mon, 23 Jan 2012 17:02:51 +0000 (17:02 +0000)]
Redoing r108960 with history

If it was a 3rd party library, there probably wouldn't have been any use doing this

12 years agoRevert r108987 to copy properly
Sam Reed [Mon, 23 Jan 2012 16:59:32 +0000 (16:59 +0000)]
Revert r108987 to copy properly

12 years agoCleanup to statistics:
Alexandre Emsenhuber [Mon, 23 Jan 2012 16:27:13 +0000 (16:27 +0000)]
Cleanup to statistics:
* Removed 'pcache_miss_invalid' from stats.php and clear_stats.php, no longer used
* Added missing 'job-insert' and 'job-pop' to clear_stats.php
* Added missing call to wfIncrStats( 'pcache_miss_absent' ) when there's no key in ParserCacge::get()
* Removed useless 'pcache_not_possible' stat from OutputPage::addWikiTextTitle() since that function is mostly used for interface messages

12 years agoAdding the jquery cycle plugin. This is being used by the UnitTest extension. See...
Jeremy Postlethwaite [Mon, 23 Jan 2012 16:13:20 +0000 (16:13 +0000)]
Adding the jquery cycle plugin. This is being used by the UnitTest extension. See r109762.

12 years agoupdate wgUsersNotifiedOnAllChanges doc (r109826)
Antoine Musso [Mon, 23 Jan 2012 16:08:38 +0000 (16:08 +0000)]
update wgUsersNotifiedOnAllChanges doc (r109826)

12 years agoBug 33880 - $wgUsersNotifiedOnAllChanges should not send e-mail to user who made...
Sam Reed [Mon, 23 Jan 2012 15:04:22 +0000 (15:04 +0000)]
Bug 33880 - $wgUsersNotifiedOnAllChanges should not send e-mail to user who made the edit.

12 years agoFileRepo: check constructor parameters
Antoine Musso [Mon, 23 Jan 2012 14:50:54 +0000 (14:50 +0000)]
FileRepo: check constructor parameters

new FileRepo() requires an array of parameters having at least the
'name' and 'backend' key setup.

TODO: 'backend' keyword should probably default to FileBackend.

12 years agoFileOp: allow creation of an empty file
Antoine Musso [Mon, 23 Jan 2012 14:48:49 +0000 (14:48 +0000)]
FileOp: allow creation of an empty file

When creating a file but ommitting the 'content' key, it would throw
a notice. Using getParams let us forget about the 'content' key and
hence create files with no content.

12 years agocleanly handle wikiId on FileBackendBase construction
Antoine Musso [Mon, 23 Jan 2012 11:03:45 +0000 (11:03 +0000)]
cleanly handle wikiId on FileBackendBase construction

Use the default array added by r109814

12 years agoget a null lock manager by default
Antoine Musso [Mon, 23 Jan 2012 10:59:02 +0000 (10:59 +0000)]
get a null lock manager by default

12 years ago* Added some wfProfileIn() calls to file backend code.
Aaron Schulz [Mon, 23 Jan 2012 08:33:31 +0000 (08:33 +0000)]
* Added some wfProfileIn() calls to file backend code.
* Made FileBackend::getFileProps() final.
* Added exception needed in SwiftFileBackend::getConnection().
* Various FileBackendTests fixes and additions. Optimized it a bit by keeping the backend instance in memory.

12 years agoIn LockServerDaemon:
Aaron Schulz [Mon, 23 Jan 2012 02:55:15 +0000 (02:55 +0000)]
In LockServerDaemon:
* Factored out LockHolder class from main class
* Tweaked a few socket options (using a non-blocking accept() and keep alives for new clients)

12 years agoreverting r109723 because of slush.
Daniel Kinzler [Sun, 22 Jan 2012 20:46:39 +0000 (20:46 +0000)]
reverting r109723 because of slush.

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Sun, 22 Jan 2012 20:27:25 +0000 (20:27 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoRevert feature out of r109562, r109564, r109570
Sam Reed [Sun, 22 Jan 2012 17:33:44 +0000 (17:33 +0000)]
Revert feature out of r109562, r109564, r109570

Leaving typo/brace fixes and other minor code improvements

12 years agoRm extra space
Niklas Laxström [Sun, 22 Jan 2012 12:16:47 +0000 (12:16 +0000)]
Rm extra space

12 years agoIntroducing optional support for <a> tags, to be used with microdata resp. RDFa,...
Daniel Kinzler [Sun, 22 Jan 2012 05:58:23 +0000 (05:58 +0000)]
Introducing optional support for <a> tags, to be used with microdata resp. RDFa, as originally suggested in r58694.
This is reintroduced after a discussion with TimStarling considering the discussion about r58717.
Note that a change to the parser will be needed to cause links from <a> tags to be recorded in the externallink table.

12 years agoFollow-up 102587 to address performance concerns in wfRemoveDotSegments.
gicode [Sun, 22 Jan 2012 04:57:37 +0000 (04:57 +0000)]
Follow-up 102587 to address performance concerns in wfRemoveDotSegments.

12 years agoSimplified last_modified timestamp conversion in SwiftFileBackend to just use wfTimes...
Aaron Schulz [Sun, 22 Jan 2012 03:25:19 +0000 (03:25 +0000)]
Simplified last_modified timestamp conversion in SwiftFileBackend to just use wfTimestamp()

12 years ago[Core JS] mediawiki.legacy.protect should be loaded from the top
Krinkle [Sun, 22 Jan 2012 02:51:06 +0000 (02:51 +0000)]
[Core JS] mediawiki.legacy.protect should be loaded from the top
* The global object created by this legacy module is references from inline on-event attributes as well as from inline <script>'s by ProtectionForm.php
* Needs to be loaded before any of that happens
* Fixes bug 33660

12 years ago[mediawiki.util] minor code cleanup
Krinkle [Sun, 22 Jan 2012 02:37:45 +0000 (02:37 +0000)]
[mediawiki.util] minor code cleanup
* Remove distance between variable assignment and usage in mw.util.ini
* Change awkwardly indention from extended var statement into separate flush-left assignments and a simple var statement.
* whitespace etc. (ignore whitespace with -x-uw or on ViewVC diff)

12 years agoReverting out r108055 for ease
Sam Reed [Sun, 22 Jan 2012 02:01:58 +0000 (02:01 +0000)]
Reverting out r108055 for ease

12 years agoAdd braces
Sam Reed [Sun, 22 Jan 2012 00:58:47 +0000 (00:58 +0000)]
Add braces

Cache result of variable calls

Minor RELEASE-NOTES-1.19 updates

12 years ago* Modified StoreBatchTest and FileBackendTest to allow specifying a registered backen...
Aaron Schulz [Sun, 22 Jan 2012 00:34:04 +0000 (00:34 +0000)]
* Modified StoreBatchTest and FileBackendTest to allow specifying a registered backend to use
* Improved FileBackendTest file pruning and added more getFileList() tests

12 years ago* Another fix for SwiftFileBackend file listings
Aaron Schulz [Sun, 22 Jan 2012 00:33:20 +0000 (00:33 +0000)]
* Another fix for SwiftFileBackend file listings
* Fixed bogus array key reference in SwiftFileBackend constructor

12 years ago* Fixed bugs in SwiftFileBackend file listing code
Aaron Schulz [Sun, 22 Jan 2012 00:06:18 +0000 (00:06 +0000)]
* Fixed bugs in SwiftFileBackend file listing code
* Clear container cache in SwiftFileBackend when clearCache() is called
* Updated a comment and fixed a comment typo

12 years ago[Unit testing] Add unit tests for Xml::namespaceSelector
Krinkle [Sat, 21 Jan 2012 22:26:14 +0000 (22:26 +0000)]
[Unit testing] Add unit tests for Xml::namespaceSelector
* Making Language::namespaceNames explicitly public. It already was but since is being used as such outside the class

12 years ago* (bug 33865) Exception thrown when using API sandbox action=parse
Sam Reed [Sat, 21 Jan 2012 21:36:07 +0000 (21:36 +0000)]
* (bug 33865) Exception thrown when using API sandbox action=parse

The actual bug is from wrongly using title when the user wanted page, and hence weren't passing any wikitext...

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Sat, 21 Jan 2012 21:12:30 +0000 (21:12 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years ago[Action] Fix action=ajax
Krinkle [Sat, 21 Jan 2012 20:13:57 +0000 (20:13 +0000)]
[Action] Fix action=ajax
* Move Ajax stuff to before regular title/page action handling. Ajax actions circumvent most stuff and return early from the regular execution.
* Needed because getAction / Action-classes can't handle action=ajax properly, which isn't until MediaWiki::performAction
* Also undo's debug 'true' in the if-statement from r109688

12 years ago[Wiki.php] Minor clean up
Krinkle [Sat, 21 Jan 2012 20:10:35 +0000 (20:10 +0000)]
[Wiki.php] Minor clean up
* Comment syntax consistency
* Re-use saved getTitle()
* Doing in separate commit for review ease

12 years ago+@since for getActionName (r109678)
Krinkle [Sat, 21 Jan 2012 17:21:53 +0000 (17:21 +0000)]
+@since for getActionName (r109678)

12 years agoFix database table name, it is 'profiling', not 'profileinfo'
Alexandre Emsenhuber [Sat, 21 Jan 2012 16:45:32 +0000 (16:45 +0000)]
Fix database table name, it is 'profiling', not 'profileinfo'

12 years agoBug 33845: Headings become cursive in TOC when they contain an image
Platonides [Sat, 21 Jan 2012 16:27:27 +0000 (16:27 +0000)]
Bug 33845: Headings become cursive in TOC when they contain an image
Fixes the problems with r102179 and r102179, as there are
valid tags which begin the same, which meant they were not removed from
the TOC (the second regex, intended to remove tag parameters, then converted
<img or <blockquote> into <i> / <b>).
The same problem existed in the original regex, but as there are no valid
tags which begin with sup or sub, it never happened).

Added comment explaining the tocline regex, and added a bunch of parser tests.

12 years ago[Resources] Add missing or implied dependencies
Krinkle [Sat, 21 Jan 2012 13:31:51 +0000 (13:31 +0000)]
[Resources] Add missing or implied dependencies
* mediawiki.action.watch.ajax:
-- Depends on mediawiki.api.watch>mediawiki.api>mediawiki.util
-- But also uses mw.util itself, so adding it here as well. mw.Api might one day not use mw.util
* mediawiki.special.block: Uses mw.util.isIPv4Address / mw.util.isIPv6Address
* mediawiki.special.changeemail: Uses mw.util.validateEmail
* mediawiki.legacy.upload: Uses mw.util.wikiScript
* Uses mw.util.wikiUrlencode

Commit is inspired by and a superset of the patch provided by Rainer@Rillke.eu at bug 33760.

12 years agoFix bug 32948:
Alexandre Emsenhuber [Sat, 21 Jan 2012 07:59:25 +0000 (07:59 +0000)]
Fix bug 32948:
* {{REVISIONID}} and related variables are no longer blank after doing a null edit
* {{REVISIONID}} and related variables are no longer blank after calling action=purge&forcelinkupdate

12 years agoReinstate r109223 per CR + fixes
Krinkle [Sat, 21 Jan 2012 06:57:34 +0000 (06:57 +0000)]
Reinstate r109223 per CR + fixes
* Action/Context stuff is pretty deeply nested everywhere.
* Should be okay now, at last.
* Reverts reverting r109243
* Same as r109223, except adding this:

+ if ( !$context->canUseWikiPage() ) {
+ return 'view';
+ }

12 years ago[JSTesting] update QUnit html
Krinkle [Sat, 21 Jan 2012 06:18:38 +0000 (06:18 +0000)]
[JSTesting] update QUnit html
* Through all QUnit updates, the html was never updated (only the JS/CSS files).  Updating html now according to QUnit documentation. (introduced a new html element used for adding test document elements which are automatically cleaned up. the JS/CSS for QUnit was already referring to this but silently failing)

12 years ago* r109659: actually return the exact type we say we do
Aaron Schulz [Sat, 21 Jan 2012 00:04:09 +0000 (00:04 +0000)]
* r109659: actually return the exact type we say we do
* Made use of FileRepo::cleanupBatch() in ForeignAPIFile::purgeThumbnails()

12 years ago* Added FileBackend::parentStoragePath() convenience function for getting parent...
Aaron Schulz [Fri, 20 Jan 2012 22:46:35 +0000 (22:46 +0000)]
* Added FileBackend::parentStoragePath() convenience function for getting parent directories.
* In StoreBatchTest: sed proper clean() function to remove temp dirs (follows up r109641). Also removed some commented out code.
* Fixed temp dir leakage in FileBackendTest.

12 years agoMake sure FSFileBackend clears the php stat cache in clearCache(). Otherwise it will...
Aaron Schulz [Fri, 20 Jan 2012 21:55:15 +0000 (21:55 +0000)]
Make sure FSFileBackend clears the php stat cache in clearCache(). Otherwise it will just clear the FileBackend cache and refetch the same cached data from PHP's stat cache.

12 years agoSimilar to r108937: fixed breakage where the zone urls were defined as relative paths.
Aaron Schulz [Fri, 20 Jan 2012 20:52:09 +0000 (20:52 +0000)]
Similar to r108937: fixed breakage where the zone urls were defined as relative paths.

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Fri, 20 Jan 2012 20:41:42 +0000 (20:41 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoFix folder leakage.
Platonides [Fri, 20 Jan 2012 20:15:26 +0000 (20:15 +0000)]
Fix folder leakage.

12 years agoIf you are going to leak folders, at least give them your surname.
Platonides [Fri, 20 Jan 2012 19:46:27 +0000 (19:46 +0000)]
If you are going to leak folders, at least give them your surname.

12 years agoCan't PHP just DWIM? Ping r109628
Niklas Laxström [Fri, 20 Jan 2012 19:09:55 +0000 (19:09 +0000)]
Can't PHP just DWIM? Ping r109628

12 years agoReducy query flood in r96546. Allow formatters to provide titles for LinkBatch.
Niklas Laxström [Fri, 20 Jan 2012 16:57:46 +0000 (16:57 +0000)]
Reducy query flood in r96546. Allow formatters to provide titles for LinkBatch.

12 years ago* Inlinise Preferences::loadOldSearchNs() in SearchEngine::userNamespaces(); the...
Alexandre Emsenhuber [Fri, 20 Jan 2012 16:12:34 +0000 (16:12 +0000)]
* Inlinise Preferences::loadOldSearchNs() in SearchEngine::userNamespaces(); the latter is the only caller of the former
* Made code clearer and removed duplication
* Marked Preferences::loadOldSearchNs() as deprecated

12 years agoSplit LogPager out of LogEventsList.php
Niklas Laxström [Fri, 20 Jan 2012 09:44:39 +0000 (09:44 +0000)]
Split LogPager out of LogEventsList.php

12 years agoMessage change I forgot to commit in r109583
Aaron Schulz [Fri, 20 Jan 2012 00:12:20 +0000 (00:12 +0000)]
Message change I forgot to commit in r109583

12 years ago[mediawiki.js] edit comment
Krinkle [Thu, 19 Jan 2012 23:52:46 +0000 (23:52 +0000)]
[mediawiki.js] edit comment
* Follows-up r108230

12 years ago* Follow-up r109009: Check that paths are usable in FileOp::doPrecheck(). Also lock...
Aaron Schulz [Thu, 19 Jan 2012 23:18:03 +0000 (23:18 +0000)]
* Follow-up r109009: Check that paths are usable in FileOp::doPrecheck(). Also lock parent directories to avoid prepare()/clean() race conditions for FS backends.
* Fixed bogus $params var in logException() call in SwiftFileBackend.
* Added 'latest' param to FileBackendMultliWrite::consistencyCheck().
* Dummy-proof FileBackend::getFileStat() w.r.t the 'latest' param and removed related FileOp::allowStaleReads() comment.
* Tweaked backend-fail-batchsize message from r109469.

12 years agocomment wgLocalFileRepo has an example usage in Setup.php
Antoine Musso [Thu, 19 Jan 2012 23:06:23 +0000 (23:06 +0000)]
comment wgLocalFileRepo has an example usage in Setup.php

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Thu, 19 Jan 2012 21:38:41 +0000 (21:38 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agor109562: Register new message key for maintenance script
Raimond Spekking [Thu, 19 Jan 2012 21:12:37 +0000 (21:12 +0000)]
r109562: Register new message key for maintenance script

12 years agoFollowup r109562
Sam Reed [Thu, 19 Jan 2012 20:26:10 +0000 (20:26 +0000)]
Followup r109562

Don't use such a naieve host check

12 years ago* (bug 32341) Add upload by URL domain limitation.
Sam Reed [Thu, 19 Jan 2012 19:16:06 +0000 (19:16 +0000)]
* (bug 32341) Add upload by URL domain limitation.

12 years agoRemove extra space, ping r109550
Niklas Laxström [Thu, 19 Jan 2012 19:11:59 +0000 (19:11 +0000)]
Remove extra space, ping r109550

12 years agofollowup to r107187 - Making textarea width to be 100% in all skins
Benny Situ [Thu, 19 Jan 2012 18:22:53 +0000 (18:22 +0000)]
followup to r107187 - Making textarea width to be 100% in all skins

12 years agoDocumentation
Sam Reed [Thu, 19 Jan 2012 17:27:29 +0000 (17:27 +0000)]
Documentation

Remove unused globals

12 years agodesign file for nested tables CSS
Antoine Musso [Thu, 19 Jan 2012 17:22:36 +0000 (17:22 +0000)]
design file for nested tables CSS

See:
Bug 33752 - Wikitable uses CSS not supported in IE6
r107669

12 years agoAdd some escaping to r109547, 109548, 109549
Sam Reed [Thu, 19 Jan 2012 16:55:42 +0000 (16:55 +0000)]
Add some escaping to r109547, 109548, 109549

Improve RELEASE-NOTES-1.19 also

12 years ago* (bug 33819) Display filesize on Special:NewFiles in appropriate unit.
Sam Reed [Thu, 19 Jan 2012 16:44:49 +0000 (16:44 +0000)]
* (bug 33819) Display filesize on Special:NewFiles in appropriate unit.

Do the same for the rest of the file usages of 'nbytes' in Generic.php

12 years agoLike r109547, display file size in appropriate units on mimesearch
Sam Reed [Thu, 19 Jan 2012 16:41:04 +0000 (16:41 +0000)]
Like r109547, display file size in appropriate units on mimesearch

12 years ago* (bug 33819) Display filesize on Special:NewFiles in appropriate unit.
Sam Reed [Thu, 19 Jan 2012 16:37:54 +0000 (16:37 +0000)]
* (bug 33819) Display filesize on Special:NewFiles in appropriate unit.

12 years agoCache gallery object, don't create a new one unless we need to
Sam Reed [Thu, 19 Jan 2012 16:33:57 +0000 (16:33 +0000)]
Cache gallery object, don't create a new one unless we need to

Make getStartBody return something

12 years agoFix stray comma from r109537
Sam Reed [Thu, 19 Jan 2012 15:22:28 +0000 (15:22 +0000)]
Fix stray comma from r109537

12 years agoDocumentation and whitespace
Sam Reed [Thu, 19 Jan 2012 14:56:18 +0000 (14:56 +0000)]
Documentation and whitespace

Clearing another w/c

12 years agoRemove unused globals
Sam Reed [Thu, 19 Jan 2012 14:17:22 +0000 (14:17 +0000)]
Remove unused globals

Remove pointless continue;

Clearing up w/c

12 years agoLess Title Case
Niklas Laxström [Thu, 19 Jan 2012 11:00:48 +0000 (11:00 +0000)]
Less Title Case

12 years ago12em was too narrow, 18 seems to be better
Niklas Laxström [Thu, 19 Jan 2012 11:00:18 +0000 (11:00 +0000)]
12em was too narrow, 18 seems to be better

12 years agoTable headers looked ugly without the same padding as content
Niklas Laxström [Thu, 19 Jan 2012 10:58:49 +0000 (10:58 +0000)]
Table headers looked ugly without the same padding as content

12 years agoChange $wgDebugFunctionEntry's default value from 0 to false; it is supposed to be...
Alexandre Emsenhuber [Thu, 19 Jan 2012 10:08:38 +0000 (10:08 +0000)]
Change $wgDebugFunctionEntry's default value from 0 to false; it is supposed to be a boolean, not an integer.

12 years ago$wgLanguageCode goes with $wgContLang, not $wgLang. This was breaking ApiBlockTest...
Alexandre Emsenhuber [Thu, 19 Jan 2012 10:05:38 +0000 (10:05 +0000)]
$wgLanguageCode goes with $wgContLang, not $wgLang. This was breaking ApiBlockTest because $wgContLang->getCode() != $wgLanguageCode.

12 years agoTypofix, ping r109446
Niklas Laxström [Thu, 19 Jan 2012 09:20:32 +0000 (09:20 +0000)]
Typofix, ping r109446

12 years agoReverted r109062 per code slush (also has a CR complaint)
Aaron Schulz [Thu, 19 Jan 2012 02:26:10 +0000 (02:26 +0000)]
Reverted r109062 per code slush (also has a CR complaint)

12 years agoRenamed 'overwriteDest' FileBackend operation parameter to just 'overwrite', which...
Aaron Schulz [Thu, 19 Jan 2012 02:24:49 +0000 (02:24 +0000)]
Renamed 'overwriteDest' FileBackend operation parameter to just 'overwrite', which is shorter and more consistent with 'overwriteSame'

12 years agoIn FileBackend/FileOp:
Aaron Schulz [Thu, 19 Jan 2012 02:07:48 +0000 (02:07 +0000)]
In FileBackend/FileOp:
* Added a sane default max file size to FileBackend. Operation batches need to check this before trying anything.
* Temporarily adjust the PHP execution time limit in attemptBatch() to reduce the chance of dying in the middle of it. Also added a maximum batch size limit.
* Added some code comments.