Sam Reed [Fri, 6 May 2011 20:50:16 +0000 (20:50 +0000)]
Couple more deprecated things removed
Sam Reed [Fri, 6 May 2011 20:46:13 +0000 (20:46 +0000)]
More __ for r87572
Sam Reed [Fri, 6 May 2011 20:43:32 +0000 (20:43 +0000)]
Add wfDeprecated( __METHOD ); to one method marked for 1.19
Sam Reed [Fri, 6 May 2011 20:36:58 +0000 (20:36 +0000)]
Bye bye config directory
Sam Reed [Fri, 6 May 2011 20:35:52 +0000 (20:35 +0000)]
Remove install-utils.inc marked for 1.19 removal
Alexandre Emsenhuber [Fri, 6 May 2011 18:22:37 +0000 (18:22 +0000)]
Removed more functions marked for removal in 1.19: wfParseCIDR(), wfRFC822Phrase() and userMailer().
Alexandre Emsenhuber [Fri, 6 May 2011 18:17:52 +0000 (18:17 +0000)]
Removed LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText hooks. They are deprecated since 1.6 or so.
Alexandre Emsenhuber [Fri, 6 May 2011 18:10:53 +0000 (18:10 +0000)]
Remove functions marked for removal in 1.19
Chad Horohoe [Fri, 6 May 2011 15:45:13 +0000 (15:45 +0000)]
(bug 10154) Don't allow user to specify days beyond $wgRCMaxAge
Chad Horohoe [Fri, 6 May 2011 14:57:05 +0000 (14:57 +0000)]
Fix for r80864, host not server. Like r87498
Sam Reed [Fri, 6 May 2011 14:52:12 +0000 (14:52 +0000)]
Fix 2 more 1.18's from RELEASE-NOTES in r87542
Sam Reed [Fri, 6 May 2011 14:48:00 +0000 (14:48 +0000)]
Followup r87541
Move RELEASE-NOTES to HISTORY
Chad Horohoe [Fri, 6 May 2011 14:45:25 +0000 (14:45 +0000)]
Bump trunk version since we've branched
Chad Horohoe [Thu, 5 May 2011 22:27:54 +0000 (22:27 +0000)]
5.2.3, like we do everywhere else
Chad Horohoe [Thu, 5 May 2011 21:28:26 +0000 (21:28 +0000)]
Fix for r87278: if we're installing with the same user we're going to use, skip creation && grants since there's no point.
Raimond Spekking [Thu, 5 May 2011 20:38:04 +0000 (20:38 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-05 20:28:00 UTC)
Chad Horohoe [Thu, 5 May 2011 18:55:10 +0000 (18:55 +0000)]
Followup r87487: drop unused message
Alexandre Emsenhuber [Thu, 5 May 2011 17:42:14 +0000 (17:42 +0000)]
Moved wfTimestampNow() near other wfTimestamp() functions
Merlijn S. van Deen [Thu, 5 May 2011 15:04:19 +0000 (15:04 +0000)]
Fixes ForeignDBRepo SQL server connection. Fixes bug #28836.
Roan Kattouw [Thu, 5 May 2011 13:46:47 +0000 (13:46 +0000)]
Per bug 28738 comment 4, pack ResourceLoader URLs by encoding foo.bar|foo.baz|bar.baz|bar.quux as foo.bar,baz|bar.baz,quux
* Expand these URLs in ResourceLoaderContext
* Build and emit these URLs in OutputPage::makeResourceLoaderLink() and in mw.loader
* Throw an exception in ResourceLoader::register() for module names that contain pipe characters or commas. Commas need to be forbidden for this packing feature to work. Pipes were already forbidden but weren't checked for
Roan Kattouw [Thu, 5 May 2011 11:52:23 +0000 (11:52 +0000)]
For bug 28738, have the installer check for the Suhosin GET variable length limit and set $wgResourceLoaderMaxQueryLength correspondingly in LocalSettings.php . Of course this only works for new installs, no idea if this can be handled cleanly for upgrades
Tim Starling [Thu, 5 May 2011 10:37:20 +0000 (10:37 +0000)]
UPGRADE updates:
* $wgDBadminuser is no longer required
* $wgUpgradeKey is no longer required
* The installer has moved to /mw-config
* You can't change the encoding any more so that's not a concern
* Moved the 1.16 info to its own section
* Cleaned up heading consistency and levels so that it looks nice in the table of contents in the new installer
* Removed duplicate backup section
Leo Koppelkamm [Thu, 5 May 2011 09:12:55 +0000 (09:12 +0000)]
Fix PHP notice in r85922. Sorry for the holdup, I kinda forgot about it
Max Semenik [Thu, 5 May 2011 08:20:15 +0000 (08:20 +0000)]
Bug 28822 - Upgrade from normal 1.16 wiki to 1.17 fails with fatal error
Chad Horohoe [Thu, 5 May 2011 06:29:33 +0000 (06:29 +0000)]
Kill $wgSkinExtensionFunctions. Way back in r4934 when it was introduced, it was near the beginning of Setup.php, and $wgExtensionFunctions was near the end. Thus, they served two different purposes for doing extension setup. Refactoring over time has brought these processes side-by-side and thus the unused (and less-featured) one is getting the axe.
-1 more awful global \o/
Tim Starling [Thu, 5 May 2011 05:29:50 +0000 (05:29 +0000)]
* Fix for bug 28534: IE 6 content type detection again
* Fix for bug 28639: user object instance cache pollution
* Release notes formatting tweak.
Chad Horohoe [Thu, 5 May 2011 05:26:27 +0000 (05:26 +0000)]
(bug 28641) Doc fix for wfEmptyMsg()
Chad Horohoe [Thu, 5 May 2011 05:11:50 +0000 (05:11 +0000)]
(bug 23495) Allow createAndPromote.php to create non-sysop users
Trevor Parscal [Wed, 4 May 2011 23:26:43 +0000 (23:26 +0000)]
Added jquery.appear, which adds a new event which fires the first time something comes into view. This is useful for lazy-loading data.
Russ Nelson [Wed, 4 May 2011 23:17:00 +0000 (23:17 +0000)]
Likely that nobody is calling getPath() on a ForeignAPI repo, but best to warn them anyway.
Chad Horohoe [Wed, 4 May 2011 23:09:18 +0000 (23:09 +0000)]
Various fixes for CleanUpTest
Chad Horohoe [Wed, 4 May 2011 23:05:25 +0000 (23:05 +0000)]
Move CleanUpTest, fixes in next commit
Russ Nelson [Wed, 4 May 2011 22:26:48 +0000 (22:26 +0000)]
This part of the API seems universally ignored. If anybody needs this, they're going to have to modify every caller anyway, so it serves no purpose by existing. There, now my commit message is longer than the code being changed. My work here is done.
Chad Horohoe [Wed, 4 May 2011 22:08:40 +0000 (22:08 +0000)]
Revert r81542 for now, too lazy to fix this properly
Sam Reed [Wed, 4 May 2011 21:23:25 +0000 (21:23 +0000)]
Documentation
Remove unused variables
Krinkle [Wed, 4 May 2011 20:58:14 +0000 (20:58 +0000)]
mw.loader fixes
* Renaming locally declared function "request" to "getScriptTag" to avoid confusion or conflict with the other local "request" function inside the mw.loader closure
* (bug 26804) Code clean up ($skin was generated locally already)
Raimond Spekking [Wed, 4 May 2011 20:09:49 +0000 (20:09 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-04 19:40:00 UTC)
Russ Nelson [Wed, 4 May 2011 18:34:50 +0000 (18:34 +0000)]
No current need for an alias to getPath()
Sam Reed [Wed, 4 May 2011 18:14:30 +0000 (18:14 +0000)]
* (bug 28812) API's parse module documentation should no longer include section tree warning
Remove wrong comment
Krinkle [Wed, 4 May 2011 17:23:17 +0000 (17:23 +0000)]
Partial revert of r87345. Causing unreadable buttons in ArticleFeedback (i.imgur.com/PyxOw.png ), likely breaks other things as well.
Raimond Spekking [Wed, 4 May 2011 17:23:14 +0000 (17:23 +0000)]
Follow-up r87411: Remove stray f
Paul Copperman [Wed, 4 May 2011 17:17:27 +0000 (17:17 +0000)]
Follow-up r87394: Add reference back to MediaWiki::performRequestForTitle per IAlex' comment.
Platonides [Wed, 4 May 2011 14:40:25 +0000 (14:40 +0000)]
Tag names can't contain template parameters (thanksfully)
Paul Copperman [Wed, 4 May 2011 11:51:38 +0000 (11:51 +0000)]
Follow-up r87326: Add regression test.
Paul Copperman [Wed, 4 May 2011 11:50:34 +0000 (11:50 +0000)]
Remove references from function parameters in Wiki.php. They aren't needed for objects and sometimes cause warnings when called with non-vars.
Paul Copperman [Wed, 4 May 2011 11:48:47 +0000 (11:48 +0000)]
Follow-up r87266: Fix parser test
Paul Copperman [Wed, 4 May 2011 11:46:28 +0000 (11:46 +0000)]
Follow-up r87210: Add MediaWikiLangTestCase to the autoloader and make the class abstract.
Daniel Friesen [Wed, 4 May 2011 10:43:40 +0000 (10:43 +0000)]
Drop the $out params I added before I added context to Skin, as well deprecate some of the $out params in other methods.
Jure Kajzer [Wed, 4 May 2011 10:43:34 +0000 (10:43 +0000)]
* fixed tableName handling for internal purposes (bug if using sharedDB as i need raw table name)
Tim Starling [Wed, 4 May 2011 02:09:16 +0000 (02:09 +0000)]
Some release notes updates:
* Removed the obsolete part about continuous integration models. I already removed it in the 1.16 branch and will shortly remove it from the 1.17 branch.
* Updated the information about supported databases.
* Removed the part about XHTML support since we target HTML 5 now.
* Say what mediawiki-l is instead of saying what it isn't.
Daniel Friesen [Wed, 4 May 2011 01:53:05 +0000 (01:53 +0000)]
Add proper $out setting to Skin::getCategories which is present in the other similar methods. Replaces r87380.
Chad Horohoe [Wed, 4 May 2011 01:43:03 +0000 (01:43 +0000)]
Add hack to shut up fatals when getCategories() is called without an actual OutputPage
Platonides [Tue, 3 May 2011 22:37:14 +0000 (22:37 +0000)]
Follow up r87210
Platonides [Tue, 3 May 2011 22:15:57 +0000 (22:15 +0000)]
Remove unused global
Platonides [Tue, 3 May 2011 22:14:52 +0000 (22:14 +0000)]
Use canonical case
Krinkle [Tue, 3 May 2011 21:57:33 +0000 (21:57 +0000)]
mw.util.test fixes
* Remove hiding of rows after the test, in almost all cases someone will want to unhide these, especially in case of an error; Plus, there were some inconsistencies in firefox with the hovering of the last (non-collapsible) row.
* Changing mw.util.addCSS to a style that is actually visible on the action=mwutiltest page.
* Making the entire row red in case of errors (easier finding of the error)
* Moving $.isDomElement tests to mw.util.test instead of in comments
* Adding missing tests for all mw.util properties
* Fix bug where $.isDomElement fails if the passed argument isn't an object at all (eg. null or undefined). Check variable first before checking object property (<code>$.isDomElement( document.getElementById('notexist') );</code> returned TypeError: Result of expression 'el' [null] is not an object.)
** Adding test for this
* Try/Catch the evaluation
** Reports catched exceptions through mw.log instead of using throw. This way non-consoled browsers can be easily debugged through mw.log's console.
** Fixes: (bug 28803) mw.util.test doesn't handle exceptions
* Using a canonical variable instead of a localized one in the tests.
** Fixes: (bug 28788) 2 tests related to wgTitle in mediawiki.util.test are broken for non-English wikis.
Leo Koppelkamm [Tue, 3 May 2011 21:26:30 +0000 (21:26 +0000)]
r87345: Restore black link color
Chad Horohoe [Tue, 3 May 2011 21:08:44 +0000 (21:08 +0000)]
(bug 19408) user_properties.up_property: 32 bytes is not enough.
Increased it to 255 bytes to be like page titles
Some minor tweaks to modifyField() in the installer to make it more useful and added insertUpdateRow()
Raimond Spekking [Tue, 3 May 2011 20:29:05 +0000 (20:29 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-02 20:13:00 UTC)
Russ Nelson [Tue, 3 May 2011 19:55:49 +0000 (19:55 +0000)]
Only one extension was using getThumbnail
Platonides [Tue, 3 May 2011 19:53:13 +0000 (19:53 +0000)]
Follow up r87220. r86795 tests are now embedded into PreprocessorTest.php
Chad Horohoe [Tue, 3 May 2011 19:49:20 +0000 (19:49 +0000)]
(bug 22227) Special:Listfiles no longer throws an error on bogus file entries
Platonides [Tue, 3 May 2011 19:48:50 +0000 (19:48 +0000)]
We can't check if it's a parentNode->type == name_node so early, since
it may be just a single } and end up being a literal.
Leo Koppelkamm [Tue, 3 May 2011 19:11:23 +0000 (19:11 +0000)]
Revert r86473 and redo more cleanly. Fix black link color complained about in Bug 28690
Alexandre Emsenhuber [Tue, 3 May 2011 17:23:17 +0000 (17:23 +0000)]
Moved "printfooter" and debug HTML away from "bodytext" so that they can be easily modified by extensions with the SkinTemplateOutputPageBeforeExec hook; always moved generation of debug HTML just before executing the hook so that it includes more items
Mark A. Hershberger [Tue, 3 May 2011 17:21:43 +0000 (17:21 +0000)]
Fixes bug #28694: Set maxlength of revisiondelete comment to 100.
Max Semenik [Tue, 3 May 2011 16:54:16 +0000 (16:54 +0000)]
Added a function that returns the list of supported formats to ApiMain
Paul Copperman [Tue, 3 May 2011 13:18:57 +0000 (13:18 +0000)]
Fix Bug 28354: Edit tab is shown as "view source" for blocked users, which breaks squid caching
* Skip user block checks for Title::quickUserCan(). This restores the behavior from 1.16 rsp. before r65504.
* Remove unnecessary check for "$short && count($errors)", this is already handled by getUserPermissionsErrorsInternal().
Leo Koppelkamm [Tue, 3 May 2011 11:44:35 +0000 (11:44 +0000)]
Tablesorter: Add a title attribute to sort arrows ( Bug 21453 )
Leo Koppelkamm [Tue, 3 May 2011 11:09:10 +0000 (11:09 +0000)]
Fix Bug 26315: White pixels around user-icon
Alexandre Emsenhuber [Tue, 3 May 2011 09:43:34 +0000 (09:43 +0000)]
Removed Skin::$usercss, always false, nothing sets this
Platonides [Mon, 2 May 2011 22:36:14 +0000 (22:36 +0000)]
Remove empty files left by r16526, r29128 and r83029
Raimond Spekking [Mon, 2 May 2011 21:56:28 +0000 (21:56 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-02 21:42:00 UTC)
Sam Reed [Mon, 2 May 2011 21:38:48 +0000 (21:38 +0000)]
Kill & from r87290
Sam Reed [Mon, 2 May 2011 20:29:44 +0000 (20:29 +0000)]
* (bug 20468) User::invalidateCache throws 1205: Lock wait timeout exceeded
Severly limit the number of calls that actually update the database (for no gain!). Leaving stuff that needs to update memcached
Still, there's probably quite a lot of these calls which are still superfluous
Sam Reed [Mon, 2 May 2011 20:14:17 +0000 (20:14 +0000)]
Add makeInsertOptions
Allow Sqlite to OR IGNORE on UPDATE or INSERT
Leo Koppelkamm [Mon, 2 May 2011 19:56:28 +0000 (19:56 +0000)]
Switching arrows in Special:FileList to match the usual behaviour in MW. Bug 18962
Chad Horohoe [Mon, 2 May 2011 18:54:31 +0000 (18:54 +0000)]
(bug 28375) When using existing DB user, grants aren't added to new tables
Russ Nelson [Mon, 2 May 2011 18:48:35 +0000 (18:48 +0000)]
Fix and add some comments.
Rotem Liss [Mon, 2 May 2011 18:35:17 +0000 (18:35 +0000)]
Localization fix for he.
Rotem Liss [Mon, 2 May 2011 18:33:13 +0000 (18:33 +0000)]
Localization fixes for he, and updating links in en.
Happy-melon [Mon, 2 May 2011 18:31:42 +0000 (18:31 +0000)]
Follow-up r83795: fix E_NOTICE due to undefined array member.
Leo Koppelkamm [Mon, 2 May 2011 18:00:09 +0000 (18:00 +0000)]
Adjust maxwidth calculation for galleries. Bug 27577
Roan Kattouw [Mon, 2 May 2011 17:57:24 +0000 (17:57 +0000)]
Fix r87203: don't use a for..in loop on an array
Alexandre Emsenhuber [Mon, 2 May 2011 17:39:29 +0000 (17:39 +0000)]
Typo Typo Typo
Sam Reed [Mon, 2 May 2011 17:32:42 +0000 (17:32 +0000)]
A few minor RSD changes
Alexandre Emsenhuber [Mon, 2 May 2011 17:30:17 +0000 (17:30 +0000)]
* Removed Skin::reallyGenerateUserStylesheet() nothing uses it and nothing overrides it
* Corrected Skin::generateUserJs() and Skin::generateUserStylesheet()'s comments: nothing override them anymore, also marked them as deprecated, only usage is action=raw&gen=(css|js)
Sam Reed [Mon, 2 May 2011 16:58:29 +0000 (16:58 +0000)]
Documentation
Chad Horohoe [Mon, 2 May 2011 16:40:44 +0000 (16:40 +0000)]
Followup r87253, doc tweak for trunk (this is in 1.17 rel-notes now)
Alexandre Emsenhuber [Mon, 2 May 2011 15:32:20 +0000 (15:32 +0000)]
Moved Skin::$mWatchLinkNum to SkinLegacy since it's only used there and made it protected per documentation (nothing else apart SkinLegacy uses it)
Alexandre Emsenhuber [Mon, 2 May 2011 15:26:19 +0000 (15:26 +0000)]
Get the revision ID from the OutputPage object instead of making a copy
Leo Koppelkamm [Mon, 2 May 2011 11:55:45 +0000 (11:55 +0000)]
Tablesorter: use mw.config.get() to access globals; force mdy for english contentlang
Leo Koppelkamm [Mon, 2 May 2011 11:31:45 +0000 (11:31 +0000)]
Make jquery.tablesorter more resilient by checking multiple cells before assuming a type. Fixes Bug 28775
Sam Reed [Mon, 2 May 2011 11:12:48 +0000 (11:12 +0000)]
Followup r87225
Best to rename everything when you rename something
Brian Wolff [Mon, 2 May 2011 07:42:14 +0000 (07:42 +0000)]
Follow up r86363 - Missing a dollar sign.
Fixes the: Notice: Use of undefined constant i - assumed 'i' in /var/www/w/phase3/includes/db/LoadBalancer.php on line 745
Sam Reed [Sun, 1 May 2011 23:59:41 +0000 (23:59 +0000)]
Make a method static per the comment, update the only non static usage (in Parser) itself
Sam Reed [Sun, 1 May 2011 23:54:41 +0000 (23:54 +0000)]
Documentation tweaks, additions and updates
Platonides [Sun, 1 May 2011 23:02:27 +0000 (23:02 +0000)]
Follow up r87210
Sam Reed [Sun, 1 May 2011 22:11:05 +0000 (22:11 +0000)]
* (bug 28265) allow outputting of comments for action=expandtemplates
Sam Reed [Sun, 1 May 2011 21:56:02 +0000 (21:56 +0000)]
* (bug 27185) API: Add Special:ComparePages