lhc/web/wiklou.git
12 years agoSmall MonoBook cleanup:
Daniel Friesen [Tue, 6 Sep 2011 15:27:42 +0000 (15:27 +0000)]
Small MonoBook cleanup:
* Eliminate the unnecessary ->skin and $skin, $this->skin is only used in one spot and we have getSkin()
* Linker::tooltipAndAccesskeyAttribs isn't &, don't + it to an empty array(), just use a short inline array instead of this var
* Elimiate all this unnecessary code in cactions and just use makeListItem. It's shorter, outputs everything this code does, AND it outputs rel="archive" on history which was missing from MonoBook.

12 years agoFix Undefined index: showSizeDiff in /www/w/includes/specials/SpecialContributions...
Sam Reed [Tue, 6 Sep 2011 15:23:26 +0000 (15:23 +0000)]
Fix Undefined index: showSizeDiff in /www/w/includes/specials/SpecialContributions.php on line 129

Followup r96306

12 years agoEven on Windows, some people have diff ;)
Max Semenik [Tue, 6 Sep 2011 15:20:07 +0000 (15:20 +0000)]
Even on Windows, some people have diff ;)

12 years agoMerge ParserTestStaticParserHook into ParserTestParserHook since they practically...
Chad Horohoe [Tue, 6 Sep 2011 14:46:58 +0000 (14:46 +0000)]
Merge ParserTestStaticParserHook into ParserTestParserHook since they practically do the same thing.

12 years agoAdd new messages of r96311 to messages.inc
Robin Pepermans [Tue, 6 Sep 2011 14:08:13 +0000 (14:08 +0000)]
Add new messages of r96311 to messages.inc

12 years agoFix wording of r96312 and a few other release notes
Robin Pepermans [Tue, 6 Sep 2011 14:04:30 +0000 (14:04 +0000)]
Fix wording of r96312 and a few other release notes

12 years agoUse $this->mAttribs['rc_old_len'] and $this->mAttribs['rc_new_len'] instead of $this...
Alexandre Emsenhuber [Tue, 6 Sep 2011 13:17:22 +0000 (13:17 +0000)]
Use $this->mAttribs['rc_old_len'] and $this->mAttribs['rc_new_len'] instead of $this->mExtra['oldSize'] and $this->mExtra['newSize']

12 years agoCleanup to r95402, r95474: "Not using CamelCase is so 2001."
Chad Horohoe [Tue, 6 Sep 2011 12:39:47 +0000 (12:39 +0000)]
Cleanup to r95402, r95474: "Not using CamelCase is so 2001."

12 years ago* Use local context instead of global variables
Alexandre Emsenhuber [Tue, 6 Sep 2011 12:23:47 +0000 (12:23 +0000)]
* Use local context instead of global variables
* Call Linker methods statically

12 years agoGeneric class cannot really wrap around mysql method..
Niklas Laxström [Tue, 6 Sep 2011 11:14:34 +0000 (11:14 +0000)]
Generic class cannot really wrap around mysql method..

12 years agorelease notes for r96311
Robin Pepermans [Tue, 6 Sep 2011 00:04:02 +0000 (00:04 +0000)]
release notes for r96311

12 years ago(bug 23057) Importers can 'edit' or 'create' a fully-protected page by importing...
Robin Pepermans [Tue, 6 Sep 2011 00:01:06 +0000 (00:01 +0000)]
(bug 23057) Importers can 'edit' or 'create' a fully-protected page by importing a new revision into it

12 years agomediawiki.html: Attribute values may also be numbers (rather than boolean or string...
Krinkle [Mon, 5 Sep 2011 23:10:33 +0000 (23:10 +0000)]
mediawiki.html: Attribute values may also be numbers (rather than boolean or string). Just make sure that whatever is passed becomes a string (not using .toString as not everything has a toString method)
* Follows-up r96307

12 years agorelease-notes for r96307
Krinkle [Mon, 5 Sep 2011 21:53:20 +0000 (21:53 +0000)]
release-notes for r96307

12 years agomediawiki.html: mediawiki.html: Add support for numbers and booleans
Krinkle [Mon, 5 Sep 2011 21:51:04 +0000 (21:51 +0000)]
mediawiki.html: mediawiki.html: Add support for numbers and booleans
* Tests introduced in r96305 work now
* (bug 30774) - mediawiki.html: Add support for numbers and booleans
--
* Removed unneeded value-attribute in one the tests
* Changed if-else intro a switch. (to avoid calling the typeof operator multiple times and  making the code a bit more readable)

12 years agoRevert r88008 (add size difference to Special:Contributions) and its large group...
Roan Kattouw [Mon, 5 Sep 2011 21:47:28 +0000 (21:47 +0000)]
Revert r88008 (add size difference to Special:Contributions) and its large group of friends, they break Special:Contributions by joining against recentchanges and dropping any contribs that have fallen off RC. See also CR discussion at r95496, which was Sam's incomplete attempt at reverting this.

Follow-ups reverted: r88019, r88024, r88111, r88117, r88252, r96081. Left the parts of r88025 and r88026 (everything except the MessagesEn.php change) that disable the namespace filter in miser mode intact; that was a good change and not really related to the r88008 other than that it touched nearby code.

12 years agomediawiki.html: Add broken tests for numbers and booleans
Krinkle [Mon, 5 Sep 2011 21:25:48 +0000 (21:25 +0000)]
mediawiki.html: Add broken tests for numbers and booleans
* The following are broken right now:

mw.html.element( 'p', {}, 500 );
> Error: mw.html.element: Invalid type of contents
(custom error by mw.html.element)

mw.html.element( 'option', { selected: foo === bar }, 'label' );
> TypeError: Undefined method .replace

(bug 30774) - mediawiki.html: Add support for numbers and booleans

12 years agoDeleted incorrect svn:executable properties
Alexandre Emsenhuber [Mon, 5 Sep 2011 21:01:39 +0000 (21:01 +0000)]
Deleted incorrect svn:executable properties

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Mon, 5 Sep 2011 20:53:36 +0000 (20:53 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoCall Linker method statically; also changed it to linkKnown()
Alexandre Emsenhuber [Mon, 5 Sep 2011 20:48:14 +0000 (20:48 +0000)]
Call Linker method statically; also changed it to linkKnown()

12 years agoAnother thing that's been bothering me, skins shouldn't have to access $wgSitenotice...
Daniel Friesen [Mon, 5 Sep 2011 19:30:11 +0000 (19:30 +0000)]
Another thing that's been bothering me, skins shouldn't have to access $wgSitenotice directly when we have a logopath.

12 years agoDon't use $wgServer (potentially protocol-relative!) in the password reset e-mail...
Roan Kattouw [Mon, 5 Sep 2011 19:29:20 +0000 (19:29 +0000)]
Don't use $wgServer (potentially protocol-relative!) in the password reset e-mail. The documentation calls for $4 to be "the base URL of the wiki" and the code was using $wgServer . $wgScript which produces the URL to index.php , so I decided to use the URL to the Main Page instead. This avoids using globals and doesn't suffer from mixed URL structure issues on secure.wm.o

12 years agoPartially revert/fix r96295: only use Gothic script per Siebrand
Robin Pepermans [Mon, 5 Sep 2011 18:37:50 +0000 (18:37 +0000)]
Partially revert/fix r96295: only use Gothic script per Siebrand

12 years ago* Split MessagesGot file into Latin and Gothic script files; add usable messages...
Robin Pepermans [Mon, 5 Sep 2011 18:14:27 +0000 (18:14 +0000)]
* Split MessagesGot file into Latin and Gothic script files; add usable messages from gotwiki
* Add usable messages from bmwiki to MessagesBm
* Rebuilt these files

12 years agoAdd missing authors to message files that were in the past imported/copied from the...
Robin Pepermans [Mon, 5 Sep 2011 16:03:31 +0000 (16:03 +0000)]
Add missing authors to message files that were in the past imported/copied from the respective Wikipedias
Add one message to ks-arab/ks-deva from kswiki

12 years agoPass the key for the skin being created to the constructor of a skin. This is just...
Daniel Friesen [Mon, 5 Sep 2011 15:30:01 +0000 (15:30 +0000)]
Pass the key for the skin being created to the constructor of a skin. This is just something that's been bothering me for awhile, without this it's hard to create extensions that dynamically load skins and implement the skin conversion functionality in a central class.

12 years agoAdd a new RequestContext::newExtraneousContext() to create a context filled with...
Daniel Friesen [Mon, 5 Sep 2011 15:25:20 +0000 (15:25 +0000)]
Add a new RequestContext::newExtraneousContext() to create a context filled with data not derived from the current session. Also modify setLang to accept a language code.

12 years agoStylize Export.php
Roan Kattouw [Mon, 5 Sep 2011 11:23:49 +0000 (11:23 +0000)]
Stylize Export.php

12 years agoWhitespace fixes for r95272, r95604
Roan Kattouw [Mon, 5 Sep 2011 11:22:57 +0000 (11:22 +0000)]
Whitespace fixes for r95272, r95604

12 years agoFixes for r95260:
Roan Kattouw [Mon, 5 Sep 2011 11:16:09 +0000 (11:16 +0000)]
Fixes for r95260:
* Use protected instead of var
* Move documentation of closeRenameAndReopen() to parent class. Add a TODO for the other undocumented methods introduced in r95260
* Use the correct method name in the exceptions by using __METHOD__; messages were copypasted from one method to the other without changing anything. Also fix a typo ("argumnts")
* Minor coding style bit, will commit more style fixes in a minute

12 years agoFollowup r96180: remove unused global $wgCanonicalServer
Roan Kattouw [Mon, 5 Sep 2011 10:55:54 +0000 (10:55 +0000)]
Followup r96180: remove unused global $wgCanonicalServer

12 years agoFollowup r96180, I can't believe I did't notice I accidentally killed the hook name.
Daniel Friesen [Mon, 5 Sep 2011 08:31:51 +0000 (08:31 +0000)]
Followup r96180, I can't believe I did't notice I accidentally killed the hook name.
While I'm at it, add missing $variant parameters to every 'Get*URL' hook in Title.

12 years agoReverted r84357 and r90461 and fixed the bug in a better way: in an empty document...
Tim Starling [Mon, 5 Sep 2011 06:56:08 +0000 (06:56 +0000)]
Reverted r84357 and r90461 and fixed the bug in a better way: in an empty document, consider section zero to exist, and to be empty, effectively representing the whole document. This allows section zero of a blank page to be viewed and edited with no updates to EditPage.

12 years ago(bug 26470) add checkered background on files pages
Antoine Musso [Mon, 5 Sep 2011 06:28:36 +0000 (06:28 +0000)]
(bug 26470) add checkered background on files pages

12 years ago(bug 27295) Some corrections to the default main page text
Robin Pepermans [Mon, 5 Sep 2011 02:02:59 +0000 (02:02 +0000)]
(bug 27295) Some corrections to the default main page text

12 years ago(bug 30679) Some installer fields should always be LTR
Robin Pepermans [Mon, 5 Sep 2011 00:56:54 +0000 (00:56 +0000)]
(bug 30679) Some installer fields should always be LTR
Patch by Amir E. Aharoni (some whitespace fixes)

12 years agoFix r96261: don't add important if 'none', so it doesn't break underlining on hover
Robin Pepermans [Sun, 4 Sep 2011 22:05:56 +0000 (22:05 +0000)]
Fix r96261: don't add important if 'none', so it doesn't break underlining on hover

12 years ago* Mark underline css as !important. It should override other css (such as the css...
Robin Pepermans [Sun, 4 Sep 2011 21:50:02 +0000 (21:50 +0000)]
* Mark underline css as !important. It should override other css (such as the css added in r91432) if the user specifically selected that option.
* Fix css flipping: for Simple, it still depended on the content language (however, no css actually needs flipping there). For Standard/CologneBlue, I re-added flipping even though it's not needed there either. Just in case css is added that does need flipping, so it is future-proof :). Consequently, I added noflip to the existing css.
* For this flipping I added a parameter to addInlineStyle(), which I assume to be useful in other cases as well

12 years agoTrim trailing whitespace
Sam Reed [Sun, 4 Sep 2011 21:40:17 +0000 (21:40 +0000)]
Trim trailing whitespace

Add/tweak/update documentation

Simplify some boolean returns

12 years agowhoops, fix r96257
Robin Pepermans [Sun, 4 Sep 2011 21:22:51 +0000 (21:22 +0000)]
whoops, fix r96257

12 years agoCorrectly parse interface messages as such, so it doesn't get converted according...
Robin Pepermans [Sun, 4 Sep 2011 21:19:18 +0000 (21:19 +0000)]
Correctly parse interface messages as such, so it doesn't get converted according to the content language (like r94395/r94279)

12 years agoAdd documentation for r96170 and r96188.
Krinkle [Sun, 4 Sep 2011 21:18:27 +0000 (21:18 +0000)]
Add documentation for r96170 and r96188.

12 years agoFollow-up r96250: Remove messages from all core language files and populate InlineCat...
Siebrand Mazeland [Sun, 4 Sep 2011 20:38:24 +0000 (20:38 +0000)]
Follow-up r96250: Remove messages from all core language files and populate InlineCategorizer.i18n.php.

12 years agoSplit ajaxCategories away from core for now, into an extension:
Krinkle [Sun, 4 Sep 2011 19:35:22 +0000 (19:35 +0000)]
Split ajaxCategories away from core for now, into an extension:

* Move js/css/images from core into extension dir (kept svn history in tact)

* Removed from core:
** Messages
** Resource definition
** Default settings

* Recreated in extension:
** Messages with 'inlinecategorizer' prefix (instead of generic 'ajax' prefix).
** wgResourceModule definition
** Hooks for adding module to the page
** Setting wgAJAXCategoriesNamespaces kept (renamed to $wgInlineCategorizerNamespaces)

* Made minor adjustments to the messages:
** Fixed references to other messages (in /qqq) with the new message key

* Made minor adjustments to the javascript:
** Usage of mw.msg fixed to the new message keys
** Removed "@since 1.19"
** Removed "Relies on mw.user.getId" (because it didn't', and still doesn't)
** Object 'mw.ajaxCategories' -> 'mw.InlineCategorizer' (capitalized, since it's a constructor, per our conventions)
** Removed 'disableAJAXCategories' config, not needed.

Summary of justification for move out of core (again):
* Too many issues with the parsing logic (many cases still don't work yet)
* Almost untested and untestable because of mixing UI with logic code. Needs separation.
* See http://www.mediawiki.org/wiki/User:Krinkle/Extension_review/InlineCategorizer#Prequel

One day we might move it in, or if the "new parser" is ready and the "visual editor" we might not need it all together and it'd simply be a 10-20 line module in the visual editor (that, or it'd be part of the visual editor by default).

Anyway, I'm not against this module. if we can get this to an acceptable state soonish before any of the new parser / visual editor is ready, then I see no problem in bundling it with core and/or merging it into core.

12 years agoUse local context instead of global variables
Alexandre Emsenhuber [Sun, 4 Sep 2011 19:28:53 +0000 (19:28 +0000)]
Use local context instead of global variables

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Sun, 4 Sep 2011 19:01:32 +0000 (19:01 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoAdd local generator function to account for revert of r93063 in r96236.
Krinkle [Sun, 4 Sep 2011 17:04:09 +0000 (17:04 +0000)]
Add local generator function to account for revert of r93063 in r96236.

12 years agoRevert r93063 per r93063 CR
Krinkle [Sun, 4 Sep 2011 16:50:42 +0000 (16:50 +0000)]
Revert r93063 per r93063 CR

12 years agoMark $mDiffLang protected, and rename function to setTextLanguage per Nikerabbit...
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

12 years agoAdd zh-min-nan, zh-yue, zh-classical to dummy language codes, and mention the "redire...
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.

12 years agoFollowup r87677 / r87676: add 'bh' to dummy language codes (and also, Bihari is not...
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)

12 years agoExplain what $wgDummyLanguageCodes does, and remove 'iu' from it as it should be...
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).

12 years agoAdd $rtl = true. It inherits this from the fallback 'ur' but it's better to mark...
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.

12 years agoFix r94841: remove from 1.19 release notes, and update name in 1.18 release notes...
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

12 years agoFollowup r87340: Post-hook swap bodytext into a new bodycontent key and append printf...
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.

12 years agoLocalization update for he.
Rotem Liss [Sun, 4 Sep 2011 07:08:13 +0000 (07:08 +0000)]
Localization update for he.

12 years agoSet a HTTP 301 header in redirect.php
Sam Reed [Sat, 3 Sep 2011 22:50:44 +0000 (22:50 +0000)]
Set a HTTP 301 header in redirect.php

Upstream wikia change

12 years agoUse local context instead of global variables
Alexandre Emsenhuber [Sat, 3 Sep 2011 20:51:17 +0000 (20:51 +0000)]
Use local context instead of global variables

12 years agorv r89483 per CR
Max Semenik [Sat, 3 Sep 2011 20:14:17 +0000 (20:14 +0000)]
rv r89483 per CR

12 years agoFixed rightslogentry-autopromote qqq entry
Aaron Schulz [Sat, 3 Sep 2011 19:21:31 +0000 (19:21 +0000)]
Fixed rightslogentry-autopromote qqq entry

12 years ago(bug 30455) Use "undisclosed" instead of "unspecified" in the gender options.
Siebrand Mazeland [Sat, 3 Sep 2011 14:53:15 +0000 (14:53 +0000)]
(bug 30455) Use "undisclosed" instead of "unspecified" in the gender options.

12 years agoExpand r96170's support for space separated attributes with support for boolean keys...
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.

12 years agoLocalisation updates for core and extension messages from translatewiki.net
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.

12 years agoCrack down on arguments inside the Linker that call themselves $text but in reality...
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.

12 years agoUpdate zh conversion tables, remove unused/incorrect rules.
Philip Tzou [Sat, 3 Sep 2011 13:41:17 +0000 (13:41 +0000)]
Update zh conversion tables, remove unused/incorrect rules.

12 years agoUse wfExpandUrl+PROTO_CANONICAL inside of getCanonicalURL instead of just prepending...
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

12 years agoUpdate Chinese conversion tables.
Philip Tzou [Sat, 3 Sep 2011 13:12:42 +0000 (13:12 +0000)]
Update Chinese conversion tables.

12 years agoUpdate whitespace and a comment.
Siebrand Mazeland [Sat, 3 Sep 2011 11:34:55 +0000 (11:34 +0000)]
Update whitespace and a comment.

12 years agoAdd comment on why the list is not localised.
Siebrand Mazeland [Sat, 3 Sep 2011 11:31:50 +0000 (11:31 +0000)]
Add comment on why the list is not localised.

12 years agoFix r87731: update site stats only when explicitly asked to do so
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

12 years agoRELEASE-NOTES for r96170
Krinkle [Sat, 3 Sep 2011 04:02:16 +0000 (04:02 +0000)]
RELEASE-NOTES for r96170

12 years agoHtml.php: The "future"[1] is here. Add features for space-separated value attributes...
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.

12 years agoWhitespacing in HtmlTest.php
Krinkle [Sat, 3 Sep 2011 01:42:43 +0000 (01:42 +0000)]
Whitespacing in HtmlTest.php

12 years agoHtml.php: Move html5-validation blacklist check to *AFTER* the check the might contin...
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 :)

12 years agoReverted parser bump from r84601 per CR
Aaron Schulz [Fri, 2 Sep 2011 23:14:08 +0000 (23:14 +0000)]
Reverted parser bump from r84601 per CR

12 years agoWhitespace indention fix for r96150 (seperate to make review easier)
Krinkle [Fri, 2 Sep 2011 21:19:16 +0000 (21:19 +0000)]
Whitespace indention fix for r96150 (seperate to make review easier)

12 years agoSeparate execution from definition (mediawiki.util.init)
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.

12 years agow/s fix ups
Mark A. Hershberger [Fri, 2 Sep 2011 20:00:44 +0000 (20:00 +0000)]
w/s fix ups

12 years agoMerge r96132 from 1.17wmf1: support protocol-relative URLs in dumpInterwiki.php
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

12 years agoUse local context instead of global variables
Alexandre Emsenhuber [Fri, 2 Sep 2011 16:59:01 +0000 (16:59 +0000)]
Use local context instead of global variables

12 years agoLocalisation updates for core and extension messages from translatewiki.net
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.

12 years agoFollow-up r95998: Update the test title as well. r95998 changed 'parse' to 'plain...
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.

12 years agoMinor tweak to r95521: remove outdated comment about $wgArticle
Chad Horohoe [Fri, 2 Sep 2011 13:32:35 +0000 (13:32 +0000)]
Minor tweak to r95521: remove outdated comment about $wgArticle

12 years agoRevert r96094. That space is already in colon-separator. Should have know and checked...
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.

12 years agoAdd a word separator after the colon separator.
Siebrand Mazeland [Fri, 2 Sep 2011 13:14:33 +0000 (13:14 +0000)]
Add a word separator after the colon separator.

12 years agoRevert r95496, r95506, r95524, r95553, r96005
Sam Reed [Fri, 2 Sep 2011 11:04:57 +0000 (11:04 +0000)]
Revert r95496, r95506, r95524, r95553, r96005

12 years ago* resolved some issues with sequences and deleting of rows on referenced tables
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

12 years ago* added redundand join condition for index usage as per comment on CR r88008
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

12 years agoRevert r95930, r95931 and r95939. Poorly commited patch
John Du Hart [Thu, 1 Sep 2011 21:32:55 +0000 (21:32 +0000)]
Revert r95930, r95931 and r95939. Poorly commited patch

12 years agor93633 - remove duplicated tests
Mark A. Hershberger [Thu, 1 Sep 2011 21:17:57 +0000 (21:17 +0000)]
r93633 - remove duplicated tests

12 years agoLocalisation updates for core and extension messages from translatewiki.net
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.

12 years agoOptimize ucFirst by using charAt
Krinkle [Thu, 1 Sep 2011 17:25:33 +0000 (17:25 +0000)]
Optimize ucFirst by using charAt

12 years agoPass OutputPage instance to MakeGlobalVariablesScript. Allows extensions to getTitle...
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

12 years agoFollowup r95496, remove duplicate $fields definition
Sam Reed [Thu, 1 Sep 2011 16:01:43 +0000 (16:01 +0000)]
Followup r95496, remove duplicate $fields definition

12 years agoFollowup r95396
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

12 years agoFix bad escaping in mw.message for inexistent messages (bug 30684)
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 &lt;some-inexistent-message&gt; instead of <some-inexistent-message>.

12 years agoFix r95997: Update unit test
Krinkle [Thu, 1 Sep 2011 15:22:37 +0000 (15:22 +0000)]
Fix r95997: Update unit test

12 years agoChange default value for format property of mw.message object from 'parse' to 'plain...
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

12 years agoAdd some full message keys as they are used here.
Siebrand Mazeland [Thu, 1 Sep 2011 15:00:42 +0000 (15:00 +0000)]
Add some full message keys as they are used here.

12 years agoAdd some full message keys as they originate from these locations.
Siebrand Mazeland [Thu, 1 Sep 2011 14:40:56 +0000 (14:40 +0000)]
Add some full message keys as they originate from these locations.