Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P330
g192465
Active
Public
Actions
Authored by
Se4598
on Feb 24 2015, 4:31 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F46269: g192465
Feb 24 2015, 4:31 PM
2015-02-24 16:31:32 (UTC+0)
Subscribers
None
mw.popups.selectPopupElements = function () {
return mw.popups.$content
.find( 'a[href][title]:not(' + mw.popups.IGNORE_CLASSES.join(', ') + ')' )
.filter( function () {
return ( this.href.replace(/^https?:\/\//,'//') === ( mw.config.get( 'wgServer' ) + mw.util.getUrl( this.title ) ).replace(/^https?:\/\//,'//') );
} );
};
mw.hook( 'wikipage.content').add( function ( $content ) {
if ( mw.popups.enabled ) {
mw.popups.$content = $content;
var $elements = mw.popups.selectPopupElements();
mw.popups.removeTooltips( $elements );
mw.popups.setupTriggers( $elements );
}
} );
Event Timeline
Se4598
edited the content of this paste.
(Show Details)
Feb 24 2015, 4:31 PM
2015-02-24 16:31:32 (UTC+0)
Se4598
changed the title of this paste from untitled to
g192465
.
Se4598
updated the paste's language from
autodetect
to
autodetect
.
Log In to Comment