Aaron Schulz [Wed, 10 Sep 2008 21:03:57 +0000 (21:03 +0000)]
We still want details in page history
Aaron Schulz [Wed, 10 Sep 2008 19:44:56 +0000 (19:44 +0000)]
Move protection log parameters to log_params. Solves bug 12234 and is better for i18n.
Alexandre Emsenhuber [Wed, 10 Sep 2008 19:31:01 +0000 (19:31 +0000)]
(bug 15555) misspelled replace_variables() function in doc of Parser::preprocessToDom(), changed to replaceVariables()
Huji [Wed, 10 Sep 2008 19:04:14 +0000 (19:04 +0000)]
Localisation updates: Adding/updating Persian translations
Chad Horohoe [Wed, 10 Sep 2008 18:18:26 +0000 (18:18 +0000)]
(bug 12400) Add class to content transcluded from IW source.
Siebrand Mazeland [Wed, 10 Sep 2008 17:23:02 +0000 (17:23 +0000)]
Localisation updates for core messages from Betawiki (2008-09-10 19:07 CEST)
Roan Kattouw [Wed, 10 Sep 2008 13:39:24 +0000 (13:39 +0000)]
* (bug 15497) Removed encoding attribute from <?xml ?> tags
Roan Kattouw [Wed, 10 Sep 2008 13:30:42 +0000 (13:30 +0000)]
Tweaks for r40686, r40687:
* Instead of type=boolean, just use false (that's the way it's done everywhere else)
* Remove bug number from RELEASE-NOTES entry; bug is in no way related to rnrandom
Alexandre Emsenhuber [Wed, 10 Sep 2008 12:22:58 +0000 (12:22 +0000)]
RELEASE-NOTES entry for my last commit
Alexandre Emsenhuber [Wed, 10 Sep 2008 12:12:59 +0000 (12:12 +0000)]
(bug 15543) fix for r38139: don't include $wgUser->mTouched and smaxage=0 in query strings of site CSS, but only to generated css (action=raw&gen=css).
Aaron Schulz [Wed, 10 Sep 2008 12:07:56 +0000 (12:07 +0000)]
ExternalStore tweaks:
* On read, spend less time checking on dead slaves
* Add randomInsert() to ES. This does the cluster picking for us
* Make revision text use randomInsert(). On write, fails-over to other clusters as needed instead of throwing db errors
Raimond Spekking [Wed, 10 Sep 2008 06:50:01 +0000 (06:50 +0000)]
Add German icons for edit toolbar
Icons created by [[de:User:Hk kng]] and released under public domain:
http://de.wikipedia.org/wiki/Bild:Button_kursiv.png
http://de.wikipedia.org/wiki/Bild:Button_fett.png
Chad Horohoe [Wed, 10 Sep 2008 02:47:00 +0000 (02:47 +0000)]
Bah, clipped half of the RELEASE-NOTES in the previous commit.
Chad Horohoe [Wed, 10 Sep 2008 02:43:46 +0000 (02:43 +0000)]
Bug 15514. Allow plaintext copyright notices if $wgCopyrightUrl is unset.
X! [Tue, 9 Sep 2008 23:33:25 +0000 (23:33 +0000)]
Forgot the RELEASE-NOTES
X! [Tue, 9 Sep 2008 23:30:29 +0000 (23:30 +0000)]
Add rnredirect parameter, to get a random redirect instead of a random page
Roan Kattouw [Tue, 9 Sep 2008 20:42:19 +0000 (20:42 +0000)]
(bug 15535) prop=info&inprop=protection doesn't list pre-1.10 protections if the page is also protected otherwise (1.10+ style or cascading)
Alexandre Emsenhuber [Tue, 9 Sep 2008 19:53:06 +0000 (19:53 +0000)]
Add the list of restrictions to the "titleprotectedwarning" message. For now, there should be one and only one item in that array.
Siebrand Mazeland [Tue, 9 Sep 2008 16:27:33 +0000 (16:27 +0000)]
Message updates:
* 'usercsspreview': proper bold for second part of the message
* 'statistics-articles': disambiguation -> "Content pages"
Raimond Spekking [Tue, 9 Sep 2008 11:08:21 +0000 (11:08 +0000)]
* Enahle PLURAL
* Use same function as in all other error cases when throttle ie triggered
Raimond Spekking [Tue, 9 Sep 2008 08:51:50 +0000 (08:51 +0000)]
fix for r40623: declare $wgUser helps to avoid a fatal error
Siebrand Mazeland [Tue, 9 Sep 2008 07:32:36 +0000 (07:32 +0000)]
article->page
Siebrand Mazeland [Tue, 9 Sep 2008 07:19:10 +0000 (07:19 +0000)]
Clean up after r40636.
* message renamed
* deprecated messages removed
* empty message to optional
Raimond Spekking [Tue, 9 Sep 2008 06:50:47 +0000 (06:50 +0000)]
* (bug 5619) Break messages used in Special:Statistics down further
* (bug 11029) Add link to Special:Listusers?group=sysop etc at
Special:Statistics
Raimond Spekking [Tue, 9 Sep 2008 05:38:42 +0000 (05:38 +0000)]
Use comma-separator message instead of a hardcoded , for better i18n
Jack D. Pond [Tue, 9 Sep 2008 04:39:45 +0000 (04:39 +0000)]
Fixed so that 'EditSectionLink' hook works again.
Error was introduced in linker.php r38149, typo or cut and paste error when expanded to use wfMsgHtml( 'editsection-brackets' - used $url when should have been $result
Also changed $url to $link as per TimStarling suggestion.
Aryeh Gregor [Mon, 8 Sep 2008 23:45:28 +0000 (23:45 +0000)]
Add ST47 to CREDITS for r40628
(I'm assuming he's not already listed by another name)
X! [Mon, 8 Sep 2008 23:33:42 +0000 (23:33 +0000)]
Fix action=rollback to now revert IPs too. Patch submitted by ST47.
Aaron Schulz [Mon, 8 Sep 2008 23:33:09 +0000 (23:33 +0000)]
Also mark new user edits here too
Aryeh Gregor [Mon, 8 Sep 2008 22:53:44 +0000 (22:53 +0000)]
(bug 15528) Don't fail fatally on invalid titles
This is a corollary to r40496, which didn't restore the behavior of make*LinkObj() on being passed a non-Title, only link().
X! [Mon, 8 Sep 2008 22:44:58 +0000 (22:44 +0000)]
:Move me to developer section
Aryeh Gregor [Mon, 8 Sep 2008 22:15:44 +0000 (22:15 +0000)]
Make 40621 not break CentralAuth
If $injected_html is provided, then the redirect page on login will still be shown. This is needed for auto-login in CentralAuth. I can't test that the fix works, though, because I don't have CentralAuth installed. Unfortunately, this means Wikipedia won't benefit from one less click, but I can't think of an easy way around that.
Antoine Musso [Mon, 8 Sep 2008 22:08:39 +0000 (22:08 +0000)]
Partially fix #15528. Use Linker::link() from r40496 to deal with invalid
titles that might be present in database.
Aryeh Gregor [Mon, 8 Sep 2008 21:53:56 +0000 (21:53 +0000)]
Redirect on login instead of showing a message
This saves a click. A "You have successfully logged in" message adds no extra information, it just gets in the way -- especially if you got to the login page from a permissions error. The welcome message is still displayed on account creation.
This slightly modifies the semantics of a hook. It also makes the loginsuccess message unused, so I've deleted it from the maintenance files and also MessagesEn. I assume it will automatically vanish from the other message files, or at least that there's some tool to remove it that I don't know about that's better than sed.
This was prompted by discussion on bug 15484.
Aryeh Gregor [Mon, 8 Sep 2008 16:00:21 +0000 (16:00 +0000)]
"," should not be sorted as a number
This is a fix for r40382.
Chad Horohoe [Mon, 8 Sep 2008 14:06:04 +0000 (14:06 +0000)]
Typo in comment.
Chad Horohoe [Mon, 8 Sep 2008 13:48:07 +0000 (13:48 +0000)]
Self-revert 40530, 40531. Too many things still depend on $_GET and $_POST. Needs more cleanup before this can be put in place.
Raimond Spekking [Mon, 8 Sep 2008 11:09:26 +0000 (11:09 +0000)]
Per r40414: Add new CSS files to message files.
Siebrand Mazeland [Mon, 8 Sep 2008 10:58:07 +0000 (10:58 +0000)]
Localisation updates for core messages from Betawiki (2008-09-08 12:52 CEST)
Aaron Schulz [Sun, 7 Sep 2008 23:31:09 +0000 (23:31 +0000)]
Pass in $latest value (for bug 12650)
Roan Kattouw [Sun, 7 Sep 2008 19:12:41 +0000 (19:12 +0000)]
API: Uniformizing descriptions for write modules
Roan Kattouw [Sun, 7 Sep 2008 19:04:51 +0000 (19:04 +0000)]
(bug 15359) Add APIGetAllowedParams and APIGetParamDescription hooks
Aaron Schulz [Sun, 7 Sep 2008 18:50:23 +0000 (18:50 +0000)]
Ugh. There is nothing wrong with having nicer messages (seems to be #mediawiki consensus too). Partial revert of r40520 by siebrand.
Rotem Liss [Sun, 7 Sep 2008 16:57:33 +0000 (16:57 +0000)]
Localization update.
Siebrand Mazeland [Sun, 7 Sep 2008 15:11:59 +0000 (15:11 +0000)]
Make 'protect-otherreason', and 'protect-otherreason-op' consistent with 'ipbotherreason' by adding " reason".
Niklas Laxström [Sun, 7 Sep 2008 09:47:34 +0000 (09:47 +0000)]
* When using a {{SITENAME}} in a message, better to make sure {{GRAMMAR}} works too
Meno25 [Sun, 7 Sep 2008 09:16:49 +0000 (09:16 +0000)]
Update file
Rotem Liss [Sun, 7 Sep 2008 09:00:43 +0000 (09:00 +0000)]
Localization fixes.
Rotem Liss [Sun, 7 Sep 2008 08:59:26 +0000 (08:59 +0000)]
Localization update for he.
Rotem Liss [Sun, 7 Sep 2008 08:39:41 +0000 (08:39 +0000)]
Localization fixes.
Rotem Liss [Sun, 7 Sep 2008 08:28:45 +0000 (08:28 +0000)]
Protection form: Show action as header of an action if the message for this action does not exist.
Aaron Schulz [Sun, 7 Sep 2008 08:24:06 +0000 (08:24 +0000)]
Fix link cache use with FOR_UPDATE
Rotem Liss [Sun, 7 Sep 2008 08:24:00 +0000 (08:24 +0000)]
Show properly-sized select elements in protection form when the user does not have a specific permission.
Aaron Schulz [Sun, 7 Sep 2008 06:06:05 +0000 (06:06 +0000)]
* Reduce hook usage
* Add stable rev to process cache
Aaron Schulz [Sun, 7 Sep 2008 05:40:34 +0000 (05:40 +0000)]
Fix misnamed variable
Aaron Schulz [Sun, 7 Sep 2008 01:10:35 +0000 (01:10 +0000)]
Some form consistency tweaks
Aaron Schulz [Sun, 7 Sep 2008 00:38:57 +0000 (00:38 +0000)]
Add more error handling
Aaron Schulz [Sat, 6 Sep 2008 23:35:24 +0000 (23:35 +0000)]
Add edits-only filter to ListUsers (bug 10815)
Aaron Schulz [Sat, 6 Sep 2008 23:20:58 +0000 (23:20 +0000)]
* Add time/reason dropdown for protect form (bug 10799)
* Shorten message
Siebrand Mazeland [Sat, 6 Sep 2008 22:57:09 +0000 (22:57 +0000)]
Localisation updates for core messages from Betawiki (2008-09-07 00:39 CEST)
Aaron Schulz [Sat, 6 Sep 2008 21:52:18 +0000 (21:52 +0000)]
Remove type check for userIsNew(), shouldn't be needed
Bryan Tong Minh [Sat, 6 Sep 2008 21:26:46 +0000 (21:26 +0000)]
Committing a work on progress on improvements to the new upload code. Still needs some work to allow extensions to interact with it and also needs documentation. Modified SpecialUpload.php not committed.
Aaron Schulz [Sat, 6 Sep 2008 17:30:23 +0000 (17:30 +0000)]
Might as well be more consistent with "change protection" links
Aaron Schulz [Sat, 6 Sep 2008 17:12:45 +0000 (17:12 +0000)]
Fix regression from r40518; keep current values of page when no query params given
Aaron Schulz [Sat, 6 Sep 2008 15:11:54 +0000 (15:11 +0000)]
Fix typo for OldChangesList
Aaron Schulz [Sat, 6 Sep 2008 15:01:59 +0000 (15:01 +0000)]
* Mark non-autoconfirmed users in RC
* Avoid overselecting fields in RC and add $fields to SpecialRecentChangesQuery
* Some whitespace tweaks in RecentChange.php. Remove dead code.
* Avoid rc_new check in ChangesList
* Move some "unpatrolled" CSS to shared.css. Add 'newuser' CSS.
* Bump style version
Tim Starling [Sat, 6 Sep 2008 13:56:59 +0000 (13:56 +0000)]
Implemented blob support for SQLite. Allows null characters to be inserted into the database. Avoids total breakage of the objectcache table. For trunk and 1.13.
Chad Horohoe [Sat, 6 Sep 2008 12:51:09 +0000 (12:51 +0000)]
Syntax error. Consequently, getCookie() returns null if it can't find one, so we can just directly call it here and skip a logic step.
Chad Horohoe [Sat, 6 Sep 2008 12:38:34 +0000 (12:38 +0000)]
* Add getCookie() method to WebRequest as a wrapper for $_COOKIE. Updated all instances of $_COOKIE to use this.
* Switch from running fix_magic_quotes() on $_COOKIE and $_GET/$_POST to running it on $this->cookies and $this->data. Should keep us from interfering with other programs that might do the same (and/or trying to start up a second WebRequest object). This partially fixes bug 11558.
* Todo: Do similar things with $_SERVER/$_ENV and switch to a lazy-load style, rather than on every new WebRequest.
Victor Vasiliev [Sat, 6 Sep 2008 12:18:36 +0000 (12:18 +0000)]
* (bug 15492) list=recentchanges&rctype=log does't list log action
Patch by Roan Kattouw
Bryan Tong Minh [Sat, 6 Sep 2008 11:35:09 +0000 (11:35 +0000)]
Give 3rd parameter of FauxRequest constructor default value.
Bryan Tong Minh [Sat, 6 Sep 2008 08:58:24 +0000 (08:58 +0000)]
Add session accessor functions to WebRequest
Shinjiman [Sat, 6 Sep 2008 08:46:14 +0000 (08:46 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Siebrand Mazeland [Sat, 6 Sep 2008 08:02:34 +0000 (08:02 +0000)]
* add some newlines after periods
* remove some "sorry" and "please"
Aaron Schulz [Sat, 6 Sep 2008 07:41:34 +0000 (07:41 +0000)]
Add class to textarea for protected pages (bug 11825)
Aaron Schulz [Sat, 6 Sep 2008 07:20:13 +0000 (07:20 +0000)]
Set values from query params (bug 12750)
Aaron Schulz [Sat, 6 Sep 2008 07:11:36 +0000 (07:11 +0000)]
clean up form (bug 15163)
Tim Starling [Sat, 6 Sep 2008 07:05:14 +0000 (07:05 +0000)]
Fixed bug 15148, total breakage of Special:BlockIP on PostgreSQL:
* Migrated to a unique index for IP block conflict detection, like we did for MySQL some aeons ago.
* Modified DatabasePostgres to return a correct affected row count for INSERT IGNORE. Tested for single and multi.
* Fixed an unrelated bug: duplicate index rc_timestamp in tables.sql
* Tested for install and upgrade on PG 8.3.
No changelog because I'll backport it to 1.13.
Tim Starling [Sat, 6 Sep 2008 04:14:58 +0000 (04:14 +0000)]
Revert r40513, failing parser test for non-bug.
Chad Horohoe [Sat, 6 Sep 2008 03:15:35 +0000 (03:15 +0000)]
(bug 11475) Remove useless final param in $dbw->replace() call.
Chad Horohoe [Sat, 6 Sep 2008 02:46:55 +0000 (02:46 +0000)]
Bump $wgStyleVersion for r40507
Aaron Schulz [Fri, 5 Sep 2008 22:46:46 +0000 (22:46 +0000)]
Add more protection info on edit (bug 6179)
Aryeh Gregor [Fri, 5 Sep 2008 22:11:58 +0000 (22:11 +0000)]
(bug 6702) Improve some default system messages
Robert Stojnić [Fri, 5 Sep 2008 20:50:24 +0000 (20:50 +0000)]
* (bug 14398) mwsuggest.js: Let width of container be configurable
Dynamically change container *width* to fit as much as possible of suggestions. Width change is
animated (os_animation_steps=6), and is expands up to double of original size (os_container_max_width=2).
All of this can be overriden in site/user js.
Siebrand Mazeland [Fri, 5 Sep 2008 19:02:56 +0000 (19:02 +0000)]
Minor CameCase fix
Chad Horohoe [Fri, 5 Sep 2008 18:29:42 +0000 (18:29 +0000)]
Revert r40385. Half-assed attempt at making something configurable that doesn't need to be leads to borken code. /thumb/ is no longer configurable...just like it was before.
Aaron Schulz [Fri, 5 Sep 2008 18:03:42 +0000 (18:03 +0000)]
Add level select (bug 12961)
Aaron Schulz [Fri, 5 Sep 2008 17:34:44 +0000 (17:34 +0000)]
*Add history link to protect log items
*Made typeAction() more general
*Tweaked code for less tab whitespace
Shinjiman [Fri, 5 Sep 2008 16:38:19 +0000 (16:38 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Aryeh Gregor [Fri, 5 Sep 2008 16:32:57 +0000 (16:32 +0000)]
Forgot RELEASE-NOTES for last commit
Aryeh Gregor [Fri, 5 Sep 2008 16:31:34 +0000 (16:31 +0000)]
Refresh category table counts sometimes for small categories
When someone views a category page, if the number of retrieved pages is the whole category (no from= or until=, 200 or less retrieved), and that number doesn't match the number in the category table, we already detect that this is wrong and ignore the bogus category table number. Now the software also refreshes the bogus category counts in the database in this case, which should be pretty much instantaneous since it has less than 200 entries.
This adds no overhead for categories that have correct counts, and fixes the most visible case when category counts are wrong: small categories, when you can easily count the pages.
Aryeh Gregor [Fri, 5 Sep 2008 15:39:08 +0000 (15:39 +0000)]
Fix typo causing fatal error for Postgres in updaters.inc
Reported by kreegee in #mediawiki. I don't usually touch pgsql, but the problem and the fix both seem fairly obvious here. :) Also fixed another instance of the same typo lurking in some docs that I stumbled on.
Aryeh Gregor [Fri, 5 Sep 2008 15:35:16 +0000 (15:35 +0000)]
Don't fail fatally when Linker::link() is passed a non-object
This matches old behavior of makeKnownLinkObj() et al., effectively reverting part of r38162. We'd usually like to render the rest of the page even if one link fails. We might want to raise an E_USER_WARNING here, though.
Roan Kattouw [Fri, 5 Sep 2008 15:05:57 +0000 (15:05 +0000)]
(bug 15486) API action=block ignores autoblock parameter
Aaron Schulz [Fri, 5 Sep 2008 07:17:47 +0000 (07:17 +0000)]
tweak comment
Aaron Schulz [Fri, 5 Sep 2008 04:53:49 +0000 (04:53 +0000)]
Show localised log names in revision deletion log (bug 13694)
Tim Starling [Fri, 5 Sep 2008 04:23:24 +0000 (04:23 +0000)]
* Don't force rendering in File::getThumbnail(). The old code (pre-filerepo) required rendering to be forced all the time, the new code is much smarter about when to render and doesn't need rendering to be forced. Forcing rendering causes non-scaler servers to be used for scaling.
* Use File::transform() in the core instead of the deprecated File::getThumbnail().
Aaron Schulz [Fri, 5 Sep 2008 04:14:15 +0000 (04:14 +0000)]
Add begin() for good housekeeping
Tim Starling [Fri, 5 Sep 2008 03:46:07 +0000 (03:46 +0000)]
In wfDebugLog(): log the hostname if $wgShowHostnames is true. Cache the hostname.
Chad Horohoe [Fri, 5 Sep 2008 03:41:31 +0000 (03:41 +0000)]
Document isOpen() and lastQuery(). (set|clear|get)Flag still need some lovin'...I just don't know what they do.