Well, whichever you prefer. I think you'll have fewer elements to remove from the special page when building your own interface.
You can use Special:BlankPage/Bookmarks to display your bookmark editing interface.
I don't remember a script with a similar purpose here, so it's probably fine. But saving the user's bookmarks into a page sounds like it's going to irritate people on wikis where people use it frequently, because these edits aren't botted and are going to spam the recent changes quite a bit, without the user's knowledge. Have you considered saving the bookmarks into the user's preferences using the options API (mw.Api#saveOption) instead?
If you mean the requirements for publishing your scripts, you can see them in the wiki policy.
Both of these contain the site ID. 7931 is the ID of Dev Wiki, and you can see it in both of the responses I linked above. There is no other definition of "site ID" that I know of.
You can get wgCityId over siteinfo: https://dev.fandom.com/api.php?action=query&meta=siteinfo&siprop=variables&format=json
You can also get it through MercuryApi::getWikiVariables: https://dev.fandom.com/api/v1/Mercury/WikiVariables
Your JS page was invalid just a few revisions ago, so you might want to clear your cache to make sure you're loading the latest revision. Also, dev:DiscussionsViewer.js is not a valid way of importing a JavaScript page with importArticles, you might want to change that to u:dev:MediaWiki:DiscussionsViewer.js.
So, you don't actually need to know the page's last edit date, and just have to restart the countdown to count down to the same day, same time, next week?
So, the direct answer here is to use the MediaWiki revisions API to find the date of the last revision to the current page. However, I suspect approaching this problem with JavaScript might not be the best idea. How often do these pages need to be updated? What is the information that needs to be updated on them? How do you find that information?
So... why do pages on your wiki become outdated after a fixed period of time?
You've got to remove the broken code above it:
/* Username replace feature
* Inserts viewing user's name into <span class="insertusername"></span>
* Put text inside the spans to be viewed by logged out users
* Originally by [[Wikia:User:Splarka|Splarka]], then by [[User:Spang|Spang]],
* This (jQuery) version by [[wikia:User:Joeyaa]], written to be backwards compatible
*/
if (wgUserName != 'null') {
$('.insertusername').html(wgUserName);
}
What is your wiki?
MassCategorization does this.
That seems correct. Where are you testing it?
Share your code.
Can you link to a page where you're trying to use Tooltips and UserFunctions, but it isn't working?
Not really. If you have a local PHP installation, you could probably instantiate a JSMinPlus parser to see whether the syntax you use is accepted.
This should be fixed once RelatedDiscussionsPosts and DiscussionsFeed scripts are approved.
To resolve the syntax errors, comment out lines 57 and 58.