Commit graph

26 commits

Author SHA1 Message Date
Umherirrender
6a49b493ee build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
Change-Id: Ib3820f0aff53b881d17ccd4997bcc1bef0ae11da
2017-06-23 22:05:30 +02:00
Umherirrender
95e869bed0 Add phpcs and make pass
Change-Id: I9f48310a405844c61aa6619e6fc28cf3bcbb9619
2017-05-16 18:53:26 +02:00
Ed Sanders
9624b4f08e Add mw-body-content to siteNotice
Bug: T155863
Change-Id: Id3b89933ed49b6f1395ca407ebf167ad4c55c81f
2017-03-03 22:31:58 +00:00
jenkins-bot
64e29e8315 Merge "New MonoBookAfterContent and MonoBookAfterToolbox hooks" 2017-01-28 02:26:54 +00:00
Jack Phoenix
7b59eb2ea8 Remove warning suppression
There are many valid use cases of the error suppression functions, but
this isn't one of those. If there are some undefined indexes somewhere,
that's a problem that should be fixed properly instead of warnings being
suppressed in one skin.

Change-Id: I88dfd3b9d94774686c168766a56afb5186684a61
2017-01-25 01:28:08 +02:00
Jack Phoenix
dd1cb0dfad Random coding style tweaks + documentation clarification
Change-Id: I3d7946507bd489edf248c201877fab580875ed68
2017-01-24 17:25:26 +02:00
Jack Phoenix
453d39b13a Remove obviously incorrect comment
Change-Id: I25423de3f595e1a060ca1ea412e31eb1babfbd9a
2017-01-24 17:16:43 +02:00
Jack Phoenix
289077102e New MonoBookAfterContent and MonoBookAfterToolbox hooks
Example use case: the ShoutWiki Ads extension

Change-Id: I9434fc1dcf53c2913fb4f2bcf53089849372b3cc
2017-01-06 18:47:05 +02:00
Stephan Gambke
a0626a06d9 Fix order of univ lang selector and "not logged in" message
Bug: T121793
Change-Id: Ia6406fe535916684c998225f052f7e8b2231cbe1
2016-05-18 20:43:45 +00:00
Stephan Gambke
762b25a551 Show "Not logged in" message
Show "Not logged in" message left (or right depending on language) of an anon
user's personal tools in case general edit permission is given.

The display of the message was previously done in MW core
(SkinTemplate::buildPersonalUrls, introduced by I6f44e3e5d), which needs to be
reverted first (done in I5cfa9b4e).

Bug: T127758
Depends-on: I5cfa9b4e
Change-Id: I7001e311a8d5ed70129500ab1a3e99369d4a1d9d
2016-05-17 20:05:45 +00:00
Bartosz Dziewoński
25cf0fa1ca Revert "Replace deprecated functions"
This reverts commit 3fa0e414a5.

Change-Id: Ia847aed9b0f0f15ef617b60b0902ee6462c16adc
2016-03-07 23:21:13 +00:00
Siebrand Mazeland
3fa0e414a5 Replace deprecated functions
Change-Id: I767cc8d5492d1c0a47c123d06304f43c69e2775d
2016-03-07 22:50:11 +01:00
Siebrand Mazeland
f80250626b Declare execute() public as in parent
Change-Id: Ib722d821c540694c676b4bf437cc44b3d5890f36
2016-03-07 14:33:45 +01:00
jenkins-bot
7d363cbff3 Merge "Remove use of deprecated wfRunHooks" 2015-08-06 18:42:35 +00:00
addshore
b56298cedb Remove use of deprecated wfRunHooks
Change-Id: I2c4cb9c307d1e6da98c694fbfcddbfe97df85384
2015-08-06 19:21:13 +01:00
Bartosz Dziewoński
767349cbb4 Don't output an empty h1 element (once more, with feeling)
Bug: T103077
Change-Id: I1a6944bb3da465a1cdcd1ce12aecfd19f4865ec9
2015-06-25 11:55:19 +00:00
Kunal Mehta
f2846c51df Display the page title on pages named '0'
Using empty() will consider the string '0' to be false, so use isset instead.

Bug: T103077
Change-Id: I4b07d55ba59cbbc9eeb3784fbbe8ae9e9ae15c3a
2015-06-24 10:13:41 -07:00
Florian
df1d39d332 Don't output an empty h1 element
Bug: T97891
Change-Id: I4897b84d2242074af93ac547c0692b3ef8e22530
2015-05-09 16:11:28 +02:00
Ebrahim Byagowi
d73fa3ba26 Remove dir=auto from firstHeading
Follow up to Ibf408bc6c5d2f8c05667107a547b0b02e06de270

Bug: T51093
Change-Id: I96aacfa725f05855c6e1541dbda68ecb5bdad757
2015-02-01 21:36:06 +00:00
umherirrender
317eeba008 Allow numeric headers in Sidebar
A numeric string set as key of an array gets casted to an integer. Since
I458c0af3114754ddf3d721f6c374e249f482e4cf wfMessage does not except
integer as message key, therefore cast the boxname back to string.

Bug: T73639
Change-Id: I8f75243abbdb67d70f54fedb3ebd266e6ced05e3
2015-01-10 21:39:20 +01:00
Bartosz Dziewoński
bb92aec2d8 Add support for page status indicators
Corresponding patch in core: I2389ff9a5332a2b1d033eb75f0946e5241cfaaf4.

Bug: 23796
Change-Id: Ie8eb418cd99636e73c7bbd54c1235a47ce71fd5a
2014-09-29 13:30:03 +02:00
Timo Tijhof
cf584f6d86 Use mw-wiki-logo class instead of inline background-image
Depends on I4e6db89a688 in mediawiki-core.

Bug: 56257
Change-Id: Ia36b0480871377dbeeee5c1194025385f522a299
2014-09-26 22:04:35 +00:00
MZMcBride
3413f282e0 Add a trailing newline
Change-Id: I86ae9c40e613a27c310f639e2324f1891edba209
2014-09-25 23:46:19 -04:00
Arlo Breault
2eae9b05ce Use .mw-body instead of div#content
* Renames the classes being applied to div#content and div#bodyContent
  to match that of Vector.

* See also Id0228fa839ef80b0b3bfee in mediawiki-core.

Change-Id: I0c889950e618b2afa6332c4c56b5531744526e72
2014-09-01 22:27:07 +02:00
Kunal Mehta
740cbbafaf Use Config instead of globals
Change-Id: I115f9c81297c507b9ebb483e62fb216de8174878
2014-08-13 00:00:29 +00:00
Bartosz Dziewoński
ff6a01f844 Move MonoBook skin from core
This is the final step of the process described at
<https://www.mediawiki.org/wiki/Separating_skins_from_core_MediaWiki>.

Corresponding core change: Idfc38503.

Change-Id: I83b1efb4a489254c76e0cbda72ff34efa3d41261
2014-08-07 13:40:21 +02:00