Last active
September 4, 2022 17:55
-
-
Save yustier/d0161cf7807f67af09b8e87c8689bc90 to your computer and use it in GitHub Desktop.
MediaWikiの記事IDまたは特定版IDによるページURLを取得するブックマークレット
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(()=>{var u=`${location.origin}/?curid=${RLCONF.wgArticleId}`;if(prompt('ページ名付きURL (EscでURLのみ取得)',document.title+'\n'+u)===null)prompt('ページのURL',u);})() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(()=>{var u=`${location.origin}/?oldid=${RLCONF.wgRevisionId}`;if(prompt('ページ名付き特定版URL (EscでURLのみ取得)',document.title+'\n'+u)===null)prompt('ページの特定版URL',u);})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment