Commit graph

336 commits

Author SHA1 Message Date
jdlrobson c986db6c0e Always render taglines unconditionally and update styles
Adjust tagline margin per Nirzar:
https://phabricator.wikimedia.org/T180095#3801719

Note, this will  enable the tagline everywhere.

Change-Id: I3bce2a3472ab2e53261965c953572f35cc740eed
Bug: T180095
2017-12-05 00:27:11 +00:00
jenkins-bot 01d6c5ed21 Merge "Pages with only forms should take up entire page" into specialpages 2017-11-30 18:35:21 +00:00
jdlrobson 7c34b47993 Fix broken QUnit test
Correct some options names and make minor adjustments to the
constructor function

Bug: T181348
Change-Id: Ia9fe9d2923b895d3dc530280e3987e27c88d3282
(cherry picked from commit 89909ccf53)
2017-11-30 18:29:02 +00:00
jdlrobson b6e91de90e Pages with only forms should take up entire page
On Special:MobileOptions we want to make the form take up the full
width but pad the fields in the form
(per https://phabricator.wikimedia.org/T180095#3795514)

This change is harmless but is necessary as soon as we port
the page to OOjs UI (I70f68df9d2d305126444319b05675702af75de87)

Bug: T180095
Change-Id: I1dda3eb4d0e7ebbec544dc0f5763b079e38f5cc8
2017-11-29 19:58:09 +00:00
Translation updater bot d450c2f341 Localisation updates from https://translatewiki.net.
Change-Id: Ic0a296b446eb906c0c9db8cae188cc670462e3bd
2017-11-28 22:01:09 +01:00
jenkins-bot 94fc4bbe13 Merge "Hygiene: Refactor Minerva history link generation" 2017-11-28 01:06:29 +00:00
jdlrobson ed5e9dd1d5 Hygiene: Refactor Minerva history link generation
* Create several sub functions to manage complexity of the history link
* Clean up MinervaTemplate to use data directly and remove isMainPage
template variable which is no longer being used.

Change-Id: I124aec9637f3635a335c58e559e578b2a56eb4c5
2017-11-27 14:27:11 -08:00
jenkins-bot f7578813e3 Merge "Clear spinner after window.print" 2017-11-27 21:18:37 +00:00
Translation updater bot fe8407b0a0 Localisation updates from https://translatewiki.net.
Change-Id: I4cb64ed57f4f1a0388cdeb88e24428fca654f0b8
2017-11-27 22:11:07 +01:00
jdlrobson 9826055afc Clear spinner after window.print
Looks like window.print may block so keep the spinner until
it's finished execution.

This may or may not fix the larger issue being discussed in the bug
but is harmless so why not.

Bug: T181261
Change-Id: I927d4bc8c96d74c14463f71b7ce6dec62618a485
2017-11-27 12:33:14 -08:00
Translation updater bot fd71cb1df0 Localisation updates from https://translatewiki.net.
Change-Id: I646f993e9a3e412d9c23597631382697c5ce3ca5
2017-11-26 22:01:47 +01:00
Translation updater bot 30a8996ca8 Localisation updates from https://translatewiki.net.
Change-Id: Ia2be97956509c96cf94dad0a44a0140931ac2a76
2017-11-25 22:07:44 +01:00
Translation updater bot 7667c5cb53 Localisation updates from https://translatewiki.net.
Change-Id: Iba9de31c82aeb33fab5d4e12eef6ad5d63402dff
2017-11-24 22:29:22 +01:00
Translation updater bot cdb1fce9c5 Localisation updates from https://translatewiki.net.
Change-Id: Ic3f585a3bb5113cc0587da7b56eec79ba9abfbb7
2017-11-23 22:35:27 +01:00
Translation updater bot 5d75af50c6 Localisation updates from https://translatewiki.net.
Change-Id: I58465933184ba09e4c24d7e0bfdba5629c029ea9
2017-11-22 21:59:23 +01:00
jenkins-bot 838cd377b9 Merge "Show last modified bar without relative time for old revisions" 2017-11-22 19:52:02 +00:00
jenkins-bot 110017125b Merge "Load all images during print action" 2017-11-22 19:40:25 +00:00
jdlrobson b72c10e06f Show last modified bar without relative time for old revisions
If FlaggedRevisions is being used then older revisions will be
shown as if they are the current revision of the page. This causes
problems as it makes it hard to give a true indication of when
something was last modified - do you show the last time someone
made an edit or the last time someone approved an edit?

The same issue applies on revisions and we attempted to fix this
earlier in T153125 but in doing so caused this problem.

Bug: T180116
Change-Id: I6d47adf272c99791d4af9f97afa02799d495887e
2017-11-22 10:29:51 -08:00
jdlrobson b05da8d49d Load all images during print action
When the print button is clicked, load all images from the page
before calling window.print

Add a timeout to make sure the user doesnt wait too long.

Change-Id: Ie922d239f9c5b5757237dc10b673fb500ff203ad
Depends-on: Id7f21606be3db22fe8dfde2db675f9905547cfea
Bug: T180058
2017-11-21 15:27:36 -08:00
Translation updater bot b40adadb78 Localisation updates from https://translatewiki.net.
Change-Id: I9faf576959d3619f5595e862c0cae6cf4828931f
2017-11-21 22:00:43 +01:00
Translation updater bot 1d7a497f23 Localisation updates from https://translatewiki.net.
Change-Id: I0a216aa7d31fc61bc7468145712c371d4eaf0a6d
2017-11-19 21:57:10 +01:00
Translation updater bot 5898680215 Localisation updates from https://translatewiki.net.
Change-Id: I1e48a89954dbcfa842292754aebe494769fbcf6b
2017-11-18 22:14:57 +01:00
jdlrobson 8eb65b264d If timestamp is null load revision time
Passing null to wfTimestamp will result in the current time.
Protect against that happening

Bug: T180103
Change-Id: I6ef9577bf52609bf387b0146f1d8a4a53be58cd7
2017-11-16 23:23:25 +00:00
Translation updater bot d0938de871 Localisation updates from https://translatewiki.net.
Change-Id: I61d95ac6035803fba52b62264c975f28f7c78b97
2017-11-16 22:36:34 +01:00
Translation updater bot fb7f27ac64 Localisation updates from https://translatewiki.net.
Change-Id: Ieba429759aab16206631a58d336f37939492cd7f
2017-11-15 21:56:39 +01:00
Volker E 8497d6d259 Unify SVG markup
Align SVG markup across Foundation products by:
- unifying XML declaration,
- adding `width` and `height` attributes where missing,
- removing all unnecessary `g` group elements where applicable,
- putting attributes in order,
- removing unnecessary ids and
- unifying whitespace.

Bug: T178867
Change-Id: I6860c9259553e0e41f7656f9e98534db8e02bbc2
2017-11-14 21:44:40 +00:00
Ed Sanders 8dd2544c0e Copy external link numbering from content.parsoid.less
Change-Id: I308d06ada35e63d81db8d034717f650d54aafc78
2017-11-13 19:20:29 +00:00
jenkins-bot 4d17797186 Merge "Do not center align h2s in footer" 2017-11-13 19:04:14 +00:00
jenkins-bot 5a4b645cd7 Merge "Restrict footer styles to skin footer" 2017-11-13 19:04:14 +00:00
jdlrobson 6df96ca768 Do not center align h2s in footer
In Id9b0e955d6e2a113f91484c7ee6bbc9275e3a2ec the css selector
was weakened and started impacting the footer as well.

This restores the old behaviour.

Bug: T180375
Change-Id: Ibfff6e249a3249ae2ee97d31fd50d2f5272a25ae
2017-11-13 10:49:21 -08:00
jdlrobson 14ddb0a742 Restrict footer styles to skin footer
The Popups extension uses a footer element so these rules clash with
that and probably other extensions.

To avoid this restrict the element to the skin.

Change-Id: Iac3aa8e600969a0feb0abeee745cd26592a594fd
2017-11-10 20:06:03 -08:00
jenkins-bot 854cd3e851 Merge "Do not try to add edit links to the HTML in contexts without a Title" 2017-11-10 02:15:45 +00:00
jdlrobson e422eb9a81 Do not try to add edit links to the HTML in contexts without a Title
Title may be null when accessed via this->getTitle()
If this is the case we should assume the skin is being used by someone
who is not a reader and in these circumstances, not try to render any
page actions.

Bug: T179833
Change-Id: Ia47fd9b059101bf22b5d31be7df3a332b35d6b24
2017-11-09 21:23:48 +00:00
jdlrobson 7697c262db Limit download button to Google Chrome
As discussed on ticket the download button only appears
to work on Google Chrome on mobile browsers.

Bug: T179529
Bug: T179914
Change-Id: I8bbda8d5a8aa42dd23773fea424c1a70e31d6f85
2017-11-09 21:11:02 +00:00
jenkins-bot 9fa40f81d8 Merge "Move class_alias out of skin initialization" 2017-11-08 06:46:20 +00:00
Kunal Mehta 74b3faf580 Move class_alias out of skin initialization
Use the standard way of doing it by adding an autoloader entry, and putting
the class_alias() call into the same file as the class.

Change-Id: I93e19ebcf3dd7d9815623de5e24861949fd0269a
2017-11-08 00:20:00 +00:00
jdlrobson 256606f672 Style kbd and samp elements as monospace
Bug: T175709
Change-Id: I0c11fbfe3fab0a0bc9fcea429970861b10643182
2017-11-07 22:59:09 +00:00
Translation updater bot 8a616daf3b Localisation updates from https://translatewiki.net.
Change-Id: I3e37dc60e58222c0655f4bc525494c852b20da9f
2017-11-07 22:05:36 +01:00
Volker E 29026b75bb Align icon variants with WikimediaUI color palette
Follow-up to I067973dca580eddc09b770362183d7a5b1634b7c

Bug: T146799
Change-Id: Idd02de3883c8c5a971dff657d002f4c9e09c88eb
2017-11-06 21:25:30 +00:00
Translation updater bot 2a0fcaec38 Localisation updates from https://translatewiki.net.
Change-Id: Idee87617465ebc01d62db34e7e1f790f741bdd81
2017-11-06 22:22:41 +01:00
Translation updater bot 25ed84a23a Localisation updates from https://translatewiki.net.
Change-Id: I3e517502d94533dcc07b820fb3a256eac4d9c7c3
2017-11-05 21:56:53 +01:00
Translation updater bot 63a9ec3564 Localisation updates from https://translatewiki.net.
Change-Id: Ic0de0ab78b243e15e45bc11723c71343d79000e6
2017-11-04 22:07:13 +01:00
Translation updater bot 35d5879ef3 Localisation updates from https://translatewiki.net.
Change-Id: Ib33054251fac22f2d74b26aaaf2872522a205172
2017-11-03 21:58:19 +01:00
jenkins-bot 9cb8130a0a Merge "Switch to outside list style" 2017-11-03 20:56:33 +00:00
Translation updater bot 732e3ee002 Localisation updates from https://translatewiki.net.
Change-Id: I5068d47ea21614f51ed1b8834c223b5c55808837
2017-11-02 22:19:13 +01:00
jdlrobson b843fb2312 Switch to outside list style
Bug: T150377
Change-Id: Ic5b90ab8e369d113f0f46c8c5d7b7a63951bcbd4
2017-11-02 10:56:51 -07:00
Umherirrender 7a95a43104 build: Always exclude node_modules
Change-Id: I8f055032f1a076445c18ac96d90017a44d6d9077
2017-11-02 17:53:18 +01:00
jdlrobson 10431c4ed1 Hygiene: Move css rule to Minerva
In preparation for "Adopt new special page template for special pages"
(T169379) move the text alignment rule to Minerva.

Change-Id: I5118a58bcb948c93e511587b8a3f29246b33acd7
2017-11-01 17:06:03 -07:00
Translation updater bot 0d4c7bbaec Localisation updates from https://translatewiki.net.
Change-Id: Ied6584b5a3ed7942aa53690d8c327892303c0e33
2017-11-01 22:06:10 +01:00
jdlrobson a7ab80335a Reveal edit icon and style top level headings on desktop Minerva
Bug: T179356
Change-Id: I414040658eeb8a24d41f6496dd634ef47e3e9952
2017-11-01 18:54:44 +00:00