Raimond Spekking [Sun, 4 Sep 2011 19:01:32 +0000 (19:01 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Krinkle [Sun, 4 Sep 2011 17:04:09 +0000 (17:04 +0000)]
Add local generator function to account for revert of r93063 in r96236.
Krinkle [Sun, 4 Sep 2011 16:50:42 +0000 (16:50 +0000)]
Revert r93063 per r93063 CR
Robin Pepermans [Sun, 4 Sep 2011 16:09:58 +0000 (16:09 +0000)]
Mark $mDiffLang protected, and rename function to setTextLanguage per Nikerabbit on r92956
Robin Pepermans [Sun, 4 Sep 2011 15:30:27 +0000 (15:30 +0000)]
Add zh-min-nan, zh-yue, zh-classical to dummy language codes, and mention the "redirect destination" or purpose of each code.
Robin Pepermans [Sun, 4 Sep 2011 14:07:51 +0000 (14:07 +0000)]
Followup r87677 / r87676: add 'bh' to dummy language codes (and also, Bihari is not a macrolanguage but a group of languages, per ISO 639-3 terminology)
Robin Pepermans [Sun, 4 Sep 2011 13:56:11 +0000 (13:56 +0000)]
Explain what $wgDummyLanguageCodes does, and remove 'iu' from it as it should be selectable on the installer (it has a LanguageConverter so it should be possible to use that).
Robin Pepermans [Sun, 4 Sep 2011 13:22:16 +0000 (13:22 +0000)]
Add $rtl = true. It inherits this from the fallback 'ur' but it's better to mark it here as well.
Robin Pepermans [Sun, 4 Sep 2011 13:20:03 +0000 (13:20 +0000)]
Fix r94841: remove from 1.19 release notes, and update name in 1.18 release notes per r94831
Daniel Friesen [Sun, 4 Sep 2011 12:38:04 +0000 (12:38 +0000)]
Followup r87340: Post-hook swap bodytext into a new bodycontent key and append printfooter and debughtml to bodytext so that we get the same behaviour as before for skins, the advantage of letting extensions modify them separately, and let skins opt-in to the ability to display these separately.
Rotem Liss [Sun, 4 Sep 2011 07:08:13 +0000 (07:08 +0000)]
Localization update for he.
Sam Reed [Sat, 3 Sep 2011 22:50:44 +0000 (22:50 +0000)]
Set a HTTP 301 header in redirect.php
Upstream wikia change
Alexandre Emsenhuber [Sat, 3 Sep 2011 20:51:17 +0000 (20:51 +0000)]
Use local context instead of global variables
Max Semenik [Sat, 3 Sep 2011 20:14:17 +0000 (20:14 +0000)]
rv r89483 per CR
Aaron Schulz [Sat, 3 Sep 2011 19:21:31 +0000 (19:21 +0000)]
Fixed rightslogentry-autopromote qqq entry
Siebrand Mazeland [Sat, 3 Sep 2011 14:53:15 +0000 (14:53 +0000)]
(bug 30455) Use "undisclosed" instead of "unspecified" in the gender options.
Daniel Friesen [Sat, 3 Sep 2011 14:36:58 +0000 (14:36 +0000)]
Expand r96170's support for space separated attributes with support for boolean keys such as array( 'class' => array( 'selected' => true ) ) to match our array( 'checked' => false ) support.
As per discussion with Krinkle make sure that in array( 'foo', 'foo' => false, 'foo' ) the 'foo' key is authoritive.
Raimond Spekking [Sat, 3 Sep 2011 13:52:53 +0000 (13:52 +0000)]
Localisation updates for core and extension messages from translatewiki.net
ParserFunctions skipped today.
Daniel Friesen [Sat, 3 Sep 2011 13:46:56 +0000 (13:46 +0000)]
Crack down on arguments inside the Linker that call themselves $text but in reality are unescaped html.
Philip Tzou [Sat, 3 Sep 2011 13:41:17 +0000 (13:41 +0000)]
Update zh conversion tables, remove unused/incorrect rules.
Daniel Friesen [Sat, 3 Sep 2011 13:17:55 +0000 (13:17 +0000)]
Use wfExpandUrl+PROTO_CANONICAL inside of getCanonicalURL instead of just prepending the url so this does not break on interwiki and action=render
Philip Tzou [Sat, 3 Sep 2011 13:12:42 +0000 (13:12 +0000)]
Update Chinese conversion tables.
Siebrand Mazeland [Sat, 3 Sep 2011 11:34:55 +0000 (11:34 +0000)]
Update whitespace and a comment.
Siebrand Mazeland [Sat, 3 Sep 2011 11:31:50 +0000 (11:31 +0000)]
Add comment on why the list is not localised.
Max Semenik [Sat, 3 Sep 2011 10:23:47 +0000 (10:23 +0000)]
Fix r87731: update site stats only when explicitly asked to do so
Krinkle [Sat, 3 Sep 2011 04:02:16 +0000 (04:02 +0000)]
RELEASE-NOTES for r96170
Krinkle [Sat, 3 Sep 2011 03:55:23 +0000 (03:55 +0000)]
Html.php: The "future"[1] is here. Add features for space-separated value attributes of html elements.
* Has been suggested since August 2009 in r54767 (doc-comment from rawElement/element function)
* Implements normalization for these attributes (removal of duplicates and redundant space)
* Adds support for arrays (instead of just string) for these attributes.
* String are still supported, and are converted to arrays to get the same normalization.
* Wrote unit tests (which pass locally: $ php phpunit.php includes/HtmlTest.php)
* Not trigger for the media-attribute. Reason: Although some people think it's space-separated, it's actually comma-separated. Treating them as space separated might even destroy the value. [2] [3]. Neither the html4 or html5 spec documents media-attribute as space-separated, and as of HTML5/CSS3 the media attribute may contain "media queries".
[1] "In the future, other HTML-specific features might be added, like allowing arrays for the values of attributes like class= and media=" in r54767 by Simetrical.
[2] http://www.w3.org/TR/1999/REC-html401-
19991224/types.html#h-6.13
[3] http://dev.w3.org/csswg/css3-mediaqueries/#background
Implementation note: I choose to have a single list of attributes that trigger this feature. Some of these attributes only support multiple values and/or are documented as space-separated as of html5 (such as accesskey), but since those attributes in general have existed in html4 as well (just different w3c spec), they are not stripped if wgHtml5 is not true. So if this feature would (eg. for accesskey) would only be done if wgHtml5=true, then people could get output like <a accesskey=Array /> depending on a configuration variable, which will get messy and make developers' life hard.
Krinkle [Sat, 3 Sep 2011 01:42:43 +0000 (01:42 +0000)]
Whitespacing in HtmlTest.php
Krinkle [Sat, 3 Sep 2011 00:35:08 +0000 (00:35 +0000)]
Html.php: Move html5-validation blacklist check to *AFTER* the check the might continue (and skip this loop entirely) if we're not in HTML5 with an html5-only attribute.
* Performance :)
Aaron Schulz [Fri, 2 Sep 2011 23:14:08 +0000 (23:14 +0000)]
Reverted parser bump from r84601 per CR
Krinkle [Fri, 2 Sep 2011 21:19:16 +0000 (21:19 +0000)]
Whitespace indention fix for r96150 (seperate to make review easier)
Krinkle [Fri, 2 Sep 2011 21:17:54 +0000 (21:17 +0000)]
Separate execution from definition (mediawiki.util.init)
* bug 30710
Also makes it easier to do unit testing, this way the module can be included and the test can initialize it if and when it wants to.
Mark A. Hershberger [Fri, 2 Sep 2011 20:00:44 +0000 (20:00 +0000)]
w/s fix ups
Roan Kattouw [Fri, 2 Sep 2011 18:28:28 +0000 (18:28 +0000)]
Merge r96132 from 1.17wmf1: support protocol-relative URLs in dumpInterwiki.php
Alexandre Emsenhuber [Fri, 2 Sep 2011 16:59:01 +0000 (16:59 +0000)]
Use local context instead of global variables
Raimond Spekking [Fri, 2 Sep 2011 15:48:13 +0000 (15:48 +0000)]
Localisation updates for core and extension messages from translatewiki.net
ParserFunctions skipped today.
Krinkle [Fri, 2 Sep 2011 14:52:41 +0000 (14:52 +0000)]
Follow-up r95998: Update the test title as well. r95998 changed 'parse' to 'plain' in the test itself.
Chad Horohoe [Fri, 2 Sep 2011 13:32:35 +0000 (13:32 +0000)]
Minor tweak to r95521: remove outdated comment about $wgArticle
Siebrand Mazeland [Fri, 2 Sep 2011 13:16:29 +0000 (13:16 +0000)]
Revert r96094. That space is already in colon-separator. Should have know and checked earlier.
Siebrand Mazeland [Fri, 2 Sep 2011 13:14:33 +0000 (13:14 +0000)]
Add a word separator after the colon separator.
Sam Reed [Fri, 2 Sep 2011 11:04:57 +0000 (11:04 +0000)]
Revert r95496, r95506, r95524, r95553, r96005
Jure Kajzer [Fri, 2 Sep 2011 10:42:08 +0000 (10:42 +0000)]
* resolved some issues with sequences and deleting of rows on referenced tables
Jure Kajzer [Fri, 2 Sep 2011 06:58:08 +0000 (06:58 +0000)]
* added redundand join condition for index usage as per comment on CR r88008
John Du Hart [Thu, 1 Sep 2011 21:32:55 +0000 (21:32 +0000)]
Revert r95930, r95931 and r95939. Poorly commited patch
Mark A. Hershberger [Thu, 1 Sep 2011 21:17:57 +0000 (21:17 +0000)]
r93633 - remove duplicated tests
Raimond Spekking [Thu, 1 Sep 2011 20:58:45 +0000 (20:58 +0000)]
Localisation updates for core and extension messages from translatewiki.net
ParserFunctions skipped today.
Krinkle [Thu, 1 Sep 2011 17:25:33 +0000 (17:25 +0000)]
Optimize ucFirst by using charAt
Krinkle [Thu, 1 Sep 2011 17:23:13 +0000 (17:23 +0000)]
Pass OutputPage instance to MakeGlobalVariablesScript. Allows extensions to getTitle()->equals( .. ) and add config vars depending on title
Sam Reed [Thu, 1 Sep 2011 16:01:43 +0000 (16:01 +0000)]
Followup r95496, remove duplicate $fields definition
Sam Reed [Thu, 1 Sep 2011 15:58:43 +0000 (15:58 +0000)]
Followup r95396
Fix seemingly merge artefacts to kill $wgWikiID and the undefined $prefix
Krinkle [Thu, 1 Sep 2011 15:28:28 +0000 (15:28 +0000)]
Fix bad escaping in mw.message for inexistent messages (bug 30684)
mw.message('some-inexistent-message').escaped() should be <some-inexistent-message> instead of <some-inexistent-message>.
Krinkle [Thu, 1 Sep 2011 15:22:37 +0000 (15:22 +0000)]
Fix r95997: Update unit test
Krinkle [Thu, 1 Sep 2011 15:20:10 +0000 (15:20 +0000)]
Change default value for format property of mw.message object from 'parse' to 'plain'. This doesn't make a diffferent right now since there there is no format by the name of 'parse' and it uses 'plain' as fallback. In case ppl read the format property it should atleast be valid by default
Siebrand Mazeland [Thu, 1 Sep 2011 15:00:42 +0000 (15:00 +0000)]
Add some full message keys as they are used here.
Siebrand Mazeland [Thu, 1 Sep 2011 14:40:56 +0000 (14:40 +0000)]
Add some full message keys as they originate from these locations.
Chad Horohoe [Thu, 1 Sep 2011 14:33:57 +0000 (14:33 +0000)]
A d d s p a c e s
Chad Horohoe [Thu, 1 Sep 2011 14:09:50 +0000 (14:09 +0000)]
Shut up build script about not having LocalSettings. You dont actually need it for this
Siebrand Mazeland [Thu, 1 Sep 2011 13:59:38 +0000 (13:59 +0000)]
w/s
Jure Kajzer [Thu, 1 Sep 2011 13:55:14 +0000 (13:55 +0000)]
* updated oracle schema to current
* updater tested, installer untested(but should work :) )
Roan Kattouw [Thu, 1 Sep 2011 13:07:27 +0000 (13:07 +0000)]
Remove type hint that broke r95975
Roan Kattouw [Thu, 1 Sep 2011 13:02:20 +0000 (13:02 +0000)]
Add ResourceLoaderContext::newDummyContext() function
Krinkle [Thu, 1 Sep 2011 10:38:19 +0000 (10:38 +0000)]
Split up TablePager css class, introduce .mw-datatable
* All tables generated with the TablePager PHP class use this css class for their styling. This visual look has since inspired several templates and other tables on the wikis and in extensions to present data with row-highlighting functionality. To make it easier to do that, separating the generic styling into a new css class "mw-datatable" and use it in the TablePager PHP class.
* Kept pager-specific "min-width" rule under .TablePager
* Other CSS classes for TablePager are also untouched
* Changed table-heading color slightly to not be exactly the same as the hover-style (design/usability)
Daniel Friesen [Thu, 1 Sep 2011 10:35:12 +0000 (10:35 +0000)]
Followup r95957, add =null to Skin::outputPage too
Daniel Friesen [Thu, 1 Sep 2011 10:24:35 +0000 (10:24 +0000)]
Kill off use of $wgRequest, $wgUser, and $wgLang in SkinTemplate, stop using $out args on our protected methods, deprecate the $out on outputPage and for now make it temporarily override the context of the skin (or should we throw a fatal if someone passes an OutputPage that doesn't match context)
Roan Kattouw [Thu, 1 Sep 2011 09:23:20 +0000 (09:23 +0000)]
In Title::resetArticleID(), clear all entries in the LinkCache instead of just the ones for bad title stuff. resetArticleID() seemed to assume it was only called for titles that come into existance, but that's not correct: it's also called for titles that go out of existence, and titles whose redirect status changes. Noticed this because $nt->getRedirect()'s return value was wrong in my TitleMoveComplete hook.
Daniel Friesen [Thu, 1 Sep 2011 09:10:01 +0000 (09:10 +0000)]
Revert r95830's change to external and interwiki link colors.
Daniel Friesen [Thu, 1 Sep 2011 08:34:29 +0000 (08:34 +0000)]
Followup r95947, undo accidental revert of r95946.
Roan Kattouw [Thu, 1 Sep 2011 08:21:50 +0000 (08:21 +0000)]
Fix indentation in r95396
Daniel Friesen [Thu, 1 Sep 2011 07:49:37 +0000 (07:49 +0000)]
Add Title::isSubpageOf to use when you want to make tests like $title->isSubpageOf( $someUserpage );
Raimond Spekking [Thu, 1 Sep 2011 06:18:15 +0000 (06:18 +0000)]
f'up r95930: register new message key to maintenance script
John Du Hart [Thu, 1 Sep 2011 04:26:21 +0000 (04:26 +0000)]
Follow-up r95930, consolidate into one message per CR
John Du Hart [Thu, 1 Sep 2011 03:56:33 +0000 (03:56 +0000)]
(bug 5865) Warning on editing other user's userpage
John Du Hart [Wed, 31 Aug 2011 23:15:16 +0000 (23:15 +0000)]
(bug 4381) Magic quotes cleaning is not comprehensive, key strings not unescaped
Raimond Spekking [Wed, 31 Aug 2011 20:28:36 +0000 (20:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Aaron Schulz [Wed, 31 Aug 2011 18:42:15 +0000 (18:42 +0000)]
Removed AjaxFunctions from list (file was deleted)
Roan Kattouw [Wed, 31 Aug 2011 18:08:13 +0000 (18:08 +0000)]
Followup r95002: unbreak getTokenUrl() by using a simpler hack that doesn't involve $wgArticlePath
Krinkle [Wed, 31 Aug 2011 15:18:58 +0000 (15:18 +0000)]
Clean up and conventions in shared.css
* Put rules and selectors on their own line consistently. Space is not an issue and is stripped automatically. Readability is what we need. Selectors line up nicely underneath achother.
* Expanded shorthand . notation to 0. where applicable
* Remove trailing spaces
* Fix double spaces to single spaces, and expand comment sections if needed (ie. one * per line)
* Put @noflip's consistently on the line before the rule itself (just like we do for @embed). If it should apply to all rules in a selector, then @noflip must be before the { somewhere. There is no difference between @noflip before the rule on the same line or the line above (eg. /* noflip */ foo: bar; or /* noflip */ \n foo: bar;)
Sam Reed [Wed, 31 Aug 2011 15:00:23 +0000 (15:00 +0000)]
Followup r95396
Swap $wgGlobalDB for $wgGlobalDatabase
Sam Reed [Wed, 31 Aug 2011 14:47:08 +0000 (14:47 +0000)]
Tidy up w/c
Remove trailing whitespace, add some documentation
Krinkle [Wed, 31 Aug 2011 14:37:37 +0000 (14:37 +0000)]
Fix Uncaught TypeError: Cannot call method 'substr' of undefined
* When changing the name of a category and saving it, this error is thrown from $.ucFirst. Although the script does check for it to be a string, what happens between that and ucFirst is broken. It should always set 'category' of splitresult[0], not just if there is a [1] (=sortkey). Otherwise, if there is no sortkey, 'category' is undefined.
* Also updated outdated comment saying that variable sortkey contains wikitext between "[[Category:Foo" and "]]" (which implies it includes the pipe, which is no longer true)
Follows-up r93351.
Roan Kattouw [Wed, 31 Aug 2011 14:30:18 +0000 (14:30 +0000)]
Clarify parameter description added in r95714
Roan Kattouw [Wed, 31 Aug 2011 12:18:02 +0000 (12:18 +0000)]
Followup r95753 per CR: prevent extensions from making isMovable() return true for interwiki titles and immovable namespaces
Niklas Laxström [Wed, 31 Aug 2011 10:37:17 +0000 (10:37 +0000)]
Argh, fixing my fix in r95834
Daniel Friesen [Wed, 31 Aug 2011 07:03:52 +0000 (07:03 +0000)]
Followup r95837; Return the list-style-image for ul{} back to vector since I ended up deciding not to give the common stylesheet one of the two bullet points.
Daniel Friesen [Wed, 31 Aug 2011 06:59:15 +0000 (06:59 +0000)]
Remove the basic styles that vector coppied from monobook from both monobook and vector and relocate them to a series of css stylesheets which 3rd party skins can include.
Havent touched Modern yet. External link icons are too complex to deal with this round due to vector and monobook using different icons.
Niklas Laxström [Wed, 31 Aug 2011 05:43:53 +0000 (05:43 +0000)]
Followup r95800 - the page is ListFiles
Daniel Friesen [Wed, 31 Aug 2011 04:19:14 +0000 (04:19 +0000)]
Give Vector a lighter external/interwiki color since monobook->vector changed the basic internal link color lighter making internal and interwiki links almost indistinguishable.
Chad Horohoe [Tue, 30 Aug 2011 20:55:50 +0000 (20:55 +0000)]
Another stupid newline, forgot to press save
Chad Horohoe [Tue, 30 Aug 2011 20:55:29 +0000 (20:55 +0000)]
Fixes for r94158: newlines and minor debugging typo (more silly fixmes)
Chad Horohoe [Tue, 30 Aug 2011 20:53:26 +0000 (20:53 +0000)]
Prefix extensions with $IP. Followup r94107 (grumble grumble about people fixmeing rather than doing the 4 character fix themselves...)
Chad Horohoe [Tue, 30 Aug 2011 20:45:36 +0000 (20:45 +0000)]
Remove wfDie() that Ariel keeps trying to resurrect :)
Chad Horohoe [Tue, 30 Aug 2011 20:44:33 +0000 (20:44 +0000)]
Remove evil @
Raimond Spekking [Tue, 30 Aug 2011 19:49:07 +0000 (19:49 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Alexandre Emsenhuber [Tue, 30 Aug 2011 18:37:19 +0000 (18:37 +0000)]
* Use local context instead of global variables
* Call Linker methods statically
Robin Pepermans [Tue, 30 Aug 2011 18:13:20 +0000 (18:13 +0000)]
Link content pages and uploaded files to AllPages and FileList respectively
Niklas Laxström [Tue, 30 Aug 2011 13:59:54 +0000 (13:59 +0000)]
Amend r95775 per Siebrand's suggestion
Niklas Laxström [Tue, 30 Aug 2011 13:25:16 +0000 (13:25 +0000)]
Handle bad input gracefully in getFallback(s)For
Niklas Laxström [Tue, 30 Aug 2011 13:24:27 +0000 (13:24 +0000)]
New hook to replace live hack on translatewiki.net. Allows reordering namespaces
Alexandre Emsenhuber [Tue, 30 Aug 2011 12:24:12 +0000 (12:24 +0000)]
Removed unused global declaration of $wgMessageCache (!)
Roan Kattouw [Tue, 30 Aug 2011 11:39:43 +0000 (11:39 +0000)]
Fix a message key typo in r41961 (!!), which didn't matter before because the relevant code (and the message) wasn't reachable.