Commit graph

8 commits

Author SHA1 Message Date
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 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