Rotem Liss [Sat, 17 May 2008 08:52:56 +0000 (08:52 +0000)]
Use blockednoreason message when no reason for block is given, for compatibility to the regular block messages.
Rotem Liss [Sat, 17 May 2008 08:45:07 +0000 (08:45 +0000)]
Update.
Tim Starling [Sat, 17 May 2008 04:26:26 +0000 (04:26 +0000)]
* Fix unlogged automatic user creation: run wfLBFactory()->shutdown() unconditionally in api.php. If you want to optimise it, do it in the database backend, since there's no way for the MW core to indicate to the web API that a write query has been performed. The previous code was also wrong in that it didn't commit transactions on foreign connections.
* Fixed debugging code left in (mustBePosted disabled).
Tim Starling [Sat, 17 May 2008 04:00:26 +0000 (04:00 +0000)]
Handle the new LoginForm::CREATE_BLOCKED return value from authenticateUserData().
Tim Starling [Sat, 17 May 2008 02:49:28 +0000 (02:49 +0000)]
* In Special:UserLogin, respect local blocks when automatically creating a user account based on plugin authentication
* Log such account creations with the new autocreate type
* Fixed incorrect output in account creation block message when the reason is blank
Aaron Schulz [Sat, 17 May 2008 00:08:31 +0000 (00:08 +0000)]
*Add ImagePageFileHistoryLine hook
*Tweak hook doc order
*Mark flagged file versions in hist
*Remove $dbr field
*Tweak file histories to be more compact
Aaron Schulz [Fri, 16 May 2008 23:09:21 +0000 (23:09 +0000)]
Shorten
Niklas Laxström [Fri, 16 May 2008 22:00:42 +0000 (22:00 +0000)]
Nobody wants to touch this....
* Removed a call to deprecated function
Aaron Schulz [Fri, 16 May 2008 21:34:46 +0000 (21:34 +0000)]
* Respect feed limits
* Decrappify WLH enough that it at least looks kind of tolerable
Bryan Tong Minh [Fri, 16 May 2008 21:25:13 +0000 (21:25 +0000)]
Throw an error if the local repository is not a LocalRepo or one of its derived classes. Use proper newFileFrom row to prevent double fetching from database.
Siebrand Mazeland [Fri, 16 May 2008 20:35:35 +0000 (20:35 +0000)]
Update 'badsiglength'
Siebrand Mazeland [Fri, 16 May 2008 20:28:14 +0000 (20:28 +0000)]
'yournick' from "Nickname:" to "Signature:"
Aaron Schulz [Fri, 16 May 2008 20:21:20 +0000 (20:21 +0000)]
Let getThumbnails() work for non-hashed dirs (bug 13788)
Aaron Schulz [Fri, 16 May 2008 20:06:19 +0000 (20:06 +0000)]
Don't let underscore differences cause read whitelist matches to fail (bug 11668)
Siebrand Mazeland [Fri, 16 May 2008 19:51:29 +0000 (19:51 +0000)]
Consistency fixes ("linked to" -> "linked-to")
Aaron Schulz [Fri, 16 May 2008 18:22:31 +0000 (18:22 +0000)]
Improve efficiency of autoreviewing of edits rollbacks and merge into main function
Niklas Laxström [Fri, 16 May 2008 17:53:29 +0000 (17:53 +0000)]
* Full path for script includes, this time should work with installations using symlinks
* Some documentation
Alexandre Emsenhuber [Fri, 16 May 2008 16:31:37 +0000 (16:31 +0000)]
Fixed Doxygen warnings when generating documentation for this file and document a bit.
Rotem Liss [Fri, 16 May 2008 15:45:27 +0000 (15:45 +0000)]
Fixes.
Rotem Liss [Fri, 16 May 2008 11:57:32 +0000 (11:57 +0000)]
Show an error when asking to move a non-existant page. Patch by [[he:User:Agbad]].
Huji [Fri, 16 May 2008 06:35:59 +0000 (06:35 +0000)]
There is no plan on how to translate the special page names, and longer names are really hard to translate. To maintain integrity, the only translation is removed.
Aaron Schulz [Fri, 16 May 2008 03:17:05 +0000 (03:17 +0000)]
Decrappify edit check for revision hook
Siebrand Mazeland [Thu, 15 May 2008 21:58:01 +0000 (21:58 +0000)]
Localisation updates for core messages from Betawiki (2008-05-15 23:44 CEST)
Greg Sabino Mullane [Thu, 15 May 2008 21:32:05 +0000 (21:32 +0000)]
Make sure rev_deleted is of type smallint, may fix bug 14138
Bryan Tong Minh [Thu, 15 May 2008 20:55:09 +0000 (20:55 +0000)]
As per mailing list: $wgOut->redirect auto expands; File::getFullUrl exists.
Bryan Tong Minh [Thu, 15 May 2008 20:39:09 +0000 (20:39 +0000)]
Force output of a full URL in Special:Filepath and ApiQueryImageInfo in case the wiki images are not configured to full urls. (using wfExpandUrl this time)
Bryan Tong Minh [Thu, 15 May 2008 20:25:54 +0000 (20:25 +0000)]
+Duplicates of images are now shown on the image page.
Alexandre Emsenhuber [Thu, 15 May 2008 19:48:12 +0000 (19:48 +0000)]
E_STRICT
Brion Vibber [Thu, 15 May 2008 19:42:55 +0000 (19:42 +0000)]
Revert r34877 -- duplicates wfExpandUrl()
Bryan Tong Minh [Thu, 15 May 2008 19:17:21 +0000 (19:17 +0000)]
Do some refactoring on ImagePage. Shuffled the links section; Use Title::getRedirectsHere; Move duplicate detection to its own function.
Brion Vibber [Thu, 15 May 2008 18:38:39 +0000 (18:38 +0000)]
Revert r34849 -- please stop randomly changing formatted messages into plaintext, especially without checking usage.
Bryan Tong Minh [Thu, 15 May 2008 18:33:12 +0000 (18:33 +0000)]
Force output of a full URL in Special:Filepath and ApiQueryImageInfo in case the wiki images are not configured to full urls.
Raimond Spekking [Thu, 15 May 2008 18:14:15 +0000 (18:14 +0000)]
Allow wikisyntax in message.
Probably a regression from r33495. In the past HTML was allowed :-/
Huji [Thu, 15 May 2008 17:13:12 +0000 (17:13 +0000)]
For the sake of documentation
Aryeh Gregor [Thu, 15 May 2008 17:04:34 +0000 (17:04 +0000)]
(bug 13693) Categories sometimes claim to have a negative number of members. Just recount them in this case; they *should* have relatively few members, so it should be fast. Note that even a worst-case scenario (recount of enwiki Living people) takes only a few seconds on the cluster, and it seems incredibly unlikely that that would occur.
Brion Vibber [Thu, 15 May 2008 15:38:51 +0000 (15:38 +0000)]
Kill r34826's unnecessary boolval() per yesterday's IRC discussion (thought vasilievv was going to revert himself, but guess not :D)
Huji [Thu, 15 May 2008 15:17:23 +0000 (15:17 +0000)]
r34676 also affected {{CURRENTVERSION}} : It used to return plain text, like the other magic words, but with r34676 it returned an external link, so [[Special:Version|{{CURRENTVERSION}}]] wouldn't work. With this revision, CURRENTVERSION will work like previously.
Rotem Liss [Thu, 15 May 2008 15:03:47 +0000 (15:03 +0000)]
Fixes.
Huji [Thu, 15 May 2008 14:53:20 +0000 (14:53 +0000)]
* Adding/updating Persian translations
Aaron Schulz [Thu, 15 May 2008 14:53:02 +0000 (14:53 +0000)]
Add $flags
Raimond Spekking [Thu, 15 May 2008 07:47:44 +0000 (07:47 +0000)]
Use headings per section, improves navigation by screenreaders too.
Raimond Spekking [Thu, 15 May 2008 07:16:22 +0000 (07:16 +0000)]
Add a few CSS classes for styling purposes
Kwan Ting Chan [Thu, 15 May 2008 03:49:51 +0000 (03:49 +0000)]
Fix error where user blocked from email can still send email to another user.
Brion Vibber [Wed, 14 May 2008 23:42:15 +0000 (23:42 +0000)]
Trigger load of user data in User::getBlockStatus() before we
start changing member variables.
Otherwise something ends up stomping on $this->mBlockedby when
things get lazy-loaded later, causing false positive block hits
due to -1 !== 0. Probably session-related... Nothing should be
overwriting mBlockedby, surely?
This was giving me blank "you are blocked" messages.... but only
when doing *section edits on SSL*, not regular edits, nor section
edits on non-SSL wikipedia. Weeeeeeird
Aaron Schulz [Wed, 14 May 2008 23:25:54 +0000 (23:25 +0000)]
Offset il_from
Aaron Schulz [Wed, 14 May 2008 23:03:39 +0000 (23:03 +0000)]
Actually declare $wgLang
Brion Vibber [Wed, 14 May 2008 21:56:30 +0000 (21:56 +0000)]
revert r34818 -- bad
Victor Vasiliev [Wed, 14 May 2008 19:12:00 +0000 (19:12 +0000)]
* Move $var ? true : false check to boolval function
* Introduce $wgLogActionsHandlers
Brion Vibber [Wed, 14 May 2008 18:28:52 +0000 (18:28 +0000)]
Reverting 34794 for the moment; some bad whitespace, and seems to add bunches of stuff without obvious reason yet.
Alexandre Emsenhuber [Wed, 14 May 2008 18:06:48 +0000 (18:06 +0000)]
(bug 12145) Kazakh message updates
Raimond Spekking [Wed, 14 May 2008 17:58:49 +0000 (17:58 +0000)]
Localisation updates German
Greg Sabino Mullane [Wed, 14 May 2008 17:44:05 +0000 (17:44 +0000)]
Don't attempt to store the page_id in recentchanges table if we are deleting.
Bryan Tong Minh [Wed, 14 May 2008 17:29:38 +0000 (17:29 +0000)]
* Create ForeignDBFile objects from ForeignDBRepo::findBySha1
* Add foreign duplicates to ImagePage
Rotem Liss [Wed, 14 May 2008 16:31:51 +0000 (16:31 +0000)]
Update.
Bryan Tong Minh [Wed, 14 May 2008 16:19:48 +0000 (16:19 +0000)]
Forgot to commit the message associated with r34807.
Brion Vibber [Wed, 14 May 2008 16:09:18 +0000 (16:09 +0000)]
* (bug 14082) Fix for complex text input vs AJAX suggestions on some browsers
The mwsuggest code was doing a blur(); focus() on the text field the first time a key was pressed, as a workaround for a problem with Firefox when the field was focused at page load time, as on Special:Search with no input given.
Disabling of the browser's autosuggestion wasn't taking effect in Firefox without this workaround; however the extra blur() and focus() in some cases interrupted complex text input methods (for instance for Korean and Japanese), making it difficult to type in text. [Easily reproduceable in Safari on Mac.]
Unfortunately there's no good way to check if a field is focused from JavaScript, so we can't just conditionally do the blur/focus.
I've changed how Special:Search does its focus() of the input field; now instead of happening in raw immediate JS, it's done as a body onload handler -- this will run *after* mwsuggest.js does its setup, so by the time the field is forced focused, native autosuggest will be disabled.
There might conceivably be a race condition if the user manages to manually focus the field while the page is still loading. Not sure what we can do about that. :D
Bryan Tong Minh [Wed, 14 May 2008 15:11:48 +0000 (15:11 +0000)]
* Introduce LocalFile::selectFields similarly to Revision::SelectFields
* Introduce FileRepo::findBySha1
* Show duplicates on ImagePage
Aaron Schulz [Wed, 14 May 2008 13:28:46 +0000 (13:28 +0000)]
* Treat offset as a string, so paging works
* PG offsets are not just digits
Alexandre Emsenhuber [Wed, 14 May 2008 12:45:16 +0000 (12:45 +0000)]
Document new hook UserLoadFromSession and add a note to RELEASE-NOTES that AutoAuthenticate has been renamed
Bryan Tong Minh [Wed, 14 May 2008 11:52:59 +0000 (11:52 +0000)]
Add comments and explicit check for NS_IMAGE.
Daniel Friesen [Wed, 14 May 2008 11:17:54 +0000 (11:17 +0000)]
Revert 34558/34588. Use of an absolute path specified by __FILE__ breaks anyone using the symlink style of installation and relies on the assumption that the MediaWiki code is always located a directory above the LocalSettings.php file (Even Wikia doesn't follow this)
Victor Vasiliev [Wed, 14 May 2008 11:11:56 +0000 (11:11 +0000)]
Fix logical error
Daniel Friesen [Wed, 14 May 2008 10:25:09 +0000 (10:25 +0000)]
Support Array input in Title::getLocalURL and Title::getFullURL.
GlobalFunctions.php now has 2 new functions:
wfBuildQuery and wfParseQuery.
These are similar to the PHP http_build_query and parse_str for query handling. However they don't have the issues which those ones suffer from.
Siebrand Mazeland [Wed, 14 May 2008 06:50:45 +0000 (06:50 +0000)]
Localisation updates for core messages from Betawiki (2008-05-13 23:19 CEST)
* missed in earlier commit (strange)
Niklas Laxström [Wed, 14 May 2008 06:43:16 +0000 (06:43 +0000)]
* I totally blame SVN for this, it didn't show this change!
Meno25 [Wed, 14 May 2008 06:29:02 +0000 (06:29 +0000)]
Arabic localization updates
Niklas Laxström [Wed, 14 May 2008 05:18:27 +0000 (05:18 +0000)]
* Fix errors
Shinjiman [Wed, 14 May 2008 04:22:58 +0000 (04:22 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Tim Starling [Wed, 14 May 2008 00:39:09 +0000 (00:39 +0000)]
Removed debugging code.
Tim Starling [Wed, 14 May 2008 00:35:14 +0000 (00:35 +0000)]
DB schema change.
In CentralAuth (and related changes interface changes in Newuserlog and the core):
* Moved the AutoAuthenticate hook to User::loadFromSession(), to defer processing for longer and avoid unstub loops
* Undeprecated User::setID()
* Added partial support for new user log registration and IP-based blocking of automatically created accounts. Still needs the same support implemented in Special:Userlogin.
* Fixed all inappropriate uses of the term "DB name", changing them to "wiki" or "wiki ID". Renamed the relevant database fields.
* Refactored central session and cache support
Aaron Schulz [Tue, 13 May 2008 22:18:41 +0000 (22:18 +0000)]
log_id here too
Aaron Schulz [Tue, 13 May 2008 22:17:54 +0000 (22:17 +0000)]
* Totally redo index use.
* log_id is live
Aaron Schulz [Tue, 13 May 2008 21:31:30 +0000 (21:31 +0000)]
Silly typo
Brion Vibber [Tue, 13 May 2008 21:31:27 +0000 (21:31 +0000)]
Disable logevents until it works...
Currently produces very slow queries like the following:
SELECT /* ApiQueryLogEvents::execute SineBot */ log_type,log_action,log_timestamp,page_id,log_user,user_name,log_namespace,log_title,log_comment,log_params FROM `user`,`logging` FORCE INDEX (times) LEFT JOIN `page` ON ((log_namespace=page_namespace) AND (log_title=page_title)) WHERE (log_type != 'suppress') AND (user_id=log_user) AND log_deleted = '0' AND log_type = 'block' AND log_namespace = '2' AND log_title = '86.53.69.150' ORDER BY log_timestamp DESC LIMIT 2;
Siebrand Mazeland [Tue, 13 May 2008 21:31:12 +0000 (21:31 +0000)]
Localisation updates for core messages from Betawiki (2008-05-13 23:19 CEST)
Aaron Schulz [Tue, 13 May 2008 21:04:24 +0000 (21:04 +0000)]
Use 'api' querygroup
Aaron Schulz [Tue, 13 May 2008 21:03:57 +0000 (21:03 +0000)]
E_STRICT
Aaron Schulz [Tue, 13 May 2008 20:02:25 +0000 (20:02 +0000)]
Actually, page not always selected. Add this only when needed.
Aaron Schulz [Tue, 13 May 2008 19:58:12 +0000 (19:58 +0000)]
Actually specify page_id=rev_page to avoid cartesian join bringing the site down again
Raimond Spekking [Tue, 13 May 2008 19:05:13 +0000 (19:05 +0000)]
Localisation updates German
Rotem Liss [Tue, 13 May 2008 19:04:50 +0000 (19:04 +0000)]
Update.
Raimond Spekking [Tue, 13 May 2008 19:02:32 +0000 (19:02 +0000)]
* Localisation updates German
* Update messages.inc per r34751
Brion Vibber [Tue, 13 May 2008 18:59:18 +0000 (18:59 +0000)]
Cleanup r34661 (bug 14063 -- <label> for powersearch redirect checkbox)
Got rid of the old weird messages that combined localization with layout. Layout's now in nice clean code, with localization in nice clean messages. Yay!
Raimond Spekking [Tue, 13 May 2008 18:51:46 +0000 (18:51 +0000)]
Do not add an empty class=''
Brion Vibber [Tue, 13 May 2008 17:40:56 +0000 (17:40 +0000)]
* (bug 14111) Similar filename warning links now lead to correct page
A title object was getting created without the Image namespace, so lead to wrong links when used in fileexists-extension warning message. For consistency, using target name with namespace in both spots on that message now as well.
Aaron Schulz [Tue, 13 May 2008 16:06:31 +0000 (16:06 +0000)]
If no current revision, cache as dead link
Raimond Spekking [Tue, 13 May 2008 15:59:29 +0000 (15:59 +0000)]
Add CSS classes to allow easier hiding of elements.
Per request of the German screenreader project 'BIENE'
Roan Kattouw [Tue, 13 May 2008 14:56:51 +0000 (14:56 +0000)]
Oops
Roan Kattouw [Tue, 13 May 2008 14:41:35 +0000 (14:41 +0000)]
Actually this *should* be a LEFT JOIN, or we'll be dropping log entries
Roan Kattouw [Tue, 13 May 2008 14:01:40 +0000 (14:01 +0000)]
Force the pl_from/tl_from index here, as there are reasons to believe MySQL 4 selects the wrong index here (see bug 14102)
Aaron Schulz [Tue, 13 May 2008 13:24:52 +0000 (13:24 +0000)]
Remove unused tableNamesN() call
Raimond Spekking [Tue, 13 May 2008 11:28:07 +0000 (11:28 +0000)]
Localisation updates German
Roan Kattouw [Tue, 13 May 2008 10:53:12 +0000 (10:53 +0000)]
$token is a parameter, so it's set by extractRequestParams()
Roan Kattouw [Tue, 13 May 2008 10:51:12 +0000 (10:51 +0000)]
Technical, behind-the-scenes changes with no user-observed change don't belong in RELEASE-NOTES
Bryan Tong Minh [Tue, 13 May 2008 10:42:32 +0000 (10:42 +0000)]
ApiQueryRevisions now uses the Revision backend. This allows a more proper handling of rev_deleted. Also in case rev_size is filled on demand (bug 12188) there is only need to do this in one place.
Roan Kattouw [Tue, 13 May 2008 10:39:01 +0000 (10:39 +0000)]
(bug 14012) prop=templates filesorts under some conditions
Roan Kattouw [Tue, 13 May 2008 10:21:56 +0000 (10:21 +0000)]
Making INNER JOIN implicit
Bryan Tong Minh [Tue, 13 May 2008 09:03:23 +0000 (09:03 +0000)]
(bug 13829) Expose parse tree via action=expandtemplates
Aaron Schulz [Tue, 13 May 2008 06:39:55 +0000 (06:39 +0000)]
Comment
Niklas Laxström [Tue, 13 May 2008 06:20:03 +0000 (06:20 +0000)]
* Lets fix the other one too :)