Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1201
skin.php.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 6:41 PM
2014-11-21 18:41:56 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
skin.php.diff
View Options
Index: Skin.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Skin.php,v
retrieving revision 1.258
diff -u -r1.258 Skin.php
--- Skin.php 22 Aug 2004 08:51:28 -0000 1.258
+++ Skin.php 22 Aug 2004 22:41:03 -0000
@@ -2645,6 +2645,24 @@
$toc."</td></tr></table>\n";
}
+ function footLine( $number, $footnote ) {
+ $foot = '<a name="endnote'.$number.'" id="endnote'.$number.'" title="Return to text"></a><a href="#note'.$number.'">'.$number.'.</a> '.$footnote.'<br />';
+ return $foot;
+ }
+
+ function footNum( $number, $footnote ) {
+ return '<a name="note'.$number.'"id="note'.$number.'"></a><sup><a href="#endnote'.$number.'" title="'.$footnote.'">'.$number.'</a></sup>';
+ }
+
+ function endNotes ( $footnotes ) {
+ return
+
+ "\n".
+ '==Notes=='
+ ."\n".
+ $footnotes;
+ }
+
# These two do not check for permissions: check $wgTitle->userCanEdit before calling them
function editSectionScript( $section, $head ) {
global $wgTitle, $wgRequest;
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1112
Default Alt Text
skin.php.diff (1 KB)
Attached To
Mode
T2192: Add a "footnote" tag to the parser
Attached
Detach File
Event Timeline
Log In to Comment