Alexandre Emsenhuber [Mon, 23 May 2011 19:42:00 +0000 (19:42 +0000)]
Moved wfEmptyMsg() near other message functions
Krinkle [Mon, 23 May 2011 19:08:26 +0000 (19:08 +0000)]
Moving check higher up in case there's a premade toggle _but_ no .wm-collapsible-content premade. This way the link will be caught before it's inner-wrapped, after which it would no longer be a direct child.
Brion Vibber [Mon, 23 May 2011 19:03:17 +0000 (19:03 +0000)]
Revert r87964: destroyed standard segregation of non-view action links outside of $wgArticlePath, which would have created huge extra search spider traffic to sites and put more bogus URLs into indexes.
This also reverts some convenience functions that were being added at the same time (??) to attempt to parse local links from JS.
Happy-melon [Mon, 23 May 2011 18:57:30 +0000 (18:57 +0000)]
Follow-up r85403: rm unwanted "new" declaration.
Happy-melon [Mon, 23 May 2011 18:52:36 +0000 (18:52 +0000)]
Follow-up r84475: Block::parseTarget() should always return an array.
Happy-melon [Mon, 23 May 2011 18:49:14 +0000 (18:49 +0000)]
Follow-up r84475: update userBlockedMessage() caller.
Alexandre Emsenhuber [Mon, 23 May 2011 17:55:26 +0000 (17:55 +0000)]
Use $act instead of a second call to $this->getAction()
Alexandre Emsenhuber [Mon, 23 May 2011 17:53:31 +0000 (17:53 +0000)]
Follow-up r88653: removed the remaining of OutputPage's stubbing
Sam Reed [Mon, 23 May 2011 17:52:37 +0000 (17:52 +0000)]
* (bug 29117) A string is missing when the UI is in Hebrew
Alexandre Emsenhuber [Mon, 23 May 2011 17:22:14 +0000 (17:22 +0000)]
Per comment on r87680: make parser tests work again.
Can somebody explain me why on earth do we need ParserTest::setUp() since all of this is done before each test in ParserTest::setupGlobals()?
Alexandre Emsenhuber [Mon, 23 May 2011 16:37:56 +0000 (16:37 +0000)]
exit -> return now that we are in a function
Alexandre Emsenhuber [Mon, 23 May 2011 16:32:52 +0000 (16:32 +0000)]
* Simplify message existence checks by using wfMessage() instead of wfMsg() with wfEmptyMsg()
* Fixed one check in Skin::addToSidebarPlain() that used user language for existence and content language for message's content
* Changed SkinTemplate::buildContentNavigationUrls() to use Title::getDefaultMessageText() instead of wfEmptyMsg()
Aaron Schulz [Mon, 23 May 2011 04:28:58 +0000 (04:28 +0000)]
* In core:
** Added hooks for custom RC/newpages filters
** Added tables,fields,and join_conds to SpecialNewPagesConditions hook
** Removed superflous $nameSpace logic in watchlist code
** Removed some copy-paste code for RC/watchlist filters
** Updates hooks.txt
* In FlaggedRevs:
* Added "hide reviewed edits" filter to RC/newpages
* Combined two handlers into modifyChangesListQuery. Removed is_array() check - always true now.
* Fixed onBeforePageDisplay() so that CSS worked on sp:Watchlist
* @TODO: remove $wgUseRCPatrol stuff...this gets us closer.
Russ Nelson [Mon, 23 May 2011 02:30:20 +0000 (02:30 +0000)]
Fill-in missing implementations of abstract function appendFinish()
Aaron Schulz [Mon, 23 May 2011 01:47:39 +0000 (01:47 +0000)]
Added missing getUser() function to Pager:
Fatal error: Call to undefined method NewPagesPager::getUser() in D:\www\MW_trunk\phase3\includes\specials\SpecialNewpages.php on line 491
Russ Nelson [Mon, 23 May 2011 01:18:06 +0000 (01:18 +0000)]
Swift needs to rewrite entire files. We need this call to prevent N**2 operations while appending
Krinkle [Mon, 23 May 2011 00:01:06 +0000 (00:01 +0000)]
Release notes for r88625, r88553, r88511 (bringing back 'Other changes' like in REL1_17 release notes)
Krinkle [Sun, 22 May 2011 23:52:16 +0000 (23:52 +0000)]
jquery.tabIndex.js was broken, not it works (for the first time?)
* Defaulting to null
* Setting to initial value during first iteration (instead of outside the loop), that way we dont have to set minTabIndex to some insane high value to let if ( .. > .. ) work
* (bug 29048) jQuery.tabIndex: firstTabIndex() outputs the same as lastTabIndex()
* Added extra <textarea> to test suite to make sure the 'correct answer' is not the first or last element
Platonides [Sun, 22 May 2011 23:36:17 +0000 (23:36 +0000)]
Revert unintended change in r88620
Krinkle [Sun, 22 May 2011 23:36:17 +0000 (23:36 +0000)]
Adding test suite for jquery.tabIndex.js, currently broken per:
(bug 29048) jQuery.tabIndex: firstTabIndex() outputs the same as lastTabIndex()
Platonides [Sun, 22 May 2011 23:24:56 +0000 (23:24 +0000)]
Use doc comment
Sam Reed [Sun, 22 May 2011 23:20:59 +0000 (23:20 +0000)]
* (bug 29101) Special:FileDuplicateSearch shows silly message
Patch by William Demchick
Platonides [Sun, 22 May 2011 22:10:08 +0000 (22:10 +0000)]
/* to /**
Platonides [Sun, 22 May 2011 22:05:18 +0000 (22:05 +0000)]
Changes to doc-comments. /* to /** in language folder.
Krinkle [Sun, 22 May 2011 21:54:32 +0000 (21:54 +0000)]
Update our jQuery from 1.4.4 to the latest version of 1.5 (1.5.2). See also bug 28904.
Sam Reed [Sun, 22 May 2011 19:21:22 +0000 (19:21 +0000)]
* (bug 28272) Special:Allmessages should have only one "Go" button
Patch by MZMcBride
Alexandre Emsenhuber [Sun, 22 May 2011 18:38:04 +0000 (18:38 +0000)]
Moved MediaWiki::articleFromTitle() to Article::newFromTitle(), this has nothing to do in the MediaWiki class
Chad Horohoe [Sun, 22 May 2011 18:05:17 +0000 (18:05 +0000)]
$wgArticle ain't needed here either ;) (followup r88588)
Chad Horohoe [Sun, 22 May 2011 17:59:47 +0000 (17:59 +0000)]
$wgArticle is deprecated! Possible removal in 1.20 or 1.21!
* Encapsulate index.php in wfIndexMain() (similar to r77873)
* Kill $wgArticle check in Exception, not necessary anymore
* Kill $wgArticle in Setup, also not necessary
* Add angry note about $wgArticle to rebuildFileCache.
* Remove note about $wgArticle in Parser since it's dying anyway
Chad Horohoe [Sun, 22 May 2011 17:57:29 +0000 (17:57 +0000)]
Just throw an exception, rather than calling wfDie()
Krinkle [Sun, 22 May 2011 10:40:57 +0000 (10:40 +0000)]
Adding fixme note for bug 29088.
Alexandre Emsenhuber [Sun, 22 May 2011 08:41:24 +0000 (08:41 +0000)]
Simplify a bit message existence checks, and also check existence of grouppage-* messages in content language
Krinkle [Sun, 22 May 2011 08:33:34 +0000 (08:33 +0000)]
Highlighting breaking change
Alexandre Emsenhuber [Sun, 22 May 2011 08:24:07 +0000 (08:24 +0000)]
Use wfMessage() so that we can check message existence in content language instead of user language
Krinkle [Sat, 21 May 2011 23:41:41 +0000 (23:41 +0000)]
Follow-up r88554: Passing null for now, fixed php error about missing arguments.
Chad Horohoe [Sat, 21 May 2011 23:22:47 +0000 (23:22 +0000)]
Report importDump to subclass Maintenance
Krinkle [Sat, 21 May 2011 23:14:53 +0000 (23:14 +0000)]
Passing token paremeter in mw.action.watch.ajax since this is required as of r88522.
Follow-up: r88511, r88522, r88527, r88553
Krinkle [Sat, 21 May 2011 22:52:32 +0000 (22:52 +0000)]
Adding user.tokens module and loading by default. (ResourceLoaderUserTokensModule Class)
Krinkle [Sat, 21 May 2011 21:05:55 +0000 (21:05 +0000)]
Changing float to text-align for conveniencelinks and editreasons links. Since headings have overflow:hidden this is causing the border to stop when this block is touched (atleast in Chrome/Safari), since headings don't clear float. This doesn't have to be a float from what I can see and is better done as text-align so that any later elements on the page will not be affected by the page flow.
Remove the line from Vector's main.css since it was already in shared.css
Niklas Laxström [Sat, 21 May 2011 20:39:31 +0000 (20:39 +0000)]
Quick unbreak r88495: initialising the variable caused it not to be filled with messages
Raimond Spekking [Sat, 21 May 2011 20:30:39 +0000 (20:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-21 20:20:00 UTC)
Krinkle [Sat, 21 May 2011 20:06:58 +0000 (20:06 +0000)]
Putting debughtml after visualClear in Vector skin. Messed up Special:UserLogin (debug starts to the right of the form. Doesn't affect other skins.
Sam Reed [Sat, 21 May 2011 20:06:57 +0000 (20:06 +0000)]
More documentation updates and additions
Getting bored of this tonight now I think...
Sam Reed [Sat, 21 May 2011 19:55:05 +0000 (19:55 +0000)]
Lots more documentation lines to MagicWord
Sam Reed [Sat, 21 May 2011 19:54:24 +0000 (19:54 +0000)]
More documentation tweaks and updates
Krinkle [Sat, 21 May 2011 19:46:32 +0000 (19:46 +0000)]
Follow-up r88527: Fix array item name
Sam Reed [Sat, 21 May 2011 19:36:03 +0000 (19:36 +0000)]
More comment updates, addition of some braces also
Sam Reed [Sat, 21 May 2011 19:35:16 +0000 (19:35 +0000)]
Fix function level comments that start with /* not /**
Sam Reed [Sat, 21 May 2011 19:22:01 +0000 (19:22 +0000)]
More documentation
Addition of spaces according to our coding style guidelines
Sam Reed [Sat, 21 May 2011 19:07:24 +0000 (19:07 +0000)]
More adding, updating and tweaking of documentation
Krinkle [Sat, 21 May 2011 18:33:48 +0000 (18:33 +0000)]
Fixing mediawiki.action.watch.ajax
* Adding error capturing in case there is an error (either in the API or with the request itself). Right now if it fails it just keeps reading "Watching..." and no error is displayed.
This lack became visible when r88522 changed ApiWatch to require a token and POST.
* Added message 'watcherrortext'.
* Moved messages-array in Resources.php form legacy.ajax to action.watch.ajax (looks like this was forgotten in r78147)
* Switched it to make a POST request in preparation of making it work with the changed API backend as of r88522.
Alexandre Emsenhuber [Sat, 21 May 2011 18:32:18 +0000 (18:32 +0000)]
* (bug 29047) Follow-up r86508, update RELEASE-NOTES entry
Sam Reed [Sat, 21 May 2011 17:45:20 +0000 (17:45 +0000)]
Fixup/add documentation
Remove trailing whitespace
Chad Horohoe [Sat, 21 May 2011 17:20:12 +0000 (17:20 +0000)]
wfDeprecated() plus doc update
Sam Reed [Sat, 21 May 2011 16:38:40 +0000 (16:38 +0000)]
* (bug 29070) Add token to action=watch
Krinkle [Sat, 21 May 2011 12:27:24 +0000 (12:27 +0000)]
Follow-up r88513: /me blames Chrome for ignoring trailing comma's in object notation
Krinkle [Sat, 21 May 2011 11:26:27 +0000 (11:26 +0000)]
Adding mw.util.wikiScript + small fix in mediawiki.action.watch.ajax.js
* Moving wiki* functions together in mediawiki.util.js
* Adding Adding mw.util.wikiScript (like wfScript() in GlobalFunctions.php)
* Adding test suite for it
* Example to use it in mediawiki.action.watch.ajax.js
* (bug 29071) mediawiki.action.watch.ajax.js doesn't use uselang
Krinkle [Sat, 21 May 2011 11:06:52 +0000 (11:06 +0000)]
Removing wgAjaxWatch javascript global object.
* Not in use anywhere in /trunk: http://toolserver.org/~krinkle/wikimedia-svn-search/view.php?id=199&hash=
b56d9bd81e14ebca5e02ce7cbc19c2b6#F5 (never has been from what I can remember)
* Wrapping in an IIFE instead with local variables.
* Removed unused "supported" variable (it was declared and then checked to see if it's false), jQuery takes care of this in $.ajax (through $.getJSON etc.)
Antoine Musso [Sat, 21 May 2011 09:27:17 +0000 (09:27 +0000)]
qunit: add some tests for getActionFrom / getTitleFrom
fu r88276
Antoine Musso [Sat, 21 May 2011 09:16:59 +0000 (09:16 +0000)]
Fix the mw.loader when running test with a file:// URL
When running the tests using a local url, the href will include index.html
which was not stripped by the regular expression. This patch capture path
tokens which are not followed by 'index.html' (regexp lookahead).
Let us run tests using file://path/tests/qunit/index.html
Brian Wolff [Sat, 21 May 2011 03:41:16 +0000 (03:41 +0000)]
(bug 29031) When translating block log entries, indefinite, infinite, and
infinity are now considered the same.
Before it just looked at the translations of the options for the drop down on
special:block, now it still does that, but if that fails, and the string
is infinite/indefinite/infinity, it will also check for the synonyms.
Mark A. Hershberger [Sat, 21 May 2011 00:15:14 +0000 (00:15 +0000)]
r88502 tabs, not spaces.
Mark A. Hershberger [Sat, 21 May 2011 00:02:00 +0000 (00:02 +0000)]
Trial commit to fix bug #29043: “The 'Contents box' in the "Printable version" rendering is stupid”
Other people should try my patch and see if they agree that printing the
contents box on paper is stupid. Just commenting on the bug with your
opinion would be helpful.
Mark A. Hershberger [Fri, 20 May 2011 23:36:26 +0000 (23:36 +0000)]
Patch for Bug #29040, “Web installer fails to show help boxes”
fix from William Demchick
Mark A. Hershberger [Fri, 20 May 2011 22:27:05 +0000 (22:27 +0000)]
Followup r88118. Fix Bug 28979 — “remove some CSS for abbr and acronym
tags”
Add missing fix for monobook.
Chad Horohoe [Fri, 20 May 2011 22:08:04 +0000 (22:08 +0000)]
Cleanup to extension directory checks. Saves a check for something silly like /extensions/README/README.php
Sam Reed [Fri, 20 May 2011 22:03:10 +0000 (22:03 +0000)]
Whitespace
Documentation
Other related stuffs
Sam Reed [Fri, 20 May 2011 22:01:50 +0000 (22:01 +0000)]
* (bug 29063) When viewing list=recentchanges&rcprop=loginfo for an unblock entry, get undefined index
Unblocks have no params, so skip adding info
Sam Reed [Fri, 20 May 2011 21:47:38 +0000 (21:47 +0000)]
* (bug 20699) API watchlist should list log-events
Also add "loginfo" from recentchanges/logevents
Platonides [Fri, 20 May 2011 21:42:41 +0000 (21:42 +0000)]
Do not block the installer (through an unhandled exception) when we can't connect to ourself.
Sam Reed [Fri, 20 May 2011 21:30:35 +0000 (21:30 +0000)]
Similarise queries to that of SpecialWatchlist
Raimond Spekking [Fri, 20 May 2011 20:22:23 +0000 (20:22 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-20 20:10:00 UTC)
Max Semenik [Fri, 20 May 2011 20:14:51 +0000 (20:14 +0000)]
Tweak message from r88475
Siebrand Mazeland [Fri, 20 May 2011 19:31:29 +0000 (19:31 +0000)]
Tweak 'config-mysql-myisam-dep' (added in r88475).
Sam Reed [Fri, 20 May 2011 19:31:19 +0000 (19:31 +0000)]
Add spacing, fix bracing
Update some skin calls to wgUser to getSkin() on SpecialPage
Mark A. Hershberger [Fri, 20 May 2011 18:26:59 +0000 (18:26 +0000)]
Patch for Bug #28669, “Scream bloody murder when user chooses MyISAM and InnoDB is available”
From William Demchick
Mark A. Hershberger [Fri, 20 May 2011 18:20:16 +0000 (18:20 +0000)]
w/s cleanup
Platonides [Fri, 20 May 2011 18:01:17 +0000 (18:01 +0000)]
Even it shouldn't happen, let's remove the var_dump() from the code.
Follow up to r87804
Sam Reed [Fri, 20 May 2011 17:38:05 +0000 (17:38 +0000)]
While looking at bug 26990 on TW api, it was noticed with a load of NS's they don't word wrap
So make them wordwrap like the rest of the text
Sam Reed [Fri, 20 May 2011 17:19:06 +0000 (17:19 +0000)]
* (bug 28578) API's parse module should not silently override invalid title inputs
Krinkle [Fri, 20 May 2011 17:03:44 +0000 (17:03 +0000)]
adding overflow:hidden; to .mw.infobox in shared.css. During the installation the orange box is having it's border messing through the sidebar, adding overfow:hidden solves this.
Alexandre Emsenhuber [Fri, 20 May 2011 10:55:34 +0000 (10:55 +0000)]
Groupped array manipulation functions at the top of GlobalFunctions.php
Jure Kajzer [Fri, 20 May 2011 10:18:39 +0000 (10:18 +0000)]
* added Oracle to compatibility list
Brian Wolff [Fri, 20 May 2011 04:51:59 +0000 (04:51 +0000)]
(bug 29055) Make don't send email on minor edits preference apply to
changes to talk page in addition to watchlist edits.
Sam Reed [Thu, 19 May 2011 21:43:58 +0000 (21:43 +0000)]
Per NikeRabbit on r88174, allow capitals in the regex
Krinkle [Thu, 19 May 2011 21:35:32 +0000 (21:35 +0000)]
QUnit reorganization
* Moved QUnit directory from /resources/test/ to /tests/qunit/.
* Includes an .htaccess file in /tests/qunit/ to allow reading this from the browser (since /tests/.htaccess disallows this by default, as it should)
* Deleted "/unit/main.css" which wasn't used for anything (was an idea I had but redundant now)
* Renamed /qunit/unit/ to /qunit/suites/
* Re-organized structure within /suites/ to match that of MediaWiki's. (ie. /resources/jquery, /resources/mediawiki.util etc.)
This will make it easier to write a "check if all JS have a test suite" thingy.
* Added a few "Clean up" sections in the test suites to remove added elements (namely added portlet links)
Raimond Spekking [Thu, 19 May 2011 21:27:39 +0000 (21:27 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-19 20:54:00 UTC)
Sam Reed [Thu, 19 May 2011 21:13:03 +0000 (21:13 +0000)]
Fix 2 things from CR in r88047, and one not noticed
Chad Horohoe [Thu, 19 May 2011 19:56:26 +0000 (19:56 +0000)]
Revert r88399 (delete fuzz-tester). Apparently people use it ;-)
Roan Kattouw [Thu, 19 May 2011 19:48:50 +0000 (19:48 +0000)]
(bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is added to the textarea on the edit form. Patch by Erwin Dokter
Rotem Liss [Thu, 19 May 2011 19:03:24 +0000 (19:03 +0000)]
Localization update for he.
Antoine Musso [Thu, 19 May 2011 17:51:16 +0000 (17:51 +0000)]
Single messages can be passed as strings to Api::dieUsageMsg()
Since r88045
Alexandre Emsenhuber [Thu, 19 May 2011 17:31:32 +0000 (17:31 +0000)]
Correct case in function call: wfGetDb() -> wfGetDB()
Antoine Musso [Thu, 19 May 2011 17:23:35 +0000 (17:23 +0000)]
wgIniGetBool -> wfIniGetBool (typo, fu 88391)
Robin Pepermans [Thu, 19 May 2011 17:09:04 +0000 (17:09 +0000)]
Add release note for fixing bug 4330 (r88385)
Sam Reed [Thu, 19 May 2011 00:27:57 +0000 (00:27 +0000)]
Unmaintained and unused
Bye Bye
Sam Reed [Thu, 19 May 2011 00:15:16 +0000 (00:15 +0000)]
Fix somewhat duplicated class names in fuzz-tester.php
Sam Reed [Thu, 19 May 2011 00:03:31 +0000 (00:03 +0000)]
Add/remove/tweak method documentation
Krinkle [Wed, 18 May 2011 22:10:32 +0000 (22:10 +0000)]
* Remove commented-out debug call (FU r88143)
* Update comment to reflect changes to function (FU r87208)
Antoine Musso [Wed, 18 May 2011 20:33:47 +0000 (20:33 +0000)]
use string as callback when possible (since PHP 5.2.3)