User:Theleekycauldron/Scripts/PSHAW/dependencies/Prep.js: Difference between revisions

Content deleted Content added
initialize and specify
oookey dokey!
Line 20:
constructor(title){
this.title = title; //MediaWiki stuff
get_pages(mw.config.get(this.title),"user|content",null,"older").then((res) => {
this.page = res
this.content = this.page[0].revisions[0].slots.main.content;