Commit graph

22 commits

Author SHA1 Message Date
Bartosz Dziewoński 51278f2d10 Don't output an empty h1 element (once more, with feeling)
Bug: T103077
Change-Id: I786fb10c5688d13b779e84b4d83efc6c0fd992d8
2015-06-25 11:55:24 +00:00
Kunal Mehta a85145a5c8 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:15:27 -07:00
Vivek Ghaisas 73f8dcc8b5 Remove superfluous whitespace from HTML output
Fixing regression caused by
I38dcb7a5389cf6986dc1247b9291bfb1ad3fca7d.

Bug: T102861
Change-Id: Ib8502ae55880fe97992ae471790f08aba8cc5040
2015-06-18 01:52:48 +03:00
Kunal Mehta 3502a6f8d9 Support 'rel' attributes in namespace navigation elements
Needed to support 338a6627aadbeab in MediaWiki core.

Bug: T65198
Change-Id: Iff9e22565c5ca667b35cd53e61347a02b06243c6
2015-06-12 19:21:29 -07:00
Vivek Ghaisas e0289b7d0c Run phplint and phpcs through "composer test" entry point
Also fixed files to match coding standards. (Checked against
tools/codesniffer v0.2.0)

Bug: T90943
Change-Id: I38dcb7a5389cf6986dc1247b9291bfb1ad3fca7d
2015-06-09 16:37:14 +03:00
Jack Phoenix 9bd09ce773 Trying to clean this up a bit
No functional changes are intended.

Change-Id: Icec2df9744d13a4bdea632cad00422e3105ef43b
2015-06-09 00:12:40 +03:00
Florian 19b3bda973 Don't output an empty h1 element
Bug: T97891
Change-Id: Iad1fec58773e42b66030bff505113e43e66e807f
2015-05-09 16:11:14 +02:00
Chad Horohoe 7ad814d427 wfRunHooks() -> Hooks::run()
Change-Id: Ib2c61f675bb7bbd44cec5b7a9ab68721865b4b09
2015-04-27 21:53:29 -07:00
jenkins-bot c75d8183c5 Merge "Support "rel" attributes on content action links (e.g. rel=archives)" 2015-02-15 01:10:54 +00:00
Matěj Grabovský fab055d6a1 Support "rel" attributes on content action links (e.g. rel=archives)
MediaWiki has provided rel=archives for the History link since v1.15.0
(Introduced in r45988 / 4299d27956.). However Vector never used that
property until now.

Change-Id: I398828b62795955a73823decf00fdbf8496aaeca
2015-02-15 01:10:00 +00:00
Ebrahim Byagowi 89fb56dc61 Remove dir=auto from firstHeading
Follow up to Ibf408bc6c5d2f8c05667107a547b0b02e06de270

Bug: T51093
Change-Id: I90758a3491f3f85c0d19451e213c788913e27626
2015-02-01 19:49:42 +00:00
umherirrender 1ba842a765 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 heading name back to string.

Bug: T73639
Change-Id: I376fb49d03251a71372738c531a09f014540b958
2015-01-10 21:38:46 +01:00
Jackmcbarn a925e9eae1 Restore backwards compatibility
When status indicators were added, backwards compatibility was unnecessarily
broken. This makes things like looking at old non-rebased branches, or running
git bisect, unnecessarily annoying. This change adds an is_callable to restore
backwards compatibility and removes the version check that was added in response
to this break.

Change-Id: Ia05aa73a1b027e667c52f54b6d6fdf6f42bbbadf
2014-12-29 14:16:05 -05:00
Roan Kattouw 359c32598b Use #mw-head, not #mw-navigation, for navigation link
mw-navigation is a collapsed div because all of its children
are absolutely positioned, and it's in a totally useless
place. Instead, point to #mw-head, which is where we pointed
to originally before it was changed to #mw-navigation.

This reverts 75858d59d from when this code was still in MediaWiki core.

Bug: T78207
Change-Id: I5e1f0edbf80f6f5f330df73cb06e4b0ee4323905
2014-12-10 15:36:40 -08:00
Bartosz Dziewoński deac602863 Add support for page status indicators
Corresponding patch in core: I2389ff9a5332a2b1d033eb75f0946e5241cfaaf4.

Bug: 23796
Change-Id: I90a8ae15ac8275d084ea5f47b6b2684d5e6c7412
2014-09-30 14:37:35 +02:00
Timo Tijhof 621e6fbd22 Use mw-wiki-logo class instead of inline background-image
Depends on I4e6db89a688 in mediawiki-core.

Bug: 56257
Change-Id: I0f9ab45ff2da29c2aac8559b9a0fe35c1dd238de
2014-09-26 22:03:31 +00:00
MZMcBride 2f6508d0a0 Kill errant tab
Change-Id: I5806d3fa815e641bbd743eba857f3cf1ce48a36a
2014-09-25 23:34:52 -04:00
Legoktm b74bb7ae9a Revert "Use mw-wiki-logo class instead of inline background-image"
Caused bug 71334.

This reverts commit 9ebb220b7f.

Bug: 71334
Change-Id: I19736c98d5f66319c1cb1425a28cd8acd4fd364e
2014-09-25 21:14:17 +00:00
Timo Tijhof 9ebb220b7f Use mw-wiki-logo class instead of inline background-image
Depends on I89e32fcd2 in mediawiki-core.

Bug: 56257
Change-Id: I890a7c3ec1531bc630aa8274f3e6ce28810d1b02
2014-09-22 18:11:25 +00:00
Bartosz Dziewoński 768ba62ad3 Vector: Remove compatibility for old variant menu HTML
Removing backwards-compatibility CSS from an earlier change.

Follow-up to Idf43d77dccff83ad81db776f3262e0ef12d25c92.

Change-Id: I2817c6e9eb52ffc785a04bb9d23b0802a553fd45
2014-08-21 20:29:48 +00:00
Kunal Mehta 83707028e5 Use SkinFactory to register skin, and Config instead of globals
Change-Id: Ic90969e5d71458c880f2b59e160ffedd7a5ac9be
2014-08-13 16:46:22 -07:00
Bartosz Dziewoński d28f09df31 Move Vector 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: I84fcf7ce6385b8323544cafe6912a00f1886d20d
2014-08-07 13:38:34 +02:00