lhc/web/wiklou.git
12 years agoFix revert artefact of r96930
Sam Reed [Tue, 13 Sep 2011 10:59:40 +0000 (10:59 +0000)]
Fix revert artefact of r96930

12 years agoIf the scaler URL is protocol-relative, things just break here. Sets a sane default.
Ian Baker [Tue, 13 Sep 2011 00:53:30 +0000 (00:53 +0000)]
If the scaler URL is protocol-relative, things just break here.  Sets a sane default.

12 years agoRevert r87992 and followups r87998, r89028 (Support abstraction for 'NOT IN' SQL...
Chad Horohoe [Tue, 13 Sep 2011 00:19:04 +0000 (00:19 +0000)]
Revert r87992 and followups r87998, r89028 (Support abstraction for 'NOT IN' SQL structure). Per discussion on CR and elsewhere...we're not 100% sold on the new format yet.

Changing the database api like this should be carefully thought out before we get stuck with it for 6 more years and end up hating it.

12 years agoUse a username different from the main BlockTest.php, otherwise concurrency errors...
Krinkle [Mon, 12 Sep 2011 22:18:33 +0000 (22:18 +0000)]
Use a username different from the main BlockTest.php, otherwise concurrency errors occur (as seen on Jenkins builds)

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Mon, 12 Sep 2011 21:47:32 +0000 (21:47 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years ago* Some documentation
Robin Pepermans [Mon, 12 Sep 2011 21:26:08 +0000 (21:26 +0000)]
* Some documentation
* Use Title->isMainPage() in Article->view()

12 years agoUpdated r86144 code due to reverts in r96889 (specifically of Parser.php change in...
Aaron Schulz [Mon, 12 Sep 2011 21:15:09 +0000 (21:15 +0000)]
Updated r86144 code due to reverts in r96889 (specifically of Parser.php change in r86072)

12 years agoRemove unused variable and update code comment per r96888.
Robin Pepermans [Mon, 12 Sep 2011 20:08:23 +0000 (20:08 +0000)]
Remove unused variable and update code comment per r96888.

12 years agoReverted r86072, r86419 per CR. Lots of conflicts resolved here. Removes lineStart...
Aaron Schulz [Mon, 12 Sep 2011 19:16:22 +0000 (19:16 +0000)]
Reverted r86072, r86419 per CR. Lots of conflicts resolved here. Removes lineStart from r87346 code as well for preprocess parser tests.

12 years ago* (bug 30865) Fix regression breaking category pages when there's no local page content
Brion Vibber [Mon, 12 Sep 2011 19:09:51 +0000 (19:09 +0000)]
* (bug 30865) Fix regression breaking category pages when there's no local page content

Output in CategoryViewer::getHtml() was trying to close an outside div, then re-open another one (with different dir/lang settings). Switched it to instead open a child div with the desired properties, so there's no danger of surprise inconsistency.

12 years agoTurn ParserOptions::setSkin() into a no-op since mSkin is no more used
Alexandre Emsenhuber [Mon, 12 Sep 2011 16:29:21 +0000 (16:29 +0000)]
Turn ParserOptions::setSkin() into a no-op since mSkin is no more used

12 years agoAdd some documentation
Sam Reed [Mon, 12 Sep 2011 15:17:16 +0000 (15:17 +0000)]
Add some documentation

Swap $this->file->name for $this->file->getName()

12 years agoStart producing new style move log entries
Niklas Laxström [Mon, 12 Sep 2011 14:58:41 +0000 (14:58 +0000)]
Start producing new style move log entries

12 years agoMove RELEASE-NOTES from r96373 from RELEASE-NOTES-1.18 to RELEASE-NOTES-1.19 after...
Sam Reed [Mon, 12 Sep 2011 14:49:03 +0000 (14:49 +0000)]
Move RELEASE-NOTES from r96373 from RELEASE-NOTES-1.18 to RELEASE-NOTES-1.19 after it was merged in r96845

12 years agoAlready removed this support for very old move log entries from plain changes list...
Niklas Laxström [Mon, 12 Sep 2011 14:46:17 +0000 (14:46 +0000)]
Already removed this support for very old move log entries from plain changes list, now also from enhanced.

12 years ago* Move <small> styling from message to shared.css
Raimond Spekking [Mon, 12 Sep 2011 12:46:20 +0000 (12:46 +0000)]
* Move <small> styling from message to shared.css
* Wrap complete section into a div
* Wrap "Other resolutions:" into a span and remove it from printing. Useless on paper.
* Add plural to 'show-big-image-other'

12 years agoFollowup r94435: don't barf on jobs inserted before this revision that don't have...
Roan Kattouw [Mon, 12 Sep 2011 10:18:26 +0000 (10:18 +0000)]
Followup r94435: don't barf on jobs inserted before this revision that don't have a table param

12 years agoAdded visibility markers to some Linker methods
Alexandre Emsenhuber [Mon, 12 Sep 2011 09:25:00 +0000 (09:25 +0000)]
Added visibility markers to some Linker methods

12 years ago* (bug 30864) Use bengali numerals for <ol> for Assamese
Niklas Laxström [Mon, 12 Sep 2011 09:11:54 +0000 (09:11 +0000)]
* (bug 30864) Use bengali numerals for <ol> for Assamese

12 years ago* Use local context instead of global variables (where possible)
Alexandre Emsenhuber [Mon, 12 Sep 2011 08:49:14 +0000 (08:49 +0000)]
* Use local context instead of global variables (where possible)
* Made getFormFields() non-static since the only call to it is in that file

12 years ago(bug 28545) When using the uca-default collation, sortkey's starting with a
Brian Wolff [Mon, 12 Sep 2011 02:10:11 +0000 (02:10 +0000)]
(bug 28545) When using the uca-default collation, sortkey's starting with a
space (U+20) will now sort under an invisible header like in 1.16 rather than a U+6DE (ARABIC START OF RUB EL HIZB)

12 years agoSpecialSearch: add two hooks, one to modify the power search box, one to change the...
Robin Pepermans [Mon, 12 Sep 2011 01:39:11 +0000 (01:39 +0000)]
SpecialSearch: add two hooks, one to modify the power search box, one to change the message pointing to the page title searched for

WikimediaIncubator:
* use these hooks and SpecialSearchSetupEngine to improve search usability
* use a different message for the language code in preferences, per suggestion of Amir

12 years ago* r96737: set OutputPage->addWikiText() as an interface message by default
Robin Pepermans [Sun, 11 Sep 2011 21:07:17 +0000 (21:07 +0000)]
* r96737: set OutputPage->addWikiText() as an interface message by default
* r96760: use 'noflip' for $flip in OutputPage->addInlineStyle() so it's always a string
* Add some parameter documentation

12 years agoPass the context to the HTMLForm object
Alexandre Emsenhuber [Sun, 11 Sep 2011 20:44:08 +0000 (20:44 +0000)]
Pass the context to the HTMLForm object

12 years ago(follow-up r96765). Appearently my release notes for that revision were horrible ;)
Brian Wolff [Sun, 11 Sep 2011 20:37:22 +0000 (20:37 +0000)]
(follow-up r96765). Appearently my release notes for that revision were horrible ;)

12 years ago(follow-up r96767) Make {{DEFAULTSORT:..|noerror}} and noreplace i18n-izable.
Brian Wolff [Sun, 11 Sep 2011 20:32:58 +0000 (20:32 +0000)]
(follow-up r96767) Make {{DEFAULTSORT:..|noerror}} and noreplace i18n-izable.

Hopefully i did this right. I've never added a magic word before...

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

12 years agoPer r96723: register new message key to maintenance script
Raimond Spekking [Sun, 11 Sep 2011 19:46:33 +0000 (19:46 +0000)]
Per r96723: register new message key to maintenance script

12 years ago(Bug 30364) LanguageConverter should depend on the page content language instead...
Robin Pepermans [Sun, 11 Sep 2011 17:56:27 +0000 (17:56 +0000)]
(Bug 30364) LanguageConverter should depend on the page content language instead of the wiki content language. Remains largely the same, except for extensions using the PageContentLanguage hook like Translate and WikimediaIncubator.
* Made variant tabs hidden on special pages (has no or sometimes wrong/inconsistent effect there; plus it's mainly in the user language)
* Made redirects be in content language again (remove from Title->getPageLanguage())

12 years agofix r96712 copy paste error :(
Robin Pepermans [Sun, 11 Sep 2011 14:52:29 +0000 (14:52 +0000)]
fix r96712 copy paste error :(

12 years agoAdress fixme on r92054: Style print
Leo Koppelkamm [Sun, 11 Sep 2011 09:16:14 +0000 (09:16 +0000)]
Adress fixme on r92054: Style print

12 years ago* Use local context instead of global variables
Alexandre Emsenhuber [Sun, 11 Sep 2011 08:43:30 +0000 (08:43 +0000)]
* Use local context instead of global variables
* Call Linker methods statically
* Added missing call to outputHeader()

12 years ago* Follow-up r96420: don't show e-mail links to anon users
Alexandre Emsenhuber [Sun, 11 Sep 2011 08:14:46 +0000 (08:14 +0000)]
* Follow-up r96420: don't show e-mail links to anon users
* Fix for r24612 (!) spotted while fixing the above: parenthesis arround the bitwise check are needed since ! operator has higher precedence than &

12 years ago(bug 16755) Add syntax to DEFAULTSORT - {{DEFAULTSORT:Foo|noerror}} and {{DEFAULTSORT...
Brian Wolff [Sun, 11 Sep 2011 02:20:20 +0000 (02:20 +0000)]
(bug 16755) Add syntax to DEFAULTSORT - {{DEFAULTSORT:Foo|noerror}} and {{DEFAULTSORT:Bar|noreplace}}
to in both cases prevent the "A sortkey already was specified earlier in the page, yadda yadda" message and in the second case, also do not replace the sortkey
if one was already specified.

12 years ago(bug 30722) Add an identity collation that sorts things based on what the unicode...
Brian Wolff [Sun, 11 Sep 2011 01:13:08 +0000 (01:13 +0000)]
(bug 30722) Add an identity collation that sorts things based on what the unicode code point is (aka pre-1.17 behaviour).

I'm tagging this 1.18 because the original bug was for iswiktionary wanting it, so it'd be nice to get it in 1.18.

12 years agoFix standard skin, which doesn't style ul/ol. The margin added in shared.css (see...
Robin Pepermans [Sun, 11 Sep 2011 00:57:32 +0000 (00:57 +0000)]
Fix standard skin, which doesn't style ul/ol. The margin added in shared.css (see r91518 and previous) made standard have both margin and default browser css. This resets that.

12 years agoDo r93269 in a better way (also fixes some rare cases). Use 'margin/padding' instead...
Robin Pepermans [Sun, 11 Sep 2011 00:13:18 +0000 (00:13 +0000)]
Do r93269 in a better way (also fixes some rare cases). Use 'margin/padding' instead of 'margin-left/padding-left' so it doesn't have to rely on the direction.

12 years ago* Per Aaron on r96261, use string 'flip' instead of boolean
Robin Pepermans [Sat, 10 Sep 2011 23:51:08 +0000 (23:51 +0000)]
* Per Aaron on r96261, use string 'flip' instead of boolean
* Apparently @noflip should only be set once, otherwise it behaves differently

12 years agomediawiki.Title.test: Add test for space collapsing
Krinkle [Sat, 10 Sep 2011 22:33:11 +0000 (22:33 +0000)]
mediawiki.Title.test: Add test for space collapsing
* When I first passed "Foobar___.js" to mw.Title and saw that it was stripping away (some) spaces, I thought it was a bug (since extension is part of the title and should be kept as is). Anyway, as it turns out it's not stripping them away because they are between 'title' and 'extension', it's a general rule that there should not two or more spaces next to each other in a title. Adding test to assert and confirm this behavior.

12 years agomediawiki.log.js: Add support for variadic arguments (just like the native console...
Krinkle [Sat, 10 Sep 2011 22:29:57 +0000 (22:29 +0000)]
mediawiki.log.js: Add support for variadic arguments (just like the native console does)
* Use unshift() when calling window.console.log (that way logging an object will not result in "prefix> [object Object]" but in "prefix> { key: .., .. }" (which most consoles do, similar thing for logging elements for which most console API implementations offer special features)
* Use string concatenation when using our own fabricated log. Did not use unshift for both, because in the latter that would show a bad comma ("prefix:>, foo, bar"). The native API does not show a comma between two logged variables, they're just shown next to each other.

12 years agomediawiki.log.js: Refactor
Krinkle [Sat, 10 Sep 2011 22:18:39 +0000 (22:18 +0000)]
mediawiki.log.js: Refactor
* Add @author info etc. to the file header
* Merge var statements
* remove single quotes around object keys where not needed
* Changing bottom padding on <body> to be relatively added instead of absolutely (body might have a bottom padding already!)
* Add return statement after reaching out to window.console. No need for the rest of the function to be executed in that case. outdenting the rest after the new return statement back one tab (thus removing the else-case)

12 years agoSimplify some contexts
Sam Reed [Sat, 10 Sep 2011 22:09:31 +0000 (22:09 +0000)]
Simplify some contexts

12 years agoCall Linker::titleAttrib() statically
Alexandre Emsenhuber [Sat, 10 Sep 2011 21:14:28 +0000 (21:14 +0000)]
Call Linker::titleAttrib() statically

12 years agoCorrectly parse interface messages as such, so it doesn't get converted according...
Robin Pepermans [Sat, 10 Sep 2011 20:05:13 +0000 (20:05 +0000)]
Correctly parse interface messages as such, so it doesn't get converted according to the content language (like r96257/r94395/r94279)

Also whitespace fix in MessagesEn for r96723

12 years agoFix comment
Alexandre Emsenhuber [Sat, 10 Sep 2011 19:51:10 +0000 (19:51 +0000)]
Fix comment

12 years agoRevert r96732
Sam Reed [Sat, 10 Sep 2011 18:51:56 +0000 (18:51 +0000)]
Revert r96732

12 years agoInvalidate user cache upon password change
Sam Reed [Sat, 10 Sep 2011 18:46:13 +0000 (18:46 +0000)]
Invalidate user cache upon password change

Should help (maybe fix?) Bug 30850 - maintenance/changePassword.php does not purge (APC) cache

12 years agoAdd @since to the Deferred stuff, ping r96716
Chad Horohoe [Sat, 10 Sep 2011 17:16:41 +0000 (17:16 +0000)]
Add @since to the Deferred stuff, ping r96716

12 years ago* Change the message 'yourvariant' to a more descriptive one (might be a bit too...
Robin Pepermans [Sat, 10 Sep 2011 17:12:35 +0000 (17:12 +0000)]
* Change the message 'yourvariant' to a more descriptive one (might be a bit too long however), and remove it as an optional message. Also added a help message to explain it.
* Make getVariantname fallback to the language name, and use that in Preferences. Shouldn't change the names in practice, but is a more logical implementation imho.
* (Fix a typo in Language.php)

12 years agoLocalization update for he.
Rotem Liss [Sat, 10 Sep 2011 13:04:07 +0000 (13:04 +0000)]
Localization update for he.

12 years ago* Use local context instead of global variables
Alexandre Emsenhuber [Sat, 10 Sep 2011 11:15:15 +0000 (11:15 +0000)]
* Use local context instead of global variables
* Call Linker methods statically

12 years agoMoved global define into class constant, replaced a bunch of $fname with __METHOD__.
Chad Horohoe [Sat, 10 Sep 2011 07:17:10 +0000 (07:17 +0000)]
Moved global define into class constant, replaced a bunch of $fname with __METHOD__.

12 years agoAdd some other ServicesJson tests.
Daniel Friesen [Sat, 10 Sep 2011 07:15:51 +0000 (07:15 +0000)]
Add some other ServicesJson tests.

12 years agoRefactor deferrable updates into classes & interfaces, also add helper method for...
Chad Horohoe [Sat, 10 Sep 2011 06:50:30 +0000 (06:50 +0000)]
Refactor deferrable updates into classes & interfaces, also add helper method for the most common use case:

$wgDeferredUpdateList[] = new HTMLCacheUpdate( $title, "sometable" );

I kept b/c with $wgDeferredUpdateList for now, but seeing as only 3 exts in svn use it (FileSearch, FlaggedRevs and WikiScripts), I'd like to deprecate it pretty soon :)

12 years agoAdd a comment about something I noticed while spelunking the code
Chad Horohoe [Sat, 10 Sep 2011 06:47:37 +0000 (06:47 +0000)]
Add a comment about something I noticed while spelunking the code

12 years agoAdd some basic tests to compare output of native json support and the Services_Json...
Chad Horohoe [Sat, 10 Sep 2011 05:24:46 +0000 (05:24 +0000)]
Add some basic tests to compare output of native json support and the Services_Json implementation, as I promised on wikitech-l. Could use plenty more test cases, but that should be trivial since I did it properly with data providers :)

12 years agoConversion script between Tifinagh and Latin for the Tachelhit language
Robin Pepermans [Sat, 10 Sep 2011 04:09:20 +0000 (04:09 +0000)]
Conversion script between Tifinagh and Latin for the Tachelhit language
Preferences: made getLanguageNames include those that don't have a Messages file

12 years agoRenamed Rev_List/Rev_Item classes to RevisionListBase/RevisionItemBase
Aaron Schulz [Fri, 9 Sep 2011 21:25:21 +0000 (21:25 +0000)]
Renamed Rev_List/Rev_Item classes to RevisionListBase/RevisionItemBase

12 years agoLocalisation update for core and extension messages from translatewiki.net
Raimond Spekking [Fri, 9 Sep 2011 20:33:58 +0000 (20:33 +0000)]
Localisation update for core and extension messages from translatewiki.net

12 years ago(bug 30640; follow-up r92279) Rotating images was making skewed images
Brian Wolff [Fri, 9 Sep 2011 20:13:09 +0000 (20:13 +0000)]
(bug 30640; follow-up r92279) Rotating images was making skewed images

This is Bryan's patch from bug 30640 with a couple minor related changes, plus some unit tests.
This also addresses an issue with preventing too-big images from being scaled from r92279.

I also noticed that image magick's rotation support is broken in 6.3.7 (the version I had installed locally. I've since upgraded) I'm not sure if we should be doing something about that...

I did test this without both image magick, and gd (although only very briefly with gd) both seemed to work well. I didn't test any other image scalars.

12 years agoFollowup r87986: qunit test case for bug 30825
Brion Vibber [Fri, 9 Sep 2011 18:43:37 +0000 (18:43 +0000)]
Followup r87986: qunit test case for bug 30825

jQuery's $.append() and friends go through some funky code paths which sometimes manually load <script> node contents via AJAX and eval them. That failed entirely in IE 7 if given a protocol-relative link ($wgServer = '//commons.wikimedia.org').
The fix in r87986 bypasses that by using DOM append directly on a script node, and thus fixes bug 30825 without even knowing it. :)

This test serves as a regression test.

12 years agoKill off $wg{Request,User,Lang,Output} usage within skins/ and redundant $this->skin...
Daniel Friesen [Fri, 9 Sep 2011 15:41:30 +0000 (15:41 +0000)]
Kill off $wg{Request,User,Lang,Output} usage within skins/ and redundant $this->skin local vars.

12 years agoFollowup r96667, I forgot the stylesheet change.
Daniel Friesen [Fri, 9 Sep 2011 15:40:19 +0000 (15:40 +0000)]
Followup r96667, I forgot the stylesheet change.

12 years agoAdd a class to the normal and hidden categories blocks. If non-positioning styles...
Daniel Friesen [Fri, 9 Sep 2011 15:37:20 +0000 (15:37 +0000)]
Add a class to the normal and hidden categories blocks. If non-positioning styles are going to be applied then they should be applied on classes, not ids. It's bad enough that we include a catlinks id in catlinks and make the process to attempt to have two catlinks blocks rediculous.

12 years agoTweak 'tog-oldsig' as suggested by Gustrónico.
Siebrand Mazeland [Fri, 9 Sep 2011 14:43:56 +0000 (14:43 +0000)]
Tweak 'tog-oldsig' as suggested by Gustrónico.

12 years agoReplace localisation cache check removed in r91432 with another check
Robin Pepermans [Fri, 9 Sep 2011 12:49:40 +0000 (12:49 +0000)]
Replace localisation cache check removed in r91432 with another check

12 years agoCommit live hack: pass XML_PARSE_HUGE (code uses 1 << 19 because the constant isn...
Roan Kattouw [Fri, 9 Sep 2011 11:28:00 +0000 (11:28 +0000)]
Commit live hack: pass XML_PARSE_HUGE (code uses 1 << 19 because the constant isn't available for some reason) into DOMDocument::loadXML() if the first call to loadXML() failed. This prevents newer versions of libxml2 from throwing a warning and messing up when the XML contains structures that are nested more than 256 levels deep. RELEASE-NOTES added to the 1.18 file, tagging this for backporting to 1.18 too.

We at Wikimedia never noticed this issue until we upgraded libxml2 on one of our servers as part of an OS upgrade, but apparently the interwebs knew about this since at least May 2010. Hat tip
 to http://deriksmith.livejournal.com/57617.html , where I found this fix.

12 years ago* Don't list sp:ChangeEmail/sp:ChangePassword at SpecialPages. These were clutter...
Aaron Schulz [Fri, 9 Sep 2011 09:25:33 +0000 (09:25 +0000)]
* Don't list sp:ChangeEmail/sp:ChangePassword at SpecialPages. These were clutter, and useless for anons, as there are links on sp:Preferences for these.
* Added check for checkTemporaryPassword() to sp:ChangeEmail.

12 years agoThis should fix regression reported in r96545
Niklas Laxström [Fri, 9 Sep 2011 08:04:18 +0000 (08:04 +0000)]
This should fix regression reported in r96545
Notice: Undefined offset: 1 in D:\www\MW_trunk\phase3\extensions\FlaggedRevs\dataclasses\FlaggedRevsLog.php on line 156

12 years agogetFilename renamed to getFilenames since it can return a list
Ariel Glenn [Fri, 9 Sep 2011 07:28:11 +0000 (07:28 +0000)]
getFilename renamed to getFilenames since it can return a list

12 years agoFollowup r96543, + is not the correct thing to use here
Niklas Laxström [Fri, 9 Sep 2011 05:17:05 +0000 (05:17 +0000)]
Followup r96543, + is not the correct thing to use here

12 years agoFollow up for r96606. Adding a message for passwordreset-domain.
Ryan Lane [Fri, 9 Sep 2011 05:04:35 +0000 (05:04 +0000)]
Follow up for r96606. Adding a message for passwordreset-domain.

12 years ago* Added a script to reduce disk space on a MySQL parser cache setup such as the one...
Tim Starling [Fri, 9 Sep 2011 03:51:45 +0000 (03:51 +0000)]
* Added a script to reduce disk space on a MySQL parser cache setup such as the one at Wikimedia at the moment, by removing all objects which expire before a given time.
* Fixed unintentional shortcut evaluation in MultiWriteBagOStuff::doWrite(). It would have caused writes to be skipped on the second cache if the first cache failed, now writes should be attempted on all caches.

12 years agoSome of the english translations for our exif-orientation-X messages were wrong ...
Brian Wolff [Fri, 9 Sep 2011 02:13:14 +0000 (02:13 +0000)]
Some of the english translations for our exif-orientation-X messages were wrong (CW instead of CCW, vice versa).

Do these types of changes need release-notes?

12 years agoRemove wgProto from mw.config
Krinkle [Fri, 9 Sep 2011 01:03:27 +0000 (01:03 +0000)]
Remove wgProto from mw.config
* Introduced in r82575 spontaneously, but was never used.
* It was removed from PHP by Tim in r90193, who gracefully kept a work-around in place to still have a protocol available in mw.config.
* Since it was new in JS in 1.18 (which hasn't been released yet), I suggest we take it out right away, especially because the PHP counterpart has been deprecated as well. No release notes needed.

12 years agoResolve fixme on r96249: can't use in static context
Chad Horohoe [Fri, 9 Sep 2011 01:01:30 +0000 (01:01 +0000)]
Resolve fixme on r96249: can't use  in static context

12 years agoShow the "Move associated talk page button" on special:movepage if there are subpages...
Brian Wolff [Fri, 9 Sep 2011 00:40:27 +0000 (00:40 +0000)]
Show the "Move associated talk page button" on special:movepage if there are subpages in the corresponding talk page
that could be affected by it, even if the base page being moved does not have a talk page.

(I just had a discussion with mindrones on irc about how the current behaviour with the talkspace subpages sometimes being moved by "move subpages" button and sometimes not depending on if current page had a talk page (and thus had the move assoc. talk button auto checked) was really confusing to the average user.)

As an aside, Special:Movepage could probably do with some refactoring ;)

12 years agouniform comment style, fix a few space issues, address couple issues from comments...
Ariel Glenn [Thu, 8 Sep 2011 21:06:15 +0000 (21:06 +0000)]
uniform comment style, fix a few space issues, address couple issues from comments on r95272

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Thu, 8 Sep 2011 20:11:29 +0000 (20:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agof'up r96606: register new message key to maintenance script
Raimond Spekking [Thu, 8 Sep 2011 20:08:23 +0000 (20:08 +0000)]
f'up r96606: register new message key to maintenance script

12 years agoAdding support for domains in SpecialPasswordReset.php.
Ryan Lane [Thu, 8 Sep 2011 19:54:32 +0000 (19:54 +0000)]
Adding support for domains in SpecialPasswordReset.php.

12 years agoPartial revert of r65898 (bug 27700). Callers should check 'create' and Title will...
Aaron Schulz [Thu, 8 Sep 2011 19:28:03 +0000 (19:28 +0000)]
Partial revert of r65898 (bug 27700). Callers should check 'create' and Title will internally check the proper subpermission depending on the title namespace.

12 years agoFix for r96516: undefined variable $flags
Alexandre Emsenhuber [Thu, 8 Sep 2011 19:11:33 +0000 (19:11 +0000)]
Fix for r96516: undefined variable $flags

12 years agoRemove message key per r96596
Raimond Spekking [Thu, 8 Sep 2011 19:06:43 +0000 (19:06 +0000)]
Remove message key per r96596

12 years agoPer r70966: rm unused msg
Chad Horohoe [Thu, 8 Sep 2011 19:00:00 +0000 (19:00 +0000)]
Per r70966: rm unused msg

12 years ago* Use local context instead of global variables
Alexandre Emsenhuber [Thu, 8 Sep 2011 17:34:24 +0000 (17:34 +0000)]
* Use local context instead of global variables
* Call Linker methods statically
* Fixed call to non-existing method Linker::makeImageLinkObj()

12 years agoSwitch JSON to (un)serialize
Niklas Laxström [Thu, 8 Sep 2011 16:59:19 +0000 (16:59 +0000)]
Switch JSON to (un)serialize

12 years agoStyle the metadata/EXIF table on file descripton pages for printing
Raimond Spekking [Thu, 8 Sep 2011 16:25:18 +0000 (16:25 +0000)]
Style the metadata/EXIF table on file descripton pages for printing

12 years agofollowup r96549: Add the 'display:none' to the existing section instead of opening...
Raimond Spekking [Thu, 8 Sep 2011 16:13:27 +0000 (16:13 +0000)]
followup r96549: Add the 'display:none' to the existing section instead of opening a new one.

12 years ago(bug 30130) Add selectionStart and selectionEnd parameters to encapsulateSelection...
Roan Kattouw [Thu, 8 Sep 2011 16:05:50 +0000 (16:05 +0000)]
(bug 30130) Add selectionStart and selectionEnd parameters to encapsulateSelection in jquery.textSelection. Modified patch by Santosh (removed whitespace and debugging code, added tests).

12 years agoTweaks to LoggedUpdateMaintenance:
Chad Horohoe [Thu, 8 Sep 2011 15:52:00 +0000 (15:52 +0000)]
Tweaks to LoggedUpdateMaintenance:
* Reduce some duplication
* Prefix skipped steps with "..." per updater convention
* Make PopulateLogUsertext, PopulateLogSearch and PopulateParentId use LoggedUpdateMaintenance -- now they will properly log when there was "Nothing to do" and we can skip the clutter on future update runs
* Docs, etc.

12 years agoShow a more useful message when someone tries enabling profileinfo but hasn't created...
Chad Horohoe [Thu, 8 Sep 2011 14:53:07 +0000 (14:53 +0000)]
Show a more useful message when someone tries enabling profileinfo but hasn't created the table yet

12 years agoGut anything from HttpTest that involves making external requests and setting cookies...
Chad Horohoe [Thu, 8 Sep 2011 14:04:36 +0000 (14:04 +0000)]
Gut anything from HttpTest that involves making external requests and setting cookies - the way we do this suite needs to be completely rethought.
Chalk this up as an example of how *not* to write unit tests.
Still have 5 failures :(

12 years agoUse wfParseUrl() instead of parse_url() in MWHttpRequest::__construct(), and check...
Roan Kattouw [Thu, 8 Sep 2011 13:53:18 +0000 (13:53 +0000)]
Use wfParseUrl() instead of parse_url() in MWHttpRequest::__construct(), and check the return value for false

12 years agoAdd tests for r96562. HttpTest still has 5 failing test (which is why it's marked...
Roan Kattouw [Thu, 8 Sep 2011 13:49:48 +0000 (13:49 +0000)]
Add tests for r96562. HttpTest still has 5 failing test (which is why it's marked @broken) and per Chad on IRC most of this suite is pure evil

12 years agoMove URL expansion from Http::request() (where it was put in r93820) to MWHttpRequest...
Roan Kattouw [Thu, 8 Sep 2011 13:48:11 +0000 (13:48 +0000)]
Move URL expansion from Http::request() (where it was put in r93820) to MWHttpRequest::__construct(). That should fix bug 30797 (UploadStash barfs on protocol-relative URLs)

12 years agoImprove r96548: fixed one fatal, restored user tool links and removed a little duplic...
Niklas Laxström [Thu, 8 Sep 2011 10:13:01 +0000 (10:13 +0000)]
Improve r96548: fixed one fatal, restored user tool links and removed a little duplication

12 years agoAdd a CSS class to the metadata/EXIF table row which shows the text 'Show extended...
Raimond Spekking [Thu, 8 Sep 2011 09:16:42 +0000 (09:16 +0000)]
Add a CSS class to the metadata/EXIF table row which shows the text 'Show extended details' and hide this row for printing. Useless because you cannot click on the paper :)

12 years agoUpdate ChangesList and derivatives to use LogFormatter.
Niklas Laxström [Thu, 8 Sep 2011 09:15:59 +0000 (09:15 +0000)]
Update ChangesList and derivatives to use LogFormatter.
This diff is a bit ugly. There is lots of duplication in ChangesList code.
Hopefully it is little better now, when most of the formatting is in LogFormatter.

12 years agoEnabled MoveLogFormatter
Niklas Laxström [Thu, 8 Sep 2011 09:09:38 +0000 (09:09 +0000)]
Enabled MoveLogFormatter
-> This brings better i18n even to existing move log entries
Fixed the class name from r96441, it's Move not Block
Added notes about new naming conventions to DefaultSettings.php
-> didn't bother the remain existing messages now, they will keep working
Didn't remove 1movedto2*, they are still used until I commit the code which actually makes new style log entries.