lhc/web/wiklou.git
15 years ago* Add a nice fieldset for consistency
Raimond Spekking [Wed, 30 Jul 2008 11:29:18 +0000 (11:29 +0000)]
* Add a nice fieldset for consistency
* Switch result line and input form
* Do not show result line "Below is a list of 0 files...". We have the message 'noimages' instead.

15 years agoAdd text for header of the patrol log for consistency with all other log headers.
Raimond Spekking [Wed, 30 Jul 2008 10:42:18 +0000 (10:42 +0000)]
Add text for header of the patrol log for consistency with all other log headers.

15 years agoAdd/change a few punctuation marks (.) for consistency with other header/summary...
Raimond Spekking [Wed, 30 Jul 2008 10:13:17 +0000 (10:13 +0000)]
Add/change a few punctuation marks (.) for consistency with other header/summary messages.

15 years agoLocalisation updates for extension messages from Betawiki (2008-07-30 11:03 CEST)
Siebrand Mazeland [Wed, 30 Jul 2008 09:17:20 +0000 (09:17 +0000)]
Localisation updates for extension messages from Betawiki (2008-07-30 11:03 CEST)

15 years agoAdd new parser function {{apiurl}}. Also, add new global $wgApiScript because manuall...
Chad Horohoe [Wed, 30 Jul 2008 07:46:25 +0000 (07:46 +0000)]
Add new parser function {{apiurl}}. Also, add new global $wgApiScript because manually constructing the api script's path seemed like a bad idea.

15 years agoLocalisation updates: Adding/updating Persian translations
Huji [Wed, 30 Jul 2008 07:30:22 +0000 (07:30 +0000)]
Localisation updates: Adding/updating Persian translations

15 years ago* (bug 14968) Specifying blank action parameter triggers API error now
Victor Vasiliev [Wed, 30 Jul 2008 07:23:22 +0000 (07:23 +0000)]
* (bug 14968) Specifying blank action parameter triggers API error now

15 years agoSuperfluous unneccessary html markup removed from 3 messages.
Purodha B Blissenbach [Wed, 30 Jul 2008 07:19:13 +0000 (07:19 +0000)]
Superfluous unneccessary html markup removed from 3 messages.

15 years agoThe documented setting on MW.org (and in DefaultSettings) is $wgSearchForwardUrl...
Chad Horohoe [Wed, 30 Jul 2008 04:13:30 +0000 (04:13 +0000)]
The documented setting on MW.org (and in DefaultSettings) is $wgSearchForwardUrl, so tweaked Special:Search to use the newer (and better) titled setting. Should make it actually work as advertised now.

15 years ago(bug 14977) Installations on servers using IPv6 addresses for $wgServer were largely...
Chad Horohoe [Wed, 30 Jul 2008 03:23:38 +0000 (03:23 +0000)]
(bug 14977) Installations on servers using IPv6 addresses for $wgServer were largely unusable because $wgServer didn't wrap the IP in brackets

15 years agoBah! Partial revert of r38212. Unrelated file snuck into my commit window.
Chad Horohoe [Wed, 30 Jul 2008 03:07:54 +0000 (03:07 +0000)]
Bah! Partial revert of r38212. Unrelated file snuck into my commit window.

15 years agoRemove unused $wgServer global.
Chad Horohoe [Wed, 30 Jul 2008 03:05:23 +0000 (03:05 +0000)]
Remove unused $wgServer global.

15 years agoLocalisation updates Chinese
Shinjiman [Wed, 30 Jul 2008 01:55:35 +0000 (01:55 +0000)]
Localisation updates Chinese
Last minute changes for the release branch 1.13

15 years agoUpdate the Chinese conversion tables
Shinjiman [Wed, 30 Jul 2008 01:37:09 +0000 (01:37 +0000)]
Update the Chinese conversion tables
Last minute changes for the release branch 1.13

15 years agoalso revert the release note line :P
Brion Vibber [Tue, 29 Jul 2008 23:59:19 +0000 (23:59 +0000)]
also revert the release note line :P

15 years agoRevert r38196, r38204 -- "(bugs 6089, 13079) Show edit section links for transcluded...
Brion Vibber [Tue, 29 Jul 2008 23:56:30 +0000 (23:56 +0000)]
Revert r38196, r38204 -- "(bugs 6089, 13079) Show edit section links for transcluded template if, and only if the user can edit it, made Title::getUserPermissionsErrorsInternal() public so that it can be used in Parser and it can pass the User object from ParserOptions. " & co
Cause regression in 19 parser test cases, looks like messing up the tooltips for section edit links.

  19 previously failing test(s) now PASSING! :)
      * Bug 6563: Edit link generation for section shown by <includeonly>  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Bug 6563: Edit link generation for section suppressed by <includeonly>  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Basic section headings  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Section headings with TOC  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Handling of sections up to level 6 and beyond  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * TOC regression (bug 9764)  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * TOC with wgMaxTocLevel=3 (bug 6204)  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Resolving duplicate section names  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Resolving duplicate section names with differing case (bug 10721)  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Template with sections, __NOTOC__  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Link inside a section heading  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * TOC regression (bug 12077)  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Fuzz testing: Parser14  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Fuzz testing: Parser14-table  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Inclusion of !userCanEdit() content  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Out-of-order TOC heading levels  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * -{}- tags within headlines (within html for parserConvert())  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * Morwen/13: Unclosed link followed by heading  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]
      * HHP2.2: Heuristics for headings in preprocessor parenthetical structures  [Fixed between 29-Jul-2008 22:42:06, 1.14alpha (r38207) and 29-Jul-2008 23:54:51, 1.14alpha (r38207)]

15 years agoDecapitalising all group-*-member messages in English; these words are neither proper...
Jon Harald Søby [Tue, 29 Jul 2008 21:49:00 +0000 (21:49 +0000)]
Decapitalising all group-*-member messages in English; these words are neither proper nouns nor used first in a sentence (or list), ergo they should be in lower-case

15 years agoPer talk with Simetrical, add a param to Title::quickUserCan and Title::userCan inste...
Alexandre Emsenhuber [Tue, 29 Jul 2008 20:35:11 +0000 (20:35 +0000)]
Per talk with Simetrical, add a param to Title::quickUserCan and Title::userCan instead of making Title::getUserPermissionsErrorsInternal() public, also update ParserCache to use this param

15 years agoOops, forgot RELEASE-NOTES for r38196
Alexandre Emsenhuber [Tue, 29 Jul 2008 18:18:32 +0000 (18:18 +0000)]
Oops, forgot RELEASE-NOTES for r38196

15 years ago* (bugs 6089, 13079) Show edit section links for transcluded template if, and only...
Alexandre Emsenhuber [Tue, 29 Jul 2008 17:28:26 +0000 (17:28 +0000)]
* (bugs 6089, 13079) Show edit section links for transcluded template if, and only if the user can edit it, made Title::getUserPermissionsErrorsInternal() public so that it can be used in Parser and it can pass the User object from ParserOptions.
* Get the stubthreshold option from ParserOptions and not from $wgUser

15 years ago* Number and date formats for my requested by Hintha@Betawiki
Niklas Laxström [Tue, 29 Jul 2008 16:13:49 +0000 (16:13 +0000)]
* Number and date formats for my requested by Hintha@Betawiki

15 years agoReduces the potential to be misinterpreted for few German Exif messages.
Purodha B Blissenbach [Tue, 29 Jul 2008 15:47:31 +0000 (15:47 +0000)]
Reduces the potential to be misinterpreted for few German Exif messages.

15 years agoRevert r38165 for now, breaks CentralAuth and I don't have that installed anywhere...
Aryeh Gregor [Tue, 29 Jul 2008 14:53:10 +0000 (14:53 +0000)]
Revert r38165 for now, breaks CentralAuth and I don't have that installed anywhere to debug.

15 years agoDouble-check that all old revision are set null.
Greg Sabino Mullane [Tue, 29 Jul 2008 14:14:10 +0000 (14:14 +0000)]
Double-check that all old revision are set null.

15 years agojobqueue changes
Domas Mituzas [Tue, 29 Jul 2008 10:05:59 +0000 (10:05 +0000)]
jobqueue changes

15 years agodon't count if you don't use it! :)
Domas Mituzas [Tue, 29 Jul 2008 10:01:58 +0000 (10:01 +0000)]
don't count if you don't use it! :)

15 years agodon't limit random range, no need, and not efficient
Domas Mituzas [Tue, 29 Jul 2008 09:51:02 +0000 (09:51 +0000)]
don't limit random range, no need, and not efficient

15 years agoLocalisation updates for extension messages from Betawiki
Siebrand Mazeland [Tue, 29 Jul 2008 08:55:53 +0000 (08:55 +0000)]
Localisation updates for extension messages from Betawiki
* Great to have German 'core' on board!

15 years agoLocalisation updates for core messages from Betawiki (2008-07-29 10:30 CEST)
Siebrand Mazeland [Tue, 29 Jul 2008 08:41:48 +0000 (08:41 +0000)]
Localisation updates for core messages from Betawiki (2008-07-29 10:30 CEST)

15 years agoUpdate the Chinese conversion tables
Shinjiman [Tue, 29 Jul 2008 02:37:24 +0000 (02:37 +0000)]
Update the Chinese conversion tables
Last minute changes for the release branch 1.13

15 years agoMerge TitleArray and UserArray into one unified class, ObjectArray. Adding support...
Aryeh Gregor [Tue, 29 Jul 2008 00:51:08 +0000 (00:51 +0000)]
Merge TitleArray and UserArray into one unified class, ObjectArray.  Adding support for a new type of object will now just take a few lines.

15 years agoUh, also I shouldn't introduce syntax errors while fixing regressions.
Aryeh Gregor [Tue, 29 Jul 2008 00:36:31 +0000 (00:36 +0000)]
Uh, also I shouldn't introduce syntax errors while fixing regressions.

15 years agoPartially revert r38162. Caused bugs due to incredibly incomprehensible parameter...
Aryeh Gregor [Tue, 29 Jul 2008 00:35:43 +0000 (00:35 +0000)]
Partially revert r38162.  Caused bugs due to incredibly incomprehensible parameter list for makeKnownLinkObj.  (Hint: $aprops and $style do virtually the same thing, except that the latter has a completely misleading name and documentation.)
There is no salvation possible for this method.  It must die.

15 years agoLinker.php cleanup:
Aryeh Gregor [Tue, 29 Jul 2008 00:08:25 +0000 (00:08 +0000)]
Linker.php cleanup:
* Allow makeLinkObj to accept an associative array of arguments for $aprops, so Brion's eyes can be saved from melting.
* Fail fast when various methods are passed non-Titles, don't just return some garbage and hope no one notices.
* Whitespace, wfDeprecated().

15 years agoRecommit r38149, with the fatal error fixed. The EditSectionLinkForOther hook is...
Aryeh Gregor [Mon, 28 Jul 2008 23:52:55 +0000 (23:52 +0000)]
Recommit r38149, with the fatal error fixed.  The EditSectionLinkForOther hook is now removed entirely -- EditSectionLink is run unconditionally instead.  This is extremely unlikely to break any extensions.

15 years ago* (bug 14966) Fix SearchEngineDummy class for silently non-functional search
Brion Vibber [Mon, 28 Jul 2008 23:42:30 +0000 (23:42 +0000)]
* (bug 14966) Fix SearchEngineDummy class for silently non-functional search
  on Sqlite instead of horribly fatal error breaky one.

15 years agoRevert r38149 for now, causes regressions in API parsing.
Brion Vibber [Mon, 28 Jul 2008 23:00:14 +0000 (23:00 +0000)]
Revert r38149 for now, causes regressions in API parsing.
Bug 14965 - https://bugzilla.wikimedia.org/show_bug.cgi?id=14965

PHP Catchable fatal error:  Argument 1 passed to Title::equals() must be an instance of Title, null given, called in /usr/local/apache/common-local/php-1.5/includes/Linker.php on line 1323 and defined in /usr/local/apache/common-local/php-1.5/includes/Title.php on line 3003
$wgTitle isn't available in this sort of background rendering.

15 years agoAdd type hint to Title::equals(); this lets the error log give us something useful...
Brion Vibber [Mon, 28 Jul 2008 22:52:14 +0000 (22:52 +0000)]
Add type hint to Title::equals(); this lets the error log give us something useful like this:
  Catchable fatal error: Argument 1 passed to Title::equals() must be an instance of Title, null given, called in /Library/WebServer/Documents/trunk/includes/Linker.php on line 1323 and defined in /Library/WebServer/Documents/trunk/includes/Title.php on line 3003
instead of something useless like this:
  Fatal error: Call to a member function getInterwiki() on a non-object in /Library/WebServer/Documents/trunk/includes/Title.php on line 3005

This particular error was caused by a regression in r38149, which uses $wgTitle in Linker::doEditSectionLink(); this fails when doing parses via the API at perhaps at other times.

See bug 14965 (https://bugzilla.wikimedia.org/show_bug.cgi?id=14965)

15 years ago* Recursion loop check added to Categoryfinder class
Brion Vibber [Mon, 28 Jul 2008 20:59:17 +0000 (20:59 +0000)]
* Recursion loop check added to Categoryfinder class

Infinite loops were causing segfaults in combination with Collection extension

15 years agoLinker::doEditSectionLink() and Linker::doEditSectionLinkForOther() and their respect...
Aryeh Gregor [Mon, 28 Jul 2008 20:33:43 +0000 (20:33 +0000)]
Linker::doEditSectionLink() and Linker::doEditSectionLinkForOther() and their respective hooks are redundant and confusing.  They do exactly the same thing with a slightly different interface.  Their hooks are not only redundant but relatively ineffective, because they wrap in brackets and a span *after* the hook returns.  This makes them useless for, e.g., changing the section edit link to an image (can't remove brackets), or using any block-level element (wrapped in a span).

Make Linker::doEditSectionLink() public, and change its interface to be like that of editSectionLink().  Use that in Parser (which is the only place that uses the old functions that I can find), and mark the old two functions deprecated.  Add a hook 'DoEditSectionLink' with a new, clean interface, which is run immediately before the return so it can override the whole function.  Advise people in hooks.txt to use the new hook, not the old ones.

15 years ago* Fix magic words related regression for bg
Niklas Laxström [Mon, 28 Jul 2008 20:25:22 +0000 (20:25 +0000)]
* Fix magic words related regression for bg

15 years agoFix r38146 -- this is why redundant style declarations are bad. When one is removed...
Brion Vibber [Mon, 28 Jul 2008 19:22:23 +0000 (19:22 +0000)]
Fix r38146 -- this is why redundant style declarations are bad. When one is removed, you discover they didn't match! :)

15 years agoand another modern tweak -- don't @import the common styles now that we've got <link>s
Brion Vibber [Mon, 28 Jul 2008 19:14:42 +0000 (19:14 +0000)]
and another modern tweak -- don't @import the common styles now that we've got <link>s

15 years ago* Per talk with brion, use wfArrayToCGI()\n* Avoid blank lines between CSS <link>
Alexandre Emsenhuber [Mon, 28 Jul 2008 19:10:13 +0000 (19:10 +0000)]
* Per talk with brion, use wfArrayToCGI()\n* Avoid blank lines between CSS <link>

15 years ago* (bug 14954) Fix regression in Modern and Simple skins
Brion Vibber [Mon, 28 Jul 2008 19:09:38 +0000 (19:09 +0000)]
* (bug 14954) Fix regression in Modern and Simple skins

Earlier r38139 patched up Modern, but didn't address Simple.

15 years ago* (bug 14923) Add method for getting a TitleArray for a particular category.
Robert Leverington [Mon, 28 Jul 2008 19:02:40 +0000 (19:02 +0000)]
* (bug 14923) Add method for getting a TitleArray for a particular category.

15 years agoSome tweaks for r38116:
Alexandre Emsenhuber [Mon, 28 Jul 2008 16:54:06 +0000 (16:54 +0000)]
Some tweaks for r38116:
* Ported Modern too, MediaWiki:Common.css and MediaWiki:Modern.css are missing in that skin
* Don't throw E_NOTICE if $wgUseSiteCss is false

Also prettify two things:
* Align <head> items at two tabs for SkinTemplate skins
* Use an array for query string for MediaWiki:Common.css, MediaWiki:<skin>.css and gen=css

15 years agoFail a little more gracefully if memcached returns nothing (get a bunch of fun divide...
Chad Horohoe [Mon, 28 Jul 2008 16:02:45 +0000 (16:02 +0000)]
Fail a little more gracefully if memcached returns nothing (get a bunch of fun divide by zero errors otherwise :)

15 years agoLocalisation updates German
Raimond Spekking [Mon, 28 Jul 2008 15:58:30 +0000 (15:58 +0000)]
Localisation updates German

15 years agoDeprecate SiteStats::admins() in favor of SiteStats::numberingroup('sysop'). Should...
Chad Horohoe [Mon, 28 Jul 2008 15:49:44 +0000 (15:49 +0000)]
Deprecate SiteStats::admins() in favor of SiteStats::numberingroup('sysop'). Should make bug 13471 easy.

15 years ago* Add a few CSS ids to allow customization of warning messages
Raimond Spekking [Mon, 28 Jul 2008 15:41:17 +0000 (15:41 +0000)]
* Add a few CSS ids to allow customization of warning messages
* Apply formatNum to $wgMaxArticleSize too

15 years agoLocalisation updates German
Raimond Spekking [Mon, 28 Jul 2008 14:22:15 +0000 (14:22 +0000)]
Localisation updates German

15 years agoNo negative caching in the revision cache -- doesn't work anyway since memcached...
Tim Starling [Mon, 28 Jul 2008 10:16:12 +0000 (10:16 +0000)]
No negative caching in the revision cache -- doesn't work anyway since memcached converts false to '', and so suppresses the error message on the second hit.

15 years agoLocalization update for he.
Rotem Liss [Mon, 28 Jul 2008 09:48:13 +0000 (09:48 +0000)]
Localization update for he.

15 years agoLocalisation updates for core from Betawiki
Siebrand Mazeland [Mon, 28 Jul 2008 09:10:36 +0000 (09:10 +0000)]
Localisation updates for core from Betawiki

15 years agoLocalisation updates for core messages from Betawiki (2008-07-28 10:44 CEST)
Siebrand Mazeland [Mon, 28 Jul 2008 09:00:25 +0000 (09:00 +0000)]
Localisation updates for core messages from Betawiki (2008-07-28 10:44 CEST)

15 years agoRevert r38068 "SpecialMovepageBeforeMove hook from Wikia codebase - allows extensions...
Brion Vibber [Mon, 28 Jul 2008 05:44:18 +0000 (05:44 +0000)]
Revert r38068 "SpecialMovepageBeforeMove hook from Wikia codebase - allows extensions, such as spamRegex, to interfere with page moving"

This passes a MovePageForm, which seems unwise. It won't apply to the edit API, and generally seems like a weak interface -- an internal UI object is passed instead of specific information, leaving it unstable to future changes.

15 years agoRevert r38040 "new hook, ConfirmEmailComplete"
Brion Vibber [Mon, 28 Jul 2008 05:31:12 +0000 (05:31 +0000)]
Revert r38040 "new hook, ConfirmEmailComplete"

This hook is incomplete and won't work as advertised. Will fail to run when the email address is confirmed through other means, such as a password reset; also there's no corresponding hook for when the mail gets *un*confirmed, so would lead to inconsistent state.

15 years agoRevert r38016, r38018 (change of $wgTranslateNumerals defaults).
Brion Vibber [Mon, 28 Jul 2008 05:25:25 +0000 (05:25 +0000)]
Revert r38016, r38018 (change of $wgTranslateNumerals defaults).
There was no explanation given of why it should be forced to off by default for every language...

15 years agoStart on some cleanup of how CSS stylesheets are loaded. Initially addressing only...
Brion Vibber [Mon, 28 Jul 2008 05:09:08 +0000 (05:09 +0000)]
Start on some cleanup of how CSS stylesheets are loaded. Initially addressing only the SkinTemplate-based skins; would like to rip out some near-dupe code in the other skin types, with a little more refactoring...

* A skin can make calls to $this->addScript to much more cleanly list which style sheets it wants to load, for which media variants and which IE conditional versions. This replaces the 'cssfiles' array hack and giant pile of ugly conditionals in MonoBook's template.

* 'printable=yes' and 'handheld=yes' URL options are handled transparently -- 'screen' stylesheets are hidden, while those with no media specifier are left.

MediaWiki:Common.css is now listed without media -- so infoboxes are still formatted -- while the skin-specific eg MediaWiki:Monobook.css are listed for screen, as they're specific to the on-screen skin.

Note it should be a matter of one line of code to add a MediaWiki:Print.css and have it correctly handled now.

* All sheets are now loaded via <link rel="stylesheet"> instead of a mix of those and @import decls.

IIRC we had used @import originally to hide styles from Netscape 4, which tends to utterly break on MonoBook, but these days that's pretty much a non-issue.
@import also breaks some browsers' ability to save stylesheets with a file to disk, which sucks.

Confirmed that Firefox 3 can now save pages with their styles.

* 'screen, projection' media specifier has been changed to just 'screen' -- projection is something totally different.

* Added experimental options for specifying handheld stylesheets:

/**
 * Optionally, we can specify a stylesheet to use for media="handheld".
 * This is recognized by some, but not all, handheld/mobile/PDA browsers.
 * If left empty, compliant handheld browsers won't pick up the skin
 * stylesheet, which is specified for 'screen' media.
 *
 * Can be a complete URL, base-relative path, or $wgStylePath-relative path.
 * Try 'chick/main.css' to apply the Chick styles to the MonoBook HTML.
 *
 * Will also be switched in when 'handheld=yes' is added to the URL, like
 * the 'printable=yes' mode for print media.
 */
$wgHandheldStyle = false;

/**
 * If set, 'screen' and 'handheld' media specifiers for stylesheets are
 * transformed such that they apply to the iPhone/iPod Touch Mobile Safari,
 * which doesn't recognize 'handheld' but does support media queries on its
 * screen size.
 *
 * Consider only using this if you have a *really good* handheld stylesheet,
 * as iPhone users won't have any way to disable it and use the "grown-up"
 * styles instead.
 */
$wgHandheldForIPhone = false;

15 years agoUpdate the Chinese conversion tables
Shinjiman [Mon, 28 Jul 2008 01:27:21 +0000 (01:27 +0000)]
Update the Chinese conversion tables
Last minute changes for the release branch 1.13

15 years agoSet a damn default for apiThumbCacheExpiry so we don't spew notices all the time...
Brion Vibber [Mon, 28 Jul 2008 01:26:44 +0000 (01:26 +0000)]
Set a damn default for apiThumbCacheExpiry so we don't spew notices all the time when it's not set.

15 years agoSet baserevid (bug 14918)
Aaron Schulz [Sun, 27 Jul 2008 21:50:35 +0000 (21:50 +0000)]
Set baserevid (bug 14918)

15 years agoMagic word __STATICREDIRECT__ to suppress the redirect fixer. For periodically-archiv...
Tim Starling [Sun, 27 Jul 2008 21:49:58 +0000 (21:49 +0000)]
Magic word __STATICREDIRECT__ to suppress the redirect fixer. For periodically-archived pages like [[WP:GO]].

15 years ago* API search now falls back to fulltext search by default when using Lucene
Brion Vibber [Sun, 27 Jul 2008 21:31:11 +0000 (21:31 +0000)]
* API search now falls back to fulltext search by default when using Lucene
  or other engine which doesn't support a separate title search function.
  This means you can use API search on Wikipedia without explicitly adding
  &srwhat=text to the query.

15 years agoset baseRevId (bug 14947)
Aaron Schulz [Sun, 27 Jul 2008 19:24:35 +0000 (19:24 +0000)]
set baseRevId (bug 14947)

15 years ago* Add count() method to TitleArray and UserArray.
Aryeh Gregor [Sun, 27 Jul 2008 18:59:46 +0000 (18:59 +0000)]
* Add count() method to TitleArray and UserArray.
* Change PageHistory::fetchRevisions() to return a result object instead of an array of rows.
* Stylistic issues: use foreach( $res as $row ) instead of while( $row = $dbr->fetchObject( $res ) ), change a couple of variable names, use __METHOD__.

There should be no functional changes.

15 years agoAvoid using $this, it is a reserved word
Alexandre Emsenhuber [Sun, 27 Jul 2008 18:43:55 +0000 (18:43 +0000)]
Avoid using $this, it is a reserved word

15 years agoIndeed, this is a ResultWrapper object, so we can iterate over it: no ugly while...
Aryeh Gregor [Sun, 27 Jul 2008 18:14:59 +0000 (18:14 +0000)]
Indeed, this is a ResultWrapper object, so we can iterate over it: no ugly while loops.  In fact, we don't even have to bother creating the array.  A few quick tests show >100 KB peak memory usage drop even on a quite small RC, a couple dozen items.

15 years agoFix comment (Title::newFromTitle -> Title::newFromName) and mark Title::nameOf()...
Alexandre Emsenhuber [Sun, 27 Jul 2008 18:09:22 +0000 (18:09 +0000)]
Fix comment (Title::newFromTitle -> Title::newFromName) and mark Title::nameOf() as public static instead of doing this with in comments

15 years agoAdded {{PLURAL:}} to lag-warn-normal and lag-warn-high
Jon Harald Søby [Sun, 27 Jul 2008 17:31:18 +0000 (17:31 +0000)]
Added {{PLURAL:}} to lag-warn-normal and lag-warn-high

15 years agoLocalisation updates for core messages from Betawiki (2008-07-27 12:58 CEST)
Siebrand Mazeland [Sun, 27 Jul 2008 11:08:39 +0000 (11:08 +0000)]
Localisation updates for core messages from Betawiki (2008-07-27 12:58 CEST)

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Sun, 27 Jul 2008 10:25:41 +0000 (10:25 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoFix typo in message text.
Siebrand Mazeland [Sun, 27 Jul 2008 10:08:28 +0000 (10:08 +0000)]
Fix typo in message text.

15 years agoUpdate the Chinese conversion tables
Shinjiman [Sun, 27 Jul 2008 10:05:33 +0000 (10:05 +0000)]
Update the Chinese conversion tables
Last minute changes for the release branch 1.13

15 years agoUpdate the Chinese conversion tables
Shinjiman [Sun, 27 Jul 2008 04:04:26 +0000 (04:04 +0000)]
Update the Chinese conversion tables

15 years agoIgnore sysops+bcrats and accounts touched in the last week. Patch by Louperivois.
Chad Horohoe [Sat, 26 Jul 2008 23:42:29 +0000 (23:42 +0000)]
Ignore sysops+bcrats and accounts touched in the last week. Patch by Louperivois.

15 years agoSpecialMovepageBeforeMove hook from Wikia codebase - allows extensions, such as spamR...
Jack Phoenix [Sat, 26 Jul 2008 21:38:51 +0000 (21:38 +0000)]
SpecialMovepageBeforeMove hook from Wikia codebase - allows extensions, such as spamRegex, to interfere with page moving

15 years ago* factorize common code
Alexandre Emsenhuber [Sat, 26 Jul 2008 20:41:52 +0000 (20:41 +0000)]
* factorize common code
* allow to pass directly a Language object

15 years agoTweak for my last commit: this variable is not used anymore
Alexandre Emsenhuber [Sat, 26 Jul 2008 15:51:49 +0000 (15:51 +0000)]
Tweak for my last commit: this variable is not used anymore

15 years ago$res is a ResultWrapper object
Alexandre Emsenhuber [Sat, 26 Jul 2008 08:42:29 +0000 (08:42 +0000)]
$res is a ResultWrapper object

15 years agoOne less step and potentially one less query if the number is already set.
Chad Horohoe [Sat, 26 Jul 2008 02:33:54 +0000 (02:33 +0000)]
One less step and potentially one less query if the number is already set.

15 years agoRemove a bit of useless $wgCapitalLinks logic, all these code paths lead through...
Chad Horohoe [Fri, 25 Jul 2008 23:12:27 +0000 (23:12 +0000)]
Remove a bit of useless $wgCapitalLinks logic, all these code paths lead through Title::secureAndSpit() which handles initial-character-capitalization.
*In SearchEngine's case, it gets caught every time further up the page (it never even reaches the upper/lower casing of only first character part)
*PrefixSearch eventually sends it through ApiQueryBase::titleToKey()
*AjaxFunctions immediately sends it to Title::newFromText()

15 years agorm dupe
Alexandre Emsenhuber [Fri, 25 Jul 2008 20:43:15 +0000 (20:43 +0000)]
rm dupe

15 years agoMove more initialization to member variable defaults. (The Title constructor now...
Aryeh Gregor [Fri, 25 Jul 2008 20:16:24 +0000 (20:16 +0000)]
Move more initialization to member variable defaults.  (The Title constructor now actually does nothing, but I left it for the comment.)

15 years agoChange a few hardcoded select() parameters (one of which was actually incorrect)...
Aryeh Gregor [Fri, 25 Jul 2008 19:36:13 +0000 (19:36 +0000)]
Change a few hardcoded select() parameters (one of which was actually incorrect) to __METHOD__.

15 years agoConvert subpage move to use TitleArray, just for demonstration. It's only a few...
Aryeh Gregor [Fri, 25 Jul 2008 19:19:11 +0000 (19:19 +0000)]
Convert subpage move to use TitleArray, just for demonstration.  It's only a few lines' difference in this case, with no actual effect on anything.  Finding places where *arrays* of Titles are used would be more fruitful.

15 years agoCopy-paste documentation for copy-pasted hook, too.
Aryeh Gregor [Fri, 25 Jul 2008 19:14:30 +0000 (19:14 +0000)]
Copy-paste documentation for copy-pasted hook, too.

15 years agoAdd TitleArray, a straight rip-off of UserArray. I couldn't figure out how to make...
Aryeh Gregor [Fri, 25 Jul 2008 19:03:53 +0000 (19:03 +0000)]
Add TitleArray, a straight rip-off of UserArray.  I couldn't figure out how to make them both inherit from ObjectArray or anything, so code duplication works for now.

15 years agonew hook, ConfirmEmailComplete
Jack Phoenix [Fri, 25 Jul 2008 18:11:43 +0000 (18:11 +0000)]
new hook, ConfirmEmailComplete

15 years agoPer r38036: also fix FormOptions
Alexandre Emsenhuber [Fri, 25 Jul 2008 18:06:29 +0000 (18:06 +0000)]
Per r38036: also fix FormOptions

15 years agoCredits:
Rotem Liss [Fri, 25 Jul 2008 17:00:06 +0000 (17:00 +0000)]
Credits:
* I'm already in the list, 4 lines above.
* Alphabetic order.
* Removing trailing whitespace.

15 years ago* alnokta = Mohamed Magdy
Bryan Tong Minh [Fri, 25 Jul 2008 16:52:13 +0000 (16:52 +0000)]
* alnokta = Mohamed Magdy
* Add Rotem Liss per r38033

15 years ago(bug 14659) Passing the default limit param to Special:Recentchanges no more falls...
Alexandre Emsenhuber [Fri, 25 Jul 2008 16:46:43 +0000 (16:46 +0000)]
(bug 14659) Passing the default limit param to Special:Recentchanges no more falls back to the user option

15 years agoavoid php FATAL error when Parser_OldPP is used
Krzysztof Krzyzaniak [Fri, 25 Jul 2008 15:39:12 +0000 (15:39 +0000)]
avoid php FATAL error when Parser_OldPP is used

15 years agoFix spelling of my name.
Aryeh Gregor [Fri, 25 Jul 2008 14:30:54 +0000 (14:30 +0000)]
Fix spelling of my name.

15 years agoAPI change: Registration time of users registered before the DB field was created...
Rotem Liss [Fri, 25 Jul 2008 13:59:24 +0000 (13:59 +0000)]
API change: Registration time of users registered before the DB field was created is now shown as empty instead of the current time.

15 years agoUpdate the Chinese conversion tables
Shinjiman [Fri, 25 Jul 2008 13:39:43 +0000 (13:39 +0000)]
Update the Chinese conversion tables

15 years agoAdd some docs on how far back wfLoadExtensionMessages() goes
Chad Horohoe [Fri, 25 Jul 2008 13:39:00 +0000 (13:39 +0000)]
Add some docs on how far back wfLoadExtensionMessages() goes

15 years agoLocalisation updates for core messages from Betawiki (2008-07-25 10:43 CEST)
Siebrand Mazeland [Fri, 25 Jul 2008 08:50:35 +0000 (08:50 +0000)]
Localisation updates for core messages from Betawiki (2008-07-25 10:43 CEST)