Content deleted Content added
Let's see if it works now |
m Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 97:
var wikimarkEncodedUserName = encodeURIComponent(wgUserName);
function WikiMarkInit () {
Line 153:
var myBkmPage = wikimarkspage;
myBkmPage = 'User:' + wgUserName + myBkmPage;
var myBkmURL = mw.config.get('wgServer') + mw.config.get('wgArticlePath').replace('$1','') + myBkmPage;
function myBookmarksLoad() {
Line 173:
var addNextto = document.getElementById(menuPrefix+WikimarkConfigAddNextTo);
}
mw.util.addPortletLink(viewMenulocation, myBkmURL, 'my wikimarks', menuPrefixV+'bkmmenu', 'Open your WikiMarks', '', viewNextto)
obj = document.getElementById(menuPrefixV+'bkmmenu')
}
|