lhc/web/wiklou.git
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.

12 years agoA d d s p a c e s
Chad Horohoe [Thu, 1 Sep 2011 14:33:57 +0000 (14:33 +0000)]
A d d  s p a c e s

12 years agoShut up build script about not having LocalSettings. You dont actually need it for...
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

12 years agow/s
Siebrand Mazeland [Thu, 1 Sep 2011 13:59:38 +0000 (13:59 +0000)]
w/s

12 years ago* updated oracle schema to current
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 :) )

12 years agoRemove type hint that broke r95975
Roan Kattouw [Thu, 1 Sep 2011 13:07:27 +0000 (13:07 +0000)]
Remove type hint that broke r95975

12 years agoAdd ResourceLoaderContext::newDummyContext() function
Roan Kattouw [Thu, 1 Sep 2011 13:02:20 +0000 (13:02 +0000)]
Add ResourceLoaderContext::newDummyContext() function

12 years agoSplit up TablePager css class, introduce .mw-datatable
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)

12 years agoFollowup r95957, add =null to Skin::outputPage too
Daniel Friesen [Thu, 1 Sep 2011 10:35:12 +0000 (10:35 +0000)]
Followup r95957, add =null to Skin::outputPage too

12 years agoKill off use of $wgRequest, $wgUser, and $wgLang in SkinTemplate, stop using $out...
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)

12 years agoIn Title::resetArticleID(), clear all entries in the LinkCache instead of just the...
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.

12 years agoRevert r95830's change to external and interwiki link colors.
Daniel Friesen [Thu, 1 Sep 2011 09:10:01 +0000 (09:10 +0000)]
Revert r95830's change to external and interwiki link colors.

12 years agoFollowup r95947, undo accidental revert of r95946.
Daniel Friesen [Thu, 1 Sep 2011 08:34:29 +0000 (08:34 +0000)]
Followup r95947, undo accidental revert of r95946.

12 years agoFix indentation in r95396
Roan Kattouw [Thu, 1 Sep 2011 08:21:50 +0000 (08:21 +0000)]
Fix indentation in r95396

12 years agoAdd Title::isSubpageOf to use when you want to make tests like $title->isSubpageOf...
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 );

12 years agof'up r95930: register new message key to maintenance script
Raimond Spekking [Thu, 1 Sep 2011 06:18:15 +0000 (06:18 +0000)]
f'up r95930: register new message key to maintenance script

12 years agoFollow-up r95930, consolidate into one message per CR
John Du Hart [Thu, 1 Sep 2011 04:26:21 +0000 (04:26 +0000)]
Follow-up r95930, consolidate into one message per CR

12 years ago(bug 5865) Warning on editing other user's userpage
John Du Hart [Thu, 1 Sep 2011 03:56:33 +0000 (03:56 +0000)]
(bug 5865) Warning on editing other user's userpage

12 years ago(bug 4381) Magic quotes cleaning is not comprehensive, key strings not unescaped
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

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Wed, 31 Aug 2011 20:28:36 +0000 (20:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoRemoved AjaxFunctions from list (file was deleted)
Aaron Schulz [Wed, 31 Aug 2011 18:42:15 +0000 (18:42 +0000)]
Removed AjaxFunctions from list (file was deleted)

12 years agoFollowup r95002: unbreak getTokenUrl() by using a simpler hack that doesn't involve...
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

12 years agoClean up and conventions in shared.css
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;)

12 years agoFollowup r95396
Sam Reed [Wed, 31 Aug 2011 15:00:23 +0000 (15:00 +0000)]
Followup r95396

Swap $wgGlobalDB for $wgGlobalDatabase

12 years agoTidy up w/c
Sam Reed [Wed, 31 Aug 2011 14:47:08 +0000 (14:47 +0000)]
Tidy up w/c

Remove trailing whitespace, add some documentation

12 years agoFix Uncaught TypeError: Cannot call method 'substr' of undefined
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.

12 years agoClarify parameter description added in r95714
Roan Kattouw [Wed, 31 Aug 2011 14:30:18 +0000 (14:30 +0000)]
Clarify parameter description added in r95714

12 years agoFollowup r95753 per CR: prevent extensions from making isMovable() return true for...
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

12 years agoArgh, fixing my fix in r95834
Niklas Laxström [Wed, 31 Aug 2011 10:37:17 +0000 (10:37 +0000)]
Argh, fixing my fix in r95834

12 years agoFollowup r95837; Return the list-style-image for ul{} back to vector since I ended...
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.

12 years agoRemove the basic styles that vector coppied from monobook from both monobook and...
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.

12 years agoFollowup r95800 - the page is ListFiles
Niklas Laxström [Wed, 31 Aug 2011 05:43:53 +0000 (05:43 +0000)]
Followup r95800 - the page is ListFiles

12 years agoGive Vector a lighter external/interwiki color since monobook->vector changed the...
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.

12 years agoAnother stupid newline, forgot to press save
Chad Horohoe [Tue, 30 Aug 2011 20:55:50 +0000 (20:55 +0000)]
Another stupid newline, forgot to press save

12 years agoFixes for r94158: newlines and minor debugging typo (more silly fixmes)
Chad Horohoe [Tue, 30 Aug 2011 20:55:29 +0000 (20:55 +0000)]
Fixes for r94158: newlines and minor debugging typo (more silly fixmes)

12 years agoPrefix extensions with $IP. Followup r94107 (grumble grumble about people fixmeing...
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...)

12 years agoRemove wfDie() that Ariel keeps trying to resurrect :)
Chad Horohoe [Tue, 30 Aug 2011 20:45:36 +0000 (20:45 +0000)]
Remove wfDie() that Ariel keeps trying to resurrect :)

12 years agoRemove evil @
Chad Horohoe [Tue, 30 Aug 2011 20:44:33 +0000 (20:44 +0000)]
Remove evil @

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Tue, 30 Aug 2011 19:49:07 +0000 (19:49 +0000)]
Localisation updates for core and extension messages from translatewiki.net