Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P3313
git.wmflabs.js
Active
Public
Actions
Authored by
•
mmodell
on Jun 29 2016, 3:11 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
Gitblit-Deprecate
Referenced Files
F4212929: git.wmflabs.js
Jun 29 2016, 3:11 PM
2016-06-29 15:11:54 (UTC+0)
Subscribers
Danny_B
•
demon
Dzahn
Paladox
// for testing gitblit redirects, this bit of javascript will
// replace all links on the current page that point to git.wikimedia.org,
// with equivalent links to git.wmflabs.org
for
(
link
of
document
.
querySelectorAll
(
'a[href]'
))
{
link
.
href
=
link
.
href
.
replace
(
'git.wikimedia'
,
'git.wmflabs'
);
}
Event Timeline
•
mmodell
created this paste.
Jun 29 2016, 3:11 PM
2016-06-29 15:11:54 (UTC+0)
ChristianKl
mentioned this in
T149616: Prevent duplicate properties and items from getting created
.
Oct 31 2016, 7:15 PM
2016-10-31 19:15:31 (UTC+0)
Log In to Comment