Commit graph

44866 commits

Author SHA1 Message Date
jeroendedauw
1ccaff3ee8 Stylize
Change-Id: Ia9532f06db8331da1ea5ff9c9398073d7d084484
2012-10-01 12:36:15 +02:00
umherirrender
0d81130dd4 Do not register Special:JavaScriptTest, if disabled
It is better when the special page is not register,
instead of giving a hint, that this is disabled on the wiki.

See other special pages like Special:PopularPages or Special:ChangeEmail

Change-Id: I43fb118d61ddcb2536192f54ee888d55b2fbd49d
2012-10-01 06:33:34 +02:00
Tyler Anthony Romeo
af68ecea64 (bug 40541) Fixed minor code style problems.
Follow-up to I17ac68014840daa47bfd4768e978e9ff2edb00db.
Replaces some ==/!= with ===/!== and other code style
changes mentioned in Gerrit comments on previous patchset.

Change-Id: I50da16bc62241491ac5c4948e0d3059b21f113dc
2012-09-30 21:23:05 -04:00
Translation updater bot
b3ae3f7c14 Merge "Localisation updates from http://translatewiki.net." 2012-09-30 19:25:54 +00:00
Translation updater bot
0f1121b410 Localisation updates from http://translatewiki.net.
Change-Id: Id807056afde3025ac14fff8d2d9fee6de906066d
2012-09-30 19:09:21 +00:00
Reedy
0220369630 Merge "(bug 34960) drop unused fields rc_moved_to_ns/rc_moved_to_title" 2012-09-30 19:04:15 +00:00
Nikerabbit
c5f732bcbe Merge "(bug 40384) Move width/height from button to img" 2012-09-30 16:11:08 +00:00
MatmaRex
d4f2c0e8f7 (bug 36151) mw.Title: Don't limit extension in title parsing.
This allows for e.g. "*.properties" files.

Previously, the extension could be no more than 5 characters. If
it was, it was considered as not having any extension (part of
the main title text).

Change-Id: Ib27792b661666ac5f704eeaaadcdd9668dd81b56
2012-09-30 01:24:53 +02:00
Aaron Schulz
de0e9f09c5 Fixed mismatched profile calls in LoadBalancer.
Change-Id: I1ac81347b8af9b30dc03df94a76483a4ae4a6503
2012-09-29 11:52:48 -07:00
umherirrender
e6a6b33567 (bug 34960) drop unused fields rc_moved_to_ns/rc_moved_to_title
Change-Id: I68e8c0bb23f185c0f996a8905f6d437db3080aa1
2012-09-29 17:19:40 +02:00
Reedy
237fdf0016 Merge "Drop unused database field ss_admins" 2012-09-29 14:34:34 +00:00
Reedy
e910261df2 Merge "Revert "Revert "Release notes: Get back lost history""" 2012-09-29 14:28:50 +00:00
Reedy
14b5ad77a0 Revert "Revert "Release notes: Get back lost history""
This reverts commit bd8d6492dc
2012-09-29 14:28:41 +00:00
Reedy
63683766c0 Merge "Revert "Release notes: Get back lost history"" 2012-09-29 14:03:44 +00:00
Reedy
bd8d6492dc Revert "Release notes: Get back lost history"
This reverts commit b6d5645a92
2012-09-29 14:03:22 +00:00
Reedy
7dac624c23 Merge "Revert "Release notes: Get back lost history"" 2012-09-29 14:02:54 +00:00
Reedy
1e6806a3f0 Revert "Release notes: Get back lost history"
This reverts commit b9e3916b80
2012-09-29 14:02:46 +00:00
umherirrender
bd602d2083 Drop unused database field ss_admins
no longer updated since 1.5

Change-Id: Iebdce084d178b5003105b2d2b7dcc499c274ff56
2012-09-29 12:20:21 +02:00
Timo Tijhof
9f80653291 Merge "Release notes: Get back lost history" 2012-09-29 06:34:05 +00:00
Timo Tijhof
b6d5645a92 Release notes: Get back lost history
REL1_20 was branched from master as it was on 2012-09-15, but
release notes was removed from latest master. So there's stuff
missing.

I copied over parts from this diff:

$ git diff gerrit/REL1_20...e4f62bbb0b393e7f01ee5ee8390e1c5e890f7ead -- RELEASE-NOTES-1.20

Fixed existing entries, and copying new entries to
RELEASE-1.21 as they never made it to 1.20, because we branched
REL1_20 from a past master.

Change-Id: Ic07c57c4b3fb27074ea8a0d85b56837f8db81bd1
2012-09-29 08:33:31 +02:00
Krinkle
c0e080dc2b Revert "Release notes: Get back lost history"
This reverts commit b9e3916b80
2012-09-29 06:25:57 +00:00
Timo Tijhof
b9e3916b80 Release notes: Get back lost history
Whoever branched it had an outdated copy of master (2012-09-15
instead of 2012-09-27).

Now resetting back to how the file was right before it was
removed:

$ git co e4f62bbb0b -- RELEASE-NOTES-1.20

Change-Id: Iadb900a087188ff84c6115d91e0d6765b178f9b8
2012-09-29 07:53:37 +02:00
Timo Tijhof
6a09a87c19 Release notes: Maintain 1.20 notes in master, revert history.
* The one in history isn't final yet, which makes maintenance
  harder as it would have to be synced between 2 different file
  names across 2 different branches.

* For backport commits its easier if the 1.20 file is still in
  master so that they can be written together with the commit
  (and so that the history is in master as well), as opposed to
  merging it in master without notes and then adding them later
  on in the (amended) merge version.

Change-Id: I3fa4b88a5845a51e83221d78facaba1ddb3b1acb
2012-09-29 03:15:19 +02:00
Catrope
c160e99c9b Merge "Wrap long lines" 2012-09-29 00:38:46 +00:00
Subramanya Sastry
28a214a7a3 Removed unnecessary whitespace in tpl name/arg class tests.
Change-Id: Id0346d16fcecd0d44d85f29a45923c8401f47a9c
2012-09-28 18:51:58 -05:00
Reedy
8204ec598f Wrap long lines
Also remove default setting of $p done in else statement at end

Change-Id: I5024c1fc1748ad1add145d0696b33a6d7ef3223b
2012-09-29 00:35:16 +01:00
Kaldari
ba3fa1aca5 Merge "Adding wildcard support to $wgCopyUploadsDomains" 2012-09-28 23:20:52 +00:00
awjrichards
c381fea140 Merge "Clean up: Declare variables with public instead of var" 2012-09-28 22:25:45 +00:00
Catrope
ab8f2c37d5 Merge "(bug 40541) Fixed $wgSecureLogin functionality." 2012-09-28 20:30:15 +00:00
Catrope
87f5596f5e Merge "Added protocol option to Linker and OutputPage::addReturnTo." 2012-09-28 20:25:11 +00:00
Translation updater bot
76bdd25c66 Localisation updates from http://translatewiki.net.
Change-Id: I300d5f11d881b764b80695b745bff5e9c7d3c404
2012-09-28 18:12:30 +00:00
Catrope
a274321310 Merge "(bug 29898) Set cookie to force HTTPS from HTTP" 2012-09-28 17:34:26 +00:00
Reedy
bf4e932349 Updates for MW 1.21
Change-Id: I582c1bcc50d694705b560fea893d0b2984072c08
2012-09-28 16:19:19 +01:00
Reedy
3c9910b258 Merge "Bring in 1.19 history, update 1.17 and 1.18 history too" 2012-09-28 15:15:11 +00:00
Reedy
698cb8a343 Bring in 1.19 history, update 1.17 and 1.18 history too
Change-Id: I098fdb5610011cbdd91012b8ed4d29e61ca80408
2012-09-28 16:13:40 +01:00
Reedy
e4f62bbb0b Add RELEASE-NOTES for g25605
Change-Id: Ibd09a52e98ea2e8fcdf0291b4a586870cb128007
2012-09-28 15:51:57 +01:00
Tyler Anthony Romeo
60c596812b (bug 39674) Fixed loading User from session when hook aborts.
Rather than have separate calls to User::loadDefaults()
every time User::loadFromSession() fails, there is now just
one call in User::load() if loadFromSession() returns false.
This fixes the case where a UserLoadFromSession hook aborts
loading from session, leaving the User object uninitialized.

Change-Id: I8d1a114d7ec361b27b260791f742c473a1497f26
Signed-off-by: Tyler Anthony Romeo <tylerromeo@gmail.com>
2012-09-28 06:12:31 +00:00
Kevin Israel
6529547f93 (bug 40384) Move width/height from button to img
The fix for bug 34768 (r112710, regarding the lack of width and height
attributes for the Vector skin's search button) failed to include the
corresponding changes to SkinTemplate.php.

Because BaseTemplate::makeSearchButton() only special cased the src and
alt attributes, the width and height incorrectly went on the button
element, causing HTML validation errors (and also having no effect).
This patch moves the width and height attributes to the img element
in a similar fashion to src and alt.

Change-Id: I3561fc79364ce43521823bad691c9b61f87ba375
2012-09-27 22:53:06 -04:00
Reedy
7476057925 Add $wgCopyUploadProxy to be used for copy uploads only.
Means we don't break stuff on the cluster such as search by setting $wgHTTPProxy

Change-Id: I094b2bfd097e7e5c1c45b6332357d959ed95ac99
2012-09-28 01:33:48 +01:00
amire80
9305b9321f Copy plural rules from be to be-tarask
CLDR only defines rules for 'be'.
The bug was reported by Wizardist.

Change-Id: I459be3d2f488471eea2acfd3d3c4f79ff3ebc11c
2012-09-27 16:54:10 -07:00
Siebrand
51491c785b Merge "Link the credits in Special:Version in all languages" 2012-09-27 22:52:42 +00:00
Marius Hoch
d277a9ead0 Link the credits in Special:Version in all languages
Add the link to {{SERVER}}{{SCRIPTPATH}}/CREDITS in Special:Version
in the code and not in the interface message, which is
way more straightforward, makes the message  easier and
assures that the developers are credited no matter of the current
interface language.

The following languages need interface changes after this is merged:
He, Ko, Bcl, Jv (the fact that this list is so short once again
proves the point that the link isn't set in many languages). I'll
take care of those.

Change-Id: If12c4eb8453da40ede4b9768b2dacfaf838aa2ab
2012-09-28 00:17:32 +02:00
Translation updater bot
6cf1036b12 Localisation updates from http://translatewiki.net.
Change-Id: I9e851866959da77ae184c3e07a95b07999027462
2012-09-27 20:49:25 +00:00
Aaron Schulz
539ffbd8dc Merge "Catch and deal with UploadStashZeroLengthFileException when removing stashed files" 2012-09-27 20:18:15 +00:00
Siebrand
1247a9d9d6 Merge "Style fix" 2012-09-27 20:05:22 +00:00
jeroendedauw
dc8f3e6c78 Added a pile of missing brackets
Change-Id: Id7b331e1b12875736c8e7e93660e71630360a723
2012-09-27 21:46:22 +02:00
jeroendedauw
e1101bbb6f Style fix
Change-Id: I6b900924b07b44152fa943d10400fe151b4046c8
2012-09-27 21:36:14 +02:00
Tyler Anthony Romeo
565014a8cb (bug 40541) Fixed $wgSecureLogin functionality.
* Added parameter to login link so that wpStickHTTPS
  is set to true by default when the user is coming
  from HTTPS.
* Added redirect in Special:Userlogin so that when
  $wgSecureLogin is enabled it automatically redirects
  to HTTPS.
* Adjusted User::setCookies() to add a parameter for
  forcing secure/insecure cookies, and then added the
  appropriate argument to Special:Userlogin so that
  cookies are set appropriately.

Change-Id: I17ac68014840daa47bfd4768e978e9ff2edb00db
2012-09-27 14:34:11 -04:00
Reedy
25a103f9f5 Catch and deal with UploadStashZeroLengthFileException when removing stashed files
Seen on the cluster and it halts script execution

reedy@fenari:/home/wikipedia/common$ mwscript cleanupUploadStash.php commonswiki
Getting list of files to clean up...
Removing 52958 file(s)...
File is zero length
Backtrace:

Change-Id: I740111ca20473c495a4a51edafa156169fe6dd4d
2012-09-27 19:08:47 +01:00
Tyler Anthony Romeo
0a1e291036 Added protocol option to Linker and OutputPage::addReturnTo.
Added new argument to the Linker options array to allow
the forcing of an HTTP or HTTPS protocol. In order to facilitate
this, a protocol argument was added to Title::getLinkURL.

Also, an options argument was added to OutputPage::addReturnTo
so that options can be passed to the linker and so that the
returnto URL can be forced to a certain protocol.

Change-Id: Ia9cc11e310ad6ef23c221bdba3a4834e7c5556e7
2012-09-27 13:47:42 -04:00