Aaron Schulz [Mon, 19 May 2008 02:34:42 +0000 (02:34 +0000)]
Make space breakable
Aaron Schulz [Mon, 19 May 2008 02:21:54 +0000 (02:21 +0000)]
Oh, and remove comment
Aaron Schulz [Mon, 19 May 2008 02:21:32 +0000 (02:21 +0000)]
Default to $updated = false
Brion Vibber [Mon, 19 May 2008 01:57:37 +0000 (01:57 +0000)]
forgot to bump the ver
Roan Kattouw [Sun, 18 May 2008 20:15:56 +0000 (20:15 +0000)]
Remove deprecated ApiMain::scheduleCommit()
Alexandre Emsenhuber [Sun, 18 May 2008 19:50:33 +0000 (19:50 +0000)]
* Document a bit
* Pull out read only check from SqlBagOStuff class MediaWikiBagOStuff
Brion Vibber [Sun, 18 May 2008 18:33:38 +0000 (18:33 +0000)]
Cut a few more kb out of wikibits.js... broke edit-page specific things (toolbar, edit box scrolling, insertTags) out to edit.js
Siebrand Mazeland [Sun, 18 May 2008 16:30:22 +0000 (16:30 +0000)]
Update $fallback from zh-cn (empty) to zh-hans (to which zh-cn falls back)
Aaron Schulz [Sun, 18 May 2008 16:09:56 +0000 (16:09 +0000)]
$parents is an array (bug 14169)
Siebrand Mazeland [Sun, 18 May 2008 13:36:09 +0000 (13:36 +0000)]
Localisation updates. Removing messages in English.
Siebrand Mazeland [Sun, 18 May 2008 13:25:31 +0000 (13:25 +0000)]
Localisation updates for core messages from Betawiki (2008-05-18 15:17 CEST)
Siebrand Mazeland [Sun, 18 May 2008 12:07:01 +0000 (12:07 +0000)]
Add display text for link 'nospecialpagetext'
Siebrand Mazeland [Sun, 18 May 2008 09:16:03 +0000 (09:16 +0000)]
Localisation updates. Remove template as message.
Siebrand Mazeland [Sun, 18 May 2008 07:56:03 +0000 (07:56 +0000)]
Actually alphabetise the alphabetical list of Wikipedia sites
Mohamed Magdy [Sun, 18 May 2008 03:40:11 +0000 (03:40 +0000)]
Update. Not sure if this completes the list though.
Mohamed Magdy [Sun, 18 May 2008 00:49:34 +0000 (00:49 +0000)]
update, change إصدار to نسخة .. version means نسخة while release means إصدار ..
Aaron Schulz [Sat, 17 May 2008 23:39:20 +0000 (23:39 +0000)]
Respect $wgShowUpdatedMarker
Aaron Schulz [Sat, 17 May 2008 23:34:28 +0000 (23:34 +0000)]
* Make enotif job use user ID rather than name for users. Fallback to name for anons and for old job rows (B/C). This makes it rename safe.
* User->getID() already returns an integer
* Use != rather than <>, as it looks clearer
* Do not add "updated since" to users for their own edits
* Actually check $wgShowUpdatedMarker properly. It is it's own setting.
Aaron Schulz [Sat, 17 May 2008 22:57:46 +0000 (22:57 +0000)]
Anons have ID 0
Aaron Schulz [Sat, 17 May 2008 22:37:06 +0000 (22:37 +0000)]
Don't assume $wgUser is always the editor, it's poor practice and confusing...
Aaron Schulz [Sat, 17 May 2008 22:32:39 +0000 (22:32 +0000)]
Revert self - bogus location
Aaron Schulz [Sat, 17 May 2008 22:23:56 +0000 (22:23 +0000)]
Don't notify users of their own edits at least
Siebrand Mazeland [Sat, 17 May 2008 22:17:31 +0000 (22:17 +0000)]
Rebuilt all language files
Siebrand Mazeland [Sat, 17 May 2008 22:14:05 +0000 (22:14 +0000)]
Localisation updates for core messages from Betawiki (2008-05-17 23:53 CEST)
Daniel Friesen [Sat, 17 May 2008 20:02:53 +0000 (20:02 +0000)]
Missing RELEASE-NOTES for r34983.
Aaron Schulz [Sat, 17 May 2008 17:53:46 +0000 (17:53 +0000)]
* Add higher level newRevisionFromEditComplete hook
* Use this hook for autoreviewing. Merge to one function again.
* Remove template ID query for $usestabletemplates, not needed
* Improve includes change diff if $usestabletemplates is on
Aaron Schulz [Sat, 17 May 2008 17:48:01 +0000 (17:48 +0000)]
pass by ref errors
Siebrand Mazeland [Sat, 17 May 2008 17:10:18 +0000 (17:10 +0000)]
remove EOL whitespace, and excess empty lines
Leon Weber [Sat, 17 May 2008 17:07:14 +0000 (17:07 +0000)]
(bug 12145) Kazakh localisation updates, patch 4905 by AlefZet
Daniel Friesen [Sat, 17 May 2008 16:08:34 +0000 (16:08 +0000)]
Improve UI for Special:Recentchanges and Special:Recentchangeslinked.
* Allow configuration of the default limit and days links with the variables $wgRCLinkLimits and $wgRCLinkDays.
* When selecting a limit and a days on the special pages, if you use a number not within the default list it will be added to the display.
** The selected limit and days is bolded. (This can be considered the first step for bug 3327)
* Optional other configuration option $wgRCFilterByAge, when enabled the list of days will be filtered so that only links within what $wgRCMaxAge says will be stored in the database will be displayed. Note that this is disabled by default because MediaWiki doesn't quite seam to trim out old entries as quickly as $wgRCMaxAge says it should be and some people appear to use the extra 30days links to display older entries even though $wgRCMaxAge is set to 7days on said wiki.
This should also solve bug 9257.
Brion Vibber [Sat, 17 May 2008 15:53:58 +0000 (15:53 +0000)]
Revert r34906, r34907, r34928 -- mixing high-level data into low-level storage functions for the sole purpose of passing it off to hooks, which seems very icky to me. It feels like a hook in the wrong place is being used.
Alexandre Emsenhuber [Sat, 17 May 2008 10:15:59 +0000 (10:15 +0000)]
Fix doxygen warnings
Alexandre Emsenhuber [Sat, 17 May 2008 09:06:35 +0000 (09:06 +0000)]
Document AuthPluginAutoCreate hook
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