Commit graph

1415 commits

Author SHA1 Message Date
Alexandre Emsenhuber
b52162a135 Let at least be consistent between the two header() calls (the other one is four lines below) 2010-04-05 19:30:38 +00:00
Alexandre Emsenhuber
50fb850061 And while I'm a it, fix for r55903: canonical name is "Ipblocklist", not "BlockList" 2010-04-05 09:48:12 +00:00
Alexandre Emsenhuber
df682a69d1 * (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when viewing contributions of a blocked IP address 2010-04-05 09:20:07 +00:00
Alexandre Emsenhuber
81a778edca Allow [[MediaWiki:Activeusers-summary]] to be used 2010-04-03 18:52:13 +00:00
Alexandre Emsenhuber
975e69f7c1 * (bug 23024) Special:ListFiles now escapes file names correctly 2010-04-02 07:09:05 +00:00
Roan Kattouw
7e9dcdd61b Fix coding style in r64230, r64256 2010-03-27 21:31:10 +00:00
Happy-melon
9990ba163e Per r64228 CR: make the check a static method in IPBlockForm to reduce duplication. 2010-03-27 15:05:56 +00:00
Happy-melon
20d0eeb6b2 (bug 15810) stop blocked admins from unblocking themselves or others. 2010-03-26 22:02:51 +00:00
Happy-melon
744342366b Now that LQT is installed on WMF wikis, we can't pretend that 5000 == all any more :( 2010-03-25 20:27:41 +00:00
Happy-melon
b39b3bf0fa Fix sorting in Allmessages. 2010-03-25 20:24:37 +00:00
Platonides
12e8349571 RevisionDeleter has added i18n to his friends list.
(bug 22903) Revdelete log entries now show in the user preferred language.
2010-03-22 22:28:15 +00:00
Alexandre Emsenhuber
9149ac3660 Fixed some doxygen warnings and documented a bit 2010-03-22 20:34:23 +00:00
Alexandre Emsenhuber
10f413b1bb Fixed some doxygen warnings 2010-03-20 17:27:20 +00:00
Platonides
2b4fbcdfe5 Unused file. Feature was reverted in r41405. Other files were removed on r53118. 2010-03-20 14:51:23 +00:00
Platonides
5a3e27f593 Show an appropiate message when the wiki is read only for some special pages.
Note that they show a successful message but wouldn't work since User::saveSettings() 
silently fails (maybe the user object at memcached  could get updated?).
2010-03-20 14:44:11 +00:00
Chad Horohoe
681970b0d9 Followup r63914, function must match parent 2010-03-19 21:18:11 +00:00
Alexandre Emsenhuber
991c975fd0 * Follow-up r63914: SpecialPage has methods for that, use them ;)
* Fix a case mismatch in LogEventsList.php
2010-03-18 17:36:43 +00:00
Chad Horohoe
66dc879194 Refactor MergeHistory to subclass SpecialPage. Ohai unloved code :) 2010-03-18 16:41:53 +00:00
Alexandre Emsenhuber
0c64a75480 Fixed some doxygen warnings 2010-03-13 21:09:39 +00:00
Happy-melon
80f4f246b1 This check throws E_NOTICEs and isn't particularly rigorous. 2010-03-13 16:13:26 +00:00
Aaron Schulz
60df5636cc Fixed blockip log excerpt permission check (bug 22809). Resulted in excess "all public logs" excerpt. 2010-03-11 21:25:33 +00:00
Alexandre Emsenhuber
b4c7ddf1ea Fixed some doxygen warnings 2010-03-10 21:17:58 +00:00
Aryeh Gregor
11f540bfaa Style fixes 2010-03-09 19:48:31 +00:00
Aryeh Gregor
a70cf9007d Fix validity and correctness of r63342
The name attribute may only be used on <a> if an id attribute with
identical value is given on the same element.  I moved the id to the tr
so it leaves a bit of space at the top, rather than using a name
attribute at all.  Also, we need to call Sanitizer::escapeId() on the
group key, lest people use spaces or something in the group key (not
advisable, but possible).
2010-03-09 19:47:05 +00:00
Aryeh Gregor
1f6c59acfc Avoid fatal on login if username is invalid title
Steps to reproduce: Try logging in with a 256-character username.

Expected result: Friendly error message saying the name is invalid.

Actual result: Fatal error: Call to a member function getName() on a
non-object in /var/www/git-trunk/phase3/includes/specials/SpecialUserlogin.php
on line 433

Fix: If you want to check whether something is a User object, check
whether it's a User object.  There are things other than null that don't
behave like User objects.
2010-03-09 19:27:36 +00:00
Jack Phoenix
ddc0f17f29 cleanup to SpecialUpload.php:
*trimmed trailing spaces
*more braces
*indentation tweaks
*removed unused globals
*removed unused $sk variable from showUploadWarning()
*changed double quotes to single where appropriate
2010-03-07 14:07:14 +00:00
Niklas Laxström
710e3d6f2f * (bug 22748) Add anchors on Special:ListGroupRights 2010-03-06 21:18:10 +00:00
Alexandre Emsenhuber
3cef351f22 * (bug 22353) Categorised recent changes now works again 2010-03-04 15:42:17 +00:00
Alexandre Emsenhuber
dd6f2d123a Also "consume" categories and categories_any parameters so that it works correctly with $wgAllowCategorizedRecentChanges enabled 2010-03-04 13:19:06 +00:00
Alexandre Emsenhuber
877cf6219f Per Simetrical's comment on r63048: use "$user instanceof User" so that it won't break whatever User::newFromName() returns on failure 2010-03-01 21:07:04 +00:00
Alexandre Emsenhuber
09c20b6acd * (bug 22664) Special:Userrights now accepts '0' as a valid user name 2010-03-01 21:01:26 +00:00
Alexandre Emsenhuber
a5ebe1f736 * (bugs 22665 and 22667) User '0' can now be unblocked and have its block settings changed 2010-02-27 16:15:41 +00:00
Alexandre Emsenhuber
5ba3c61655 * (bug 22666) Submitting user block form with an invalid user name no longer throws an error 2010-02-27 15:24:49 +00:00
Bryan Tong Minh
98c968c7f7 * Allow string to be passed to showUploadForm to make porting old extensions easier
* Add mUploadSuccessful so that subclasses know if the upload was successful
2010-02-27 14:52:53 +00:00
Bryan Tong Minh
d66a71a06f Fix upload hook params 2010-02-27 13:58:14 +00:00
Max Semenik
6874e3a310 fix debug logging from r62967 2010-02-25 17:50:26 +00:00
Max Semenik
e3e5cf1bb9 (bug 17790) Users instantly logged off on HughesNet 2010-02-25 17:44:43 +00:00
Chad Horohoe
a422fcaa60 Reduce code duplication by adding conditions to $conds directly, rather than adding them to a temporary variable and then later adding them 2010-02-23 20:37:52 +00:00
Domas Mituzas
a06f54ac7d double global declaration 2010-02-21 17:27:11 +00:00
Domas Mituzas
adcaab0c83 missed one :) 2010-02-21 17:26:04 +00:00
Domas Mituzas
b6e0357ffb 3x global $wgOut 2010-02-21 17:25:25 +00:00
Domas Mituzas
ffa2bb3415 I have a feeling that a line above declares same global 2010-02-21 17:20:31 +00:00
Domas Mituzas
bf1cbe3139 global $wgLang, $wgLang, $wgLang, $wgLang; 2010-02-21 17:18:28 +00:00
Alexandre Emsenhuber
fc52381b0d Fixed some doxygen warnings 2010-02-17 20:24:28 +00:00
X!
a177c17471 * (bug 22551) Special:Resetpass now has a "Cancel" button that sends the user to the page set in the &returnto parameter. 2010-02-17 18:41:05 +00:00
Raimond Spekking
f3c5572c26 Follow-up r62358: Wrap warning message into a div with the generic "error" and a specific "mw-moveuserpage-warning" class 2010-02-14 11:36:40 +00:00
Platonides
eb433b42a0 Follow up r62436 comments.
s/Title::newFromUrl/Title::newFromURL/
All these usages should be reviewed. Make it easy to grep using the canonical form.
Additionally fix the typo.
2010-02-13 23:58:30 +00:00
Chad Horohoe
24430b510c Output page title along with no revisions (just like we do when there are revs to import). Looks confusing seeing multiple "All revisions were previously imported" entries 2010-02-13 02:56:18 +00:00
Tobias
16c9153354 sort of fixing bug 14592: show warning when moving a user page that the user will not be renamed 2010-02-12 11:40:41 +00:00
Tim Starling
e185e2b9b3 * Fix for r60163: in RC/RCL, hash together all the options, not just namespace, in order to form the cache key.
* Removed Crb from the credits since none of his code remains.
* Fixed two bugs which both broke feed links on RCL: $this->mTargetTitle not initialised when setTopText() is called, and $out->setFeedAppendQuery() in setBottomText() overridden by a subsequent call to setSyndicated(). Fixed both by rearranging data flow, using memoized accessors instead of setup functions to eliminate bugs due to execution order.
* Renamed a few variables which were unclear ($feed and $feedObj).
2010-02-10 04:13:43 +00:00