Commit graph

15 commits

Author SHA1 Message Date
harej 2f5e43b490 Convert Special:CiteThisPage to use FormSpecialPage
I also changed the style of the output to make it more consistent with the OOjs UI theme.

Bug: T147046
Depends-On: I9bc930e5dca557571b4658444fea6aec59c5797a
Change-Id: I0a2aaf7b94c37b1408311b2244c308a3f76a33eb
2016-10-20 20:59:27 +00:00
James D. Forrester 7c705dbac3 Rename to "CiteThisPage", make Special:CiteThisPage the primary location
Also remove vestiges of the Cite extension from when this used to live in
the same repo.

Change-Id: I17dfad706d46afb452e8ff29140834174470b398
2014-08-30 15:29:33 -07:00
James D. Forrester 672124cf26 Remove 'experimental' popups functionality that was never used
Bug: 67282
Change-Id: Ib0c8c0daae62c9398f15397917232447c6113069
2014-07-09 11:06:18 -07:00
Fomafix f8ed124589 Exclude backlinks from selection
Steps to test the change:
* Open a random page in browser.
* Select all or a part of the page.
* Copy the selection to clipboard.
* Open a word processor like LibreOffice Writer.
* Paste the content of the clipboard.

Change-Id: Ibae4292b5dd8cc02a769e85adfea991d8d6ceb59
2014-01-30 07:59:44 +00:00
Marius Hoch 9cc8f438fe Improve CSS for hiding the accessibility labels
This used to result in superfluous scroll bars
in WebKit/ Blink based browsers on enwiki:
https://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#Scrolling_past_the_bottom_of_the_page...

Change-Id: I4e7518262b8fdc5d3de49fff46166f7e205be9fe
2013-09-14 16:21:11 +02:00
jenkins-bot e6aa790f08 Merge "Use mw.hook( 'wikipage.content' ) for citation popup JS" 2013-09-01 17:26:55 +00:00
Marius Hoch 4954b2f4d2 Use mw.hook( 'wikipage.content' ) for citation popup JS
Factored out of https://gerrit.wikimedia.org/r/79472

Change-Id: I4d755ab57de3754b361174b33e53462f16e490da
2013-09-01 19:21:59 +02:00
Marius Hoch f692c9f41d Add extra accessibility labels to jump to citation (↑) links
Had to do that in JavaScript as doing it server-side would have
made refactoring large parts of the extension necessary.

Bug: 38141
Change-Id: I60ecd2fc0edf2aee89974d8069cc0b075cda3f93
2013-09-01 18:58:32 +02:00
Marius Hoch 847a09be11 Refactor Cite extension JavaScript and make it pass Jshint
Moved the scripts and the CSS into the modules folder directly
(like almost all other extensions do), added a .jshintrc to not have
jenkins shout at this change and minor stuff.

After this change Cite will no longer work with anything older than
PHP 5.3!

Change-Id: I1c87af794f2a9894fb0d82a5bd97bd2182f028e1
2013-08-25 22:23:15 +02:00
Moriel Schottlender 5895bd048f Adding bidi-isolation to reference numbers
This is a quick-fix to support proper rendering of <sup>[1]</sup> elements
when the sentence contains a right-to-left word.
Amended: Changed from working through jQuery 'wrap' to CSS unicode-bidi.
Amended: Dos2Unix conversion to get rid of pesky hidden characters, also
corrected all of Amire80's comments.
Bug: 36032

Change-Id: If85efe5ff1e0a3c57ee2523656702db89df07145
2013-04-30 18:43:27 -04:00
raymond bbfb7731ce Make Special:Cite translatable
* Plain text files deleted, content moved to SpecialCite.i18n.php
* Code for c/b still in place
* CSS classes added and styling moved to a new CSS file for the RL
Shortly discussed with Siebrand on mediawiki-i18n-l

Change-Id: Ie8e35cda1492bf1cab8f45ce618bac8402678879
2012-05-17 03:04:21 +01:00
Max Semenik 53ae80785a Follow-up r102160: removed arrows from tooltips 2012-01-04 15:00:01 +00:00
Max Semenik cc44bb1ba8 Simplification + fmt 2011-11-06 08:09:56 +00:00
Max Semenik 7e1bad9bec Merging ReferenceTooltips into Cite step 2: rename/register 2011-11-06 08:02:39 +00:00
Max Semenik 25ea6b9d60 Merging ReferenceTooltips into Cite step 1: copy modules 2011-11-06 07:53:55 +00:00