lhc/web/wiklou.git
13 years agoUpdate output language.
Siebrand Mazeland [Thu, 17 Mar 2011 09:05:34 +0000 (09:05 +0000)]
Update output language.

13 years agoFix r84131, Installer classes not initialised/in usage, so we can't do this.
Sam Reed [Wed, 16 Mar 2011 23:49:14 +0000 (23:49 +0000)]
Fix r84131, Installer classes not initialised/in usage, so we can't do this.

Change for hardcoded 5.2.3 as current minimum version

13 years agoFix Bug #28082, Add Hooks to User::addGroup and User::removeGroup
Mark A. Hershberger [Wed, 16 Mar 2011 23:13:38 +0000 (23:13 +0000)]
Fix Bug #28082, Add Hooks to User::addGroup and User::removeGroup

    I propose to add two new hooks, one should be called when adding a
    group to a user, one when a group is removed. This allows
    MediaWiki for example to add/remove groups from a remote
    authentication/authorization service.

Adapted provided patch.

13 years agoAnother old version checking thing
Sam Reed [Wed, 16 Mar 2011 22:48:47 +0000 (22:48 +0000)]
Another old version checking thing

13 years agoLess hardcoding...
Sam Reed [Wed, 16 Mar 2011 22:43:17 +0000 (22:43 +0000)]
Less hardcoding...

13 years agoAdd a couple of braces and spacing
Platonides [Wed, 16 Mar 2011 22:42:19 +0000 (22:42 +0000)]
Add a couple of braces and spacing

13 years agoKill off some more old version checking stuffs
Sam Reed [Wed, 16 Mar 2011 22:38:17 +0000 (22:38 +0000)]
Kill off some more old version checking stuffs

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Wed, 16 Mar 2011 21:03:45 +0000 (21:03 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-03-17 21:30:00 UTC)

13 years ago(follow-up r65035/r65013) The username parameter wasn't preserved when clicking links...
Brian Wolff [Wed, 16 Mar 2011 18:23:04 +0000 (18:23 +0000)]
(follow-up r65035/r65013) The username parameter wasn't preserved when clicking links in Special:Listfiles.

13 years agoRemoved usage of extract() in LinkHolderArray::doVariants()
Alexandre Emsenhuber [Wed, 16 Mar 2011 09:05:32 +0000 (09:05 +0000)]
Removed usage of extract() in LinkHolderArray::doVariants()

13 years agoMakes LanguageTr uc & lc match parent declaration
Antoine Musso [Wed, 16 Mar 2011 07:38:15 +0000 (07:38 +0000)]
Makes LanguageTr uc & lc match parent declaration

Methods were introduced in r84057 which, unfortunatly was tested with
PHP errors disabled :\

Additionally add tests for the full Turkish alphabet based on an article
from Wikipedia http://en.wikipedia.org/wiki/Turkish_alphabet

13 years agoRevert r83993
Sam Reed [Wed, 16 Mar 2011 00:13:10 +0000 (00:13 +0000)]
Revert r83993

13 years ago(Bug 28069) MediaWiki fails streaming files when mod_deflate and ob_gzhandler are...
Platonides [Tue, 15 Mar 2011 22:22:57 +0000 (22:22 +0000)]
(Bug 28069) MediaWiki fails streaming files when mod_deflate and ob_gzhandler are also set
gzipped content with header: "Content-Encoding: , gzip"

13 years agobug 28040 Turkish: properly handle dotted and dotless i
Antoine Musso [Tue, 15 Mar 2011 21:56:54 +0000 (21:56 +0000)]
bug 28040 Turkish: properly handle dotted and dotless i

As mentioned by Bawolff on code review, r83970 only handled case change
of the first character lacking full strings support.

This patch override the uc and lc methods for the Turkish language (tr)
using preg_replace() which know about unicode. Other possible choices
would have been:
 - strtr() =>  outputs garbage
 - mbstring => can not know we handle turkish and transform i to I!

I have amended the RELEASE-NOTES to reflect this patch.

Some new tests are added as well to cover the regular functions as
well as the specific Turkish overriding. Result in testdox:

LanguageTr
[x] Change case of first char being dotted and dotless i
[x] Language tr lower casing override
[x] Language tr upper casing override
[x] Upper casing of a string with dotted and dot less i
[x] Lower casing of a string with dotted and dot less i

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Tue, 15 Mar 2011 21:06:28 +0000 (21:06 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-03-15 21:30:00 UTC)

13 years agoFollow-up r83791: Remove uselss leading space
Raimond Spekking [Tue, 15 Mar 2011 19:55:47 +0000 (19:55 +0000)]
Follow-up r83791: Remove uselss leading space

13 years agoGet ride of extract() calls in RecentChange::getIRCLine()
Alexandre Emsenhuber [Tue, 15 Mar 2011 18:35:32 +0000 (18:35 +0000)]
Get ride of extract() calls in RecentChange::getIRCLine()

13 years agoUpdate doc: Image:: -> File::
Alexandre Emsenhuber [Tue, 15 Mar 2011 16:58:06 +0000 (16:58 +0000)]
Update doc: Image:: -> File::

13 years agoChanged LinkHolderArray::makeHolder() to use Linker::link() instead of Linker::makeBr...
Alexandre Emsenhuber [Tue, 15 Mar 2011 16:47:55 +0000 (16:47 +0000)]
Changed LinkHolderArray::makeHolder() to use Linker::link() instead of Linker::makeBrokenLinkObj() and Linker::makeColouredLinkObj()

13 years agoFix notice from TWN, reported in r83786 CR
Happy-melon [Tue, 15 Mar 2011 15:56:40 +0000 (15:56 +0000)]
Fix notice from TWN, reported in r83786 CR

13 years agoAccept empty square bracket pairs in external links: http://www.example.com?foo[...
Happy-melon [Tue, 15 Mar 2011 15:09:49 +0000 (15:09 +0000)]
Accept empty square bracket pairs in external links: example.com?foo[]=bar and [http://www.example.com?foo[]=bar link].  Used for MultiSelect arrays, which feature quite heavily in bugzilla search urls, etc.

13 years agoKill the oldtimeout stuff, with minimum PHP being 5.2.3
Sam Reed [Tue, 15 Mar 2011 12:24:05 +0000 (12:24 +0000)]
Kill the oldtimeout stuff, with minimum PHP being 5.2.3

13 years agoFixup some more old version comparison stuff
Sam Reed [Tue, 15 Mar 2011 12:06:40 +0000 (12:06 +0000)]
Fixup some more old version comparison stuff

13 years agoFix mention of needing 5.1.X or higher in PHP4 file
Sam Reed [Tue, 15 Mar 2011 12:03:14 +0000 (12:03 +0000)]
Fix mention of needing 5.1.X or higher in PHP4 file

13 years agoAfter r83879, we're requiring php 5.2.3
Sam Reed [Tue, 15 Mar 2011 12:00:53 +0000 (12:00 +0000)]
After r83879, we're requiring php 5.2.3

Remove < 5.1.7 check and related code

13 years agoFix exception on TWN raised in r83855 CR.
Happy-melon [Tue, 15 Mar 2011 11:20:15 +0000 (11:20 +0000)]
Fix exception on TWN raised in r83855 CR.

13 years agoFollow-up r83909: Use 'parentheses' message for consistency instead of hardcoded []
Raimond Spekking [Tue, 15 Mar 2011 08:37:23 +0000 (08:37 +0000)]
Follow-up r83909: Use 'parentheses' message for consistency instead of hardcoded []

13 years agoFollow-up r83909: The message key is named 'ipadressedorusername'
Raimond Spekking [Tue, 15 Mar 2011 08:16:00 +0000 (08:16 +0000)]
Follow-up r83909: The message key is named 'ipadressedorusername'

13 years agoFix bug 28053. Just move createacount link stuff out of the ipinheader spot to where...
Daniel Friesen [Tue, 15 Mar 2011 07:21:44 +0000 (07:21 +0000)]
Fix bug 28053. Just move createacount link stuff out of the ipinheader spot to where it should be.

13 years agoremoving another use of the vertical tab & form feed escapes, which are not available...
Neil Kandalgaonkar [Tue, 15 Mar 2011 04:41:15 +0000 (04:41 +0000)]
removing another use of the vertical tab & form feed escapes, which are not available in production php5.2.4

13 years agothe vertical tab \v and form feed \f escapes are not available in php5.2.4 which...
Neil Kandalgaonkar [Tue, 15 Mar 2011 04:37:06 +0000 (04:37 +0000)]
the vertical tab \v and form feed \f escapes are not available in php5.2.4 which is what we run in production. Using equivalent hexadecimal

13 years agor83812, r83814: Don't use cl_type at all when paging categorylinks
Marcin Cieślak [Tue, 15 Mar 2011 02:53:00 +0000 (02:53 +0000)]
r83812, r83814: Don't use cl_type at all when paging categorylinks

* Remove cl_type from paging in categorylinks - it's not
  really needed there. Although cl_type is in WHERE but not
  in ORDER BY clause the worst thing that can happen
  is to have a filesort going again through <500 entries
  selected by index. Or will FORCE INDEX work anyway?

* Revert schema change, as we don't need cl_type there
  anyway (or even if we wanted to compare, it should
  work as expected by using INT values against ENUM).

13 years agooops, don't delete char before the slash, followup to r83902
Ryan Kaldari [Tue, 15 Mar 2011 02:03:01 +0000 (02:03 +0000)]
oops, don't delete char before the slash, followup to r83902

13 years agokeep double slash filter from breaking absolute URLs, fix to r83902
Ryan Kaldari [Tue, 15 Mar 2011 01:57:37 +0000 (01:57 +0000)]
keep double slash filter from breaking absolute URLs, fix to r83902

13 years agoFix sneaky assignment in conditional
Sam Reed [Tue, 15 Mar 2011 00:34:44 +0000 (00:34 +0000)]
Fix sneaky assignment in conditional

13 years agoTrim/fix whitespace
Sam Reed [Mon, 14 Mar 2011 23:44:41 +0000 (23:44 +0000)]
Trim/fix whitespace

13 years ago* (bug 28034) uploading file to local wiki when file exists on shared repository...
Sam Reed [Mon, 14 Mar 2011 23:33:45 +0000 (23:33 +0000)]
* (bug 28034) uploading file to local wiki when file exists on shared repository (commons) gives spurious info in the warning message

Applying patch with one minor addition

13 years agoMore documentation while poking bugs
Sam Reed [Mon, 14 Mar 2011 23:07:42 +0000 (23:07 +0000)]
More documentation while poking bugs

13 years agoFollow-up r83909: fix error on TWN
Happy-melon [Mon, 14 Mar 2011 22:26:37 +0000 (22:26 +0000)]
Follow-up r83909: fix error on TWN

13 years agobug 28040 Turkish: properly lower case 'I' to 'ı' (dotless i)
Antoine Musso [Mon, 14 Mar 2011 22:14:39 +0000 (22:14 +0000)]
bug 28040 Turkish: properly lower case 'I' to 'ı' (dotless i)

Turkish has two different i, one with a dot and another without a dot. They
are totally different letters in this language, so we have to override the
ucfirst and lcfirst methods.
See http://en.wikipedia.org/wiki/Dotted_and_dotless_I

Credits to #wikipedia-tr users berm, []LuCkY[] and Emperyan

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Mon, 14 Mar 2011 21:28:18 +0000 (21:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-03-14 21:06:00 UTC)

13 years agoFollow-up r83909, fix errors seen on TWN reported in CR
Happy-melon [Mon, 14 Mar 2011 21:10:41 +0000 (21:10 +0000)]
Follow-up r83909, fix errors seen on TWN reported in CR

13 years agoFix overestimation of max-width when using perrow mode.
Derk-Jan Hartman [Mon, 14 Mar 2011 21:08:32 +0000 (21:08 +0000)]
Fix overestimation of max-width when using perrow mode.
Also use const variables to make this more readable.

Fixes bug 27577
Follow up to r77411

13 years agoFix for r83909: rename the corresponding -summary message. Forgotten to Crtl-S before...
Raimond Spekking [Mon, 14 Mar 2011 21:00:28 +0000 (21:00 +0000)]
Fix for r83909: rename the corresponding -summary message. Forgotten to Crtl-S before committing r83960

13 years agoFix for r83909: Add new messag to avoid lt;blocklist&gt; on Special:SpecialPages
Raimond Spekking [Mon, 14 Mar 2011 20:46:46 +0000 (20:46 +0000)]
Fix for r83909: Add new messag to avoid lt;blocklist&gt; on Special:SpecialPages
rename the corresponding -summary message

13 years agoFix artifact of 2 working copies from r83831
Sam Reed [Mon, 14 Mar 2011 20:26:15 +0000 (20:26 +0000)]
Fix artifact of 2 working copies from r83831

13 years agoFollow-up r82310 CR: Adding comment about document ready (since it uses jQuery and...
Krinkle [Mon, 14 Mar 2011 18:11:19 +0000 (18:11 +0000)]
Follow-up r82310 CR: Adding comment about document ready (since it uses jQuery and interacts with DOM elements)

13 years agoFollowup r83891: don't insert a newline before ++ or -- . Patch by Paul Copperman
Roan Kattouw [Mon, 14 Mar 2011 18:04:39 +0000 (18:04 +0000)]
Followup r83891: don't insert a newline before ++ or -- . Patch by Paul Copperman

13 years agoFollowup to r81507: Call to undefined method StandardTemplate::showEmailUser()
Marcin Cieślak [Mon, 14 Mar 2011 17:59:31 +0000 (17:59 +0000)]
Followup to r81507: Call to undefined method StandardTemplate::showEmailUser()

Fixes:

PHP Fatal error:  Call to undefined method StandardTemplate::showEmailUser() in skins/Standard.php on line 262

13 years agoComplete the trinity of blocking frontend interfaces by rewriting SpecialIpblocklist:
Happy-melon [Mon, 14 Mar 2011 16:09:44 +0000 (16:09 +0000)]
Complete the trinity of blocking frontend interfaces by rewriting SpecialIpblocklist:
* Move and rename to SpecialBlockList
* Use an HTMLForm in GET mode for the options form
* Use TablePager to organise the results more nicely
* Standardise the filtration for IPs and IP ranges, so looking at blocks for a range will now also show rangeblocks which contain the range
* General tidy up

13 years agoFollow-up r83907: some CSS to achieve flat lists
Happy-melon [Mon, 14 Mar 2011 15:56:51 +0000 (15:56 +0000)]
Follow-up r83907: some CSS to achieve flat lists

13 years agoSome tweaks to HTMLMultiSelect form to make it play nicely with GET forms, and also...
Happy-melon [Mon, 14 Mar 2011 15:50:26 +0000 (15:50 +0000)]
Some tweaks to HTMLMultiSelect form to make it play nicely with GET forms, and also to allow a 'flat list' of options

13 years ago(bug 27564) Timestamp of site module embedded in Squid-cached page HTML
Roan Kattouw [Mon, 14 Mar 2011 15:16:43 +0000 (15:16 +0000)]
(bug 27564) Timestamp of site module embedded in Squid-cached page HTML

13 years ago(bug 27052) CSSMin generated URLs like foo//../bar in some cases, which apparently...
Roan Kattouw [Mon, 14 Mar 2011 15:01:50 +0000 (15:01 +0000)]
(bug 27052) CSSMin generated URLs like foo//../bar in some cases, which apparently resolves to foo/bar rather than foo/../bar or bar . Fixed by eliminating duplicate slashes from the file URL when remapping

13 years ago(bug 27054) Implicit end of statement can break stuff when files are combined. Applie...
Roan Kattouw [Mon, 14 Mar 2011 14:25:23 +0000 (14:25 +0000)]
(bug 27054) Implicit end of statement can break stuff when files are combined. Applied patch by Paul Copperman: add a semicolon to the end of every module when combining; this'll terminate any unterminated final statement, and otherwise create a harmless empty statement.

13 years agoPer Nikerabbit, add some minifier tests for historic failure cases that I had lying...
Roan Kattouw [Mon, 14 Mar 2011 13:55:42 +0000 (13:55 +0000)]
Per Nikerabbit, add some minifier tests for historic failure cases that I had lying around

13 years agoFollowup r83885: implement maximum line length and statement termination (each statem...
Roan Kattouw [Mon, 14 Mar 2011 13:24:30 +0000 (13:24 +0000)]
Followup r83885: implement maximum line length and statement termination (each statement on its own line) in JavaScriptMinifier. Also add globals for these things and update minify.php for these new config vars.

13 years agoFix for r83855: Add new messages to avoid lt;block&gt; &lt;unblock&gt; on Special...
Raimond Spekking [Mon, 14 Mar 2011 12:20:34 +0000 (12:20 +0000)]
Fix for r83855: Add new messages to avoid lt;block&gt; &lt;unblock&gt; on Special:SpecialPages

13 years ago(bug 27528) Incorporate Paul Copperman's minifier
Roan Kattouw [Mon, 14 Mar 2011 11:44:33 +0000 (11:44 +0000)]
(bug 27528) Incorporate Paul Copperman's minifier

13 years agoExpand r83882.
Happy-melon [Mon, 14 Mar 2011 11:22:48 +0000 (11:22 +0000)]
Expand r83882.

13 years agoFollowup r83849, fix join to be on indexed user_name
Sam Reed [Mon, 14 Mar 2011 11:07:58 +0000 (11:07 +0000)]
Followup r83849, fix join to be on indexed user_name

13 years agoFollow-up r83855: MessagesQqq documentation
Happy-melon [Mon, 14 Mar 2011 11:07:14 +0000 (11:07 +0000)]
Follow-up r83855: MessagesQqq documentation

13 years agoFixup whitespace
Sam Reed [Mon, 14 Mar 2011 11:06:57 +0000 (11:06 +0000)]
Fixup whitespace

13 years agoPartial revert r83845, use indexed fields for join
Sam Reed [Mon, 14 Mar 2011 11:05:35 +0000 (11:05 +0000)]
Partial revert r83845, use indexed fields for join

13 years agoRequire at least PHP 5.2.3. There's not much point increasing the minimum to 5.2...
Tim Starling [Mon, 14 Mar 2011 10:42:07 +0000 (10:42 +0000)]
Require at least PHP 5.2.3. There's not much point increasing the minimum to 5.2.0, as I argued at lists.wikimedia.org/pipermail/wikitech-l/2010-November/050138.html . But requiring 5.2.3 is a significant win. Updates r83217.

13 years agoFix r83140: 'ObjectCache::newAnything' is not a valid callback, use array( 'ObjectCac...
Roan Kattouw [Mon, 14 Mar 2011 10:27:24 +0000 (10:27 +0000)]
Fix r83140: 'ObjectCache::newAnything' is not a valid callback, use array( 'ObjectCache', 'newAnything' ) . Apparently this explodes in some versions of PHP but not in others

13 years agoRevert r67661 (change Title::makeTitle(NS_SPECIAL, $foo) to SpecialPage::getTitleFor...
Roan Kattouw [Mon, 14 Mar 2011 10:03:07 +0000 (10:03 +0000)]
Revert r67661 (change Title::makeTitle(NS_SPECIAL, $foo) to SpecialPage::getTitleFor($foo)), caused bug 27671 (search suggestions no longer list canonical names for special pages). Went with makeTitleSafe() instead of makeTitle() just in case weird things make their way into the special page aliases.

13 years ago(bug 27975) Fix r83529 (slave catchup in updateCollation.php) to not try to wait...
Roan Kattouw [Mon, 14 Mar 2011 09:30:56 +0000 (09:30 +0000)]
(bug 27975) Fix r83529 (slave catchup in updateCollation.php) to not try to wait for slaves if there are none. Reporter was getting a permission error for getting the master position on a single-server setup

13 years agoRevert r79122, causes bug 27891 (old version seen immediately after edit).
Tim Starling [Mon, 14 Mar 2011 04:26:52 +0000 (04:26 +0000)]
Revert r79122, causes bug 27891 (old version seen immediately after edit).

13 years ago(bug 28020) Moving pages causes the cl_sortkey thats appropriate for one of the categ...
Brian Wolff [Mon, 14 Mar 2011 02:19:28 +0000 (02:19 +0000)]
(bug 28020) Moving pages causes the cl_sortkey thats appropriate for one of the categorylinks, to be set for all of them.
But the cl_sortkey_prefix are kept to the right value for the cl_sortkey's that are set to the wrong value, totally messing things up.

End result is: Have a page, with some categories having different sortkeys, move that page, now all the categories have the same
sortkey, but still have their original prefix, so linksupdate things the sortkey is correct. End result is null edits don't fix
the sortkey, nothing but removing and re-adding category will reset sortkey to correct value.

13 years agoCommit last of my w/c
Sam Reed [Mon, 14 Mar 2011 01:04:16 +0000 (01:04 +0000)]
Commit last of my w/c

Documentation, braces, explicit variable definitions

13 years agoBug 2557: Sidebar items missing from classic, cologne blue, simple skins
Marcin Cieślak [Sun, 13 Mar 2011 23:12:59 +0000 (23:12 +0000)]
Bug 2557: Sidebar items missing from classic, cologne blue, simple skins

* Simple skin support multiple sidebar items
* Standard (a.k.a. Classic) likes to add "my watchlist" and "my contributions"
  links at the bottom of the first sidebar box. It also has no titles for boxes.
* Cologne blue supports multiple sidebar boxes with titles.

13 years ago* (bug 27585) add pagecount to list=filearchive
Sam Reed [Sun, 13 Mar 2011 23:04:51 +0000 (23:04 +0000)]
* (bug 27585) add pagecount to list=filearchive

13 years ago* (bug 28031) Add pageCount support to ArchivedFile
Sam Reed [Sun, 13 Mar 2011 22:58:41 +0000 (22:58 +0000)]
* (bug 28031) Add pageCount support to ArchivedFile

Apply my patch

Add documentation to File

13 years agoSome braces, and also return type documentation
Sam Reed [Sun, 13 Mar 2011 22:26:56 +0000 (22:26 +0000)]
Some braces, and also return type documentation

13 years ago(no commit message)
Sam Reed [Sun, 13 Mar 2011 22:23:57 +0000 (22:23 +0000)]

13 years agoFollowup r83856
Sam Reed [Sun, 13 Mar 2011 22:12:57 +0000 (22:12 +0000)]
Followup r83856

Per BRYAN (;P) don't use a conditional parameter, just die if miser mode and prefix set

13 years agoDon't reinvent the wheel in SpecialMIMEsearch.php to "parseMIME", use File::splitMime
Sam Reed [Sun, 13 Mar 2011 22:02:40 +0000 (22:02 +0000)]
Don't reinvent the wheel in SpecialMIMEsearch.php to "parseMIME", use File::splitMime

13 years ago* (bug 27020) API: Allow title prefix search of logevents (only when not in miser...
Sam Reed [Sun, 13 Mar 2011 21:43:20 +0000 (21:43 +0000)]
* (bug 27020) API: Allow title prefix search of logevents (only when not in miser mode)

Won't work on WMF wiki's as miser mode is enabled, but won't show as an available option either

13 years agoFurther massive rewrite of the blocking frontend: spin out unblocking into a new...
Happy-melon [Sun, 13 Mar 2011 21:33:52 +0000 (21:33 +0000)]
Further massive rewrite of the blocking frontend: spin out unblocking into a new SpecialUnblock.php.  This leaves IPBlockList as, astonishingly enough, a list of blocks... :D

13 years agoFix undefined $p from r83797
Sam Reed [Sun, 13 Mar 2011 21:33:35 +0000 (21:33 +0000)]
Fix undefined $p from r83797

13 years agoDocumentation
Sam Reed [Sun, 13 Mar 2011 21:17:37 +0000 (21:17 +0000)]
Documentation

13 years agoFollowup r33162, use $this->pager to fix undefined $pager
Sam Reed [Sun, 13 Mar 2011 21:12:57 +0000 (21:12 +0000)]
Followup r33162, use $this->pager to fix undefined $pager

13 years agoAdd missing group by from r83849 per Bryan
Sam Reed [Sun, 13 Mar 2011 19:35:08 +0000 (19:35 +0000)]
Add missing group by from r83849 per Bryan

13 years agoFollowup r83843, r83837, per brian, addOption unconditionally replaces ORDER BY etc...
Sam Reed [Sun, 13 Mar 2011 19:28:44 +0000 (19:28 +0000)]
Followup r83843, r83837, per brian, addOption unconditionally replaces ORDER BY etc, so fix that

Simplify addFields call, remove un-needed array for 1 element

13 years ago* (bug 26630) Add api for Special:ActiveUsers
Sam Reed [Sun, 13 Mar 2011 19:07:22 +0000 (19:07 +0000)]
* (bug 26630) Add api for Special:ActiveUsers

Not sure if this would be better having been done as list=activeusers or something...

Meh, done! :P

13 years agosetting servername with an IPv6 request must ensure we have both brackets
Antoine Musso [Sun, 13 Mar 2011 18:31:00 +0000 (18:31 +0000)]
setting servername with an IPv6 request must ensure we have both brackets

On lighttpd 1.4.28, the SERVER_NAME CGI variable is truncated at the first
colon. This makes it return an incorrect value for SERVER_NAME when the user
make the request to an IPv6, it outputs something like [2001.

This patch make sure we have either both opening and closing brackets or no
brackets at all (hence the 'xor' boolean check).

+ipv6

13 years agoJoin user table to recentchanges on user id, rather than user_text
Sam Reed [Sun, 13 Mar 2011 18:23:33 +0000 (18:23 +0000)]
Join user table to recentchanges on user id, rather than user_text

Add some documentation

13 years agoBug 27341 - Add drto param to list=deletedrevs
Sam Reed [Sun, 13 Mar 2011 17:59:27 +0000 (17:59 +0000)]
Bug 27341 - Add drto param to list=deletedrevs

Tidy code up a little bit

13 years ago* (bug 27203) add fato param to list=filearchive
Sam Reed [Sun, 13 Mar 2011 17:41:47 +0000 (17:41 +0000)]
* (bug 27203) add fato param to list=filearchive

Cleanup some whitespace also

13 years agoCleanup/simplify code added to alllinks in r70584
Sam Reed [Sun, 13 Mar 2011 17:36:31 +0000 (17:36 +0000)]
Cleanup/simplify code added to alllinks in r70584

13 years agoFixup a couple more hardcoded module prefixes in help
Sam Reed [Sun, 13 Mar 2011 17:28:53 +0000 (17:28 +0000)]
Fixup a couple more hardcoded module prefixes in help

13 years agoMinor followup to r83814, also fix some other existances
Sam Reed [Sun, 13 Mar 2011 17:26:29 +0000 (17:26 +0000)]
Minor followup to r83814, also fix some other existances

Don't hardcode module prefixes (just incase they're subclassed at somepoint... :) )

13 years ago* (bug 27342) Add audir param to list=allusers
Sam Reed [Sun, 13 Mar 2011 17:23:45 +0000 (17:23 +0000)]
* (bug 27342) Add audir param to list=allusers

13 years ago* (bug 27340) API: Allow listing of "small" categories
Sam Reed [Sun, 13 Mar 2011 17:16:07 +0000 (17:16 +0000)]
* (bug 27340) API: Allow listing of "small" categories

13 years agoFollow-up r83825: fix fatal in API
Happy-melon [Sun, 13 Mar 2011 17:02:50 +0000 (17:02 +0000)]
Follow-up r83825: fix fatal in API

13 years ago* (bug 27183) API: Add filter by customisation state for meta=allmessages
Sam Reed [Sun, 13 Mar 2011 16:36:51 +0000 (16:36 +0000)]
* (bug 27183) API: Add filter by customisation state for meta=allmessages

13 years agoFollow-up r83827: a Block object will never be internally of TYPE_ID.
Happy-melon [Sun, 13 Mar 2011 15:44:49 +0000 (15:44 +0000)]
Follow-up r83827: a Block object will never be internally of TYPE_ID.

13 years agoSort special pages in MessagesEn::$specialPageAliases
Happy-melon [Sun, 13 Mar 2011 15:22:59 +0000 (15:22 +0000)]
Sort special pages in MessagesEn::$specialPageAliases

13 years agoFollow-up r83825: fix Block::parseTarget to recognise autoblocks separately, and...
Happy-melon [Sun, 13 Mar 2011 15:14:33 +0000 (15:14 +0000)]
Follow-up r83825: fix Block::parseTarget to recognise autoblocks separately, and change Block::getRedactedName() to run the string through a system message for localisation