lhc/web/wiklou.git
12 years ago* Only spread blocks on page edit/move attempts via spreadAnyEditBlock(). We don...
Aaron Schulz [Sat, 8 Oct 2011 20:22:53 +0000 (20:22 +0000)]
* Only spread blocks on page edit/move attempts via spreadAnyEditBlock(). We don't want to spread everytime the user's block status is checked as the user may just be viewing something rather than attempting to do anything. For example, if the 'edit' tab were changed to reflect block status, the autoblocks would trigger by a user just *looking* at the page. An example "in the wild" would be the UI checks in r93246.
* Made spreadBlock() protected, no outside callers.

12 years agoCheck if there is a prexisting tfoot, before creating a new one.
Derk-Jan Hartman [Sat, 8 Oct 2011 19:28:10 +0000 (19:28 +0000)]
Check if there is a prexisting tfoot, before creating a new one.

Follow up to r98669, though this was a problem that also could surface without tfoot emulation.

12 years agoAdd a method to HTML for getting just the HTML (As opposed to passing it right to...
John Du Hart [Sat, 8 Oct 2011 19:13:35 +0000 (19:13 +0000)]
Add a method to HTML for getting just the HTML (As opposed to passing it right to Output
Also, if a field is marked as required, it should still be checked to see if it's empty before going to the callback. Don't like that behavior? Don't mark it as required.

12 years agofollow-up r99316 - Fix class name in unit test class.
Brian Wolff [Sat, 8 Oct 2011 19:00:24 +0000 (19:00 +0000)]
follow-up r99316 - Fix class name in unit test class.

12 years agoMake partial dates in XMP not have the ommitted fields fulled out to 1's (reported...
Brian Wolff [Sat, 8 Oct 2011 18:40:00 +0000 (18:40 +0000)]
Make partial dates in XMP not have the ommitted fields fulled out to 1's (reported by AVRS on irc).

Basically, in XMP you can specify partial date (for example 2011-04 for april 2011 with no day).
We were extracting that, and fulling out the day to 01 if it wasn't present (My original resoning when writing
the code was that the nice localized date functions need a full date, but that's a pretty poor rationale for displaying
wrong date). This changes it to just display such year-month things as YYYY:MM.

12 years agoPart of bug 31503 - Allow gender distinction also for user groups
Niklas Laxström [Sat, 8 Oct 2011 14:13:17 +0000 (14:13 +0000)]
Part of bug 31503 - Allow gender distinction also for user groups

12 years agoFollow up to r99307, with some inline comment documentation on why these !important...
Derk-Jan Hartman [Sat, 8 Oct 2011 13:07:07 +0000 (13:07 +0000)]
Follow up to r99307, with some inline comment documentation on why these !important are used.

12 years agoUpdate Chinese conversion tables.
Philip Tzou [Sat, 8 Oct 2011 13:01:41 +0000 (13:01 +0000)]
Update Chinese conversion tables.

12 years agoAdd !important to the tablesorter indicator.
Derk-Jan Hartman [Sat, 8 Oct 2011 12:59:36 +0000 (12:59 +0000)]
Add !important to the tablesorter indicator.

Otherwise it is too easy to do <th style="background:red"> and kill the entire indicator.
Fixes bug 31196 and follow up to r98665

12 years agoFollowup r99305 - change tests to match behaviour. Would set globals but restoring...
Niklas Laxström [Sat, 8 Oct 2011 11:58:01 +0000 (11:58 +0000)]
Followup r99305 - change tests to match behaviour. Would set globals but restoring them manually is just too laborious

12 years agoSmall cleanups to XmlSelect
Niklas Laxström [Sat, 8 Oct 2011 11:41:10 +0000 (11:41 +0000)]
Small cleanups to XmlSelect

12 years agoFix Bug 27643. Update Chinese conversion tables.
Philip Tzou [Sat, 8 Oct 2011 11:30:21 +0000 (11:30 +0000)]
Fix Bug 27643. Update Chinese conversion tables.

12 years ago* Use local context instead of global variables
Alexandre Emsenhuber [Sat, 8 Oct 2011 09:12:42 +0000 (09:12 +0000)]
* Use local context instead of global variables
* Call Linker methods statically

12 years agoReorder ResourceLoader hooks alphabetically
Alexandre Emsenhuber [Sat, 8 Oct 2011 09:07:02 +0000 (09:07 +0000)]
Reorder ResourceLoader hooks alphabetically

12 years agoRevert r84057, r84080, part of r99074: lc() and uc() custom handling for Turkish...
Brion Vibber [Sat, 8 Oct 2011 00:30:50 +0000 (00:30 +0000)]
Revert r84057, r84080, part of r99074: lc() and uc() custom handling for Turkish breaks case-insensitive matches of special page names and parser function keywords (bug 31490)

Deleted extra bug file as that was updated in r99289

12 years agofollowup r99246: fixes for test cases
Brion Vibber [Sat, 8 Oct 2011 00:27:53 +0000 (00:27 +0000)]
followup r99246: fixes for test cases

12 years agoFixed getUsablePages() to account for the fact that getPage() can return null
Aaron Schulz [Sat, 8 Oct 2011 00:16:31 +0000 (00:16 +0000)]
Fixed getUsablePages() to account for the fact that getPage() can return null

12 years agoWe don't need anything from the marker. The title is outside.
Platonides [Fri, 7 Oct 2011 21:05:22 +0000 (21:05 +0000)]
We don't need anything from the marker. The title is outside.

12 years agoForgot to commit this file in r99250.
Platonides [Fri, 7 Oct 2011 21:00:06 +0000 (21:00 +0000)]
Forgot to commit this file in r99250.

12 years agoBug 31445: "Section edit links do not show"
Platonides [Fri, 7 Oct 2011 20:50:10 +0000 (20:50 +0000)]
Bug 31445: "Section edit links do not show"
Always generate the mw:editsection placeholders.
Remove them if not used.
Update the ParserOutput if fetching from ParserCache

12 years agoTests for bug 31490 : turkish magic word with a 'i' are broken :d
Antoine Musso [Fri, 7 Oct 2011 20:18:17 +0000 (20:18 +0000)]
Tests for bug 31490 : turkish magic word with a 'i' are broken :d

The 4 first tests fails and need fixing :-)

Follow up r84057

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Fri, 7 Oct 2011 19:24:23 +0000 (19:24 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoFollow-up r84765, use timestampOrNull
Bryan Tong Minh [Fri, 7 Oct 2011 19:11:08 +0000 (19:11 +0000)]
Follow-up r84765, use timestampOrNull

12 years agoupgrading to jquery 1.6.4 to fix bug #31424
Neil Kandalgaonkar [Fri, 7 Oct 2011 18:53:16 +0000 (18:53 +0000)]
upgrading to jquery 1.6.4 to fix bug #31424

12 years ago(bug 31487) Don't specify -auto-orient, but specify image rotations ourselves
Bryan Tong Minh [Fri, 7 Oct 2011 18:48:36 +0000 (18:48 +0000)]
(bug 31487) Don't specify -auto-orient, but specify image rotations ourselves

12 years agoFollow-up r99224, fix unit tests.
Bryan Tong Minh [Fri, 7 Oct 2011 18:32:08 +0000 (18:32 +0000)]
Follow-up r99224, fix unit tests.

12 years agoFollow-up r98430, use dedicated error message for filename too long error. Adds ...
Bryan Tong Minh [Fri, 7 Oct 2011 18:20:55 +0000 (18:20 +0000)]
Follow-up r98430, use dedicated error message for filename too long error. Adds 'filename-toolong' message.

12 years ago* Use local context instead of global variables, made static function in CreditsActio...
Alexandre Emsenhuber [Fri, 7 Oct 2011 17:49:45 +0000 (17:49 +0000)]
* Use local context instead of global variables, made static function in CreditsAction non-static so that they can use the context
* Added missing Action::msg() method

12 years agoFollow-up r99211: forgot to revert one file
Max Semenik [Fri, 7 Oct 2011 14:21:08 +0000 (14:21 +0000)]
Follow-up r99211: forgot to revert one file

12 years agoRevert r93246: besides the problems pointed out at CR, it also causes bug 31403,...
Max Semenik [Fri, 7 Oct 2011 13:58:16 +0000 (13:58 +0000)]
Revert r93246: besides the problems pointed out at CR, it also causes bug 31403, wreaking havoc on large wikis

12 years agoReverted r83757, ipaddress msg in used by GlobalBlocking
Aaron Schulz [Fri, 7 Oct 2011 05:30:04 +0000 (05:30 +0000)]
Reverted r83757, ipaddress msg in used by GlobalBlocking

12 years agoRedact IP address when unblocking autoblocks
Aaron Schulz [Fri, 7 Oct 2011 00:38:09 +0000 (00:38 +0000)]
Redact IP address when unblocking autoblocks

12 years agoDon't add 'autoblock disabled' flag for IP range blocks
Aaron Schulz [Thu, 6 Oct 2011 22:57:32 +0000 (22:57 +0000)]
Don't add 'autoblock disabled' flag for IP range blocks

12 years agoFurther followup to r91770: revert the RELEASE-NOTES-1.18 entry (was in the 1.19...
Brion Vibber [Thu, 6 Oct 2011 22:21:28 +0000 (22:21 +0000)]
Further followup to r91770: revert the RELEASE-NOTES-1.18 entry (was in the 1.19 file originally)

12 years ago* (bug 31352) Fix regression causing relative block times in log display to resolve...
Brion Vibber [Thu, 6 Oct 2011 22:20:40 +0000 (22:20 +0000)]
* (bug 31352) Fix regression causing relative block times in log display to resolve against current time

Revert r91770, r91786: strtotime() to resolve relative times is unsafe when the base of that relative time might have been days, months, or years ago and isn't provided to the function. :)

12 years agoSolve the FIXME set in r99025.
Platonides [Thu, 6 Oct 2011 21:43:31 +0000 (21:43 +0000)]
Solve the FIXME set in r99025.
Use $this->mTitle directly at EditPage instead of $this->getContextTitle()
$this->mTitle must be set, as it what was used to set $this->isWrongCaseCssJsPage

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Thu, 6 Oct 2011 21:34:11 +0000 (21:34 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoFU r98405: ObjectFileCache doesn't need to be abstract
Aaron Schulz [Thu, 6 Oct 2011 21:13:38 +0000 (21:13 +0000)]
FU r98405: ObjectFileCache doesn't need to be abstract

12 years ago(bug 29392) Setting the start or end parameter now works with lists blocks, categorym...
Bryan Tong Minh [Thu, 6 Oct 2011 20:46:24 +0000 (20:46 +0000)]
(bug 29392) Setting the start or end parameter now works with lists blocks, categorymembers, deletedrevs, logevents, protectedtitles, usercontributions and watchlist in Postgres.
Since all those used ApiQueryBase::addWhereRange, added ApiQueryBase::addTimestampWhereRange, which does automagic timestamp conversion. Not tested whether this actually fixes problems in Postgres, but at least the API modules are still functional in SQLite

12 years agoFix stupid typo in r99082. Thanks to Niklas for CR
Raimond Spekking [Thu, 6 Oct 2011 20:19:23 +0000 (20:19 +0000)]
Fix stupid typo in r99082. Thanks to Niklas for CR

12 years ago(bug 24781) The API will include an XML namespace if the includexmlnamespace paramete...
Bryan Tong Minh [Thu, 6 Oct 2011 20:11:44 +0000 (20:11 +0000)]
(bug 24781) The API will include an XML namespace if the includexmlnamespace parameter is set.
Partial revert of r88007, which adds the namespace unconditionally, since it breaks stuff as per the bug discussion.

12 years ago* (bug 31435) Fix raw watchlist edit regression from r84718.
Brion Vibber [Thu, 6 Oct 2011 18:08:38 +0000 (18:08 +0000)]
* (bug 31435) Fix raw watchlist edit regression from r84718.

Removed double-escaping of text going into textarea, introduced when refactoring the watchlist editor in r84718.

12 years agoLocalization update for he.
Rotem Liss [Thu, 6 Oct 2011 17:05:35 +0000 (17:05 +0000)]
Localization update for he.

12 years agoFollow-up r68645: back out --email, still not used
Max Semenik [Thu, 6 Oct 2011 17:00:18 +0000 (17:00 +0000)]
Follow-up r68645: back out --email, still not used

12 years agoFollowup r99116, didn't notice $lang was used lower down
Sam Reed [Thu, 6 Oct 2011 16:36:31 +0000 (16:36 +0000)]
Followup r99116, didn't notice $lang was used lower down

12 years ago-rakkaus/#mediawiki-i18n- (1 lines skipped) [06-Oct-2011 16:12:26] PHP Fatal error...
Sam Reed [Thu, 6 Oct 2011 16:33:36 +0000 (16:33 +0000)]
-rakkaus/#mediawiki-i18n- (1 lines skipped) [06-Oct-2011 16:12:26] PHP Fatal error:  Call to a member function formatExpiry() on a non-object in /www/w/includes/specials/SpecialProtectedtitles.php on line 93

12 years agoKill weird leading semi colon from jquery.form.js
Sam Reed [Thu, 6 Oct 2011 14:26:35 +0000 (14:26 +0000)]
Kill weird leading semi colon from jquery.form.js

More documentation stuff

12 years agoPer Domas, reinstate <1e9 check that was dropped in r94199. Also document what these...
Roan Kattouw [Thu, 6 Oct 2011 14:07:57 +0000 (14:07 +0000)]
Per Domas, reinstate <1e9 check that was dropped in r94199. Also document what these checks are all about in more detail.

12 years agoFollowup r99102: revert r88026 too, otherwise the dropdown is visible but not functional
Roan Kattouw [Thu, 6 Oct 2011 13:48:54 +0000 (13:48 +0000)]
Followup r99102: revert r88026 too, otherwise the dropdown is visible but not functional

12 years agoRevert r88025 (put Special:Contributions namespace filter behind $wgMiserMode). Peopl...
Roan Kattouw [Thu, 6 Oct 2011 13:44:37 +0000 (13:44 +0000)]
Revert r88025 (put Special:Contributions namespace filter behind $wgMiserMode). People on-wiki really hate this, and Domas gave the green light (see https://bugzilla.wikimedia.org/show_bug.cgi?id=31197#c34 )

12 years agoFU r83909: restore preprocessing stage to cache link existence using LinkBatch; other...
Happy-melon [Thu, 6 Oct 2011 13:25:56 +0000 (13:25 +0000)]
FU r83909: restore preprocessing stage to cache link existence using LinkBatch; otherwise a separate DB query is done on every link.  Since the ipb_by_text field is no longer in use we still have to do a cross-cast to get the usernames from the ids stored in ipb_by, but we can do that with one query via a UserArray, so it's not significantly worse than before.

12 years agoDocumentation and type hinting.
Happy-melon [Thu, 6 Oct 2011 13:22:53 +0000 (13:22 +0000)]
Documentation and type hinting.

12 years agoReplace spaces with tabs
Roan Kattouw [Thu, 6 Oct 2011 12:58:38 +0000 (12:58 +0000)]
Replace spaces with tabs

12 years ago(bug 31420) Fix weird tablesorter bug where headers spanning multiple rows would...
Roan Kattouw [Thu, 6 Oct 2011 12:52:26 +0000 (12:52 +0000)]
(bug 31420) Fix weird tablesorter bug where headers spanning multiple rows would get screwed up. Thanks to TheDJ for essentially telling me exactly how to fix this, he was spot on.

12 years agoFollowup r98676: add @embed
Roan Kattouw [Thu, 6 Oct 2011 12:51:32 +0000 (12:51 +0000)]
Followup r98676: add @embed

12 years agoFix bug introduced in r79084: class attribute for minor and bot markers in Special...
Roan Kattouw [Thu, 6 Oct 2011 12:13:06 +0000 (12:13 +0000)]
Fix bug introduced in r79084: class attribute for minor and bot markers in Special:RecentChanges changed, but CSS wasn't updated.

12 years agoPartly revert r99083 because the new behaviour is still buggy...
Philip Tzou [Thu, 6 Oct 2011 12:07:28 +0000 (12:07 +0000)]
Partly revert r99083 because the new behaviour is still buggy...

12 years ago* Use local context instead of global variables
Alexandre Emsenhuber [Thu, 6 Oct 2011 10:48:05 +0000 (10:48 +0000)]
* Use local context instead of global variables
* Call Linker methods statically

12 years agoFollow r86861. It's strange to apply the focus/blur behaviour only on #p-cactions...
Philip Tzou [Thu, 6 Oct 2011 10:37:15 +0000 (10:37 +0000)]
Follow r86861. It's strange to apply the focus/blur behaviour only on #p-cactions menu but not all similar menus. The behaviour itself is buggy - a reclick action will toggle off the menu hide but remain the "focus" icon.

12 years agoFix a regression from 1.17: Show date/times in user preference timezone.
Raimond Spekking [Thu, 6 Oct 2011 09:52:34 +0000 (09:52 +0000)]
Fix a regression from 1.17: Show date/times in user preference timezone.
Ping r84258.

12 years agoFollow r86861, replace spaces with tabs. It's my vim's fault!
Philip Tzou [Thu, 6 Oct 2011 09:49:46 +0000 (09:49 +0000)]
Follow r86861, replace spaces with tabs. It's my vim's fault!

12 years agoFix Bug:31396. The bug was cause by r86861, which used CSS sprites to change the...
Philip Tzou [Thu, 6 Oct 2011 09:44:09 +0000 (09:44 +0000)]
Fix Bug:31396. The bug was cause by r86861, which used CSS sprites to change the appearance of the arrow when the element is focused. This revision separate the focus arrow from the sprites image because it hardly possible to adjust the position of image **when the width are unfixed**.

12 years agoAnd I forgot to commit this in r99038: make "unhide" parameter work in Special:Compar...
Alexandre Emsenhuber [Thu, 6 Oct 2011 08:47:59 +0000 (08:47 +0000)]
And I forgot to commit this in r99038: make "unhide" parameter work in Special:ComparePages, now that the links points to the correct place

12 years agoRestored ability to list out an autoblock via #NUMBER
Aaron Schulz [Thu, 6 Oct 2011 03:32:17 +0000 (03:32 +0000)]
Restored ability to list out an autoblock via #NUMBER

12 years agoFixes for r84057 LanguageTr uc/lc:
Tim Starling [Thu, 6 Oct 2011 02:31:38 +0000 (02:31 +0000)]
Fixes for r84057 LanguageTr uc/lc:
* Fixed inappropriate use of empty(), see style guide
* Made uc() and lc() respect the $first parameter. Not doing this completely broke the Turkish wikipedia, sending links like [[İngilizce]] to [[İngİlİzce]].
* Use str_replace() instead of preg_replace(). It's not necessary to use a unicode-aware replacement algorithm to do UTF-8 string replacements, due to details of the UTF-8 encoding format. I'm not sure how Hashar concluded that strtr() will produce garbage.

12 years ago* (bug 31374) Pass relevant additional parameters for action=raw on Special:Mypage...
Brion Vibber [Thu, 6 Oct 2011 01:10:39 +0000 (01:10 +0000)]
* (bug 31374) Pass relevant additional parameters for action=raw on Special:Mypage redirects

Found that Special:MyPage was sometimes being used in importScript() calls to make references to the owner's other user subpages, such as loading a User:Blah/monobook.js from User:Blah/vector.js.
The importScript() correctly included action=raw and ctype=text/javascript parameters, but Special:MyPage was redirecting to the actual URL and dropped the ctype parameter.

IE 9 actually now validates content-type for scripts loaded into <script> -- if and only if you send X-Content-Type-Options: nosniff. Since we now do that (since bug 15461 / r87997) this created a break for IE9 users when upgrading from MW 1.17 (without the nosniff) to MW 1.18 (with it).

Can also work around by replacing the Special:MyPage reference with a direct one.

No other browsers I tested (Firefox 8, Chrome 14, Opera 11.5) rejected a <script> load for text/x-wiki but it's a legit thing to do (Firefox does check for CSS)

12 years agoFix for bug 31374: reintroduce recursive unstrip as in r27667, somehow omitted during...
Tim Starling [Thu, 6 Oct 2011 00:07:45 +0000 (00:07 +0000)]
Fix for bug 31374: reintroduce recursive unstrip as in r27667, somehow omitted during the refactor in r82645. StripState::merge() is still wrong, but it's currently unused on Wikimedia, so this will do as a temporary patch.

12 years agoExpand URLs in SquidPurgeClient too
Roan Kattouw [Wed, 5 Oct 2011 20:04:34 +0000 (20:04 +0000)]
Expand URLs in SquidPurgeClient too

12 years agoFix for r99038: this was in the wrong part of the if statement
Alexandre Emsenhuber [Wed, 5 Oct 2011 19:59:39 +0000 (19:59 +0000)]
Fix for r99038: this was in the wrong part of the if statement

12 years agoBig cleanup to DifferenceEngine:
Alexandre Emsenhuber [Wed, 5 Oct 2011 19:55:04 +0000 (19:55 +0000)]
Big cleanup to DifferenceEngine:
* Call Linker methods statically
* Factorised a lot of duplicate code, such as "Mark patrolled" links, revisions headers, etc.
* Removed showFirstRevision() and made that case be handled through the normal showDiffPage(). In such case, the header will look like a normal diff page, except it is centred. For this, addHeader() will now center the "new revision" header if the string passed to the "old revision" header and the diff is empty. getDiffBody() will also return an empty string if $mOldRev is false.
* Showing only one revision when the previous was not found will also ask to unhide the revision is deleted as in normal case
* Backed out code that generates the revision header from loadRevisionData() so that this function does not make a mix of backend and UI stuff. Factorised the code in getRevisionHeader().
* Lazy-load page's language and revisions IDs (in case of "prev", "next", etc. are passed) instead of doing that in constructor.
* Made a good part of links compatible with Special:ComparePages, such as navigation links, "undo", etc. that links to the title corresponding to the revision and not the given title in the constuctor.
* "Current revision as of" can also be displayed on the old revision, useful when comparing two current revisions in Special:ComparePages
* Removed navigation, undo and rollback links when comparing two different pages, this can confuses users thinking they are comparing two revisions of the same page. Also clicking on a "undo" link in such case will give "revision not found".
* Check if the user can read the revisions before sending a external editor file

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Wed, 5 Oct 2011 19:39:20 +0000 (19:39 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoFix the bug reported on w:en:WP:VP/T where clicking on links in sortable table header...
Roan Kattouw [Wed, 5 Oct 2011 19:27:55 +0000 (19:27 +0000)]
Fix the bug reported on w:en:WP:VP/T where clicking on links in sortable table headers sorts the table rather than following the link

12 years agoinexistent -> nonexistent
Krinkle [Wed, 5 Oct 2011 18:55:13 +0000 (18:55 +0000)]
inexistent -> nonexistent
* Follows-up r98366

12 years agoAdding fixme comment above an old piece of code that I'd rather not change right now
Krinkle [Wed, 5 Oct 2011 18:45:27 +0000 (18:45 +0000)]
Adding fixme comment above an old piece of code that I'd rather not change right now

12 years ago* (bug 31380) Fix style regression on Special:Allmessages
Brion Vibber [Wed, 5 Oct 2011 18:37:42 +0000 (18:37 +0000)]
* (bug 31380) Fix style regression on Special:Allmessages

Table cells for customized messages were missing the classes used to style the default & actual text differently. Got lost in r90334: added dir/lang attributes for the language but accidentally left out the classes.

12 years ago* Use local context instead of global variables
Alexandre Emsenhuber [Wed, 5 Oct 2011 14:46:10 +0000 (14:46 +0000)]
* Use local context instead of global variables
* Call Linker methods statically

12 years agoParse 'yourtext' message for the diff header to match the other usage in <h2> just...
Alexandre Emsenhuber [Wed, 5 Oct 2011 14:42:45 +0000 (14:42 +0000)]
Parse 'yourtext' message for the diff header to match the other usage in <h2> just below

12 years ago3 PHP Fatal error: Call to undefined method LocalFile::getFileKey() in /usr/local...
Sam Reed [Wed, 5 Oct 2011 13:47:02 +0000 (13:47 +0000)]
3 PHP Fatal error:  Call to undefined method LocalFile::getFileKey() in /usr/local/apache/common-local/php-1.18/includes/api/ApiUpload.php on line 150

Tag: REL1_18, 1.18wmf1

12 years agoAdd/update documentation
Sam Reed [Wed, 5 Oct 2011 13:43:32 +0000 (13:43 +0000)]
Add/update documentation

12 years agoFix bug in r83814 reported on IRC: categorymembers did not set an ORDER BY when cmcon...
Roan Kattouw [Wed, 5 Oct 2011 13:15:44 +0000 (13:15 +0000)]
Fix bug in r83814 reported on IRC: categorymembers did not set an ORDER BY when cmcontinue was set, which broke paging when cmdir=desc was used.

12 years ago(bug 31363) Expand description URLs for thumbnails to canonical form
Roan Kattouw [Wed, 5 Oct 2011 10:16:49 +0000 (10:16 +0000)]
(bug 31363) Expand description URLs for thumbnails to canonical form

12 years agoFollowup to r98839 and r98851 according to Nikerabbit's suggestions: Xml -> Html...
Amir E. Aharoni [Wed, 5 Oct 2011 06:45:11 +0000 (06:45 +0000)]
Followup to r98839 and r98851 according to Nikerabbit's suggestions: Xml -> Html and some whitespace.

12 years agoFixed:
Aaron Schulz [Wed, 5 Oct 2011 02:36:40 +0000 (02:36 +0000)]
Fixed:
Undefined index: IPV6 in D:\www\MW_trunk\phase\includes\specials\SpecialBlock.php on line 516

12 years agoPorted in r98971 from deployment
Aaron Schulz [Wed, 5 Oct 2011 01:45:26 +0000 (01:45 +0000)]
Ported in r98971 from deployment

12 years agoFix undefined $title
Sam Reed [Wed, 5 Oct 2011 00:49:53 +0000 (00:49 +0000)]
Fix undefined $title

12 years agoCall to undefined method CologneBlueTemplate::getInternalLinkAttributes() in /usr...
Sam Reed [Wed, 5 Oct 2011 00:45:34 +0000 (00:45 +0000)]
Call to undefined method CologneBlueTemplate::getInternalLinkAttributes() in /usr/local/apache/common-local/php-1.18/includes/SkinLegacy.php on line 487

12 years ago(bug 31179) Fixed problems with undeletion making bad page rows:
Aaron Schulz [Tue, 4 Oct 2011 21:31:31 +0000 (21:31 +0000)]
(bug 31179) Fixed problems with undeletion making bad page rows:
* Moved up isCountable() call, since insertOn() sets the page ID, it safer to do this call first. It now uses master DB data, as it should for reads to write data. Furthermore, calling it after insertOn() was triggered loadPageData() on a slave, breaking the page ID cache just set in insertOn().
* Preemptively call loadPageData( 'fromdbmaster' ) as Article::doEdit() does (r98880) to avoid any lazy loading from the slave which can corrupt the page ID cache.

12 years ago* Use local context instead of global variables
Alexandre Emsenhuber [Tue, 4 Oct 2011 20:30:37 +0000 (20:30 +0000)]
* Use local context instead of global variables
* Use Linker::linkKnown() where possible
* Break long lines

12 years agoFollowup r98578 - expect nulls
Niklas Laxström [Tue, 4 Oct 2011 20:02:20 +0000 (20:02 +0000)]
Followup r98578 - expect nulls

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Tue, 4 Oct 2011 20:02:01 +0000 (20:02 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoFix language name for 'jam'
Robin Pepermans [Tue, 4 Oct 2011 18:59:23 +0000 (18:59 +0000)]
Fix language name for 'jam'

12 years agoCall loadPageData() with 'fromdbmaster' in doEdit() to avoid old slave data
Aaron Schulz [Tue, 4 Oct 2011 18:40:13 +0000 (18:40 +0000)]
Call loadPageData() with 'fromdbmaster' in doEdit() to avoid old slave data

12 years agoFix for r98756: $wgDefaultExternalStore can also be a string
Alexandre Emsenhuber [Tue, 4 Oct 2011 16:51:37 +0000 (16:51 +0000)]
Fix for r98756: $wgDefaultExternalStore can also be a string

12 years agoSimplify a bit by adding the result inside the wfRunHooks() check
Alexandre Emsenhuber [Tue, 4 Oct 2011 14:32:07 +0000 (14:32 +0000)]
Simplify a bit by adding the result inside the wfRunHooks() check

12 years agosvn:eol-style native
Alexandre Emsenhuber [Tue, 4 Oct 2011 14:11:16 +0000 (14:11 +0000)]
svn:eol-style native

12 years ago* Added a script to prune old file cache entries.
Aaron Schulz [Tue, 4 Oct 2011 08:03:43 +0000 (08:03 +0000)]
* Added a script to prune old file cache entries.
* Use default .cache extension for ResourceFileCache. No need for js/css extension, and makes extension sanity check in prune script simpler.
* Removed redundant setting of mExt in ObjectFileCache

12 years agoFollowup to r98847. Replacing .= with =
Amir E. Aharoni [Tue, 4 Oct 2011 07:33:12 +0000 (07:33 +0000)]
Followup to r98847. Replacing .= with =

12 years agoFollowup to r98839. Removed 'escape' from wfMsgExt (suggested by Nikerabbit); wrote...
Amir E. Aharoni [Tue, 4 Oct 2011 03:08:49 +0000 (03:08 +0000)]
Followup to r98839. Removed 'escape' from wfMsgExt (suggested by Nikerabbit); wrote full class names (suggested by Krinkle).

12 years agoThe general fix is setting the directionality of added or removed bytes in recent...
Amir E. Aharoni [Tue, 4 Oct 2011 00:12:09 +0000 (00:12 +0000)]
The general fix is setting the directionality of added or removed bytes in recent changes. It is always supposed to be LTR.

Details:
* Spelling of variable names and comments: formated -> formatted
* Replaced "<$tag" with Xml::element
* Added a dirmark before the username (otherwise the added or removed appear on the other side)

12 years agoMore whitespace and comments
Sam Reed [Mon, 3 Oct 2011 22:51:38 +0000 (22:51 +0000)]
More whitespace and comments