Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F4212929
git.wmflabs.js
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
mmodell
Jun 29 2016, 3:11 PM
2016-06-29 15:11:54 (UTC+0)
Size
301 B
Referenced Files
None
Subscribers
None
git.wmflabs.js
View Options
// 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'
);
}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3828578
Default Alt Text
git.wmflabs.js (301 B)
Attached To
Mode
P3313 git.wmflabs.js
Attached
Detach File
Event Timeline
Log In to Comment