lhc/web/wiklou.git
12 years agoNo need to use class="ltr", dir="ltr" is better
Robin Pepermans [Mon, 12 Dec 2011 21:08:28 +0000 (21:08 +0000)]
No need to use class="ltr", dir="ltr" is better

12 years agoFollowup r105812:
Daniel Friesen [Mon, 12 Dec 2011 20:09:06 +0000 (20:09 +0000)]
Followup r105812:
- Fix case of the wfBCP47 call
- Don't call wfBCP47 for every time getHtmlCode is called
- Add @since

12 years agoFollowup r105919:
Daniel Friesen [Mon, 12 Dec 2011 20:03:50 +0000 (20:03 +0000)]
Followup r105919:
- Fix a loose $variant I missed when cleaning up other methods.
- Add documentation to getLocalURL.
- Swap the disorganized docs on the dependent methods with a see comment.
- Add RELEASE-NOTES.

12 years agoFollowup r105921, RELEASE-NOTES.
Daniel Friesen [Mon, 12 Dec 2011 19:37:56 +0000 (19:37 +0000)]
Followup r105921, RELEASE-NOTES.

12 years agoIntroduce a Language::getMessagesFileName hook that will allow extensions to define...
Daniel Friesen [Mon, 12 Dec 2011 19:32:59 +0000 (19:32 +0000)]
Introduce a Language::getMessagesFileName hook that will allow extensions to define new language messages files outside of core.

12 years agoDeprecate the escape methods in Title.
Daniel Friesen [Mon, 12 Dec 2011 19:23:38 +0000 (19:23 +0000)]
Deprecate the escape methods in Title.

12 years agoReplace get{Local,Full,Link,Canonical}URL's $variant argument with a secondary $query...
Daniel Friesen [Mon, 12 Dec 2011 19:19:23 +0000 (19:19 +0000)]
Replace get{Local,Full,Link,Canonical}URL's $variant argument with a secondary $query argument and treat variant paths like we do action paths.

12 years agofix bug #32979 gM() -> mw.msg()
Neil Kandalgaonkar [Mon, 12 Dec 2011 19:18:32 +0000 (19:18 +0000)]
fix bug #32979 gM() -> mw.msg()

12 years agoReplace tabs with spaces to keep alignment.
Platonides [Mon, 12 Dec 2011 18:30:25 +0000 (18:30 +0000)]
Replace tabs with spaces to keep alignment.
The terminal tab size may not be 4 spaces, as this assumed.

12 years agoCaps fix in API parameter description
Max Semenik [Mon, 12 Dec 2011 17:22:20 +0000 (17:22 +0000)]
Caps fix in API parameter description

12 years agoFollow-up to r105870: dir="auto" on page title also for legacy skins (cologneblue...
Robin Pepermans [Mon, 12 Dec 2011 16:23:28 +0000 (16:23 +0000)]
Follow-up to r105870: dir="auto" on page title also for legacy skins (cologneblue etc)

12 years agoFollowup r105853 -- another instance of $request->getVal('filter', 'all') to replace...
Brion Vibber [Mon, 12 Dec 2011 15:51:34 +0000 (15:51 +0000)]
Followup r105853 -- another instance of $request->getVal('filter', 'all') to replace with $this->filter

12 years agofix typo in message
Antoine Musso [Mon, 12 Dec 2011 15:47:31 +0000 (15:47 +0000)]
fix typo in message

follow r105891

12 years agouse an helper to test NS subjects
Antoine Musso [Mon, 12 Dec 2011 15:39:01 +0000 (15:39 +0000)]
use an helper to test NS subjects

12 years agoadd some namespaces equality tests
Antoine Musso [Mon, 12 Dec 2011 15:31:48 +0000 (15:31 +0000)]
add some namespaces equality tests

Follow up 103893

12 years agouse MWNamespaceTest helpers based on __call()
Antoine Musso [Mon, 12 Dec 2011 15:26:12 +0000 (15:26 +0000)]
use MWNamespaceTest helpers based on __call()

* Added some new methos such as Watchable/Subpages/Capitalized/Content
* Fixed namespace 0 being converted to NS_ , now show NS_MAIN
* Converted all assertion calls to use the __call() hack

Follow up r105883

12 years agoStupid fatal
Chad Horohoe [Mon, 12 Dec 2011 15:12:38 +0000 (15:12 +0000)]
Stupid fatal

12 years agoSeparate Cli/Web logic for envCheckServer() per CR on r104576
Chad Horohoe [Mon, 12 Dec 2011 15:11:08 +0000 (15:11 +0000)]
Separate Cli/Web logic for envCheckServer() per CR on r104576

12 years agouse __call() to instantly have some new fresh helpers
Antoine Musso [Mon, 12 Dec 2011 15:02:47 +0000 (15:02 +0000)]
use __call() to instantly have some new fresh helpers

Only for MWNamespaceTest :-)

12 years agoRevert r105863: vepsän is an inflected form, not suitable for use alone. Vepsän kel...
Niklas Laxström [Mon, 12 Dec 2011 15:01:26 +0000 (15:01 +0000)]
Revert r105863: vepsän is an inflected form, not suitable for use alone. Vepsän kel' is the best expression to my knowledge.

12 years agoSelf-revert r105872, there's a deeper issue here
Chad Horohoe [Mon, 12 Dec 2011 13:45:33 +0000 (13:45 +0000)]
Self-revert r105872, there's a deeper issue here

12 years ago(bug 32984) ar_sha1 might not be set
Chad Horohoe [Mon, 12 Dec 2011 13:11:54 +0000 (13:11 +0000)]
(bug 32984) ar_sha1 might not be set

12 years agoFollowup to r105854. Made directionality inline rather than block-level, because...
Amir E. Aharoni [Mon, 12 Dec 2011 12:47:07 +0000 (12:47 +0000)]
Followup to r105854. Made directionality inline rather than block-level, because text alignment should be consistent with the rest of the site. Added support for Monobook and Modern skins.

12 years agoupdate message when dropping index ('index' not 'key')
Antoine Musso [Mon, 12 Dec 2011 10:48:49 +0000 (10:48 +0000)]
update message when dropping index ('index' not 'key')

Follow r99524

12 years ago'vep' name is just 'Vepsän'
Antoine Musso [Mon, 12 Dec 2011 10:30:01 +0000 (10:30 +0000)]
'vep' name is just 'Vepsän'

Follow up r105832

12 years agoBetter output message for ApiPurgeTests
Antoine Musso [Mon, 12 Dec 2011 10:25:29 +0000 (10:25 +0000)]
Better output message for ApiPurgeTests

Follow up r10833

12 years agocomments from r101845 on jquery.client.Test
Antoine Musso [Mon, 12 Dec 2011 10:23:04 +0000 (10:23 +0000)]
comments from r101845 on jquery.client.Test

12 years agoremove message keys from maintenance files too (r105855)
Raimond Spekking [Mon, 12 Dec 2011 07:33:46 +0000 (07:33 +0000)]
remove message keys from maintenance files too (r105855)

12 years agoReplaced the core message 'sectionlink' with getArrow, which is cleaner and does...
Amir E. Aharoni [Mon, 12 Dec 2011 06:40:40 +0000 (06:40 +0000)]
Replaced the core message 'sectionlink' with getArrow, which is cleaner and does the right thing in mixed RTL/LTR environment. Removed the message from the messages files, because it doesn't seem to be used elsewhere.

12 years agoFixes Bug 32403. Will only work on browsers that support dir="auto". Won't break...
Amir E. Aharoni [Mon, 12 Dec 2011 06:31:13 +0000 (06:31 +0000)]
Fixes Bug 32403. Will only work on browsers that support dir="auto". Won't break in other browsers.

12 years ago* (bug 32958) SpecialAllMessages: input form doesn't show and remember filter option
Brion Vibber [Mon, 12 Dec 2011 06:27:20 +0000 (06:27 +0000)]
* (bug 32958) SpecialAllMessages: input form doesn't show and remember filter option

Did this a little differently, but inspired by MrBlueSky's patch: https://bugzilla.wikimedia.org/attachment.cgi?id=9655

Rather than using the $this->custom values to check as in the patch, I moved $this->filter from the specialpage class (where it wasn't being used) to the pager class (where it was being used). Probably left over from a refactor.

12 years agoReverted r92364 (per-namespace permissions).
Tim Starling [Mon, 12 Dec 2011 06:03:01 +0000 (06:03 +0000)]
Reverted r92364 (per-namespace permissions).

This is the wrong configuration format for such a feature, and the wrong interface. We already have certain per-namespace permissions in the Title class, and we didn't need to add extra formal parameters to a whole lot of User methods in order to get them. The feature should be implemented wholly in Title, and the concept of user rights should remain relatively simple and easy to understand, and independent of its many applications, i.e. a user either has a right or doesn't. Rights are just a tool for developing access policies; the complexity should be in the caller.

The revert was mostly done by hand, since there were a lot of conflicts. I tried to preserve the gist of conflicting changes in r102187 and r102873. The test changes are not simple reverts, rather I just edited out the per-namespace tests. I reverted the followups r92589 and r104310.

12 years agoRevert r101091 per CR: the rule was removed intentionally in r98185.
Tim Starling [Mon, 12 Dec 2011 02:10:00 +0000 (02:10 +0000)]
Revert r101091 per CR: the rule was removed intentionally in r98185.

12 years agoMark the test as broken again seeing as Jenkins isn't happy
Sam Reed [Mon, 12 Dec 2011 00:07:22 +0000 (00:07 +0000)]
Mark the test as broken again seeing as Jenkins isn't happy

12 years agoRemove the (useless) configuration option $wgVectorShowVariantName. If set to false...
Robin Pepermans [Mon, 12 Dec 2011 00:03:15 +0000 (00:03 +0000)]
Remove the (useless) configuration option $wgVectorShowVariantName. If set to false (which is default), it is not clear to users what the dropdown menu is about. Secondly, other skins display all variants as different tabs. Thirdly, Serbian and Chinese projects (most active projects relevant to this) have set it to true.

12 years agoRevert r105834, WMF locally after fixing PHPUnit
Sam Reed [Sun, 11 Dec 2011 23:29:06 +0000 (23:29 +0000)]
Revert r105834, WMF locally after fixing PHPUnit

12 years agoMark testPurgeMainPage broken after r105828 and r105833
Sam Reed [Sun, 11 Dec 2011 22:39:48 +0000 (22:39 +0000)]
Mark testPurgeMainPage broken after r105828 and r105833

PhpUnit is more than broken locally (and phpunit.de is down)

12 years agoAttempt to fix tests broken by r105828
Sam Reed [Sun, 11 Dec 2011 21:49:05 +0000 (21:49 +0000)]
Attempt to fix tests broken by r105828

Test wanted in a specific order, now just look up wanted array key from title row

Untested as my phpunit tests seem to be b0rked locally :(

12 years agoSlight correction to Veps autonym per Wikipedia article and https://meta.wikimedia...
Robin Pepermans [Sun, 11 Dec 2011 21:13:18 +0000 (21:13 +0000)]
Slight correction to Veps autonym per Wikipedia article and https://meta.wikimedia.org/wiki/Requests_for_new_languages/Wikipedia_Veps_2 (and Google search confirms)

12 years agoMake ApiQueryBase::addTitleInfo() add the pageid also
Sam Reed [Sun, 11 Dec 2011 21:07:39 +0000 (21:07 +0000)]
Make ApiQueryBase::addTitleInfo() add the pageid also

12 years agoMore documentation updates as I've been going around
Sam Reed [Sun, 11 Dec 2011 20:57:57 +0000 (20:57 +0000)]
More documentation updates as I've been going around

12 years ago* (bug 32495) API should allow purge by pageids.
Sam Reed [Sun, 11 Dec 2011 20:43:42 +0000 (20:43 +0000)]
* (bug 32495) API should allow purge by pageids.

ApiPageSet isn't really designed for non query usage, but a little hacking and it can be made to work in the ApiPageSet mould. Allows us to use titles, pageids and revids, without the work of validating them and such ourselves

Same caveat that you can't use a mix of them in one request - tough!

12 years agoFollowup r105823, make it protected
Sam Reed [Sun, 11 Dec 2011 20:41:23 +0000 (20:41 +0000)]
Followup r105823, make it protected

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Sun, 11 Dec 2011 20:35:30 +0000 (20:35 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoTrailing full stops
Sam Reed [Sun, 11 Dec 2011 20:34:36 +0000 (20:34 +0000)]
Trailing full stops

12 years agoAdding a getDB function to ApiBase...
Sam Reed [Sun, 11 Dec 2011 20:32:37 +0000 (20:32 +0000)]
Adding a getDB function to ApiBase...

Not all subclasses will need/want it. It does however make it easier to pretend non ApiQuery derivatives actually are...

12 years agoFollow up r105821, as usual, commit the files I forgot to `svn add`
Daniel Friesen [Sun, 11 Dec 2011 19:49:16 +0000 (19:49 +0000)]
Follow up r105821, as usual, commit the files I forgot to `svn add`

12 years agoFollow up r102210:
Daniel Friesen [Sun, 11 Dec 2011 19:45:15 +0000 (19:45 +0000)]
Follow up r102210:
- Update maintenance/dev/ to install php inside ~/.mediawiki/php instead of ~/.mwphp
- Tweak README a bit
- Move the router.php into an includes along with two helper .sh files to cut out some of the repetition

12 years ago* (bug 32414) Empty page get a empty bytes attribute in Export/Dump
Sam Reed [Sun, 11 Dec 2011 19:01:11 +0000 (19:01 +0000)]
* (bug 32414) Empty page get a empty bytes attribute in Export/Dump

Pushing the values through intval seems enough, null -> 0

reedy@fenari:/home/wikipedia/common$ mwscript eval.php dewiki
> $var = null;

> var_dump( intval( $var ) );
int(0)

> var_dump($var );
NULL

12 years agoFix use of undefined $file
Sam Reed [Sun, 11 Dec 2011 18:51:44 +0000 (18:51 +0000)]
Fix use of undefined $file

Reduce code duplication in Dump7ZipOutput

12 years agoIntroduce a Language::getHtmlLang method which returns the Bcp47 formatted language...
Daniel Friesen [Sun, 11 Dec 2011 18:46:18 +0000 (18:46 +0000)]
Introduce a Language::getHtmlLang method which returns the Bcp47 formatted language code and update code around core to output lang tags using this method instead of getCode so that we properly output things like lang="en-CA" instead of lang="en-ca"

12 years ago* (bug 32415) Empty page get no size attribute in API output
Sam Reed [Sun, 11 Dec 2011 18:39:31 +0000 (18:39 +0000)]
* (bug 32415) Empty page get no size attribute in API output

12 years agoUpdate wfArrayToCGI and wfCgiToArray:
Daniel Friesen [Sun, 11 Dec 2011 18:25:23 +0000 (18:25 +0000)]
Update wfArrayToCGI and wfCgiToArray:
- 'foo' => '' now outputs "&foo=" instead of the key being omitted
- 'foo' => null and 'foo' => false now omit the key instead of outputting "&foo="
- Added a test to make sure that 'foo' => true outputs "&foo=1"
- Fixed a php notice caused when passing a =value-less bit like "&qwerty" to wfCgiToArray by treating it like php and extracting it as 'qwerty' => ''
- Updated tests

12 years agoAdded 1.18 schema to tests, comment
Max Semenik [Sun, 11 Dec 2011 16:56:37 +0000 (16:56 +0000)]
Added 1.18 schema to tests, comment

12 years agoFix double pasting from r105803
Sam Reed [Sun, 11 Dec 2011 16:37:20 +0000 (16:37 +0000)]
Fix double pasting from r105803

12 years ago* (bug 31759) Undefined property notice in querypages API
Sam Reed [Sun, 11 Dec 2011 16:35:50 +0000 (16:35 +0000)]
* (bug 31759) Undefined property notice in querypages API

12 years agoFix documentation of Title::userCan() and Title::quickUserCan() and added line breaks...
Alexandre Emsenhuber [Sun, 11 Dec 2011 16:04:53 +0000 (16:04 +0000)]
Fix documentation of Title::userCan() and Title::quickUserCan() and added line breaks in Title::getUserPermissionsErrors()'s one

12 years ago* (bug 32960) remove EmailAuthenticationTimestamp from database when a
Sam Reed [Sun, 11 Dec 2011 15:31:17 +0000 (15:31 +0000)]
* (bug 32960) remove EmailAuthenticationTimestamp from database when a
  email address is removed

In Preferences::trySetUserEmail no point trying to reset the users email if it's the same

Same for User::setEmail

After setting the email though, invalidate email auth tokens

12 years agoGroup related functions
Alexandre Emsenhuber [Sun, 11 Dec 2011 14:48:45 +0000 (14:48 +0000)]
Group related functions

12 years agoPer Platonides, fix for r100445: make sure user's language is English so that it...
Alexandre Emsenhuber [Sun, 11 Dec 2011 13:54:44 +0000 (13:54 +0000)]
Per Platonides, fix for r100445: make sure user's language is English so that it doesn't break test

12 years agoFollow-up r105790: make tests work again
Alexandre Emsenhuber [Sun, 11 Dec 2011 13:29:21 +0000 (13:29 +0000)]
Follow-up r105790: make tests work again

12 years agoRemove useless local var decl.
Derk-Jan Hartman [Sun, 11 Dec 2011 12:26:28 +0000 (12:26 +0000)]
Remove useless local var decl.

12 years agoMoved view count from WikiPage to Title; avoids an extra DB query when showing the...
Alexandre Emsenhuber [Sun, 11 Dec 2011 11:30:11 +0000 (11:30 +0000)]
Moved view count from WikiPage to Title; avoids an extra DB query when showing the view count in SkinTemplate::outputPage() (since it's not the same WikiPage object)

12 years agoUse ParserOptions::newFromContext() instead of 'new ParserOptions' to use the local...
Alexandre Emsenhuber [Sun, 11 Dec 2011 10:16:32 +0000 (10:16 +0000)]
Use ParserOptions::newFromContext() instead of 'new ParserOptions' to use the local context and not $wgUser or $wgLang

12 years agoRemove no longer needed RELEASE-NOTES-1.18.
Siebrand Mazeland [Sun, 11 Dec 2011 10:11:56 +0000 (10:11 +0000)]
Remove no longer needed RELEASE-NOTES-1.18.

12 years agoUse WikiPage instead of Article
Alexandre Emsenhuber [Sun, 11 Dec 2011 09:44:02 +0000 (09:44 +0000)]
Use WikiPage instead of Article

12 years agoUse local context to get messages
Alexandre Emsenhuber [Sun, 11 Dec 2011 09:31:47 +0000 (09:31 +0000)]
Use local context to get messages

12 years agoAdd unit test for bug 32888
Derk-Jan Hartman [Sat, 10 Dec 2011 22:50:28 +0000 (22:50 +0000)]
Add unit test for bug 32888

Follow up r105727

12 years ago* Fixed failing FlaggedRevs tests (one due global to leaks from a core test) and...
Aaron Schulz [Sat, 10 Dec 2011 20:08:58 +0000 (20:08 +0000)]
* Fixed failing FlaggedRevs tests (one due global to leaks from a core test) and made it clean up the DB table afterwards

12 years agoUse WikiPage instead of Article
Alexandre Emsenhuber [Sat, 10 Dec 2011 20:03:19 +0000 (20:03 +0000)]
Use WikiPage instead of Article

12 years agoFactorise calls to $this->getTitle() in SkinTemplate::outputPage()
Alexandre Emsenhuber [Sat, 10 Dec 2011 17:01:22 +0000 (17:01 +0000)]
Factorise calls to $this->getTitle() in SkinTemplate::outputPage()

12 years ago* Added revision's timestamp to OutputPage along with revision ID; avoid a DB hit...
Alexandre Emsenhuber [Sat, 10 Dec 2011 16:30:40 +0000 (16:30 +0000)]
* Added revision's timestamp to OutputPage along with revision ID; avoid a DB hit in Skin::lastModified() when showing parser cache's content. This changed with the removal of $wgArticle in Skin since now it's a different WikiPage object and thus WikiPage::setTimetstamp() call is useless (but still kept).
* Added ParserOutput::(get|set)Timestamp() and the $mTimestamp member; avoid messing with isset()

12 years agoDo the "user is allowed to edit" check when checking for protect rights with the...
Alexandre Emsenhuber [Sat, 10 Dec 2011 15:44:44 +0000 (15:44 +0000)]
Do the "user is allowed to edit" check when checking for protect rights with the same level of expensiveness as for the protect checks and also do "quick" checks since we don't care about the message names. This avoids a DB query for cascading protection on each page view for users with protect right.

12 years ago* Group related functions
Alexandre Emsenhuber [Sat, 10 Dec 2011 15:25:28 +0000 (15:25 +0000)]
* Group related functions
* Expand functions that were all declared in one line for consistency
* Removed big "Static functions" and "Other stuff" comments that are just confusing

12 years ago* Changed WikiPage::exists() to call Title::exists()
Alexandre Emsenhuber [Sat, 10 Dec 2011 09:35:03 +0000 (09:35 +0000)]
* Changed WikiPage::exists() to call Title::exists()
* Changed some getId() calls to exists() and call that method directly on $mTitle

12 years agoFU r105154: only clear tables that tests specify as written to. This reduces the...
Aaron Schulz [Sat, 10 Dec 2011 05:47:46 +0000 (05:47 +0000)]
FU r105154: only clear tables that tests specify as written to. This reduces the obnoxious slowness that was getting in the way of FileBackend testing.

Since previously (pre-r105154) nothing was cleared, tests should still work.

12 years agoFix issue with sortable headers when nesting a table INSIDE a table header cell ?
Derk-Jan Hartman [Fri, 9 Dec 2011 22:39:04 +0000 (22:39 +0000)]
Fix issue with sortable headers when nesting a table INSIDE a table header cell ?
Who comes up with these usecases ? :D

Fixes bug 32888

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Fri, 9 Dec 2011 20:31:37 +0000 (20:31 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoAdded LoggableUserIPData hook to hooks.txt and made CheckUser handle it. This is...
Aaron Schulz [Fri, 9 Dec 2011 20:13:31 +0000 (20:13 +0000)]
Added LoggableUserIPData hook to hooks.txt and made CheckUser handle it. This is needed for bug 32925.

12 years agoFollowup r105575, r105619, r105671 Add RELEASE-NOTES-1.19
Sam Reed [Fri, 9 Dec 2011 14:48:34 +0000 (14:48 +0000)]
Followup r105575, r105619, r105671 Add RELEASE-NOTES-1.19

12 years ago1.8.17 also
Sam Reed [Fri, 9 Dec 2011 14:46:28 +0000 (14:46 +0000)]
1.8.17 also

12 years ago* Revert r103476, r105161 and implement the fix for bug 32858 (a.k.a. bug 32450)...
Tim Starling [Fri, 9 Dec 2011 10:32:55 +0000 (10:32 +0000)]
* Revert r103476, r105161 and implement the fix for bug 32858 (a.k.a. bug 32450) in WikiPage instead. See comment 14 for further rationale.
* Clarified release notes. Please write what the new code does, not the bug description.

12 years agoFix for r102295 per CR r105654: don't double-escape the URL
Tim Starling [Fri, 9 Dec 2011 09:32:15 +0000 (09:32 +0000)]
Fix for r102295 per CR r105654: don't double-escape the URL

12 years agoRevert r102504 (allow ESC in debug output): the justification in the comment above...
Tim Starling [Fri, 9 Dec 2011 06:03:27 +0000 (06:03 +0000)]
Revert r102504 (allow ESC in debug output): the justification in the comment above seems very reasonable to me, and is in fact an argument for stripping only ESC, since that's the only character that can change terminal modes. You could always make a highlighter pipe script for your wfDebugGreen(), instead of tailing the log directly.

12 years agoFixes for r102295:
Tim Starling [Fri, 9 Dec 2011 05:54:26 +0000 (05:54 +0000)]
Fixes for r102295:
* Rename getDiffText to getDiffLink since that's what it actually gets. Fix associated variable names.
* Use Html::element() not Html::rawElement() when escaping is desired.

12 years agoFix comment from r102287
Tim Starling [Fri, 9 Dec 2011 05:37:57 +0000 (05:37 +0000)]
Fix comment from r102287

12 years agoFix message documentation from r102284
Tim Starling [Fri, 9 Dec 2011 05:22:39 +0000 (05:22 +0000)]
Fix message documentation from r102284

12 years agoadd JS api, feedback libs from UW into core.
Neil Kandalgaonkar [Fri, 9 Dec 2011 04:48:39 +0000 (04:48 +0000)]
add JS api, feedback libs from UW into core.

12 years agoAdd a configuration variable to work around the issue that has been reported at least...
Tim Starling [Fri, 9 Dec 2011 04:31:10 +0000 (04:31 +0000)]
Add a configuration variable to work around the issue that has been reported at least twice on IRC: pages from MW with a 404 status code have the last block of their body replaced, and their headers appended to, resulting in totally broken output for page views of non-existent pages. BizLand or some reseller is probably at fault.

12 years agoadd guaranteed-to-be-undefined undefined to mw object
Neil Kandalgaonkar [Fri, 9 Dec 2011 00:29:52 +0000 (00:29 +0000)]
add guaranteed-to-be-undefined undefined to mw object

12 years agoFollowup r104676, r104688:
Daniel Friesen [Fri, 9 Dec 2011 00:28:34 +0000 (00:28 +0000)]
Followup r104676, r104688:
- Update our woefully out of date doc comment for WebRequest::getPathInfo (we haven't simply been extracting a PATH_INFO for ages)
- Make PathRouter::makeWeight protected
- Add more comments to the PathRouter code
- Add two more edge case tests to the PathRouter tests.

12 years agoremove stray alert() from r105560 which popped up during test runs (bug 32884)
Brion Vibber [Thu, 8 Dec 2011 23:57:24 +0000 (23:57 +0000)]
remove stray alert() from r105560 which popped up during test runs (bug 32884)

12 years agoUpdate jquery.effects
Sam Reed [Thu, 8 Dec 2011 23:54:06 +0000 (23:54 +0000)]
Update jquery.effects

12 years ago* (bug 32879) Upgrade jQuery to 1.7.1
Sam Reed [Thu, 8 Dec 2011 23:42:08 +0000 (23:42 +0000)]
* (bug 32879) Upgrade jQuery to 1.7.1

Tests in qunit still pass fine

12 years agoDelete images not in 1.8.17 download of jQuery-ui
Sam Reed [Thu, 8 Dec 2011 19:25:08 +0000 (19:25 +0000)]
Delete images not in 1.8.17 download of jQuery-ui

12 years agoUpdate jQuery.ui from 1.8.16 to 1.8.17
Sam Reed [Thu, 8 Dec 2011 19:17:59 +0000 (19:17 +0000)]
Update jQuery.ui from 1.8.16 to 1.8.17

12 years agoRemoved swift subclass comments from r99546 (that is an extension and it will be...
Aaron Schulz [Thu, 8 Dec 2011 19:02:36 +0000 (19:02 +0000)]
Removed swift subclass comments from r99546 (that is an extension and it will be done differently as well)

12 years agoFix version check version from r105559
Sam Reed [Thu, 8 Dec 2011 18:07:26 +0000 (18:07 +0000)]
Fix version check version from r105559

12 years agobasic tests for bug 8115
Antoine Musso [Thu, 8 Dec 2011 16:27:19 +0000 (16:27 +0000)]
basic tests for bug 8115

12 years agoBug 32874 - Bitmap.php uses -define in ImageMagick configuration line which requires...
Sam Reed [Thu, 8 Dec 2011 16:18:18 +0000 (16:18 +0000)]
Bug 32874 - Bitmap.php uses -define in ImageMagick configuration line which requires ImageMagick 6.5.6-2 but doesn't do a version check

"Patch"/Idea provided by Christian Neubauer