lhc/web/wiklou.git
15 years agoAPI: Fix up r46825:
Roan Kattouw [Mon, 9 Feb 2009 14:07:18 +0000 (14:07 +0000)]
API: Fix up r46825:
* put the tables in the right order
* JOIN on user_text as well for better index usage
* Force the index on the recentchanges table as well
* Don't ORDER BY rev_user_text if it's constant

15 years agoFix some more regressions from r46845 reported by Brad Jorsch on the mediawiki-api...
Roan Kattouw [Mon, 9 Feb 2009 13:28:12 +0000 (13:28 +0000)]
Fix some more regressions from r46845 reported by Brad Jorsch on the mediawiki-api list <lists.wikimedia.org/pipermail/mediawiki-api/2009-February/000924.html>

15 years agoFollow up r47025: Add new message
Raimond Spekking [Mon, 9 Feb 2009 12:39:54 +0000 (12:39 +0000)]
Follow up r47025: Add new message

15 years agoSimple proof-of-principle script to generate a CDB file from the currently loaded...
Tim Starling [Mon, 9 Feb 2009 09:37:13 +0000 (09:37 +0000)]
Simple proof-of-principle script to generate a CDB file from the currently loaded extensions

15 years ago* Update message 'pipe-separator' to have leading and trailing space for English...
Siebrand Mazeland [Mon, 9 Feb 2009 09:13:30 +0000 (09:13 +0000)]
* Update message 'pipe-separator' to have leading and trailing space for English and Occitan, to be able to remove some hard coded spaces
* Take out some hard coded pipe characters. Replace by message or Language::pipeList
* Take out a hard coded comma list SpecialIpblocklist.php. Replace by Language::commaList

15 years agoFallback for Yakut to Russian per request of translator HalanTul
Siebrand Mazeland [Mon, 9 Feb 2009 08:34:55 +0000 (08:34 +0000)]
Fallback for Yakut to Russian per request of translator HalanTul

15 years ago* Tweaks for bug 17052:
Aaron Schulz [Mon, 9 Feb 2009 07:42:54 +0000 (07:42 +0000)]
* Tweaks for bug 17052:
** Made radio button default selection fallback to the next one for deleted revs
** Use deleted diff message rather than showing an ambiguous "empty diff"
* Code style tweaks

15 years ago* Minor adjustment to previous commit, unify ordering (print footer, then debug data).
Robert Leverington [Sun, 8 Feb 2009 23:48:48 +0000 (23:48 +0000)]
* Minor adjustment to previous commit, unify ordering (print footer, then debug data).

15 years ago* (bug 17408) Add $wgShowDebug configuration variable, displays debug data at the...
Robert Leverington [Sun, 8 Feb 2009 23:39:17 +0000 (23:39 +0000)]
* (bug 17408) Add $wgShowDebug configuration variable, displays debug data at the bottom of the main content area when enabled.

15 years agoLocalisation updates for core messages from translatewiki.net (2009-02-08 22:48 UTC)
Siebrand Mazeland [Sun, 8 Feb 2009 22:54:52 +0000 (22:54 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-08 22:48 UTC)

15 years ago(bug 17404) "userrights-interwiki" right was missing in User::$mCoreRights
Alexandre Emsenhuber [Sun, 8 Feb 2009 19:28:37 +0000 (19:28 +0000)]
(bug 17404) "userrights-interwiki" right was missing in User::$mCoreRights

15 years ago* Recommit r39503. (bug 14468) Lines in classic RecentChanges and Watchlist now have...
Siebrand Mazeland [Sun, 8 Feb 2009 15:55:32 +0000 (15:55 +0000)]
* Recommit r39503. (bug 14468) Lines in classic RecentChanges and Watchlist now have classes "mw-line-odd" and "mw-line-even" to make styling using css possible. Implemented in OldChangesList::recentChangesLine using an additional parameter, while keeping behaviour for other uses unchanged. Did not see any use adding this to ChangesList::recentChangesLine.
* keep RELEASE-NOTES lines under 80 characters

15 years agoLocalization update.
Rotem Liss [Sun, 8 Feb 2009 15:34:27 +0000 (15:34 +0000)]
Localization update.

15 years agoFix on r47003. Use the correct message key. Thanks to UV for spotting this.
Siebrand Mazeland [Sun, 8 Feb 2009 14:11:44 +0000 (14:11 +0000)]
Fix on r47003. Use the correct message key. Thanks to UV for spotting this.

15 years ago(bug 16909) Histlegend message should use live 'cur', 'last' messages instead of...
Siebrand Mazeland [Sun, 8 Feb 2009 09:56:57 +0000 (09:56 +0000)]
(bug 16909) Histlegend message should use live 'cur', 'last' messages instead of duplicating their contents. (not necessarily possible to all localisations)

15 years ago(bug 17341) "Powered by MediaWiki" should be on the left on RTL wikis
Siebrand Mazeland [Sat, 7 Feb 2009 23:46:43 +0000 (23:46 +0000)]
(bug 17341) "Powered by MediaWiki" should be on the left on RTL wikis

15 years agoLocalisation updates for core messages from translatewiki.net (2009-02-07 21:24 UTC)
Siebrand Mazeland [Sat, 7 Feb 2009 21:54:13 +0000 (21:54 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-07 21:24 UTC)

15 years agoLocalization update.
Rotem Liss [Sat, 7 Feb 2009 18:23:06 +0000 (18:23 +0000)]
Localization update.

15 years agoLocalisation updates: Updating magic words and special page aliases
Huji [Sat, 7 Feb 2009 15:41:30 +0000 (15:41 +0000)]
Localisation updates: Updating magic words and special page aliases

15 years agoCorrect fix for the E_NOTICE fixed in r46977.
Alexandre Emsenhuber [Sat, 7 Feb 2009 15:22:01 +0000 (15:22 +0000)]
Correct fix for the E_NOTICE fixed in r46977.

15 years ago* Fix E_NOTICE
Alexandre Emsenhuber [Sat, 7 Feb 2009 15:16:51 +0000 (15:16 +0000)]
* Fix E_NOTICE
* Add page title

15 years agoFix another E_NOTICE.
Chad Horohoe [Sat, 7 Feb 2009 15:13:42 +0000 (15:13 +0000)]
Fix another E_NOTICE.

15 years agoFix E_STRICT per Raymond.
Chad Horohoe [Sat, 7 Feb 2009 14:44:56 +0000 (14:44 +0000)]
Fix E_STRICT per Raymond.

15 years agoMinor alphabetsize.
Greg Sabino Mullane [Sat, 7 Feb 2009 05:46:24 +0000 (05:46 +0000)]
Minor alphabetsize.

15 years agoLocalisation updates Cantonese and Chinese
Shinjiman [Sat, 7 Feb 2009 02:13:54 +0000 (02:13 +0000)]
Localisation updates Cantonese and Chinese

15 years agoRewrite Special:Export to subclass SpecialPage.
Chad Horohoe [Fri, 6 Feb 2009 23:36:12 +0000 (23:36 +0000)]
Rewrite Special:Export to subclass SpecialPage.

15 years agoAdd 'include pages linked to from these pages' to Special:Export and the correspondin...
Andrew Garrett [Fri, 6 Feb 2009 22:44:28 +0000 (22:44 +0000)]
Add 'include pages linked to from these pages' to Special:Export and the corresponding transwiki interface.

15 years agoSmall tweak for 'noarticletext'
Siebrand Mazeland [Fri, 6 Feb 2009 22:15:02 +0000 (22:15 +0000)]
Small tweak for 'noarticletext'

15 years agoLocalization update.
Rotem Liss [Fri, 6 Feb 2009 22:03:57 +0000 (22:03 +0000)]
Localization update.

15 years agoGive users a direct link to the page log so as to more easily find
Purodha B Blissenbach [Fri, 6 Feb 2009 21:56:04 +0000 (21:56 +0000)]
Give users a direct link to the page log so as to more easily find
deleted redirects after page moves, or pages moved without automated
redirects, as per a suggestion of user Church of emacs, see:
http://translatewiki.net/wiki/Support#MediaWiki:Noarticletext

15 years agoFix for r46460: use "CREATE INDEX ... ON ..." rather than inside "CREATE TABLE" so...
Alexandre Emsenhuber [Fri, 6 Feb 2009 21:17:43 +0000 (21:17 +0000)]
Fix for r46460: use "CREATE INDEX ... ON ..." rather than inside "CREATE TABLE" so that SQLite doesn't throw an error when creating new tables

15 years agoCache preprocessor output in memcached.
Andrew Garrett [Fri, 6 Feb 2009 20:27:58 +0000 (20:27 +0000)]
Cache preprocessor output in memcached.

15 years ago(bug 17190) User ID on prefs page shouldn't be delimited.
Chad Horohoe [Fri, 6 Feb 2009 19:52:35 +0000 (19:52 +0000)]
(bug 17190) User ID on prefs page shouldn't be delimited.

15 years agoRevert "Revert r46880, r46902. After issues with editing rights for pages in r46880...
Andrew Garrett [Fri, 6 Feb 2009 17:58:18 +0000 (17:58 +0000)]
Revert "Revert r46880, r46902. After issues with editing rights for pages in r46880, there are issues with moving pages in r46902. Repored by Hojjat, confirmed by me.", with the 'issues' fixed -- the problem was that the 'move-target' action wasn't being handled
properly

15 years agoLocalization update.
Rotem Liss [Fri, 6 Feb 2009 17:04:44 +0000 (17:04 +0000)]
Localization update.

15 years agoMake 'nosuchactiontext' more correct.
Siebrand Mazeland [Fri, 6 Feb 2009 15:10:42 +0000 (15:10 +0000)]
Make 'nosuchactiontext' more correct.

15 years agoHide title if DELETED_ACTION is on, but don't worry about type/action, which isn...
Aaron Schulz [Fri, 6 Feb 2009 14:42:50 +0000 (14:42 +0000)]
Hide title if DELETED_ACTION is on, but don't worry about type/action, which isn't what we're worried about

15 years ago(bug 17379) GENDER now works with Contributions-title
Chad Horohoe [Fri, 6 Feb 2009 14:40:56 +0000 (14:40 +0000)]
(bug 17379) GENDER now works with Contributions-title

15 years agoMove cascade below page_restrictions check
Aaron Schulz [Fri, 6 Feb 2009 14:35:17 +0000 (14:35 +0000)]
Move cascade below page_restrictions check

15 years ago1. Namespace translation for Chinese Language.
Philip Tzou [Fri, 6 Feb 2009 13:21:11 +0000 (13:21 +0000)]
1. Namespace translation for Chinese Language.
2. New function to convert namespace text for display. (only applies on wiki with LanguageConverter class)

15 years agoRevert r46880, r46902. After issues with editing rights for pages in r46880, there...
Siebrand Mazeland [Fri, 6 Feb 2009 12:27:16 +0000 (12:27 +0000)]
Revert r46880, r46902. After issues with editing rights for pages in r46880, there are issues with moving pages in r46902. Repored by Hojjat, confirmed by me.

15 years agoLocalization update for he.
Rotem Liss [Fri, 6 Feb 2009 11:51:34 +0000 (11:51 +0000)]
Localization update for he.

15 years agoFix fatal error in r46885 (add templates parameter to action=import): add missing...
Roan Kattouw [Fri, 6 Feb 2009 10:25:51 +0000 (10:25 +0000)]
Fix fatal error in r46885 (add templates parameter to action=import): add missing comma

15 years agoFix for r46880 -- didn't take into account that the action does not always correspond...
Andrew Garrett [Fri, 6 Feb 2009 07:24:09 +0000 (07:24 +0000)]
Fix for r46880 -- didn't take into account that the action does not always correspond directly to the required permission.

15 years agoFixed missing quotes in r46840
Tim Starling [Fri, 6 Feb 2009 05:43:26 +0000 (05:43 +0000)]
Fixed missing quotes in r46840

15 years agoMore installer XSS
Tim Starling [Fri, 6 Feb 2009 03:46:35 +0000 (03:46 +0000)]
More installer XSS

15 years agoTreat svn:// URLs as external links by default
Aryeh Gregor [Fri, 6 Feb 2009 00:49:49 +0000 (00:49 +0000)]
Treat svn:// URLs as external links by default

By request of Jinx on IRC.  We could add boatloads more of these . . .
ssh://, git://, svn+ssh://, probably a lot more.

15 years agoAdd r46884 (Import templates via interwiki) to API as well.
Chad Horohoe [Fri, 6 Feb 2009 00:21:06 +0000 (00:21 +0000)]
Add r46884 (Import templates via interwiki) to API as well.

15 years ago(bug 15283) Interwiki imports should fetch included templates
Chad Horohoe [Fri, 6 Feb 2009 00:02:44 +0000 (00:02 +0000)]
(bug 15283) Interwiki imports should fetch included templates

15 years agoMake parserTests.php more git bisect-friendly
Aryeh Gregor [Thu, 5 Feb 2009 23:41:00 +0000 (23:41 +0000)]
Make parserTests.php more git bisect-friendly

Now the following commands can track down parser test regressions (if
you're using git svn, of course):

  git bisect start bad-rev good-rev
  git bisect run maintenance/parserTests.php --regex 'Test name'

Just type those in (replacing "bad-rev" and "good-rev" with revision
ids, and 'Test name' with a regex that uniquely matches the regressing
test's name), and git will magically find the first bad revision for you
in a couple of minutes.  (Then run git bisect reset to get back to
normal.)

All I changed to make this possible was changing the error return code
from 255 (-1) to 1.  git bisect treats 1-124 and 126-127 as error codes,
but for some reason doesn't like 128-255.

15 years ago* adding type="application/<feedtype>+xml" to links pointing to feeds
Danny B [Thu, 5 Feb 2009 23:36:26 +0000 (23:36 +0000)]
* adding type="application/<feedtype>+xml" to links pointing to feeds

15 years agoMake nofollow exceptions unset for parser tests
Aryeh Gregor [Thu, 5 Feb 2009 23:35:57 +0000 (23:35 +0000)]
Make nofollow exceptions unset for parser tests

This was causing a local parser test regression, because I had
$wgNoFollowDomainExceptions containing wikipedia.org.

15 years agoMove permissions check in getUserPermissionsErrorsInternal up to the top. There's...
Andrew Garrett [Thu, 5 Feb 2009 23:29:19 +0000 (23:29 +0000)]
Move permissions check in getUserPermissionsErrorsInternal up to the top. There's little use in short-circuiting in this method if we do the operations in order from most expensive (and least likely to short-circuit) to least expensive (and most likely to short-circuit).

15 years agoAdd Tags special page to "changes" group.
Andrew Garrett [Thu, 5 Feb 2009 23:04:08 +0000 (23:04 +0000)]
Add Tags special page to "changes" group.

15 years ago* adding rel="alternate" to links pointing to printable version or feed
Danny B [Thu, 5 Feb 2009 22:46:26 +0000 (22:46 +0000)]
* adding rel="alternate" to links pointing to printable version or feed

15 years agoUpdate Postgres schema per r46460
Alexandre Emsenhuber [Thu, 5 Feb 2009 20:55:07 +0000 (20:55 +0000)]
Update Postgres schema per r46460

15 years ago* STFU E_WARN, please review for correcteness
Niklas Laxström [Thu, 5 Feb 2009 19:55:57 +0000 (19:55 +0000)]
* STFU E_WARN, please review for correcteness

15 years agoLocalisation updates for core messages from translatewiki.net
Siebrand Mazeland [Thu, 5 Feb 2009 19:26:39 +0000 (19:26 +0000)]
Localisation updates for core messages from translatewiki.net
* contains the changes related to r46871

15 years agoUpdate RELEASE-NOTES for r46871.
Siebrand Mazeland [Thu, 5 Feb 2009 18:26:42 +0000 (18:26 +0000)]
Update RELEASE-NOTES for r46871.

15 years ago(bug 6702) Default system messages updated/improved. Processed patches 5327 and 5328...
Siebrand Mazeland [Thu, 5 Feb 2009 18:25:36 +0000 (18:25 +0000)]
(bug 6702) Default system messages updated/improved. Processed patches 5327 and 5328 by Michael De La Rue, with comments from Simetrical, and some of my own findings.
* 'nosuchactiontext' clarified
* replace <strong> with wikiML (''')
* replace <i> with wikiML ('')

15 years agoLocalisation updates for core messages from translatewiki.net (2009-02-05 18:09 UTC)
Siebrand Mazeland [Thu, 5 Feb 2009 18:15:28 +0000 (18:15 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-05 18:09 UTC)

15 years agoFix regression from r46845 which broke ApiResult::cleanUpUTF8() and caused an E_NOTICE
Roan Kattouw [Thu, 5 Feb 2009 15:46:30 +0000 (15:46 +0000)]
Fix regression from r46845 which broke ApiResult::cleanUpUTF8() and caused an E_NOTICE

15 years agoFix E_WARNING reported by siebrand
Roan Kattouw [Thu, 5 Feb 2009 15:31:06 +0000 (15:31 +0000)]
Fix E_WARNING reported by siebrand

15 years agoRELEASE-NOTES for r46845
Roan Kattouw [Thu, 5 Feb 2009 15:25:32 +0000 (15:25 +0000)]
RELEASE-NOTES for r46845

15 years agoLocalization update for he.
Rotem Liss [Thu, 5 Feb 2009 15:17:13 +0000 (15:17 +0000)]
Localization update for he.

15 years ago* API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases...
Roan Kattouw [Thu, 5 Feb 2009 14:30:59 +0000 (14:30 +0000)]
* API: BREAKING CHANGE: (bug 11430) Return fewer results than the limit in some cases to prevent running out of memory
* This means queries could possibly return fewer results than the limit and still set a query-continue
* Add iicontinue, rvcontinue, cicontinue, incontinue, amfrom to faciliate query-continue for these modules
* Implemented by blocking additions to the ApiResult object if they would make it too large
** Important things like query-continue values and warnings are exempt from this check
** RSS feeds and exported XML are also exempted (size-checking them would be too messy)
** Result size is checked against $wgAPIMaxResultSize, which defaults to 8 MB

For those who really care, per-file details follow:

ApiResult.php:
* Introduced ApiResult::$mSize which keeps track of the result size.
* Introduced ApiResult::size() which calculates an array's size
  (which is the sum of the strlen()s of its elements).
* ApiResult::addValue() now checks that the result size stays below
  $wgAPIMaxResultSize. If the item won't fit, it won't be added and addValue()
  will return false. Callers should check the return value and set a
  query-continue if it's false.
* Closed the back door that is ApiResult::getData(): callers can't manipulate
  the data array directly anymore so they can't bypass the result size limit.
* Added ApiResult::setIndexedTagName_internal() which will call
  setIndexedTagName() on an array already in the result. This is needed for the
  'new' order of adding results, which means addValue()ing one result at a time
  until you hit the limit or run out, then calling this function to set the tag
  name.
* Added ApiResult::disableSizeCheck() and enableSizeCheck() which disable and
  enable size checking in addValue(). This is used for stuff like query-continue
  elements and warnings which shouldn't count towards the result size.
* Added ApiResult::unsetValue() which removes an element from the result and
  decreases $mSize.

ApiBase.php:
* Like ApiResult::getData(), ApiBase::getResultData() no longer returns a
  reference.
* Use ApiResult::disableSizeCheck() in ApiBase::setWarning()

ApiQueryBase.php:
* Added ApiQueryBase::addPageSubItem(), which adds page subitems one item
  at a time.
* addPageSubItem() and addPageSubItems() now return whether the subitem
  fit in the result.
* Use ApiResult::disableSizeCheck() in setContinueEnumParameter()

ApiMain.php:
* Use ApiResult::disableSizeCheck() in ApiMain::substituteResultWithError()
* Use getParameter() rather than $mRequest to obtain requestid

DefaultSettings.php:
* Added $wgAPIMaxResultSize, with a default value of 8 MB

ApiQuery*.php:
* Added results one at a time, and set a query-continue if the result is full.

ApiQueryLangLinks.php and friends:
* Migrated from addPageSubItems() to addPageSubItem(). This eliminates the
  need for $lastId.

ApiQueryAllLinks.php, ApiQueryWatchlist.php, ApiQueryAllimages.php, ApiQuerySearch.php:
* Renamed $data to something more appropriate ($pageids, $ids or $titles)

ApiQuerySiteinfo.php:
* Abuse siprop as a query-continue parameter and set it to all props that
  couldn't be processed.

ApiQueryRandom.php:
* Doesn't do continuations, because the result is supposed to be random.
* Be smart enough to not run the second query if the results of the first
  didn't fit.

ApiQueryImageInfo.php, ApiQueryRevisions.php, ApiQueryCategoryInfo.php, ApiQueryInfo.php:
* Added continue parameter which basically skips the first so many items

ApiQueryBacklinks.php:
* Throw the result in a big array first and addValue() that one element at a time if necessary
** This is necessary because the results aren't retrieved in order
* Introduced $this->pageMap to map namespace and title to page ID
* Rewritten extractRowInfo() and extractRedirRowInfo() a little
* Declared all private member variables explicitly

ApiQueryDeletedrevs.php:
* Use a pagemap just like in Backlinks
* Introduce fake page IDs and keep track of them so we know where to add what
** This doesn't change the output format, because the fake page IDs start at 0 and are consecutive

ApiQueryAllmessages.php:
* Add amfrom to facilitate query-continue

ApiQueryUsers.php:
* Rewrite: put the getOtherUsersInfo() code in execute()

15 years ago(bug 17366) fix for r46840: Xml::encodeJsVar() already escapes and quotes $conf-...
Alexandre Emsenhuber [Thu, 5 Feb 2009 11:59:02 +0000 (11:59 +0000)]
(bug 17366) fix for r46840: Xml::encodeJsVar() already escapes and quotes $conf->DBtype, no need to do it twice

15 years ago* API: Listing (semi-)deleted revisions and log entries (with rev_/log_deleted !...
Roan Kattouw [Thu, 5 Feb 2009 11:44:10 +0000 (11:44 +0000)]
* API: Listing (semi-)deleted revisions and log entries (with rev_/log_deleted != 0) as well in prop=revisions and list=logevents, with commenthidden/userhidden/actionhidden/texthidden flags where appropriate
* Still honors the paranoia checks added in r46807
* Use $index consistently in ApiQueryLogEvents
* Some whitespace consistency

15 years agoFix r46838 per IAlex on Code Review
Andrew Garrett [Thu, 5 Feb 2009 09:07:33 +0000 (09:07 +0000)]
Fix r46838 per IAlex on Code Review

15 years ago* Fixed a whole lot of XSS vulnerabilities in the installer. All require a live insta...
Tim Starling [Thu, 5 Feb 2009 08:56:35 +0000 (08:56 +0000)]
* Fixed a whole lot of XSS vulnerabilities in the installer. All require a live installer, i.e. with no LocalSettings.php present.
* Implemented taint support in the installer and fixed some false positives (and false negatives)

15 years ago* Remove unneeded includes
Niklas Laxström [Thu, 5 Feb 2009 08:13:57 +0000 (08:13 +0000)]
* Remove unneeded includes

15 years agoAvoid E_NOTICE for wikis that give no rights to anonymous users.
Andrew Garrett [Thu, 5 Feb 2009 07:52:19 +0000 (07:52 +0000)]
Avoid E_NOTICE for wikis that give no rights to anonymous users.

15 years agoAdd missing mCoreRight 'writeapi' to User.php
Andrew Garrett [Thu, 5 Feb 2009 07:47:46 +0000 (07:47 +0000)]
Add missing mCoreRight 'writeapi' to User.php

15 years agoupdate parserTests.txt per change to red-link-title message in r46663
Alex Z [Thu, 5 Feb 2009 03:12:03 +0000 (03:12 +0000)]
update parserTests.txt per change to red-link-title message in r46663

15 years agoAPI: Re-enable ucprop=patrolled and rcshow=patrolled|!patrolled using the timestamp...
Roan Kattouw [Wed, 4 Feb 2009 23:19:18 +0000 (23:19 +0000)]
API: Re-enable ucprop=patrolled and rcshow=patrolled|!patrolled using the timestamp index for the join (thanks to Tim for pointing this out) and a STRAIGHT_JOIN for the inner join case

15 years agoCommit RELEASE-NOTES for r46823
Roan Kattouw [Wed, 4 Feb 2009 22:56:34 +0000 (22:56 +0000)]
Commit RELEASE-NOTES for r46823

15 years agoAPI: BREAKING CHANGE: Remove rctitles parameter from list=recentchanges for performan...
Roan Kattouw [Wed, 4 Feb 2009 22:51:36 +0000 (22:51 +0000)]
API: BREAKING CHANGE: Remove rctitles parameter from list=recentchanges for performance reasons (requests using it time out on enwiki)

15 years agoAdd ACTIVEUSERS magic-word, complement to NUMBEROFUSERS.
Andrew Garrett [Wed, 4 Feb 2009 22:16:35 +0000 (22:16 +0000)]
Add ACTIVEUSERS magic-word, complement to NUMBEROFUSERS.

15 years agoAPI: Tweak the format for &export to be more XML-friendly. Not a breaking change...
Roan Kattouw [Wed, 4 Feb 2009 22:12:25 +0000 (22:12 +0000)]
API: Tweak the format for &export to be more XML-friendly. Not a breaking change since &export hasn't gone live yet anyway

15 years ago* API: (bug 17007) Add action=import
Roan Kattouw [Wed, 4 Feb 2009 20:11:27 +0000 (20:11 +0000)]
* API: (bug 17007) Add action=import
* Add intoken=import to prop=info
* Store message key and arguments in WikiErrorMsg

15 years agoRemoved check for empty( $action ), seems to be old register_globals code, but since...
Alexandre Emsenhuber [Wed, 4 Feb 2009 19:43:30 +0000 (19:43 +0000)]
Removed check for empty( $action ), seems to be old register_globals code, but since $action is set in index.php with
$action = $wgRequest->getVal( 'action', 'view' );
it can't match empty() in "normal" conditions

15 years ago* API: (bug 17355) Added auwitheditsonly parameter to list=allusers
Roan Kattouw [Wed, 4 Feb 2009 19:10:14 +0000 (19:10 +0000)]
* API: (bug 17355) Added auwitheditsonly parameter to list=allusers
* Use consistent code style

15 years ago* (bug 17231) Transcluding special pages on wikis using language conversion no longer...
Alexandre Emsenhuber [Wed, 4 Feb 2009 19:01:14 +0000 (19:01 +0000)]
* (bug 17231) Transcluding special pages on wikis using language conversion no longer affects the page title
* Whitespaces tweaks in LanguageConverter.php
Please feel free to correct this if it's not the correct solution ;)

15 years ago(bug 17342) Prevent deleted log item leaking (via slow brute-force)
Aaron Schulz [Wed, 4 Feb 2009 18:54:59 +0000 (18:54 +0000)]
(bug 17342) Prevent deleted log item leaking (via slow brute-force)

15 years ago(bug 17352) Improve review UI with regards to blocks
Aaron Schulz [Wed, 4 Feb 2009 18:23:26 +0000 (18:23 +0000)]
(bug 17352) Improve review UI with regards to blocks

15 years agoLocalisation updates for core messages from translatewiki.net (2009-02-04 18:04 UTC)
Siebrand Mazeland [Wed, 4 Feb 2009 18:09:48 +0000 (18:09 +0000)]
Localisation updates for core messages from translatewiki.net (2009-02-04 18:04 UTC)

15 years agoUse "e-mail" consistently.
Siebrand Mazeland [Wed, 4 Feb 2009 18:00:06 +0000 (18:00 +0000)]
Use "e-mail" consistently.

15 years agoNitpicking brigade: fix copyright year
Roan Kattouw [Wed, 4 Feb 2009 14:18:53 +0000 (14:18 +0000)]
Nitpicking brigade: fix copyright year

15 years agoAPI: Temporarily disable ucprop=patrolled and ucshow=patrolled|!patrolled because...
Roan Kattouw [Wed, 4 Feb 2009 13:16:12 +0000 (13:16 +0000)]
API: Temporarily disable ucprop=patrolled and ucshow=patrolled|!patrolled because of performance concerns mentioned on bug 17215

15 years ago(bug 12937) Update native name for Afar
Siebrand Mazeland [Wed, 4 Feb 2009 10:26:26 +0000 (10:26 +0000)]
(bug 12937) Update native name for Afar

15 years agoAdded basic support for Wietse Venema's taint feature. Fixed a few instances of shodd...
Tim Starling [Wed, 4 Feb 2009 09:10:32 +0000 (09:10 +0000)]
Added basic support for Wietse Venema's taint feature. Fixed a few instances of shoddy code that it turned up, no actual vulnerabilities yet.

15 years ago* API: (bug 17326) BREAKING CHANGE: Changing output format for prop=imageinfo&iiprop...
Roan Kattouw [Tue, 3 Feb 2009 16:25:50 +0000 (16:25 +0000)]
* API: (bug 17326) BREAKING CHANGE: Changing output format for prop=imageinfo&iiprop=metadata to something based on name/value pairs. This means we don't use parts of the metadata in attributes anymore, something that caused invalid XML to be output. For more info on the exact format, see the mediawiki-api mailing list
* Removed the spaces-to-underscores hack in the XML formatter

15 years agoWhen creating a new section, one can specify the 'nosummary' parameter to disallow...
X! [Tue, 3 Feb 2009 13:56:31 +0000 (13:56 +0000)]
When creating a new section, one can specify the 'nosummary' parameter to disallow creation of a section title

15 years agoRe-implementation of r46725 (caching of Cite <references /> output).
Andrew Garrett [Tue, 3 Feb 2009 04:58:08 +0000 (04:58 +0000)]
Re-implementation of r46725 (caching of Cite <references /> output).

This time, I've written a Parser method called serialiseHalfParsedText, which, as the name implies, grabs some half-parsed text, and fixes up all of the strip
markers, and link comments, and makes it safe to import some other time with unserialiseHalfParsedText. I tested it by live-hacking the cache key to be a constant,
and then putting <references /> on a completely different page, where it worked perfectly.

15 years ago* Support for the "blobs table" LB config parameter
Tim Starling [Tue, 3 Feb 2009 02:07:00 +0000 (02:07 +0000)]
* Support for the "blobs table" LB config parameter
* Don't redefine the constructor

15 years ago(bug 17330) Fix minor warning if $titles is null, which it can be.
Chad Horohoe [Tue, 3 Feb 2009 00:06:46 +0000 (00:06 +0000)]
(bug 17330) Fix minor warning if $titles is null, which it can be.

15 years agoAdd some core rights
Andrew Garrett [Mon, 2 Feb 2009 23:35:12 +0000 (23:35 +0000)]
Add some core rights

15 years ago(bug 17327) Normalize API help texts: remove quotes
Roan Kattouw [Mon, 2 Feb 2009 23:17:07 +0000 (23:17 +0000)]
(bug 17327) Normalize API help texts: remove quotes

15 years agoLocalization fixes.
Rotem Liss [Mon, 2 Feb 2009 20:23:17 +0000 (20:23 +0000)]
Localization fixes.

15 years ago* API: (bug 17007) Add export functionality to the API
Roan Kattouw [Mon, 2 Feb 2009 20:07:33 +0000 (20:07 +0000)]
* API: (bug 17007) Add export functionality to the API
* Accessed through the export and exportnowrap parameters added to action=query
* To facilitate &exportnowrap, add ApiFormatRaw, a formatter that just spits out its input without any formatting (not accessible through &format= of course)
* Fix up the action=query description message to reflect the deprecation of query.php